]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[AArch64] Fix type in abi-lp64_be-options.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
91cbd0bc
AM
12014-01-20 Allan McRae <allan@archlinux.org>
2
3 * po/ca.po: Update Catalan translation from translation project.
4
7a02cfad
MF
52014-01-16 Mike Frysinger <vapier@gentoo.org>
6
7 * sysdeps/s390/sotruss-lib.c: New file.
8
736c304a
AZ
92014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10
11 [BZ#16430]
6e077ee5 12 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14 local calls issues by not having a PLT stub required for IFUNC calls.
15 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16
94d0cea0
JM
172014-01-16 Joseph Myers <joseph@codesourcery.com>
18
19 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20 * math/test-fpucw-static.c: Likewise.
21
980cb518
SP
222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23
24 [BZ #16453]
25 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26
2393fc01
AZ
272014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28
29 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30 implementation for powerpc.
31
d359bcc2
OB
322014-01-15 Ondřej Bílka <neleai@seznam.cz>
33
34 [BZ #14782]
35 * sysdeps/posix/system.c (__libc_system): Do not enable
36 asynchronous cancellation.
37
7beb48cb
AK
382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39
40 [BZ #16427]
41 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42 handling only for numbers special also in the IEEE case.
43
c20d5bf5
AK
442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45
46 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47
e83bd4ee
AM
482014-01-11 Allan McRae <allan@archlinux.org>
49
76d0ea69
AM
50 * po/bg.po: Update Bulgarian translation from translation project.
51
e83bd4ee
AM
52 * po/de.po: Update German translation from translation project.
53
bc2ba20a
RM
542014-01-10 Roland McGrath <roland@hack.frob.com>
55
56 * sysdeps/generic/gcc-compat.h: New file.
57
649ecea2
SP
582014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 * benchtests/asin-inputs: Correct slow inputs.
61 * benchtests/acos-inputs: Likewise.
62
1b19c006
AM
632014-01-10 Allan McRae <allan@archlinux.org>
64
a46dab08
AM
65 * po:sv.po: Update Swedish translation from translation project.
66
421df74a
AM
67 * po/vi.po: Update Vietnamese translation from translation project.
68
d61c51a7
AM
69 * po/eo.po: Update Esperanto translation from translation project.
70
0339a319
AM
71 * po/cs.po: Update Czech translation from translation project.
72
94ad3e99
AM
73 * po/nl.po: Update Dutch translation from translation project.
74
e349ca71
AM
75 * po/pl.po: Update Polish translation from translation project.
76
ddf930c1
AM
77 * po/ru.po: Update Russian translation from translation project.
78
1b19c006
AM
79 * po/uk.po: Update Ukrainian translation from translation project.
80
9f236c49
BM
812014-01-08 Brooks Moses <bmoses@google.com>
82
83 * elf/dl-load.c: Fix comment typo.
84
cd6701cf
CD
852014-01-08 Carlos O'Donell <carlos@redhat.com>
86
87 * po/header.pot: Rename to...
88 * po/pot.header: ... this.
89 * po/Makefile: Use pot.header.
90
66671c84
YK
912014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
92 Maxim Kuvyrkov <maxim@kugelworks.com>
93
94 [BZ #16394]
cd6701cf
CD
95 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
96 SRC and DEST against LEN.
66671c84 97
38f34581
AZ
982014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99
100 [BZ #16414]
101 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
102 implementation.
103 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
104
1052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
106
107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
108
4c327f2a
JM
1092014-01-08 Joseph Myers <joseph@codesourcery.com>
110
111 [BZ #16408]
112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
113 for large positive arguments.
114
b821f414
JM
1152014-01-07 Joseph Myers <joseph@codesourcery.com>
116
1f0f2067
JM
117 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
118
a5a326f6
JM
119 * math/auto-libm-test-in: Mark various tests with
120 xfail-rounding:ldbl-128ibm.
121 * math/auto-libm-test-out: Regenerated.
122
b821f414
JM
123 [BZ #16407]
124 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
125 Increase overflow threshold.
126
94c8a4bc
OB
1272014-01-07 Ondřej Bílka <neleai@seznam.cz>
128
129 [BZ #14286]
130 * stdio-common/vfprintf.c: Check for integer overflow.
131
87ded0c3
AK
1322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
133
134 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
135 the first argument and return value of __tls_get_addr_internal.
136
c5eebdd0
AK
1372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
138
139 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
140 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
141
05d138ef
AK
1422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
143
144 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
145 * sysdeps/s390/rtld-global-offsets.sym: New file.
146 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
147 GLIBC_2.19 symbol.
148 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
149 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
150 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
151 ... this.
152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
154 ... this.
155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
156 Regenerate.
157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
158 Regenerate.
159 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
160 halfs of GPRs for high_gprs contexts.
161 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
162 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
163 field.
164 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
165 uc_flags field.
166 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
167 64 bit versions:
168 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
169 for high GPRs (uc_high_gprs) and for future extensions
170 (__reserved).
171 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
172 for future extensions (__reserved).
173 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
174 64 bit versions:
175 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
176 SC_HIGHGPRS offset definition.
177 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
178 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
179
93a45ff1
AK
1802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
181
182 * Versions.def: Add GLIBC_2.19 for libpthread.
183 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
184 siglongjmp for libpthread with GLIBC_2.19 symver.
185 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
186 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
187 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
188 * sysdeps/s390/__longjmp.c: New file.
189 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
190 * sysdeps/s390/longjmp.c: New file.
191 * sysdeps/s390/setjmp.S: New file.
192 * sysdeps/s390/sigjmp.S: New file.
193 * sysdeps/s390/v1-longjmp.c: New file.
194 * sysdeps/s390/v1-setjmp.h: New file.
195 * sysdeps/s390/v1-sigjmp.c: New file.
196 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
197 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
198 GLIBC_2.19 version.
199 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
200 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
201 versioned symbols for ____longjmp_chk.
202 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
203 Likewise.
204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
205 Regenerate.
206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
207 Regenerate.
208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
209 Regenerate.
210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
211 Regenerate.
212 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
213 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
214 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
215 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
216 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
217 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
218 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
219 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
220 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
221 * sysdeps/s390/rtld-__longjmp.c: New file.
222 * sysdeps/s390/rtld-setjmp.S: New file.
223
eb3fc44b
JM
2242014-01-06 Joseph Myers <joseph@codesourcery.com>
225
226 [BZ #16400]
227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
228 Return -__logl (x) for small positive arguments without evaluating
229 a polynomial.
230
9341dde4
MF
2312014-01-06 Mike Frysinger <vapier@gentoo.org>
232
233 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
234 Rename to ...
235 (__ptrace_peeksiginfo_args): ... this.
236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
239
4cff0293
AM
2402014-01-06 Allan McRae <allan@archlinux.org>
241
242 * inet/netinet/in.h: Fix typo in comment.
243
75595dcf
AJ
2442014-01-05 Andreas Jaeger <aj@suse.de>
245
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247
79c1e109
AM
2482014-01-05 Allan McRae <allan@archlinux.org>
249
dd804818
AM
250 * po/libc.pot: Regenerated.
251
79c1e109
AM
252 * malloc/memusagestat.c: Fix gettext call formatting.
253
0c813d1f
SK
2542014-01-04 Sami Kerola <kerolasa@iki.fi>
255
256 * nscd/nscd.c: Improve usage() output.
257
20f4a8d9
MF
2582014-01-04 Mike Frysinger <vapier@gentoo.org>
259
260 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
261 * sysdeps/unix/sysv/linux/configure: Regenerated.
262 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
263 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
264
22562bb2
JM
2652014-01-03 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #16390]
268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
269 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
270
d7ad2d9b
AZ
2712014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
274 extra tokens at end of #undef directive.
275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
276 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
278
7f507ee1
AH
2792014-01-03 Andrew Hunter <ahh@google.com>
280
0da43124 281 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
282 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
283 atomic_compare_and_exchange_bool_acq
284 (_dl_allocate_static_tls): Block signals.
285 * elf/dl-tls.c (allocate_and_init): Return void.
286 (_dl_update_slotinfo): Block signals, use atomic update.
287
7dd009d8
JM
2882014-01-03 Joseph Myers <joseph@codesourcery.com>
289
24db925a
JM
290 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
291
7dd009d8
JM
292 * math/auto-libm-test-in: Mark various tests with
293 xfail-rounding:ldbl-128ibm.
294 * math/auto-libm-test-out: Regenerated.
295
396e3ecf
JM
2962014-01-02 Joseph Myers <joseph@codesourcery.com>
297
819e5d50
JM
298 [BZ #16386]
299 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
300 numbers with subnormal high part when calculating exponent.
301
90b6a1e5
JM
302 [BZ #16385]
303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
304 fabs.
305
396e3ecf
JM
306 [BZ #16384]
307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
308 M_LN2l.
309 (__ieee754_acoshl): Use __log1pl not __log1p.
310
6c8dbf00
OB
3112013-01-02 Ondřej Bílka <neleai@seznam.cz>
312
313 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
314 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
315 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
316 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
317 Convert to GNU style.
318 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
319 mem2mem_check, mem2chunk_check, top_check, realloc_check,
320 memalign_check, __malloc_set_state): Likewise.
321 * malloc/mallocbug.c (main): Likewise.
322 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
323 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
324 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
325 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
326 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
327 * malloc/malloc.h: Likewise.
328 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
329 memalignhook, reallochook, mabort): Likewise.
330 * malloc/mcheck.h: Likewise.
331 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
332 mmap64, mremap, munmap, dest): Likewise.
333 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
334 * malloc/morecore.c (__default_morecore): Likewise.
335 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
336 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
337 _obstack_allocated_p, obstack_free, _obstack_memory_used,
338 print_and_abort): Likewise.
339 * malloc/obstack.h: Likewise.
340 * malloc/set-freeres.c (__libc_freeres): Likewise.
341 * malloc/tst-mallocstate.c (main): Likewise.
342 * malloc/tst-mtrace.c (main): Likewise.
343 * malloc/tst-realloc.c (do_test): Likewise.
344
d4124212
SP
3452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
346
9a3c6a6f
SP
347 [BZ #16366]
348 * nscd/netgroupcache.c (do_notfound): New function.
349 (addgetnetgrentX): Use it.
350
d4124212
SP
351 [BZ # 16365]
352 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
353 NSS_STATUS_NOTFOUND.
354
97b9a009
JM
3552014-01-01 Joseph Myers <joseph@codesourcery.com>
356
357 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
359
d4697bc9
AM
3602014-01-01 Allan McRae <allan@archlinux.org>
361
ddb3687f
AM
362 * scripts/update-copyrights: Update configure input file suffix.
363
88726d48
AM
364 * NEWS: Update copyright year.
365 * catgets/gencat.c: Likewise.
366 * csu/version.c: Likewise.
367 * debug/catchsegv.sh: Likewise.
368 * debug/pcprofiledump.c: Likewise.
369 * debug/xtrace.sh: Likewise.
370 * elf/ldconfig.c: Likewise.
371 * elf/ldd.bash.in: Likewise.
372 * elf/pldd.c: Likewise.
373 * elf/sotruss.ksh: Likewise.
374 * elf/sprof.c: Likewise.
375 * iconv/iconv_prog.c: Likewise.
376 * iconv/iconvconfig.c: Likewise.
377 * locale/programs/locale.c: Likewise.
378 * locale/programs/localedef.c: Likewise.
379 * login/programs/pt_chown.c: Likewise.
380 * malloc/memusage.sh: Likewise.
381 * malloc/memusagestat.c: Likewise.
382 * malloc/mtrace.pl: Likewise.
383 * manual/libc.texinfo: Likewise.
384 * nscd/nscd.c: Likewise.
385 * nss/getent.c: Likewise.
386 * nss/makedb.c: Likewise.
387 * posix/getconf.c: Likewise.
388 * scripts/test-installation.pl: Likewise.
389
d4697bc9
AM
390 * All files with FSF copyright notices: Update copyright dates
391 using scripts/update-copyrights.
392 * intl/plural.c: Regenerated.
393 * locale/programs/charmap-kw.h: Likewise.
394 * locale/programs/locfile-kw.h: Likewise.
395
c8590f9d
MF
3962013-12-31 Mike Frysinger <vapier@gentoo.org>
397
398 * sysdeps/unix/sysv/linux/configure: Regenerated.
399 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
400 the linux/fanotify.h header.
401 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
402 HAVE_LINUX_FANOTIFY_H is defined.
403
b19221b9
SP
4042013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
405
dd1d85e5
SP
406 * benchtests/cos-inputs: New inputs.
407 * benchtests/sin-inputs: Likewise.
408
1acbb90f
SP
409 * benchtests/atan-inputs: New inputs. Fix name of multiple
410 precision fallback inputs.
411
4c012ed3
SP
412 * benchtests/atanh-inputs: New inputs.
413 * benchtests/tanh-inputs: Likewise.
414
eff98324
SP
415 * benchtests/acosh-inputs: New inputs.
416 * benchtests/asinh-inputs: Likewise.
417
ce641152
SP
418 * benchtests/cosh-inputs: New inputs.
419 * benchtests/sinh-inputs: Likewise.
420
b19221b9
SP
421 * benchtests/acos-inputs: Add more inputs.
422 * benchtests/asin-inputs: Likewise.
423
030a4976 4242013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 425
030a4976 426 [BZ #16375]
9dcc8f11
VS
427 * manual/arith.texi: Fix spelling.
428 * manual/charset.texi: Likewise.
429 * manual/errno.texi: Likewise.
430 * manual/filesys.texi: Likewise.
431 * manual/lang.texi: Likewise.
432 * manual/llio.texi: Likewise.
433 * manual/locale.texi: Likewise.
434 * manual/message.texi: Likewise.
435 * manual/resource.texi: Likewise.
436 * manual/search.texi: Likewise.
437 * manual/setjmp.texi: Likewise.
438 * manual/stdio.texi: Likewise.
439 * manual/string.texi: Likewise.
440 * manual/sysinfo.texi: Likewise.
441 * manual/time.texi: Likewise.
442
11520a57
CD
4432013-12-27 Carlos O'Donell <carlos@redhat.com>
444
445 * po/sl.po: New file.
446
471103ae
MF
4472013-12-27 Mike Frysinger <vapier@gentoo.org>
448
449 * .gitignore: Add core/.gdbinit/.gdb_history.
450
6c9642ed
AM
4512013-12-27 Allan McRae <allan@archlinux.org>
452
453 [BZ #16369]
454 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
455 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
456
3f637079
BM
4572013-12-24 Brooks Moses <bmoses@google.com>
458
459 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
460 all compilers that claim C++98 compliance, not just GCC.
461 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
462 Likewise.
463
abc26e99
MK
4642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
465
466 * NEWS: Restore accidentally deleted bug-fix entries.
467
362b47fe
MK
4682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
469 Ondřej Bílka <neleai@seznam.cz>
470
471 [BZ #15073]
472 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 473 have_lock.
362b47fe 474
b9bcbbcb
OB
4752013-12-23 Ondřej Bílka <neleai@seznam.cz>
476
477 [BZ #12986]
478 * manual/stdio.texi (String Input Conversions): Clarify that character
479 classes are not supported.
480
fb55fcd2
AZ
4812013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
484
ef7344f0
JM
4852013-12-22 Joseph Myers <joseph@codesourcery.com>
486
4f40e4b3
JM
487 [BZ #16337]
488 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
489 Calculate results for small negative arguments directly rather
490 than using reflection formula with special underflow handling.
491
ef7344f0
JM
492 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
493 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
494 sysdeps/unix/bsd/bsd4.4/syscalls.list.
495 (fchflags): Likewise.
496 (revoke): Likewise.
497 (setlogin): Likewise.
498 (sigaltstack): Likewise.
499 (wait4): Likewise.
500 (sigblock): Remove.
501 (sigsetmask): Likewise.
502 (wait3): Likewise.
503 (waitpid): Likewise.
504 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
505 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
506 file.
507 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
508 * sysdeps/unix/bsd/Makefile: ... here.
509 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
510 * sysdeps/unix/bsd/Versions: ... here.
511 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
512 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
513 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
514 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
515 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
516 * sysdeps/unix/bsd/sigblock.c: ... here.
517 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
518 * sysdeps/unix/bsd/sigsetmask.c: ... here.
519 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
520 * sysdeps/unix/bsd/sigvec.c: ... here.
521 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
522 * sysdeps/unix/bsd/tcdrain.c: ... here.
523 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
524 * sysdeps/unix/bsd/tcgetattr.c: ... here.
525 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
526 * sysdeps/unix/bsd/tcsetattr.c: ... here.
527 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
528 * sysdeps/unix/bsd/wait.c: ... here.
529 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
530 * sysdeps/unix/bsd/wait3.c: ... here.
531 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
532 * sysdeps/unix/bsd/waitpid.c: ... here.
533
5b0626b9
JM
5342013-12-21 Joseph Myers <joseph@codesourcery.com>
535
536 [BZ #16356]
537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
538 round-to-nearest for [!USE_AS_EXPM1L].
539 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
540 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
541 more tests of exp and exp10. Expect some exp10 tests to miss
542 exceptions or fail in directed rounding modes.
543 * math/auto-libm-test-out: Regenerated.
544 * math/libm-test.inc (exp10_tonearest_test_data): New array.
545 (exp10_test_tonearest): New function.
546 (exp10_towardzero_test_data): New array.
547 (exp10_test_towardzero): New function.
548 (exp10_downward_test_data): New array.
549 (exp10_test_downward): New function.
550 (exp10_upward_test_data): New array.
551 (exp10_test_upward): New function.
552 (main): Call the new functions.
553 * sysdeps/i386/fpu/libm-test-ulps: Update.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555
7fda5682
JM
5562013-12-20 Joseph Myers <joseph@codesourcery.com>
557
31e3a405
JM
558 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
559 asinh, atan, atan2, atanh, cbrt, cos and cosh.
560 * math/auto-libm-test-out: Regenerated.
561 * math/libm-test.inc (acosh_test_data): Add more tests.
562 (atanh_test_data): Likewise.
563 (ceil_test_data): Likewise.
564 (copysign_test_data): Likewise.
565 * sysdeps/i386/fpu/libm-test-ulps: Update.
566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
567
85bff96a
JM
568 * timezone/checktab.awk: Update from tzcode 2013i.
569 * timezone/private.h: Likewise.
570 * timezone/scheck.c: Likewise.
571 * timezone/tzfile.h: Likewise.
572 * timezone/tzselect.ksh: Likewise.
573 * timezone/zdump.c: Likewise.
574 * timezone/zic.c: Likewise.
575
b7867a3b
JM
576 * math/auto-libm-test-in: Add tests of cpow.
577 * math/auto-libm-test-out: Regenerated.
578 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
579 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
580 mpc_cc_c.
581 (func_calc_desc): Add mpc_cc_c union field.
582 (test_functions): Add cpow.
583 (special_fill_2pi): New function.
584 (special_real_inputs): Add 2pi.
585 (calc_generic_results): Handle mpc_cc_c.
586 * sysdeps/i386/fpu/libm-test-ulps: Update.
587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
588
7fda5682
JM
589 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
590 csqrt, ctan and ctanh.
591 * math/auto-libm-test-out: Regenerated.
592 * math/libm-test.inc (TEST_COND_x86_64): New macro.
593 (TEST_COND_x86): Likewise.
594 (ccos_test_data): Use AUTO_TESTS_c_c.
595 (ccosh_test_data): Likewise.
596 (cexp_test_data): Likewise.
597 (clog_test_data): Likewise.
598 (csqrt_test_data): Likewise.
599 (ctan_test_data): Likewise.
600 (ctan_tonearest_test_data): Likewise.
601 (ctan_towardzero_test_data): Likewise.
602 (ctan_downward_test_data): Likewise.
603 (ctan_upward_test_data): Likewise.
604 (ctanh_test_data): Likewise.
605 (ctanh_tonearest_test_data): Likewise.
606 (ctanh_towardzero_test_data): Likewise.
607 (ctanh_downward_test_data): Likewise.
608 (ctanh_upward_test_data): Likewise.
609 * math/gen-auto-libm-tests.c (func_calc_method): Add value
610 mpc_c_c.
611 (func_calc_desc): Add mpc_c_c union field.
612 (FUNC_mpc_c_c): New macro.
613 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
614 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
615 ctanh.
616 (special_fill_min_subnorm_p120): New function.
617 (special_real_inputs): Add min_subnorm_p120.
618 (calc_generic_results): Handle mpc_c_c.
619 * sysdeps/i386/fpu/libm-test-ulps: Update.
620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
621
5ff8d60e
SP
6222013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
623
392dd2de
SP
624 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
625 do_sin_slow): New functions.
626 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
627 cslow2, csloww1, csloww2): Use the new functions.
628
84ba214c
SP
629 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
630 Use M to change sign of result instead of X. Assume X is
631 positive.
632 (csloww1): Likewise.
633 (__sin): Adjust.
634 (__cos): Adjust.
635
975195e4
SP
636 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
637 arguments A and DA.
638 (__sin): Adjust.
639 (__cos): Likewise.
640
5ff8d60e
SP
641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
642 (__cos): Likewise.
643 (sloww1): Don't adjust sign of DX.
644 (csloww1): Likewise.
645 (sloww2): Use X directly and don't adjust sign of DX.
646 (csloww2): Likewise.
647
eb983568
JM
6482013-12-19 Joseph Myers <joseph@codesourcery.com>
649
64a17f1a
JM
650 * math/auto-libm-test-in: Add tests of cabs and carg.
651 * math/auto-libm-test-out: Regenerated.
652 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
653 (carg_test_data): Likewise.
654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
655 mpc_c_f.
656 (func_calc_desc): Add mpc_c_f union field.
657 (test_functions): Add cabs and carg.
658 (calc_generic_results): Handle mpc_c_f.
659
eb983568
JM
660 * sysdeps/powerpc/powerpc32/libgcc-compat.S
661 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
662 as a macro and a compat symbol.
663 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
664 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
665 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
666 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
667 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
669 not use .hidden.
670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
671 Likewise.
672 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
673 Likewise.
674 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
675 Likewise.
676 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
677 Likewise.
678 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
679 Likewise.
680 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
681 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
682 from GLIBC_2.3.2.
683
6eeb678a
AZ
6842013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
687
063b2acb
PP
6882013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
689
690 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
691 (__signal_safe_memalign, __signal_safe_free): Use it.
692 (__signal_safe_realloc): Likewise.
693
6f6fc482
JM
6942013-12-19 Joseph Myers <joseph@codesourcery.com>
695
21fea2e2
JM
696 * manual/texinfo.tex: Update to version 2013-11-26.10 with
697 trailing whitespace removed.
698 * scripts/config.guess: Update to version 2013-11-29.
699 * scripts/config.sub: Update to version 2013-10-01.
700
6f6fc482
JM
701 * math/auto-libm-test-in: Add tests of sincos.
702 * math/auto-libm-test-out: Regenerated.
703 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
704 * math/gen-auto-libm-tests.c (func_calc_method): Add value
705 mpfr_f_11.
706 (func_calc_desc): Add mpfr_f_11 union field.
707 (test_functions): Add sincos.
708 (calc_generic_results): Handle mpfr_f_11.
709 * sysdeps/i386/fpu/libm-test-ulps: Update.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
711
83f5c32d
AS
7122013-12-19 Andreas Schwab <schwab@suse.de>
713
714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
715 CALL_MCOUNT.
716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
718 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
719
c688b419
JM
7202013-12-19 Joseph Myers <joseph@codesourcery.com>
721
335ee092
JM
722 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
723 * sysdeps/i386/fpu/libm-test-ulps: Update.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
725
f88acd39
JM
726 [BZ #16293]
727 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
728 round-to-nearest mode when using frndint.
729 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
730 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
732 Likewise.
733 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
734 sinh test to fail.
735 * math/auto-libm-test-out: Regenerated.
736 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
737 (TEST_COND_x86): Likewise.
738 (expm1_tonearest_test_data): New array.
739 (expm1_test_tonearest): New function.
740 (expm1_towardzero_test_data): New array.
741 (expm1_test_towardzero): New function.
742 (expm1_downward_test_data): New array.
743 (expm1_test_downward): New function.
744 (expm1_upward_test_data): New array.
745 (expm1_test_upward): New function.
746 (main): Run the new test functions.
747 * sysdeps/i386/fpu/libm-test-ulps: Update.
748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
749
c688b419
JM
750 * include/features.h: Update comment documenting feature test
751 macros. Mention _DEFAULT_SOURCE in comment.
752 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
753 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
754 _BSD_SOURCE and _SVID_SOURCE.
755 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
756 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
757 !_SVID_SOURCE]: Likewise.
758 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
759 (__USE_POSIX_IMPLICITLY): Define.
760 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
761 (_POSIX_SOURCE): Undefine and redefine.
762 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
763 (_POSIX_C_SOURCE): Likewise.
764 * manual/creature.texi (_DEFAULT_SOURCE): Document.
765 (Feature Test Macros): Update documentation of default features.
766
9f6e964c
RS
7672013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
768
769 * benchtests/Makefile: Add bench-strtok.
770 * benchtests/bench-strtok.c: New file: strtok benchtest.
771
ee0a148a
AM
7722013-12-19 Allan McRae <allan@archlinux.org>
773
774 * manual/install.texi: Suppress menu for plain text output.
775 * INSTALL: Regenerated.
776
1f33d36a
PP
7772013-12-18 Andrew Hunter <ahh@google.com>
778
779 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
780 (__signal_safe_malloc, __signal_safe_free): Likewise.
781 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
782 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
783 (__signal_safe_memalign, __signal_safe_malloc): New function.
784 (__signal_safe_free, __signal_safe_realloc): Likewise.
785 (__signal_safe_calloc): Likewise.
786 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
787 functions.
788 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
789
35e8f7ab
PP
7902013-12-18 Andrew Hunter <ahh@google.com>
791
792 * elf/Versions (ld): Add _dl_clear_dtv.
793 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
794 * elf/dl-tls.c (_dl_clear_dtv): New function.
795 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
796
69a17d9d
PP
7972013-12-18 Andrew Hunter <ahh@google.com>
798
799 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
800 (_dl_unmask_signals): Likewise.
801 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
802 (_dl_unmask_all_signals): Likewise.
803 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
804 (_dl_unmask_all_signals): Likewise.
805 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
806 (_dl_unmask_signals): Likewise.
807
b9ab448f
BM
8082013-12-18 Brooks Moses <bmoses@google.com>
809
810 [BZ #15846]
811 * misc/getauxval.c: Include errno.h.
812 (__getauxval): Set errno to ENOENT if the requested type is not
813 found.
814 * misc/sys/auxv.h (getauxval): Document that it may set errno;
815 don't declare with __attribute_const__.
816 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
817 * manual/startup.texi: Document that getauxval sets errno.
818
23776487
JM
8192013-12-18 Joseph Myers <joseph@codesourcery.com>
820
f889953b
JM
821 * math/auto-libm-test-in: Add tests of jn and yn.
822 * math/auto-libm-test-out: Regenerated.
823 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
824 (yn_test_data): Likewise.
825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
826 mpfr_if_f.
827 (func_calc_desc): Add mpfr_if_f union field.
828 (FUNC_mpfr_if_f): New macro.
829 (test_functions): Add jn and yn.
830 (calc_generic_results): Assert type of second input for
831 mpfr_ff_f. Handle mpfr_if_f.
832 (output_for_one_input_case): Disable all checking for arguments
833 fitting floating-point types in case of an integer argument.
834 * sysdeps/i386/fpu/libm-test-ulps: Update.
835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836
23776487
JM
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
838 Don't expect fegetround reference in libm.so.
839
cb756c6d
MS
8402013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
841
842 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
843 $(config-cflags-nofma).
844
2dec468f
JM
8452013-12-18 Joseph Myers <joseph@codesourcery.com>
846
5953eb3a
JM
847 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
848 * math/auto-libm-test-out: Regenerated.
849
2dec468f
JM
850 [BZ #16338]
851 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
852 to determine exponent and adjust argument to have exponent of -1.
853 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
854 log2.
855 * math/auto-libm-test-out: Regenerated.
856 * sysdeps/i386/fpu/libm-test-ulps: Update.
857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
858
4d84e6ad
OB
8592013-12-18 Ondřej Bílka <neleai@seznam.cz>
860
861 * manual/probes.texi: Remove cases when per-thread arenas are
862 disabled.
863
1818483b
AS
8642013-12-18 Andreas Schwab <schwab@suse.de>
865
866 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
867 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
868 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
869 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
870 * sysdeps/i386/i686/multiarch/Makefile: Update.
871 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
872
25de95bf
JM
8732013-12-17 Joseph Myers <joseph@codesourcery.com>
874
875 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
876 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
877
674762d9
PE
8782013-12-17 Paul Eggert <eggert@cs.ucla.edu>
879
0748546f
PE
880 Support TZ transition times < 00:00:00.
881 This is needed for version-3 tz-format files; it supports time
882 stamps past 2037 for America/Godthab (the only entry in the tz
883 database for which this change is relevant).
884 * manual/time.texi (TZ Variable): Document transition times
885 from -167:59:59 through -00:00:01.
886 * time/tzset.c (tz_rule): Time of day is now signed.
887 (__tzset_parse_tz): Parse negative time of day.
888
4480e934
PE
889 Document TZ transition times >= 25:00:00.
890 * manual/time.texi (TZ Variable): Document transition times from
891 25:00:00 through 167:59:59. These are already supported, and this
892 support will help with version-3 tz-format files.
893
69947401
PE
894 * manual/time.texi (TZ Variable): Modernize North America example
895 to reflect current (i.e., 2007-and-later) daylight saving rules.
896
674762d9
PE
897 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
898
7011c262
JM
8992013-12-17 Joseph Myers <joseph@codesourcery.com>
900
2fc6557e
JM
901 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
902 * sysdeps/unix/bsd/bits/stat.h: Likewise.
903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
905 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
906 * sysdeps/unix/bsd/bsdstat.h: Likewise.
907 * sysdeps/unix/bsd/clock.c: Likewise.
908 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
909 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
910 * sysdeps/unix/bsd/init-posix.c: Likewise.
911 * sysdeps/unix/bsd/poll.c: Likewise.
912 * sysdeps/unix/bsd/ptsname.c: Likewise.
913 * sysdeps/unix/bsd/seekdir.c: Likewise.
914 * sysdeps/unix/bsd/setegid.c: Likewise.
915 * sysdeps/unix/bsd/seteuid.c: Likewise.
916 * sysdeps/unix/bsd/setgid.c: Likewise.
917 * sysdeps/unix/bsd/setrgid.c: Likewise.
918 * sysdeps/unix/bsd/setruid.c: Likewise.
919 * sysdeps/unix/bsd/setsid.c: Likewise.
920 * sysdeps/unix/bsd/setuid.c: Likewise.
921 * sysdeps/unix/bsd/sigaction.c: Likewise.
922 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
923 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
924 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
925 * sysdeps/unix/bsd/telldir.c: Likewise.
926 * sysdeps/unix/bsd/times.c: Likewise.
927 * sysdeps/unix/bsd/usleep.c: Likewise.
928
029c7b25
JM
929 * misc/Makefile (install-lib): Remove libbsd-compat.a.
930 ($(objpfx)libbsd-compat.a): Remove rule.
931
7011c262
JM
932 * include/features.h (__FAVOR_BSD): Do not define.
933 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
934 features conflicting with POSIX.
935 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
936 (_BSD_SOURCE): Remove description of not being a subset of other
937 feature test macros.
938 * manual/job.texi (getpgrp): Do not document BSD version.
939 (getpgid): Do not document by reference to BSD getpgrp.
940 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
941 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
942 * signal/signal.h [__FAVOR_BSD]: Likewise.
943 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
944 instead of making contents conditional on [__FAVOR_BSD].
945 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
946
affb6f78
AZ
9472013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948
949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
950
c88769dd
JM
9512013-12-17 Joseph Myers <joseph@codesourcery.com>
952
6432a540
JM
953 [BZ #16314]
954 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
955 values below 2**-450, not 2**-500.
956 * math/auto-libm-test-in: Don't allow spurious underflow from
957 hypot.
958 * math/auto-libm-test-out: Regenerated.
959
c88769dd
JM
960 [BZ #16316]
961 [BZ #16330]
962 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
963 values of ha and hb and sort them after adjusting subnormal
964 arguments.
965 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
966 Likewise.
967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
968 values of ea and eb and sort them after adjusting subnormal
969 arguments.
970 * math/auto-libm-test-in: Do not expect some hypot tests of
971 subnormals to fail. Add more hypot tests.
972 * math/auto-libm-test-out: Regenerated.
973
29618f6b
KK
9742013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
975
976 [BZ #13304]
977 * sysdeps/sh/s_fma.c: New file.
978 * sysdeps/sh/s_fmaf.c: New file.
979 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
980 version.
981 * sysdeps/sh/Implies: Add sh/soft-fp.
982
eacfdfbf
RM
9832013-12-16 Roland McGrath <roland@hack.frob.com>
984
985 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
986 level of indirection to members `objname', `errstring', `malloced'.
987 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
988 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
989 it as the __longjmp argument (just pass 1 instead).
990 (_dl_catch_error): Initialize C with argument pointers and address of
991 volatile local ERRCODE rather than copying values out of C at return.
992
ff362e5b
JM
9932013-12-16 Joseph Myers <joseph@codesourcery.com>
994
995 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
996 * math/auto-libm-test-out: Regenerated.
997 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
998 (hypot_test_data): Likewise.
999 (pow_test_data): Likewise.
1000 (pow_tonearest_test_data): Likewise.
1001 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1002 mpfr_ff_f.
1003 (func_calc_desc): Add mpfr_ff_f union field.
1004 (FUNC_mpfr_ff_f): New macro.
1005 (test_functions): Add atan2, hypot and pow.
1006 (special_fill_min): New function.
1007 (special_fill_minus_min): Likewise.
1008 (special_fill_min_subnorm): Likewise.
1009 (special_fill_minus_min_subnorm): Likewise.
1010 (special_real_inputs): Add min, -min, min_subnorm and
1011 -min_subnorm.
1012 (calc_generic_results): Handle mpfr_ff_f.
1013 * sysdeps/i386/fpu/libm-test-ulps: Update.
1014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015
5764c27f
WN
10162013-12-16 Will Newton <will.newton@linaro.org>
1017
1018 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1019 (Aligned Memory Blocks): Add documentation for aligned_alloc
1020 and suggest it as an alternative to posix_memalign.
1021 (Hooks for Malloc): Document __memalign_hook is also called
1022 for aligned_alloc. (Summary of Malloc): Add summary for
1023 aligned alloc. Document __memalign_hook is also called
1024 for aligned_alloc.
1025
0a096e44
WN
10262013-12-16 Will Newton <will.newton@linaro.org>
1027
1028 * manual/memory.texi (Malloc Examples): Clarify default
1029 alignment documentation. Suggest posix_memalign rather
1030 than memalign or valloc.
1031 (Aligned Memory Blocks): Remove suggestion to use memalign
1032 or valloc. Remove obsolete comment about BSD.
1033 Document memalign errno values and mark the function obsolete.
1034 Document posix_memalign returned error codes. Mark valloc
1035 as obsolete. (Hooks for Malloc): __memalign_hook is also
1036 called for posix_memalign and valloc.
1037 (Summary of Malloc): Add posix_memalign to function summary.
1038 __memalign_hook is also called for posix_memalign and valloc.
1039
8d561986
SP
10402013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1041
1042 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1043 TAYLOR_SIN.
1044 (__sin): Adjust.
1045 (__cos): Likewise.
1046 (sloww): Use mynumber union. Expand ternary operator into
1047 if-else statements.
1048 (cslow): use mynumber union.
1049
73616a74
AM
10502013-12-16 Allan McRae <allan@archlinux.org>
1051
9e8ac24b
AM
1052 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1053 * configure: Regenerated.
1054
6f8e37eb
AM
1055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1056
8894bad3
AM
1057 [BZ #14120]
1058 * configure.ac: Added --enable-maintainer-mode. Check for
1059 autoconf when enabled.
1060 * configure: Regenerated.
1061
73616a74
AM
1062 * nscd/nscd.service: New file.
1063 * nscd/nscd.tmpfiles: New file.
1064
584b18eb
OB
10652013-12-14 Ondřej Bílka <neleai@seznam.cz>
1066
1067 [BZ #12100]
1068 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1069 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1070 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1071 (strstr): Add __strstr_sse2_unaligned ifunc.
1072 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1073 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1074 (strcasestr): Remove __strcasestr_sse42 ifunc.
1075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1078
8a5c7897
KK
10792013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1080
1081 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1082 * sysdeps/sh/bits/fenv.h: ... here.
1083 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1084
fd712ef3
AZ
10852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086
1087 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1088
42fcb46c
AZ
10892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1090
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1092 hypotf multiarch implementations.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1096 multiarch hypot for PPC64.
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1099 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1100 multiarch hypotf for PPC64.
1101
83efded4
AZ
11022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1105 modff multiarch implementations.
1106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1109 multiarch modf for PPC64.
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1113 multiarch modff for PPC64.
1114
43e246d2
AZ
11152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1116
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1118 and logl multiarch implementations.
1119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1122 multiarch logb for PPC64.
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1126 multiarch logb for PPC64.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1130 multiarch logb for PPC64.
1131
8fdad123
AZ
11322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1135 isinff multiarch implementation.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1137 file.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1140 multiarch isinf for PPC64.
1141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1142 file.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1144 multiarch isinff for PPC64.
1145
1481d706
AZ
11462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1149 finitef multiarch implementation.
1150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1151 file.
1152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1154 multiarch finite for PPC64.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1156 file.
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1158 multiarch finitef for PPC64.
1159
5ccd5fc8
AZ
11602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161
1162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1163 lrint multiarch implementation.
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1165 file.
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1168 multiarch llrint for PPC64.
1169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1170 multiarch lrint for PPC64.
1171
2568f3fa
AZ
11722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1175 copysignf multiarch implementation.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1177 file.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1179 file.
1180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1181 multiarch copysign for PPC64.
1182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1183 multiarch copysignf for PPC64.
1184
1cb341fd
AZ
11852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1186
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1188 multiarch implementation.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1190 file.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1192 file.
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1194 file.
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1196 file.
1197 multiarch llround for PPC64.
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1199 multiarch trunc for PPC64.
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1201 multiarch truncf for PPC64.
1202
59a3e194
AZ
12032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1204
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1206 multiarch implementation.
1207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1208 file.
1209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1210 file.
1211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1212 file.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1214 file.
1215 multiarch llround for PPC64.
1216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1217 multiarch round for PPC64.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1219 multiarch roundf for PPC64.
1220
357fd3b4
AZ
12212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1224 multiarch implementation.
1225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1226 file.
1227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1228 file.
1229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1230 file.
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1232 file.
1233 multiarch llround for PPC64.
1234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1235 multiarch floor for PPC64.
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1237 multiarch floorf for PPC64.
1238
96770f12
AZ
12392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1242 multiarch implementation.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1244 file.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1246 file.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1248 file.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1250 file.
1251 multiarch llround for PPC64.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1253 multiarch ceil for PPC64.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1255 multiarch ceilf for PPC64.
1256
c3627f6e
AZ
12572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1260 multiarch implementation.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1262 file.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1264 file.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1266 file.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1268 multiarch llround for PPC64.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1270 multiarch lround for PPC64.
1271
b2284ad7
AZ
12722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1273
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1275 multiarch implementation.
1276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1279 file.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1283 multiarch isnan for PPC64.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1285 multiarch isnanf for PPC64.
1286
69bbc63d
AZ
12872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1290 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1291 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1292 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1293 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1295
c24517c9
AZ
12962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297
1298 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1299 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1302
a52374e8
AZ
13032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1306 multiarch implementations.
1307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1308 (__libc_ifunc_impl_list): Likewise.
1309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1312 multiarch stpcpy for PPC64.
1313
7f5ec113
AZ
13142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1317 multiarch implementations.
1318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1319 (__libc_ifunc_impl_list): Likewise.
1320 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1321 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1322 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1323 multiarch strcpy for PPC64.
1324
e28bcd42
AZ
13252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1328 redefine function name.
1329 (_wordcopy_fwd_dest_aligned): Likewise.
1330 (_wordcopy_bwd_aligned): Likewise.
1331 (_wordcopy_bwd_dest_aligned): Likewise.
1332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1333 multiarch implementations.
1334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1335 (__libc_ifunc_impl_list): Likewise.
1336 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1337 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1338 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1340 multiarch wcscpy for PPC64.
1341
92cacfce
AZ
13422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343
1344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1345 multiarch implementations.
1346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1347 (__libc_ifunc_impl_list): Likewise.
1348 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1352 multiarch wcscpy for PPC64.
1353
7b714620
AZ
13542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1357 multiarch implementations.
1358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1359 (__libc_ifunc_impl_list): Likewise.
1360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1363 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1364 multiarch wcsrchr for PPC64.
1365
16fd2ae3
AZ
13662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367
1368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1369 multiarch implementations.
1370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1371 (__libc_ifunc_impl_list): Likewise.
1372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1373 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1374 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1375 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1376 multiarch wcschr for PPC64.
1377
9ee2969b
AZ
13782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379
1380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1381 multiarch implementations.
1382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1383 (__libc_ifunc_impl_list): Likewise.
1384 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1385 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1386 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1387 multiarch strchrnul for PPC64.
1388
372dc060
AZ
13892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390
1391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1392 implementations.
1393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1394 (__libc_ifunc_impl_list): Likewise.
1395 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1396 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1397 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1398 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1399 strchr for PPC64.
1400
24c2c3b9
AZ
14012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402
1403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1404 implementations.
1405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1406 (__libc_ifunc_impl_list): Likewise.
1407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1410 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1411 strncmp for PPC64.
1412
1c92d9a0
AZ
14132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414
1415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1416 multiarch implementations.
1417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1418 (__libc_ifunc_impl_list): Likewise.
1419 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1420 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1421 strncasecmp for PPC64.
1422 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1423 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1424 multiarch strncasecmp_l for PPC64.
1425
17de3ee3
AZ
14262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1429 multiarch implementations.
1430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1431 (__libc_ifunc_impl_list): Likewise.
1432 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1434 multiarch strcasecmp for PPC64.
1435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1436 file.
1437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1438 multiarch strcasecmp_l for PPC64.
1439
62982bf9
AZ
14402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441
1442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1443 implementations.
1444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1445 (__libc_ifunc_impl_list): Likewise.
1446 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1447 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1448 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1449 strnlen for PPC64.
1450
a65f4904
AZ
14512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1452
1453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1454 implementations.
1455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1456 (__libc_ifunc_impl_list): Likewise.
1457 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1458 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1459 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1460 strlen for PPC64.
1461
1fd005ad
AZ
14622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463
1464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1465 implementations.
1466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1467 (__libc_ifunc_impl_list): Likewise.
1468 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1469 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1470 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1471 rawmemrchr for PPC64.
1472
cd05ba91
AZ
14732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1476 implementation.
1477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1478 (__libc_ifunc_impl_list): Likewise.
1479 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1480 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1481 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1482 memrchr for PPC64.
1483
870f8676
AZ
14842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485
1486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1487 implementation.
1488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1489 (__libc_ifunc_impl_list): Likewise.
1490 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1491 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1492 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1493 memchr for PPC64.
1494
f00be62b
AZ
14952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496
1497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1498 implementation.
1499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1500 (__libc_ifunc_impl_list): Likewise.
1501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1503 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1504 mempcpy for PPC64.
1505
8a29a3d0
AZ
15062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507
1508 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1509 avoid cretion of __bzero symbol.
1510 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1511 Likewise.
1512 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1513 Likewise.
1514 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1515 Likewise.
1516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1517 multiarch implementations.
1518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1519 (__libc_ifunc_impl_list): Likewise.
1520 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1521 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1522 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1523 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1524 bzero for PPC32.
1525 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1526 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1529 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1530 memset for PPC64.
1531 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1532
07253fcf
AZ
15332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534
1535 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1537 implementations.
1538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1539 (__libc_ifunc_impl_list): Likewise.
1540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1543 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1544 memcmp for PPC64.
1545
b5beafbc
AZ
15462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547
1548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1549 multiarch for POWER/PPC64.
1550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1551 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1558 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1559 memcpy for PPC64.
1560
5e6a4d4b
AZ
15612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562
1563 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1564 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1565 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1566 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1567 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1568 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1569 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1570 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1571 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1572 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1573 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1574 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1575 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1576 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1577 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1585
ddfab6dc
KK
15862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1587
1588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1589
19b5525e
SP
15902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1591
1592 * benchtests/Makefile (bench): Add exp2 and log2.
1593 (LDLIBS-bench-exp2): Add -lm.
1594 (LDLIBS-bench-log2): Likewise.
1595 * benchtests/exp2-inputs: New inputs file.
1596 * benchtests/log2-inputs: New inputs file.
1597 * benchtests/log-inputs: Add new inputs.
1598 * benchtests/tan-inputs: Likewise.
1599
196f7f5d
SP
16002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1601
7a74607f
SP
1602 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1603 definition...
1604 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1605 csloww1, csloww2): ... from here.
1606
196f7f5d
SP
1607 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1608 instead of structures.
1609 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1610 (POLYNOMIAL): Likewise.
1611 (TAYLOR_SLOW): Likewise.
1612 (__sin): Likewise.
1613 (__cos): Likewise.
1614 (slow1): Likewise.
1615 (slow2): Likewise.
1616 (sloww): Likewise.
1617 (sloww1); Likewise.
1618 (sloww2): Likewise.
1619 (bsloww1): Likewise.
1620 (bsloww2): Likewise.
1621 (cslow2): Likewise.
1622 (csloww): Likewise.
1623 (csloww1): Likewise.
1624 (csloww2): Likewise.
1625
0dfa665c
OB
16262013-12-10 Ondřej Bílka <neleai@seznam.cz>
1627
1628 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1629 (__malloc_assert, __libc_realloc, __libc_calloc,
1630 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1631 memcpy and memset.
1632 * malloc/hooks.c (realloc_check): Likewise.
1633
5782a80f
OB
16342013-12-10 Ondřej Bílka <neleai@seznam.cz>
1635
1636 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1637 * malloc/arena.c: Remove PER_THREAD conditional.
1638 [!PER_THREAD]: Remove code.
1639 (ptmalloc_unlock_all2): Likewise.
1640 (ptmalloc_init): Likewise.
1641 (_int_new_arena): Likewise.
1642 (arena_get2): Likewise.
1643 * malloc/hooks.c (__malloc_get_state): Likewise.
1644 (__malloc_set_state): Likewise.
1645 * malloc/malloc.c: Likewise.
1646 (struct malloc_state): Likewise.
1647 (struct malloc_par): Likewise.
1648 (__libc_realloc): Likewise.
1649 (__libc_mallopt): Likewise.
1650
aeb95445
AZ
16512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1652
1653 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1654
e8349efd
OB
16552013-12-09 Ondřej Bílka <neleai@seznam.cz>
1656
1657 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1658 macro to a function. Check for zero perturb_byte.
1659 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1660
f3eeb3fc
OB
16612013-12-09 Ondřej Bílka <neleai@seznam.cz>
1662
1663 * malloc/malloc.c: (force_reg): Remove.
1664 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1665 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1666 force_reg by atomic_forced_read.
1667 * malloc/arena.c (ptmalloc_init): Likewise.
1668 * malloc/hooks.c (top_check): Likewise.
1669
be2f9009
AZ
16702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671
1672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1673
e7b914bd
MT
16742013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1675
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1677
9f0be4f8
JM
16782013-12-08 Joseph Myers <joseph@codesourcery.com>
1679
1680 * math/auto-libm-test-in: Add tests of lgamma.
1681 * math/auto-libm-test-out: Regenerated.
1682 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1683 (M_LOG_2_SQRT_PIl): Likewise.
1684 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1686 mpfr_f_f1.
1687 (func_calc_desc): Add mpfr_f_f1 union field.
1688 (ARGS1): New macro.
1689 (ARGS2): Likewise.
1690 (ARGS3): Likewise.
1691 (ARGS4): Likewise.
1692 (RET1): Likewise.
1693 (RET2): Likewise.
1694 (CALC): Likewise.
1695 (FUNC): Likewise.
1696 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1697 (test_functions): Add lgamma.
1698 (calc_generic_results): Handle mpfr_f_f1.
1699 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1701
24eeafdb
AZ
17022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1705 __mpn_add_n for PowerPC64/POWER7.
1706 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1707 __mpn_sub_n for PowerPC64/POWER7.
1708
4a2c0fd4
AZ
17092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710
1711 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1712 __mpn_addmul_1 for PowerPC64.
1713 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1714 __mpn_submul_1 for PowerPC64.
1715 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1716 for PowerPC64.
1717 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1718 for PowerPC64.
1719
4b5b548c
FS
17202013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1721
1722 [BZ #15089]
1723 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1724
0a3ac0aa
AZ
17252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726
1727 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1728
ccdc8438
AZ
17292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1732 add multiarch folders.
1733 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1734 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1735 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1736 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1737 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1738 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1739 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1740 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1741 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1742 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1743 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1750
2e973d99
AZ
17512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1754 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1756 New file.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1758 New file.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1760 multiarch __ieee754_hypot for PowerPC32.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1762 New file.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1764 New file.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1766 multiarch __ieee754_hypotf for PowerPC32.
1767
2d9470b2
AZ
17682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1771 long_double_symbol only if __logbl is defined.
1772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1773 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1775 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1776 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1777 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1779 path for implementation.
1780 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1783 logb, and logbl multiarch implementations for PowerPC32.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1785 file.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1787 file.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1789 multiarch logb for PowerPC32.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1791 file.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1793 file.
1794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1795 multiarch logbf for PowerPC32.
1796 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1798 file.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1800 multiarch logbl implementation for PowerPC32.
1801
5212ffce
AZ
18022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1805 and modff multiarch implementations.
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1807 New file.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1809 New file.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1811 multiarch modf for PowerPC32.
1812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1813 New file.
1814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1815 New file.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1817 multiarch modff for PowerPC32.
1818
79dccf31
AZ
18192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1822 and lrintf multiarch implementations.
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1824 New file.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1826 New file.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1828 multiarch lrint for PowerPC32.
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1830 file: multiarch lrintf for PowerPC32.
1831
deb66480
AZ
18322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1835 and lroundf multiarch implementations.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1837 New file.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1839 New file.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1841 New file.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1843 multiarch lround for PowerPC32.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1845 file: multiarch lroundf for PowerPC32.
1846
264b036b
AZ
18472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1850 copysign and copysignf multiarch implementations.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1852 New file.
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1854 New file.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1856 file: multiarch copysign for PowerPC32.
1857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1858 file: multiarch copysignf for PowerPC32.
1859
d47db6c9
AZ
18602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1863 and truncf multiarch implementations.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1865 New file.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1867 file.
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1869 multiarch trunc for PowerPC32.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1871 New file.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1873 New file.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1875 multiarch truncf for PowerPC32.
1876
ddb60b5a
AZ
18772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1880 and roundf multiarch implementations.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1882 New file.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1884 file.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1886 multiarch round for PowerPC32.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1888 New file.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1890 New file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1892 multiarch roundf for PowerPC32.
1893
bedcf49b
AZ
18942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1897 and floorf multiarch implementations.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1899 New file.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1901 file.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1903 multiarch floor for PowerPC32.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1905 New file.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1907 New file.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1909 multiarch floorf for PowerPC32.
1910
35ae5b40
AZ
19112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1914 and ceilf multiarch implementations.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1916 New file.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1918 file.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1920 multiarch ceil for PowerPC32.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1922 New file.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1924 file.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1926 multiarch ceilf for PowerPC32.
1927
ae1a4cd9
AZ
19282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1931 is defined.
1932 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1933 FINITEF is defined.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1935 and finitef multiarch implementations.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1937 New file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1941 multiarch finite for PowerPC32.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1943 New file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1945 file: multiarch finitef for PowerPC32.
1946
64fffd65
AZ
19472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1950 and isinff multiarch implementations.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1952 file.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1954 file.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1956 multiarch isinf for PowerPC32.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1958 New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1960 multiarch isinff for PowerPC32.
1961
8e4e7ba2
AZ
19622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
1964 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1965 alias when __isnan is defined.
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1967 and isnanf multiarch implementations.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1969 file.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1971 file.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1973 file.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1975 file.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1977 multiarch isnan for PowerPC32.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1979 New file.
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1981 New file.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1983 multiarch isnanf for PowerPC32.
1984
ddba588e
AZ
19852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1988 and sqrtf multiarch implementations.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1990 file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1992 file.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1994 multiarch sqrt for PowerPC32.
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1996 file.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1998 file.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2000 multiarch sqrtf for PowerPC32.
2001
0f96a2f0
AZ
20022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2005 and llroundf multiarch implementations.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2007 New file.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2009 New file.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2011 New file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2013 file: multiarch llround for PowerPC32.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2015 file: multiarch llroundf for PowerPC32.
2016
c9b5d79e
AZ
20172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2020 multiarch PowerPC32 fpu implementations.
2021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2022 New file.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2024 New file.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2026 multiarch llrint for PowerPC32.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2028 New file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2030 New file.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2032 file.
2033
9cbb3aab
AZ
20342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2037
ea5a72f8
AZ
20382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2041 file.
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2043 file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2045 file.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2047 multiarch wordcopy for PPC32.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2049 wordcopy objects.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2051 (__libc_ifunc_impl_list): Likewise.
2052 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2053 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2055 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2057 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2058
93be09e7
AZ
20592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060
2061 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2063 file.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2065 file.
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2067 file.
2068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2069 multiarch wcscpy for PPC32.
2070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2071 multiarch objects.
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2073 (__libc_ifunc_impl_list): Likewise.
2074 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2075 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2076 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2077 sysdeps/powerpc/power6/wcscpy.c.
2078
bb04e529
AZ
20792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2080
2081 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2083 file.
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2085 file.
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2087 file.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2089 multiarch wcsrchr for PPC32.
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2091 multiarch objects.
2092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2093 (__libc_ifunc_impl_list): Likewise.
2094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2095 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2096 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2097 sysdeps/powerpc/power6/wcsrchr.c.
2098
05b5cd1c
AZ
20992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100
2101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2102 file.
2103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2104 file.
2105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2107 multiarch wcschr for PPc32.
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2109 multiarch objects.
2110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2111 (__libc_ifunc_impl_list): Likewise.
2112 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2113 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2114 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2115 sysdeps/powerpc/power6/wcschr.c.
2116
ba964147
AZ
21172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2121 file.
2122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2123 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2124 file: multiarch strchr for PPC32.
2125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2126 multiarch objects.
2127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2128 (__libc_ifunc_impl_list): Likewise.
2129
31c81aaa
AZ
21302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2133 name.
2134 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2135 file.
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2137 file.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2139 multiarch strchrnul for PPC32.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2141 multiarch objects.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2143 (__libc_ifunc_impl_list): Likewise.
2144
0d0607d9
AZ
21452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146
2147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2148 file.
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2150 multiarch strncasecmp for PPC32.
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2154 multiarch strncasecmp_l for PPC32.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2156 strncasecmp multiarch objects.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2158 (__libc_ifunc_impl_list): Likewise.
2159
4dfd5c86
AZ
21602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2163 file.
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2165 multiarch strncasecmp for PPC32.
2166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2167 New file.
2168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2169 multiarch strcasecmp_l for PPC32.
2170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2171 multiarch objects.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2173 (__libc_ifunc_impl_list): Likewise.
2174
a19e01a3
AZ
21752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176
2177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2178 file.
2179 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2180 file.
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2182 multiarch strncmp for PPC32.
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2184 multiarch objects.
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2186 (__libc_ifunc_impl_list): Likewise.
2187
ae9cf7a2
AZ
21882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2191 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2192 file.
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2196 multiarch objects.
2197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2198 (__libc_ifunc_impl_list): Likewise.
2199
3148bb7d
AZ
22002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2203 file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2205 file.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2208 multiarch objects.
2209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2210 (__libc_ifunc_impl_list): Likewise.
2211
7af8b946
AZ
22122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2215 file.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2217 file.
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2219 multiarch rawmemchr for PPC32.
2220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2221 multiarch objects.
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2223 (__libc_ifunc_impl_list): Likewise.
2224
03a6aa6a
AZ
22252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2228 file.
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2230 file.
2231 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2232 file: memrchr multiarch for PPC32.
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2234 multiarch objects.
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2236 (__libc_ifunc_impl_list): Likewise.
2237
1c62e6d9
AZ
22382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
2240 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2242 file.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2245 multiarch memchr for PPC32.
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2247 multiarch objects.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2249 (__libc_ifunc_impl_list): Likewise.
2250
87da8bdb
AZ
22512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2255 file.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2257 file.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2259 file: multiarch mempcpy for PPC32.
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2261 multiarch objects.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2263 (__libc_ifunc_impl_list): Likewise.
2264
20ed4714
AZ
22652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2271 multiarch bzero for PPC32.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2273 file.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2275 file.
2276 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2277 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2278 file: multiarch memset for PPC32.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2281 memset multiarch objects.
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2283 (__libc_ifunc_impl_list): Likewise.
2284
ab3e3a46
AZ
22852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2288 file.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2291 memcmp for PPC32.
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2294 multiarch objects.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2296 (__libc_ifunc_impl_list): Likewise.
2297
930de6f0
AZ
22982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2303 file.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2305 file.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2307 file.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2309 multiarch memcpy for PPC32.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2311 multiarch objects.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2313 (__libc_ifunc_impl_list): Likewise.
2314
4c628e00
AZ
23152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2318 support multiarch for POWER/PPC32.
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2320 Likewise.
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2323 Implies file to make multiarch folder appers before the fpu and
2324 default folder for power4 configuration.
2325
f4479220
SP
23262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2327
2328 * scripts/bench.pl: Append volatile keyword to type.
2329
8517800f
KK
23302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2331
2332 * sysdeps/sh/sotruss-lib.c: New file.
2333 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2334
180138f1
AZ
23352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2336
2337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2338
bbf37bdc
JM
23392013-12-05 Joseph Myers <joseph@codesourcery.com>
2340
e47cc4e0
JM
2341 [BZ #6810]
2342 * math/w_tgamma.c: Include <errno.h>.
2343 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2344 * math/w_tgammaf.c: Include <errno.h>.
2345 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2346 * math/w_tgammal.c: Include <errno.h>.
2347 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2348 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2349 underflow. Add more tgamma tests.
2350 * math/auto-libm-test-out: Regenerated.
2351 * sysdeps/i386/fpu/libm-test-ulps: Update.
2352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2353
bbf37bdc
JM
2354 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2355 sin, sinh, tan, tanh, tgamma, y0 and y1.
2356 * math/auto-libm-test-out: Regenerated.
2357 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2358 (TEST_COND_x86): Likewise.
2359 (M_E2l): Remove macro.
2360 (M_E3l): Likewise.
2361 (M_2_SQRT_PIl): Likewise.
2362 (M_SQRT_PIl): Likewise.
2363 (M_1_DIV_El): Likewise.
2364 (log_test_data): Use AUTO_TESTS_f_f.
2365 (log10_test_data): Likewise.
2366 (log1p_test_data): Likewise.
2367 (log2_test_data): Likewise.
2368 (sin_test_data): Likewise.
2369 (sin_tonearest_test_data): Likewise.
2370 (sin_towardzero_test_data): Likewise.
2371 (sin_downward_test_data): Likewise.
2372 (sin_upward_test_data): Likewise.
2373 (sinh_test_data): Likewise.
2374 (sinh_tonearest_test_data): Likewise.
2375 (sinh_towardzero_test_data): Likewise.
2376 (sinh_downward_test_data): Likewise.
2377 (sinh_upward_test_data): Likewise.
2378 (tan_test_data): Likewise.
2379 (tan_tonearest_test_data): Likewise.
2380 (tan_towardzero_test_data): Likewise.
2381 (tan_downward_test_data): Likewise.
2382 (tan_upward_test_data): Likewise.
2383 (tanh_test_data): Likewise.
2384 (tgamma_test_data): Likewise.
2385 (y0_test_data): Likewise.
2386 (y1_test_data): Likewise.
2387 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2388 (special_real_inputs): Add pi/4.
2389 * sysdeps/i386/fpu/libm-test-ulps: Update.
2390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391
eb5ad6b9
AZ
23922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393
2394 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2395 "longjmp_target" static probes.
2396 (__longjmp): Rename to __longjmp_symbol.
2397 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2398 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2399 on which longjmp to generate.
2400 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2402 probe.
2403 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2404 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2405 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2406 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2407 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2408 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2410 __longjmp_symbol based on which __longjmp to generate.
2411 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2412 probe.
2413 (setjmp): Rename to setjmp_symbol.
2414 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2415 (_setjmp): Rename to _setjmp_symbol.
2416 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2417 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2418 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2419 which setjmp to generate.
2420 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2421 "longjmp_target" static probes.
2422
d136c6dc
SP
24232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2424
9298ecba
SP
2425 * benchtests/README: Add note about output arguments.
2426 * benchtests/bench-sincos.c: Remove file.
2427 * benchtests/sincos-inputs: New file.
2428 * scripts/bench.pl: Identify output arguments and define
2429 static variables for them.
2430
232983e9
SP
2431 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2432
d136c6dc
SP
2433 [BZ #15941]
2434 * Makefile (INSTALL): Add install-plain.texi as the primary
2435 dependency.
2436 * manual/install-plain.texi: New file.
2437 * manual/install.texi: Include node directive only for
2438 non-plaintext output.
2439
699ff837
JM
24402013-12-04 Joseph Myers <joseph@codesourcery.com>
2441
ab07cea8
JM
2442 * stdlib/longlong.h: Update from GCC.
2443
699ff837
JM
2444 [BZ #6807]
2445 [BZ #15901]
2446 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2447 * math/w_j0f.c (y0f): Likewise.
2448 * math/w_j0l.c (__y0l): Likewise.
2449 * math/w_j1.c (y1): Likewise.
2450 * math/w_j1f.c (y1f): Likewise.
2451 * math/w_j1l.c (__y1l): Likewise
2452 * math/w_jn.c (yn): Likewise.
2453 * math/w_jnf.c (ynf): Likewise.
2454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2455 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2456 value for Bessel function domain errors outside _SVID_ mode.
2457 Adjust sign of return value for yn (negative integer, 0).
2458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2459 by zero in return for negative x and set sign appropriately for
2460 negative n.
2461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2463 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2464 expectations in error cases.
2465 (y1_test_data): Likewise.
2466 (yn_test_data): Likewise.
2467 * sysdeps/i386/fpu/libm-test-ulps: Update.
2468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469
5b118558
UW
24702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2471
2472 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2473 "64" to "64-v1". Add "64-v2".
2474 (abi-64-options): Rename to ...
2475 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2476 (abi-64-condition): Rename to ...
2477 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2478 (abi-64-ld-soname): Rename to ...
2479 (abi-64-v1-ld-soname): ... this.
2480 (abi-64-v2-options): Define.
2481 (abi-64-v2-condition): Likewise.
2482 (abi-64-v2-ld-soname): Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2484 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2488
61cd8fe4
UW
24892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2490 Alan Modra <amodra@gmail.com>
2491
2492 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2493 New versions for use with the ELFv2 ABI.
2494 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2495 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2496 declaration.
2497 (struct La_ppc64v2_retval): Likewise.
2498 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2499 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2500 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2501 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2502 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2503 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2504 Do not save or restore CR.
2505 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2506 (_dl_profile_resolve): Do no save or restore CR. Support extended
2507 return values for ELFv2 ABI. Fix location of FPR return registers.
2508 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2509 updated values for _CALL_ELF == 2.
2510 (La_regs, La_retval, int_retval): Likewise.
2511
8b8a692c
UW
25122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2513
2514 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2515 (FRAME_MIN_SIZE_PARM): Likewise.
2516 (FRAME_BACKCHAIN): Likewise.
2517 (FRAME_CR_SAVE): Likewise.
2518 (FRAME_LR_SAVE): Likewise.
2519 (FRAME_TOC_SAVE): Likewise.
2520 (FRAME_PARM_SAVE): Likewise.
2521 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2522 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2523 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2524 (call_mcount_parm_offset): New macro.
2525 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2526 (PROF): Use symbolic stack frame offsets.
2527 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2529 Redefine in terms of FRAME_MIN_SIZE.
2530 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2531 (_dl_profile_resolve): Likewise. Update comment.
2532 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2533 symbols stack frame offsets.
2534 (__sigsetjmp): Likewise.
2535 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2536 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2537 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2538 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2539
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2541 (FRAME_BACKCHAIN): Remove.
2542 (FRAME_CR_SAVE): Likewise.
2543 (FRAME_LR_SAVE): Likewise.
2544 (FRAME_COMPILER_DW): Likewise.
2545 (FRAME_LINKER_DW): Likewise.
2546 (FRAME_TOC_SAVE): Likewise.
2547 (FRAME_PARM_SAVE): Likewise.
2548 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2549 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2550 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2552 (CHECK_SP): Use symbolic stack frame offsets.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2554 zone" instead of caller's parameter save area for temp storage.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2556 Likewise. Also, use symbolic stack frame offsets.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2558 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2559 our own stack frame instead of the caller's.
2560 (__socket): Use symbolic stack frame offsets.
2561
122b66de
UW
25622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2563 Alan Modra <amodra@gmail.com>
2564
2565 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2566 Define.
2567 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2568 PPC64_LOCAL_ENTRY_OFFSET): Define.
2569 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2570 New function.
2571 (elf_machine_fixup_plt): Call it.
2572 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2573 reloc arguments.
2574 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2575 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2576 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2577 r2 before calling target.
2578
696caf1d
UW
25792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2580 Alan Modra <amodra@gmail.com>
2581
2582 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2583 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2584 versions of macros to support ELFv2 ABI.
2585 (LOCALENTRY): New macro.
2586 (ENTRY, EALIGN): Use it.
2587 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2588 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2589 fall through into ENTRY entry point.
2590 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2591 Only define if _CALL_ELF != 2.
2592
2593 (elf_machine_matches_host): Verify ABI version matches.
2594 (RTLD_START): Use LOCALENTRY.
2595 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2596 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2597 (PLT_ENTRY_WORDS): New macro.
2598 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2599 (elf_machine_runtime_setup): Support ELFv2 ABI.
2600 (elf_machine_fixup_plt): Likewise.
2601 (elf_machine_plt_conflict): Likewise.
2602 (resolve_ifunc): Likewise.
2603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2607 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2609 (makecontext): Support ELFv2 ABI.
2610 * elf/elf.h (EF_PPC64_ABI): Define.
2611
d31beafa
UW
26122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2613
2614 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2615 New assembler macro.
2616 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2617 [ASSEMBLER] (ENTRY): ... but instead here ...
2618 [ASSEMBLER] (EALIGN): ... and here.
2619 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2620 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2621 [!ASSEMBLER] (ENTRY_2): Use it.
2622 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2623 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2625 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2626 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2628 Use PPC64_LOAD_FUNCPTR.
2629
b525166b
UW
26302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2631
2632 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2633
7ec07d9a
AM
26342013-12-04 Alan Modra <amodra@gmail.com>
2635
2636 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2637 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2638 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2639 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2640
2641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2642 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2643 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2644 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2645 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2646 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2647
5162e7dd
UW
26482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2649
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2651 (__makecontext): Fix incorrect CFI when backtracing out of
2652 context created via makecontext.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2654 (__setcontext): Fix incorrect CFI during switch to new context.
2655 (__novec_setcontext): Likewise.
2656
19e3372b
OB
26572013-12-04 Ondřej Bílka <neleai@seznam.cz>
2658
2659 [BZ #4772]
2660 * time/strptime_l.c (__strptime_internal): Allow modifiers
2661 in strptime.
2662 * time/tst-strptime.c (day_tests): Add testcase.
2663
2664
ecaf142d
SP
26652013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2666
2667 * scripts/bench.pl: Skip over blank lines.
2668
fbf964ae
PE
26692013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2670
2671 [BZ #926]
2672 * manual/time.texi (Calendar Time): Clarify what timezone functions
2673 use.
2674
fa60a674
AZ
26752013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676
2677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2678
d674f0ef
OB
26792013-12-04 Ondřej Bílka <neleai@seznam.cz>
2680
2681 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2682 implementation.
2683 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2684 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2685 * debug/memset_chk.c (__memset_chk): Likewise.
2686 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2687 * debug/strncpy_chk.c: Likewise.
2688
17dea188
JM
26892013-12-03 Joseph Myers <joseph@codesourcery.com>
2690
749008ff
JM
2691 [BZ #15268]
2692 [BZ #15425]
2693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2694 (__ieee754_exp): For possibly underflowing results, check size of
2695 result and force underflow exception if required.
2696 * math/auto-libm-test-in: Add more tests of exp.
2697 * math/auto-libm-test-out: Regenerated.
2698 * sysdeps/i386/fpu/libm-test-ulps: Update.
2699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2700
17dea188
JM
2701 [BZ #16283]
2702 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2703 * math/w_exp2f.c (__exp2f): Likewise.
2704 * math/w_exp2l.c (__exp2l): Likewise.
2705 * math/auto-libm-test-in: Do not allow missing errno on exp2
2706 underflow.
2707 * math/auto-libm-test-out: Regenerated.
2708
b20de2c3
OB
27092013-12-03 Ondřej Bílka <neleai@seznam.cz>
2710
2711 [BZ #16274]
2712 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2713 handle filename validation.
2714 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2715 (do_open): Delete.
2716
d8e2dbe3
JM
27172013-12-03 Joseph Myers <joseph@codesourcery.com>
2718
34e16df5
JM
2719 [BZ #6786]
2720 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2721 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2722 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2723 <float.h>.
2724 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2726 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2731 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2732 Add more erfc tests.
2733 * math/auto-libm-test-out: Regenerated.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2736
d8e2dbe3
JM
2737 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2738 exp2, expm1, j0 and j1.
2739 * math/auto-libm-test-out: Regenerated.
2740 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2741 (erfc_test_data): Likewise.
2742 (exp_test_data): Likewise.
2743 (exp_tonearest_test_data): Likewise.
2744 (exp_towardzero_test_data): Likewise.
2745 (exp_downward_test_data): Likewise.
2746 (exp_upward_test_data): Likewise.
2747 (exp10_test_data): Likewise.
2748 (exp2_test_data): Likewise.
2749 (expm1_test_data): Likewise.
2750 (j0_test_data): Likewise.
2751 (j1_test_data): Likewise.
2752 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2753 (input_flag_type): Add flag_xfail_rounding.
2754 (input_flags): Add xfail-rounding.
2755 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2756 (output_for_one_input_case): Handle flag_xfail_rounding.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759
18d14251
AJ
27602013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2761
3d2e6075 2762 [BZ #16289]
18d14251
AJ
2763 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2764 division by 0.
2765
520d437b
SP
27662013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2767
2768 [BZ #16195]
2769 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2770 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2771 (STAP_PROBE0): New macro.
2772 (STAP_PROBE1): Likewise.
2773 (STAP_PROBE2): Likewise.
2774 (STAP_PROBE3): Likewise.
2775 (STAP_PROBE4): Likewise.
2776
416e0145
OB
27772013-12-02 Ondřej Bílka <neleai@seznam.cz>
2778
2779 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2780
9d17796a
SE
27812013-12-02 Steve Ellcey <sellcey@mips.com>
2782
2783 * benchtests/Makefile (bench): Add sqrt.
2784 (LDLIBS-bench-sqrt): New.
2785 * benchtests/sqrt-input: New.
2786
f524d6a8
PS
27872013-12-02 Pavel Simerda <psimerda@redhat.com>
2788
639a0ef8
PS
2789 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2790 (GAIH_EAI): Likewise.
2791 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2792 (gaih_inet): Likewise.
2793 (getaddrinfo): Don't use GAIH_EAI.
2794
f524d6a8
PS
2795 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2796 (struct gaih): Remove definition.
2797
df3aedaf
SP
27982013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2799
2800 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2801 Use HERRNOP directly.
2802
1ab19dec
AZ
28032013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2804
b42ad38d 2805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2806
176b0c79
JM
28072013-11-30 Joseph Myers <joseph@codesourcery.com>
2808
2809 * math/gen-auto-libm-tests.c (test_functions): Add more
2810 single-argument functions.
2811 (special_fill_pi_2): New function.
2812 (special_fill_minus_pi_2): Likewise.
2813 (special_fill_pi_6): Likewise.
2814 (special_fill_minus_pi_6): Likewise.
2815 (special_fill_pi_3): Likewise.
2816 (special_fill_2pi_3): Likewise.
2817 (special_fill_e): Likewise.
2818 (special_fill_1_e): Likewise.
2819 (special_fill_e_minus_1): Likewise.
2820 (special_real_inputs): Add more special inputs.
2821 (output_for_one_input_case): Do not require ERANGE on underflow to
2822 zero if round-to-nearest result does not underflow to zero, unless
2823 exact results required.
2824 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2825 atan, atanh, cbrt, cos and cosh.
2826 * math/auto-libm-test-out: Regenerated.
2827 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2828 (acos_tonearest_test_data): Likewise.
2829 (acos_towardzero_test_data): Likewise.
2830 (acos_downward_test_data): Likewise.
2831 (acos_upward_test_data): Likewise.
2832 (acosh_test_data): Likewise.
2833 (asin_test_data): Likewise.
2834 (asin_tonearest_test_data): Likewise.
2835 (asin_towardzero_test_data): Likewise.
2836 (asin_upward_test_data): Likewise.
2837 (asinh_test_data): Likewise.
2838 (atan_test_data): Likewise.
2839 (atanh_test_data): Likewise.
2840 (cbrt_test_data): Likewise.
2841 (cos_test_data): Likewise.
2842 (cos_tonearest_test_data): Likewise.
2843 (cos_towardzero_test_data): Likewise.
2844 (cos_downward_test_data): Likewise.
2845 (cos_upward_test_data): Likewise.
2846 (cosh_test_data): Likewise.
2847 (cosh_tonearest_test_data): Likewise.
2848 (cosh_towardzero_test_data): Likewise.
2849 (cosh_downward_test_data): Likewise.
2850 (cosh_upward_test_data): Likewise.
2851 * sysdeps/i386/fpu/libm-test-ulps: Update.
2852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2853
ffb536d0
JM
28542013-11-29 Joseph Myers <joseph@codesourcery.com>
2855
2a77a467
JM
2856 [BZ #6787]
2857 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2858 * math/w_exp10f.c (__exp10f): Likewise.
2859 * math/w_exp10l.c (__exp10l): Likewise.
2860 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2861 errno settings in existing tests.
2862
ea3bc4e8
JM
2863 [BZ #14032]
2864 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2865 precision control set to double precision.
2866 * sysdeps/i386/fpu/w_sqrt.c: New file.
2867 * math/auto-libm-test-in: Add more tests.
2868 * math/auto-libm-test-out: Update.
2869
0712c9d8
JM
2870 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2871 (sqrt_test_tonearest): New function.
2872 (sqrt_towardzero_test_data): New variable.
2873 (sqrt_test_towardzero): New function.
2874 (sqrt_downward_test_data): New variable.
2875 (sqrt_test_downward): New function.
2876 (sqrt_upward_test_data): New variable.
2877 (sqrt_test_upward): New function.
2878 (main): Call the new functions.
2879
ffb536d0
JM
2880 * math/gen-auto-libm-tests.c: New file.
2881 * math/auto-libm-test-in: Likewise.
2882 * math/auto-libm-test-out: New generated file.
2883 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2884 variables.
2885 (%beautify): Add generated representations of zero.
2886 (top level): Set $auto_input and call parse_auto_input.
2887 (beautify): Remove trailing "f" from hex float constants.
2888 (parse_args): Handle XFAIL_TEST.
2889 (convert_condition): New function.
2890 (or_value): Likewise.
2891 (or_cond_value): Likewise.
2892 (generate_testfile): Handle AUTO_TESTS_* lines.
2893 (parse_auto_input): New function.
2894 * math/libm-test.inc (XFAIL_TEST): New macro.
2895 (ERRNO_UNCHANGED): Update value.
2896 (ERRNO_EDOM): Likewise.
2897 (ERRNO_ERANGE): Likewise.
2898 (IGNORE_RESULT): Likewise.
2899 (TEST_COND_flt_32): New macro.
2900 (TEST_COND_dbl_64): Likewise.
2901 (TEST_COND_ldbl_96_intel): Likewise.
2902 (TEST_COND_ldbl_96_m68k): Likewise.
2903 (TEST_COND_ldbl_128): Likewise.
2904 (TEST_COND_ldbl_128ibm): Likewise.
2905 (TEST_COND_long32): Likewise.
2906 (TEST_COND_long64): Likewise.
2907 (TEST_COND_before_rounding): Likewise.
2908 (TEST_COND_after_rounding): Likewise.
2909 (enable_test): Handle XFAIL_TEST flag.
2910 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2911 with finite results.
2912 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2913 auto-libm-test-out.
2914
acd98a8e
AK
29152013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2916 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2917
2918 [BZ #16214]
2919 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2920 __tls_get_addr_internal instead of __tls_get_offset in order to
2921 avoid GOT pointer dependency. Make rtld export
2922 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2923 __tls_get_addr since we are a __tls_get_offset platform.
2924 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2925 GOT pointer being set up before.
2926 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2927
3c1c46a6
JM
29282013-11-28 Joseph Myers <joseph@codesourcery.com>
2929
7475aef5
JM
2930 * manual/math.texi (Errors in Math Functions): Document accuracy
2931 goals.
2932
8bca7cd8
JM
2933 [BZ #15004]
2934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2935 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2938 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2950
91a1f3fe
JM
2951 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2952 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2953 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2954 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2955 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2956 Likewise.
2957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2958 Likewise.
2959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2960 Likewise.
2961 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2962 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2963 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2964 atomic-feupdateenv and flt-rounds.
2965 * sysdeps/powerpc/nofpu/Versions (libc): Add
2966 __atomic_feholdexcept, __atomic_feclearexcept,
2967 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2969 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2971 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2972 here.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2974 Update.
2975
c5df7609
JM
2976 * manual/arith.texi (FP Exceptions): Document that exceptions may
2977 not be raised when matherr is used.
2978 (Math Error Reporting): Document overflow in directed rounding
2979 modes. Document that errno may not be set when finite values are
2980 returned on overflow. Document intent to set errno on underflow
2981 only for underflow to zero.
2982
3c1c46a6
JM
2983 [BZ #16271]
2984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2985 round-to-nearest then adjust result for other rounding modes.
2986 * include/fenv.h (fegetround): Use libm_hidden_proto.
2987 * math/fegetround.c (fegetround): Use libm_hidden_def.
2988 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2989 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2990 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2991 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2992 Likewise.
2993 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2994 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2995 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2996 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2997
5a4c6d53
SP
29982013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2999
3000 [BZ #16077]
3001 * nss/Versions (libnss_files): Add
3002 _nss_files_gethostbyname3_r.
3003 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3004 New function.
3005 (HOST_DB_LOOKUP): Remove macro.
3006 (_nss_files_gethostbyname_r): Implement function without the
3007 HOST_DB_LOOKUP macro.
3008 (_nss_files_gethostbyname2_r): Likewise.
3009
897b98ba
OB
30102013-11-28 Ondřej Bílka <neleai@seznam.cz>
3011
3012 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3013
6f476861
UB
30142013-11-26 Uros Bizjak <ubizjak@gmail.com>
3015
3016 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3017 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3018 warning.
3019
bd12ab55
AZ
30202013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021
3022 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3023 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3024 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3025 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3026 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3027 __fe_nomask_env_priv and attribute_hidden.
3028 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3029 (libc_feupdateenv_test_ppc): Likewise.
3030 (libc_feresetround_ppc): Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3032 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3033 compat_symbol macro.
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3035 (__fe_nomask_env): Likewise.
3036 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3037
52bb6543
OB
30382013-11-26 Ondřej Bílka <neleai@seznam.cz>
3039
3040 * string/Makefile: Remove ifunc tests.
3041 * string/test-string.h: Define TEST_IFUNC.
3042 * string/test-bcopy-ifunc.c: Remove.
3043 * string/test-bzero-ifunc.c: Likewise.
3044 * string/test-memccpy-ifunc.c: Likewise.
3045 * string/test-memchr-ifunc.c: Likewise.
3046 * string/test-memcmp-ifunc.c: Likewise.
3047 * string/test-memcpy-ifunc.c: Likewise.
3048 * string/test-memmem-ifunc.c: Likewise.
3049 * string/test-memmove-ifunc.c: Likewise.
3050 * string/test-mempcpy-ifunc.c: Likewise.
3051 * string/test-memrchr-ifunc.c: Likewise.
3052 * string/test-memset-ifunc.c: Likewise.
3053 * string/test-rawmemchr-ifunc.c: Likewise.
3054 * string/test-stpcpy-ifunc.c: Likewise.
3055 * string/test-stpncpy-ifunc.c: Likewise.
3056 * string/test-strcasecmp-ifunc.c: Likewise.
3057 * string/test-strcasestr-ifunc.c: Likewise.
3058 * string/test-strcat-ifunc.c: Likewise.
3059 * string/test-strchr-ifunc.c: Likewise.
3060 * string/test-strchrnul-ifunc.c: Likewise.
3061 * string/test-strcmp-ifunc.c: Likewise.
3062 * string/test-strcpy-ifunc.c: Likewise.
3063 * string/test-strcspn-ifunc.c: Likewise.
3064 * string/test-strlen-ifunc.c: Likewise.
3065 * string/test-strncasecmp-ifunc.c: Likewise.
3066 * string/test-strncat-ifunc.c: Likewise.
3067 * string/test-strncmp-ifunc.c: Likewise.
3068 * string/test-strncpy-ifunc.c: Likewise.
3069 * string/test-strnlen-ifunc.c: Likewise.
3070 * string/test-strpbrk-ifunc.c: Likewise.
3071 * string/test-strrchr-ifunc.c: Likewise.
3072 * string/test-strspn-ifunc.c: Likewise.
3073 * string/test-strstr-ifunc.c: Likewise.
3074
ab260039 30752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3076
3077 * benchtests/Makefile: Remove ifunc tests.
3078 * benchtests/bench-string.h: Define TEST_IFUNC.
3079 * benchtests/bench-bcopy-ifunc.c: Remove.
3080 * benchtests/bench-bzero-ifunc.c: Likewise.
3081 * benchtests/bench-memccpy-ifunc.c: Likewise.
3082 * benchtests/bench-memchr-ifunc.c: Likewise.
3083 * benchtests/bench-memcmp-ifunc.c: Likewise.
3084 * benchtests/bench-memcpy-ifunc.c: Likewise.
3085 * benchtests/bench-memmem-ifunc.c: Likewise.
3086 * benchtests/bench-memmove-ifunc.c: Likewise.
3087 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3088 * benchtests/bench-memrchr-ifunc.c: Likewise.
3089 * benchtests/bench-memset-ifunc.c: Likewise.
3090 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3091 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3092 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3093 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3094 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3095 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3096 * benchtests/bench-strcat-ifunc.c: Likewise.
3097 * benchtests/bench-strchr-ifunc.c: Likewise.
3098 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3099 * benchtests/bench-strcmp-ifunc.c: Likewise.
3100 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3101 * benchtests/bench-strcpy-ifunc.c: Likewise.
3102 * benchtests/bench-strcspn-ifunc.c: Likewise.
3103 * benchtests/bench-strlen-ifunc.c: Likewise.
3104 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3105 * benchtests/bench-strncat-ifunc.c: Likewise.
3106 * benchtests/bench-strncmp-ifunc.c: Likewise.
3107 * benchtests/bench-strncpy-ifunc.c: Likewise.
3108 * benchtests/bench-strnlen-ifunc.c: Likewise.
3109 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3110 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3111 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3112 * benchtests/bench-strspn-ifunc.c: Likewise.
3113 * benchtests/bench-strstr-ifunc.c: Likewise.
3114
31152013-11-26 Ondřej Bílka <neleai@seznam.cz>
3116
ab260039
OB
3117 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3118
d1d9eaf4 31192013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3120
d1d9eaf4
OB
3121 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3122 * rt/aio.h: Likewise.
3123 * sysdeps/gnu/bits/utmp.h: Likewise.
3124 * sysdeps/gnu/bits/utmpx.h: Likewise.
3125 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3126 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3127 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3128 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3129 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3130 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3131 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3132 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3135 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3136 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3137 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3139 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3140 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3141 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3142 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3143 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3144 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3145 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3146 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3149 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3151 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3157 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3158 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3159 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3160 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3161 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3163 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3164 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3165 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3166 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3167
a7624ed9
CD
31682013-11-25 Carlos O'Donell <carlos@redhat.com>
3169
3170 [BZ #16245]
3171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3172 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3173
63cfe52b
JM
31742013-11-25 Joseph Myers <joseph@codesourcery.com>
3175
3176 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3178 Likewise.
3179
41e8926a
AZ
31802013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3183 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3184 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3185 (__fesetround): Remove define.
3186 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3187 rounding and exceptions handling.
3188 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3189 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3190 (__fe_nomask_env): Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3192 __fegetround instead of fegetround.
3193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3195
6851bd4d
RM
31962013-11-21 Roland McGrath <roland@hack.frob.com>
3197
070906ff
RM
3198 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3199 it's there.
3200
6851bd4d
RM
3201 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3202
84ae135d
MI
32032013-11-21 Meador Inge <meadori@codesourcery.com>
3204
3205 [BZ #11157]
3206 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3207 (encrypt_r): Likewise.
3208 * malloc/obstack.h (obstack_free): Likewise.
3209 * posix/unistd.h (encrypt): Likewise.
3210
daf75146
GM
32112013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3212
3213 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3214 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3215 DL_CALL_DT_FINI() that call the functions directly.
3216 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3217 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3218 * elf/dl-fini.c: Likewise.
3219
10ad46bc
OB
32202013-11-20 Ondřej Bílka <neleai@seznam.cz>
3221
3222 * malloc/hooks.c (memalign_check): Add alignment rounding.
3223 * malloc/malloc.c (_mid_memalign): New function.
3224 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3225 Implement by calling _mid_memalign.
3226 * manual/probes.texi (Memory Allocation Probes): Remove
3227 memory_valloc_retry and memory_pvalloc_retry.
3228
f3fd2628
SP
32292013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3230
4712799f
SP
3231 * locale/programs/locarchive.c (open_archive): Add const
3232 qualifier to ARCHIVEFNAME and copy default fname to
3233 DEFAULT_FNAME.
3234
0417b20f
SP
3235 [BZ #15601]
3236 * libio/tst-widetext.input: Rename Oriya to Odia.
3237 * locale/iso-639.def: Likewise.
3238
f3fd2628
SP
3239 * manual/probes.texi (Mathematical Function Probes): Add
3240 documentation for sin, cos, asin and acos probes.
3241 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3242 (__sin32): Add slowasin probe.
3243 (__cos32): Add slowacos probe.
3244 (__mpsin): Add slowsin probe.
3245 (__mpcos): Add slowcos probe.
3246
73c1ce4f
JM
32472013-11-19 Joseph Myers <joseph@codesourcery.com>
3248
3249 [BZ #15483]
3250 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3251 thread-local __sim_exceptions_thread and global
3252 __sim_exceptions_global.
3253 (__sim_disabled_exceptions): Change to thread-local
3254 __sim_disabled_exceptions_thread and global
3255 __sim_disabled_exceptions_global.
3256 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3257 and global __sim_round_mode_global.
3258 (__simulate_exceptions): Use thread-local floating-point state and
3259 set global state from it as needed.
3260 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3261 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3262 __sim_round_mode_thread.
3263 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3264 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3265 and global __sim_exceptions_global.
3266 (__sim_disabled_exceptions): Change to thread-local
3267 __sim_disabled_exceptions_thread and global
3268 __sim_disabled_exceptions_global.
3269 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3270 and global __sim_round_mode_global.
3271 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3272 (SIM_SET_GLOBAL): Likewise.
3273 * sysdeps/powerpc/soft-fp/sfp-machine.h
3274 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3275 __sim_round_mode_thread.
3276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3277 __sim_disabled_exceptions_thread.
3278 (__sim_exceptions): Change to __sim_exceptions_thread.
3279 (__sim_disabled_exceptions): Change to
3280 __sim_disabled_exceptions_thread.
3281 (__sim_round_mode): Change to __sim_round_mode_thread.
3282 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3283 thread-local floating-point state and set global state from it as
3284 needed.
3285 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3286 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3287 (__sim_disabled_exceptions): Remove extern declaration.
3288 (feenableexcept): Use thread-local floating-point state and set
3289 global state from it as needed.
3290 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3291 extern declaration.
3292 (__sim_disabled_exceptions): Likewise.
3293 (__sim_round_mode): Likewise.
3294 (__fegetenv): Use thread-local floating-point state.
3295 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3296 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3297 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3298 floating-point state and set global state from it as needed.
3299 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3300 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3301 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3302 Likewise.
3303 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3304 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3305 Likewise.
3306 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3307 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3308 Use __sim_round_mode_thread.
3309 * math/test-fenv-tls.c: New file.
3310 * math/Makefile (tests): Add test-fenv-tls.
3311 ($(objpfx)test-fenv-tls): Depend on
3312 $(common-objpfx)nptl/libpthread.so.
3313
b5449b12
AS
33142013-11-19 Andreas Schwab <schwab@suse.de>
3315
3316 * locale/programs/locale.c (show_info): Decode wordarray elements.
3317 * locale/categories.def (LC_MONETARY): Add element for
3318 _NL_MONETARY_CRNCYSTR.
3319 * locale/C-monetary.c (conversion_rate): New variable.
3320 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3321 element.
3322
e186536b
CM
33232013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3324
3325 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3326 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3327
5c349950
PP
33282013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3329
3330 * elf/Makefile (tst-auxv): New test.
3331 * elf/tst-auxv.c: New
3332 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3333
699df45b
JM
33342013-11-18 Joseph Myers <joseph@codesourcery.com>
3335
3336 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3337 (hidden_proto): Caller changed.
3338 (hidden_tls_proto): New macro.
3339 (libc_hidden_tls_proto): Likewise.
3340 (rtld_hidden_tls_proto): Likewise.
3341 (libm_hidden_tls_proto): Likewise.
3342 (libresolv_hidden_tls_proto): Likewise.
3343 (librt_hidden_tls_proto): Likewise.
3344 (libdl_hidden_tls_proto): Likewise.
3345 (libnss_files_hidden_tls_proto): Likewise.
3346 (libnsl_hidden_tls_proto): Likewise.
3347 (libnss_nisplus_hidden_tls_proto): Likewise.
3348 (libutil_hidden_tls_proto): Likewise.
3349
b7589107
OB
33502013-11-18 Ondřej Bílka <neleai@seznam.cz>
3351
3352 [BZ #10253]
3353 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3354 (decompose_rpath): Defer expansion to fillin_rpath.
3355 (_dl_init_paths): Pass linkmap to fillin_rpath.
3356
250c23bd
RS
33572013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3358
3359 * benchtests/Makefile: Add strsep.
3360 * benchtests/bench-strsep.c: New file: strsep benchtest.
3361 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3362
a7931fcf
AS
33632013-11-18 Andreas Schwab <schwab@suse.de>
3364
3365 * locale/programs/locale.c (show_info) [case byte]: Check for
3366 '\377' instead of '\177'.
3367 * locale/C-monetary.c (not_available): Always use "\377".
3368 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3369 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3370 detect unavailable sign_posn locale elements.
3371 * locale/localeconv.c (__localeconv): For grouping and
3372 mon_grouping handle "\177" and "\377" like no grouping.
3373 (INT_ELEM): New macro. Use it to set all numeric members.
3374 * locale/programs/ld-monetary.c (monetary_read)
3375 <tok_mon_grouping>: Normalize single -1 to the empty string.
3376 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3377 Likewise.
3378
728dab0e
OB
33792013-11-07 Ondřej Bílka <neleai@seznam.cz>
3380
3381 [BZ #16055]
3382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3383 when we match (nil).
3384 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3385
66294491
JM
33862013-11-16 Joseph Myers <joseph@codesourcery.com>
3387
ce665817
JM
3388 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3389 (NO_TEST_INLINE): Update value.
3390 (ERRNO_UNCHANGED): Likewise.
3391 (ERRNO_EDOM): Likewise.
3392 (ERRNO_ERANGE): Likewise.
3393 (IGNORE_RESULT): Likewise.
3394 (check_float_internal): Check signs of NaN results if
3395 TEST_NAN_SIGN used.
3396 (check_complex): Pass TEST_NAN_SIGN flag through to second
3397 check_float_internal call.
3398 (copysign_test_data): Add tests with quiet NaNs as second
3399 argument. Use TEST_NAN_SIGN.
3400 (fabs_test_data): Add test of negative quiet NaN argument. Use
3401 TEST_NAN_SIGN.
3402 (signbit_test_data): Add tests of quiet NaN argument.
3403 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3404
ee1466a9
JM
3405 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3406 $ignore_result.
3407 (parse_args): Handle function results specified as IGNORE.
3408 * math/libm-test.inc (IGNORE_RESULT): New macro.
3409 (check_float_internal): Do not check numerical result if flag
3410 IGNORE_RESULT set.
3411 (check_complex): Pass through IGNORE_RESULT to second
3412 check_float_internal call.
3413 (check_int): Do not check numerical result if flag IGNORE_RESULT
3414 set.
3415 (check_long): Likewise.
3416 (check_bool): Likewise.
3417 (check_longlong): Likewise.
3418 (lrint_test_data): Add tests of infinite and NaN arguments.
3419 (lrint_tonearest_test_data): Likewise.
3420 (lrint_towardzero_test_data): Likewise.
3421 (lrint_downward_test_data): Likewise.
3422 (lrint_upward_test_data): Likewise.
3423 (llrint_test_data): Likewise.
3424 (llrint_tonearest_test_data): Likewise.
3425 (llrint_towardzero_test_data): Likewise.
3426 (llrint_downward_test_data): Likewise.
3427 (llrint_upward_test_data): Likewise.
3428 (lround_test_data): Likewise.
3429 (llround_test_data): Likewise.
3430
14407b7e
JM
3431 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3432 (ERRNO_UNCHANGED): Update value.
3433 (ERRNO_EDOM): Likewise.
3434 (ERRNO_ERANGE): Likewise.
3435 (NO_TEST_INLINE_FLOAT): New macro.
3436 (NO_TEST_INLINE_DOUBLE): Likewise.
3437 (enable_test): New function.
3438 (RUN_TEST_f_f): Check enable_test before running test.
3439 (RUN_TEST_2_f): Likewise.
3440 (RUN_TEST_fff_f): Likewise.
3441 (RUN_TEST_c_f): Likewise.
3442 (RUN_TEST_f_f1): Likewise.
3443 (RUN_TEST_fF_f1): Likewise.
3444 (RUN_TEST_fI_f1): Likewise.
3445 (RUN_TEST_ffI_f1): Likewise.
3446 (RUN_TEST_c_c): Likewise.
3447 (RUN_TEST_cc_c): Likewise.
3448 (RUN_TEST_f_i): Likewise.
3449 (RUN_TEST_f_i_tg): Likewise.
3450 (RUN_TEST_ff_i_tg): Likewise.
3451 (RUN_TEST_f_b): Likewise.
3452 (RUN_TEST_f_b_tg): Likewise.
3453 (RUN_TEST_f_l): Likewise.
3454 (RUN_TEST_f_L): Likewise.
3455 (RUN_TEST_fFF_11): Likewise.
3456 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3457 conditionals.
3458 (cosh_test_data): Likewise.
3459 (exp_test_data): Likewise.
3460 (expm1_test_data): Likewise.
3461 (hypot_test_data): Likewise.
3462 (pow_test_data): Likewise.
3463 (sinh_test_data): Likewise.
3464 (tanh_test_data): Likewise.
3465 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3466 flags argument.
3467
ca07f197
JM
3468 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3469 tests with quiet NaN input and output.
3470 (acosh_test_data): Likewise.
3471 (asin_test_data): Likewise.
3472 (asinh_test_data): Likewise.
3473 (atan_test_data): Likewise.
3474 (atanh_test_data): Likewise.
3475 (atan2_test_data): Likewise.
3476 (cbrt_test_data): Likewise.
3477 (cos_test_data): Likewise.
3478 (cosh_test_data): Likewise.
3479 (erf_test_data): Likewise.
3480 (erfc_test_data): Likewise.
3481 (exp_test_data): Likewise.
3482 (exp10_test_data): Likewise.
3483 (exp2_test_data): Likewise.
3484 (expm1_test_data): Likewise.
3485 (hypot_test_data): Likewise.
3486 (j0_test_data): Likewise.
3487 (j1_test_data): Likewise.
3488 (jn_test_data): Likewise.
3489 (lgamma_test_data): Likewise.
3490 (log_test_data): Likewise.
3491 (log10_test_data): Likewise.
3492 (log1p_test_data): Likewise.
3493 (log2_test_data): Likewise.
3494 (pow_test_data): Likewise.
3495 (scalb_test_data): Likewise.
3496 (sin_test_data): Likewise.
3497 (sincos_test_data): Likewise.
3498 (sinh_test_data): Likewise.
3499 (tan_test_data): Likewise.
3500 (tanh_test_data): Likewise.
3501 (tgamma_test_data): Likewise.
3502 (y0_test_data): Likewise.
3503 (y1_test_data): Likewise.
3504 (yn_test_data): Likewise.
3505
66294491
JM
3506 [BZ #16167]
3507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3508 argument being NaN and avoid computations with second argument in
3509 that case.
3510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3513
1820b143
CL
35142013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3515
3516 * locale/iso-639.def: Add Chitwani Tharu (the).
3517
714bd261
AS
35182013-11-14 Andreas Schwab <schwab@suse.de>
3519
3520 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3521 word instead of empty string.
3522
7ab44563
AZ
35232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3526 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3528 (__fe_nomask_env): Likewise.
3529
e8470ea2
SE
35302013-11-13 Steve Ellcey <sellcey@mips.com>
3531
3532 * benchtests/bench-timing.h: Include time.h.
3533
17c1d9f0
L
35342013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 [BZ #15997]
3537 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3538 to 3.4.0 for x32.
3539 * sysdeps/unix/sysv/linux/configure: Regenerated.
3540
9310c284
JM
35412013-11-13 Joseph Myers <joseph@codesourcery.com>
3542
3543 [BZ #16151]
3544 * stdlib/strtod_l.c (round_and_return): Do not consider
3545 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3546 exponent one less than half the least subnormal exponent.
3547 * stdlib/test-strtod-round-data: Add more tests.
3548 * stdlib/tst-strtod-round.c (tests): Regenerated.
3549
7a2ad8cf
AZ
35502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3551
3552 [BZ #14143]
3553 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3554 (__fe_mask_env): Likewise.
3555 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3556 libm_hidden_proto and add function prototype.
3557 (__fe_mask_env): Add function prototype.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3559 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3561 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3563 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3564
50727aa7
MS
35652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3566
b2f386c1 3567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3568 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3569
a615be46
MS
35702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3571
3572 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3573 of htab_find_slot().
3574
7ddace62
DM
35752013-11-11 David S. Miller <davem@davemloft.net>
3576
3577 [BZ #16150]
3578 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3579 symbol in the non-vis3 case in static builds.
3580 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3582 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3583 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3584
9182aa67
JK
35852013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3586
3587 [BZ #387]
3588 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3589 it is empty.
3590
450a2e2d
AZ
35912013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
b2f386c1
SP
3593 * benchtests/Makefile: Add bench-strtod.
3594 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3595
8ec3f656
AS
35962013-11-11 Andreas Schwab <schwab@suse.de>
3597
3598 [BZ #16153]
3599 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3600 terminating NUL in key length.
3601
76a9b998
AZ
36022013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3605 Add artificial ODP entry for vDSO symbol for PPC64.
3606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3607 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3608
e4368156
OB
36092013-11-07 Ondřej Bílka <neleai@seznam.cz>
3610
3611 [BZ #15374]
3612 * nss/getent.c (services_keys): Recognize services starting with digit.
3613
8d6bb57c
DM
36142013-11-06 David S. Miller <davem@davemloft.net>
3615
3616 [BZ #15985]
3617 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3618 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3619
e256c421
WN
36202013-11-06 Will Newton <will.newton@linaro.org>
3621
3622 * manual/memory.texi (Malloc Examples): Remove register
3623 keyword from examples.
3624
f6e12daa 36252013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3626
f6e12daa 3627 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3628
9d880655
AS
36292013-11-04 Joseph Myers <joseph@codesourcery.com>
3630
3631 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3632 depending on [__GCC_IEC_559 > 0].
3633 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3634 depending on [__GCC_IEC_559_COMPLEX > 0].
3635
ae129d3c
CL
36362013-11-03 Chris Leonard <cjl@sugarlabs.org>
3637
3638 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3639 to iso-639.def.
3640
4a15c2a4 36412013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3642
3643 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3644
8b35e35d
OB
36452013-11-01 Ondřej Bílka <neleai@seznam.cz>
3646
3647 [BZ #16112]
3648 * malloc/malloc (malloc_info): Do not handle first bin as
3649 special case.
3650
1d70fd6c
CL
36512013-11-01 Chris Leonard <cjl@sugarlabs.org>
3652
3653 * locale/iso-639.def: Add Central Nahuatl (nhn).
3654
8c5c2600
BH
36552013-11-01 Bruno Haible <bruno@clisp.org>
3656
3657 [BZ #7003]
3658 * manual/math.texi (BSD Random): Specify range upper bound as
3659 in POSIX.
3660
da5579c2
CL
36612013-10-31 Chris Leonard <cjl@sugarlabs.org>
3662
3663 * locale/iso-639.def: Add Meadow Mari (mhr).
3664
5d30d853
OB
36652013-10-31 Ondřej Bílka <neleai@seznam.cz>
3666
3667 [BZ #14752], [BZ #15763]
3668 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3669 Validate name.
3670 * rt/tst_shm.c: Add test for escaping directory.
3671
a4966c61
AS
36722013-10-31 Andreas Schwab <schwab@suse.de>
3673
8a43e768 3674 [BZ #15917]
a4966c61
AS
3675 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3676 followed by 'x' as part of digit sequence.
3677 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3678
28d708c4
MAP
36792013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3680
3681 [BZ #16037]
3682 * configure.ac: allow GNU Make 4.0 and greater.
3683 * configure: Regenerated.
3684
a56ee40b
WN
36852013-10-30 Will Newton <will.newton@linaro.org>
3686
3687 [BZ #16038]
3688 * malloc/hooks.c (memalign_check): Limit alignment to the
3689 maximum representable power of two.
3690 * malloc/malloc.c (__libc_memalign): Likewise.
3691 * malloc/tst-memalign.c (do_test): Add test for very
3692 large alignment values.
3693 * malloc/tst-posix_memalign.c (do_test): Likewise.
3694
c6e4925d
OB
36952013-10-30 Ondřej Bílka <neleai@seznam.cz>
3696
3697 [BZ #11087]
3698 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3699 (munmap_chunk): Likewise.
3700 (mremap_chunk): Likewise.
3701
37022013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3703
8a43e768 3704 [BZ #15799]
bbea82f7
OB
3705 * stdlib/div.c (div): Remove obsolete code.
3706 * stdlib/ldiv.c (ldiv): Likewise.
3707 * stdlib/lldiv.c (lldiv): Likewise.
3708
977f4b31
SP
37092013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3710
3711 [BZ #16071]
3712 * nss/nss_files/files-XXX.c (get_contents_ret): New
3713 enumerator.
3714 (get_contents): New function.
3715 (internal_getent): Use it. Expand size of LINEBUFLEN.
3716
cb8a6dbd
MF
37172013-10-30 Mike Frysinger <vapier@gentoo.org>
3718
3719 * configure.in: Moved to ...
3720 * configure.ac: ... here. Change reference to configure.in
3721 to configure.ac.
3722 * sysdeps/arm/preconfigure.ac: ... here.
3723 configure.in to configure.ac.
3724 * sysdeps/gnu/configure.in: Moved to ...
3725 * sysdeps/gnu/configure.ac: ... here.
3726 * sysdeps/i386/configure.in: Moved to ...
3727 * sysdeps/i386/configure.ac: ... here.
3728 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3729 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3730 * sysdeps/mach/configure.in: Moved to ...
3731 * sysdeps/mach/configure.ac: ... here.
3732 * sysdeps/mach/hurd/configure.in: Moved to ...
3733 * sysdeps/mach/hurd/configure.ac: ... here.
3734 * sysdeps/powerpc/configure.in: Moved to ...
3735 * sysdeps/powerpc/configure.ac: ... here.
3736 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3737 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3738 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3739 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3740 * sysdeps/s390/s390-32/configure.in: Moved to ...
3741 * sysdeps/s390/s390-32/configure.ac: ... here.
3742 * sysdeps/s390/s390-64/configure.in: Moved to ...
3743 * sysdeps/s390/s390-64/configure.ac: ... here.
3744 * sysdeps/sh/configure.in: Moved to ...
3745 * sysdeps/sh/configure.ac: ... here.
3746 * sysdeps/sparc/configure.in: Moved to ...
3747 * sysdeps/sparc/configure.ac: ... here.
3748 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3749 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3750 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3751 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3752 * sysdeps/x86_64/configure.in: Moved to ...
3753 * sysdeps/x86_64/configure.ac: ... here.
3754 * sysdeps/x86_64/preconfigure.in: Moved to ...
3755 * sysdeps/x86_64/preconfigure.ac: ... here.
3756 * aclocal.m4: Change reference to configure.in to configure.ac.
3757 * config.h.in: Likewise.
3758 * manual/install.texi: Likewise.
3759 * manual/maint.texi: Likewise.
3760 * Makefile: Likewise.
3761 * malloc/Makefile: Likewise.
3762 * nscd/Makefile: Likewise.
3763 * Makeconfig: Change reference to configure.in and
3764 preconfigure.in to configure.ac and preconfigure.ac
3765 respectively.
3766 * INSTALL: Regenerated.
3767 * configure: Likewise.
3768 * sysdeps/gnu/configure: Likewise.
3769 * sysdeps/i386/configure: Likewise.
3770 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3771 * sysdeps/mach/configure: Likewise.
3772 * sysdeps/mach/hurd/configure: Likewise.
3773 * sysdeps/powerpc/configure: Likewise.
3774 * sysdeps/powerpc/powerpc32/configure: Likewise.
3775 * sysdeps/powerpc/powerpc64/configure: Likewise.
3776 * sysdeps/s390/s390-32/configure: Likewise.
3777 * sysdeps/s390/s390-64/configure: Likewise.
3778 * sysdeps/sh/configure: Likewise.
3779 * sysdeps/sparc/configure: Likewise.
3780 * sysdeps/unix/sysv/linux/configure: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3782 * sysdeps/x86_64/configure: Likewise.
3783 * sysdeps/x86_64/preconfigure: Likewise.
3784
36a4953a
AS
37852013-10-29 Andreas Schwab <schwab@suse.de>
3786
3787 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3788
c79a1204
SP
37892013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3790
dfa1b402
SP
3791 * benchtests/pow-inputs: Add new inputs.
3792
54f73d9c
SP
3793 * benchtests/exp-inputs: Add new inputs.
3794
c79a1204
SP
3795 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3796 conditional check for return value.
3797 (__cos32): Likewise.
3798
67beb545 37992013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3800
3801 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3802 to provide a boost for large inputs with word alignment.
3803 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3804 implementation based on optimized PPC64 strcpy.
3805 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3806 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3807 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3808 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3809
151659f6
OB
38102013-10-25 Ondřej Bílka <neleai@seznam.cz>
3811
482a077e 3812 [BZ #2801]
151659f6
OB
3813 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3814
10b0f26b
OB
38152013-10-25 Ondřej Bílka <neleai@seznam.cz>
3816
3817 [BZ #14876]
3818 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3819 * time/tst-strptime.c (day_tests): Add testcase.
3820
ca42d35e
OB
38212013-10-25 Ondřej Bílka <neleai@seznam.cz>
3822
482a077e 3823 [BZ #14029]
ca42d35e
OB
3824 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3825
52e6d801
FB
38262013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3827
3828 [BZ #16074]
3829 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3830 MAP_FAILED on error.
3831
7cbcdb36
SP
38322013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3833
3834 [BZ #16072]
3835 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3836 heap for large requests.
3837
894f3f10
AM
38382013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3839
3840 [BZ #9954]
3841 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3842 result if the result has no associated interface.
3843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3844 interface for all 127.X.Y.Z addresses.
3845
b85545a6
CL
38462013-10-24 Chris Leonard <cjl@sugarlabs.org>
3847
3848 * locale/iso-639.def: Add Ligurian (lij)
3849
d1f23d46
OB
38502013-10-21 Ondřej Bílka <neleai@seznam.cz>
3851
3852 [BZ #15825]
3853 * sunrpc/rpc_main.c: Document rpcgen -5.
3854
4db5b08f
MS
38552013-10-19 Michael Stahl <mstahl@redhat.com>
3856
3857 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3858
a471e96a
OB
38592013-10-19 Ondřej Bílka <neleai@seznam.cz>
3860
d1f23d46 3861 [BZ #10278]
a471e96a
OB
3862 * posix/glob.c: Match only directories when trailing slash is present.
3863 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3864 (main): Add testcase.
3865
45c30c61
OB
38662013-10-19 Ondřej Bílka <neleai@seznam.cz>
3867
3868 [BZ #15670]
3869 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3870
484c12fb
CD
38712013-10-18 Carlos O'Donell <carlos@redhat.com>
3872
3d7dc513
CD
3873 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3874 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3875 AUTH_DES and cindex for FIPS 140-2.
3876 (DES Encryption): Add cindex FIPS 46-3.
3877
484c12fb
CD
3878 * locale/locarchive.h (struct locarhandle): Add fname.
3879 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3880 if an optional argument was specified to --list-archive,
3881 otherwise NULL.
3882 * locale/programs/locarchive.c (show_archive_content): Take new
3883 argument fname and pass it via ah.fname to open_archive.
3884 * locale/programs/localedef.h: Update decl.
3885 (open_archive): If AH->fname is non-null, open that file
3886 rather than the default file name, and don't ignore ENOENT.
3887 (create_archive): Set AH.fname to NULL.
3888 (delete_locales_from_archive): Likewise.
3889 (add_locales_to_archive): Likewise.
3890 * locale/programs/locfile.c (write_all_categories): Likewise.
3891
3c8325fb
JM
38922013-10-18 Joseph Myers <joseph@codesourcery.com>
3893 Aldy Hernandez <aldyh@redhat.com>
3894
3895 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3896 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3897 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3898 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3899 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3901 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3903 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3904 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3906 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3907 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3908 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3909 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3910 Likewise.
3911 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3912 Likewise.
3913 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3914 Likewise.
3915 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3916 Likewise.
3917 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3918 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3919 Likewise.
3920 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3921 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3922 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3923 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3924 Likewise.
3925 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3926 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3927 * sysdeps/powerpc/preconfigure: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3929 Likewise.
3930 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3931 Replace contents of file by #include of <fenv_libc.h>.
3932 * sysdeps/powerpc/soft-fp/sfp-machine.h
3933 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3934 and <sys/prctl.h>.
3935 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3948 Allow copysignl PLT reference to be missing.
3949
5abe0682
RS
39502013-10-18 Richard Sandiford <richard@codesourcery.com>
3951 Joseph Myers <joseph@codesourcery.com
3952
3953 [BZ #15948]
3954 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3955 single character.
3956 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3957
c7738d08
SP
39582013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3959
3960 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3961 * elf/tst-tls1.c: Likewise.
3962 * elf/tst-tls10.h: Likewise.
3963 * elf/tst-tls14.c: Likewise.
3964 * elf/tst-tls2.c: Likewise.
3965 * elf/tst-tls3.c: Likewise.
3966 * elf/tst-tls4.c: Likewise.
3967 * elf/tst-tls5.c: Likewise.
3968 * elf/tst-tls6.c: Likewise.
3969 * elf/tst-tls7.c: Likewise.
3970 * elf/tst-tls8.c: Likewise.
3971 * elf/tst-tls9.c: Likewise.
3972 * elf/tst-tlsmod1.c: Likewise.
3973 * elf/tst-tlsmod13.c: Likewise.
3974 * elf/tst-tlsmod13a.c: Likewise.
3975 * elf/tst-tlsmod14a.c: Likewise.
3976 * elf/tst-tlsmod16a.c: Likewise.
3977 * elf/tst-tlsmod16b.c: Likewise.
3978 * elf/tst-tlsmod2.c: Likewise.
3979 * elf/tst-tlsmod3.c: Likewise.
3980 * elf/tst-tlsmod4.c: Likewise.
3981 * elf/tst-tlsmod5.c: Likewise.
3982 * elf/tst-tlsmod6.c: Likewise.
3983
0bfcf2c7
OB
39842013-10-18 Ondřej Bílka <neleai@seznam.cz>
3985
3986 [BZ #12486]
3987 * malloc/malloc.c: remove checks for statistics.
3988
264aad1e
OB
39892013-10-17 Ondřej Bílka <neleai@seznam.cz>
3990
3991 [BZ #15277]
3992 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3993 * inet/tst-network.c: Add testcase.
3994
b957ced8
AS
39952013-10-17 Andreas Schwab <schwab@suse.de>
3996
3997 [BZ #15218]
3998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3999 to determine canonical name.
4000
c5d5d574
OB
40012013-10-17 Ondřej Bílka <neleai@seznam.cz>
4002
4003 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4004 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4027 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4028 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4061
e5c2c2d0
JM
40622013-10-17 Joseph Myers <joseph@codesourcery.com>
4063
4064 [BZ #16041]
4065 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4066 make result into a quiet NaN.
4067
51ca9e29
JM
40682013-10-16 Joseph Myers <joseph@codesourcery.com>
4069
4070 * soft-fp/adddf3.c: Fix horizontal whitespace.
4071 * soft-fp/addsf3.c: Likewise.
4072 * soft-fp/addtf3.c: Likewise.
4073 * soft-fp/divdf3.c: Likewise.
4074 * soft-fp/divsf3.c: Likewise.
4075 * soft-fp/divtf3.c: Likewise.
4076 * soft-fp/double.h: Likewise.
4077 * soft-fp/eqdf2.c: Likewise.
4078 * soft-fp/eqsf2.c: Likewise.
4079 * soft-fp/eqtf2.c: Likewise.
4080 * soft-fp/extenddftf2.c: Likewise.
4081 * soft-fp/extended.h: Likewise.
4082 * soft-fp/extendsfdf2.c: Likewise.
4083 * soft-fp/extendsftf2.c: Likewise.
4084 * soft-fp/extendxftf2.c: Likewise.
4085 * soft-fp/fixdfdi.c: Likewise.
4086 * soft-fp/fixdfsi.c: Likewise.
4087 * soft-fp/fixdfti.c: Likewise.
4088 * soft-fp/fixsfdi.c: Likewise.
4089 * soft-fp/fixsfsi.c: Likewise.
4090 * soft-fp/fixsfti.c: Likewise.
4091 * soft-fp/fixtfdi.c: Likewise.
4092 * soft-fp/fixtfsi.c: Likewise.
4093 * soft-fp/fixtfti.c: Likewise.
4094 * soft-fp/fixunsdfdi.c: Likewise.
4095 * soft-fp/fixunsdfsi.c: Likewise.
4096 * soft-fp/fixunsdfti.c: Likewise.
4097 * soft-fp/fixunssfdi.c: Likewise.
4098 * soft-fp/fixunssfsi.c: Likewise.
4099 * soft-fp/fixunssfti.c: Likewise.
4100 * soft-fp/fixunstfdi.c: Likewise.
4101 * soft-fp/fixunstfsi.c: Likewise.
4102 * soft-fp/fixunstfti.c: Likewise.
4103 * soft-fp/floatdidf.c: Likewise.
4104 * soft-fp/floatdisf.c: Likewise.
4105 * soft-fp/floatditf.c: Likewise.
4106 * soft-fp/floatsidf.c: Likewise.
4107 * soft-fp/floatsisf.c: Likewise.
4108 * soft-fp/floatsitf.c: Likewise.
4109 * soft-fp/floattidf.c: Likewise.
4110 * soft-fp/floattisf.c: Likewise.
4111 * soft-fp/floattitf.c: Likewise.
4112 * soft-fp/floatundidf.c: Likewise.
4113 * soft-fp/floatundisf.c: Likewise.
4114 * soft-fp/floatunditf.c: Likewise.
4115 * soft-fp/floatunsidf.c: Likewise.
4116 * soft-fp/floatunsisf.c: Likewise.
4117 * soft-fp/floatunsitf.c: Likewise.
4118 * soft-fp/floatuntidf.c: Likewise.
4119 * soft-fp/floatuntisf.c: Likewise.
4120 * soft-fp/floatuntitf.c: Likewise.
4121 * soft-fp/fmadf4.c: Likewise.
4122 * soft-fp/fmasf4.c: Likewise.
4123 * soft-fp/fmatf4.c: Likewise.
4124 * soft-fp/gedf2.c: Likewise.
4125 * soft-fp/gesf2.c: Likewise.
4126 * soft-fp/getf2.c: Likewise.
4127 * soft-fp/ledf2.c: Likewise.
4128 * soft-fp/lesf2.c: Likewise.
4129 * soft-fp/letf2.c: Likewise.
4130 * soft-fp/muldf3.c: Likewise.
4131 * soft-fp/mulsf3.c: Likewise.
4132 * soft-fp/multf3.c: Likewise.
4133 * soft-fp/negdf2.c: Likewise.
4134 * soft-fp/negsf2.c: Likewise.
4135 * soft-fp/negtf2.c: Likewise.
4136 * soft-fp/op-1.h: Likewise.
4137 * soft-fp/op-2.h: Likewise.
4138 * soft-fp/op-4.h: Likewise.
4139 * soft-fp/op-8.h: Likewise.
4140 * soft-fp/op-common.h: Likewise.
4141 * soft-fp/quad.h: Likewise.
4142 * soft-fp/single.h: Likewise.
4143 * soft-fp/soft-fp.h: Likewise.
4144 * soft-fp/sqrtdf2.c: Likewise.
4145 * soft-fp/sqrtsf2.c: Likewise.
4146 * soft-fp/sqrttf2.c: Likewise.
4147 * soft-fp/subdf3.c: Likewise.
4148 * soft-fp/subsf3.c: Likewise.
4149 * soft-fp/subtf3.c: Likewise.
4150 * soft-fp/truncdfsf2.c: Likewise.
4151 * soft-fp/trunctfdf2.c: Likewise.
4152 * soft-fp/trunctfsf2.c: Likewise.
4153 * soft-fp/trunctfxf2.c: Likewise.
4154 * soft-fp/unorddf2.c: Likewise.
4155 * soft-fp/unordsf2.c: Likewise.
4156 * soft-fp/unordtf2.c: Likewise.
4157
9ebb0332
JM
41582013-10-15 Joseph Myers <joseph@codesourcery.com>
4159
4160 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4161 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4162
4b1a6d8b
OB
41632013-10-15 Ondřej Bílka <neleai@seznam.cz>
4164
4165 * elf/dl-libc.c: Clear initfini list after freeing.
4166
1e145589
JM
41672013-10-14 Joseph Myers <joseph@codesourcery.com>
4168
4169 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4170 * soft-fp/addsf3.c: Likewise.
4171 * soft-fp/addtf3.c: Likewise.
4172 * soft-fp/divdf3.c: Likewise.
4173 * soft-fp/divsf3.c: Likewise.
4174 * soft-fp/divtf3.c: Likewise.
4175 * soft-fp/double.h: Likewise.
4176 * soft-fp/eqdf2.c: Likewise.
4177 * soft-fp/eqsf2.c: Likewise.
4178 * soft-fp/eqtf2.c: Likewise.
4179 * soft-fp/extenddftf2.c: Likewise.
4180 * soft-fp/extended.h: Likewise.
4181 * soft-fp/extendsfdf2.c: Likewise.
4182 * soft-fp/extendsftf2.c: Likewise.
4183 * soft-fp/extendxftf2.c: Likewise.
4184 * soft-fp/fixdfdi.c: Likewise.
4185 * soft-fp/fixdfsi.c: Likewise.
4186 * soft-fp/fixdfti.c: Likewise.
4187 * soft-fp/fixsfdi.c: Likewise.
4188 * soft-fp/fixsfsi.c: Likewise.
4189 * soft-fp/fixsfti.c: Likewise.
4190 * soft-fp/fixtfdi.c: Likewise.
4191 * soft-fp/fixtfsi.c: Likewise.
4192 * soft-fp/fixtfti.c: Likewise.
4193 * soft-fp/fixunsdfdi.c: Likewise.
4194 * soft-fp/fixunsdfsi.c: Likewise.
4195 * soft-fp/fixunsdfti.c: Likewise.
4196 * soft-fp/fixunssfdi.c: Likewise.
4197 * soft-fp/fixunssfsi.c: Likewise.
4198 * soft-fp/fixunssfti.c: Likewise.
4199 * soft-fp/fixunstfdi.c: Likewise.
4200 * soft-fp/fixunstfsi.c: Likewise.
4201 * soft-fp/fixunstfti.c: Likewise.
4202 * soft-fp/floatdidf.c: Likewise.
4203 * soft-fp/floatdisf.c: Likewise.
4204 * soft-fp/floatditf.c: Likewise.
4205 * soft-fp/floatsidf.c: Likewise.
4206 * soft-fp/floatsisf.c: Likewise.
4207 * soft-fp/floatsitf.c: Likewise.
4208 * soft-fp/floattidf.c: Likewise.
4209 * soft-fp/floattisf.c: Likewise.
4210 * soft-fp/floattitf.c: Likewise.
4211 * soft-fp/floatundidf.c: Likewise.
4212 * soft-fp/floatundisf.c: Likewise.
4213 * soft-fp/floatunsidf.c: Likewise.
4214 * soft-fp/floatunsisf.c: Likewise.
4215 * soft-fp/floatuntidf.c: Likewise.
4216 * soft-fp/floatuntisf.c: Likewise.
4217 * soft-fp/floatuntitf.c: Likewise.
4218 * soft-fp/fmadf4.c: Likewise.
4219 * soft-fp/fmasf4.c: Likewise.
4220 * soft-fp/fmatf4.c: Likewise.
4221 * soft-fp/gedf2.c: Likewise.
4222 * soft-fp/gesf2.c: Likewise.
4223 * soft-fp/getf2.c: Likewise.
4224 * soft-fp/ledf2.c: Likewise.
4225 * soft-fp/lesf2.c: Likewise.
4226 * soft-fp/letf2.c: Likewise.
4227 * soft-fp/muldf3.c: Likewise.
4228 * soft-fp/mulsf3.c: Likewise.
4229 * soft-fp/multf3.c: Likewise.
4230 * soft-fp/negdf2.c: Likewise.
4231 * soft-fp/negsf2.c: Likewise.
4232 * soft-fp/negtf2.c: Likewise.
4233 * soft-fp/op-1.h: Likewise.
4234 * soft-fp/op-2.h: Likewise.
4235 * soft-fp/op-4.h: Likewise.
4236 * soft-fp/op-8.h: Likewise.
4237 * soft-fp/op-common.h: Likewise.
4238 * soft-fp/quad.h: Likewise.
4239 * soft-fp/single.h: Likewise.
4240 * soft-fp/soft-fp.h: Likewise.
4241 * soft-fp/sqrtdf2.c: Likewise.
4242 * soft-fp/sqrtsf2.c: Likewise.
4243 * soft-fp/sqrttf2.c: Likewise.
4244 * soft-fp/subdf3.c: Likewise.
4245 * soft-fp/subsf3.c: Likewise.
4246 * soft-fp/subtf3.c: Likewise.
4247 * soft-fp/truncdfsf2.c: Likewise.
4248 * soft-fp/trunctfdf2.c: Likewise.
4249 * soft-fp/trunctfsf2.c: Likewise.
4250 * soft-fp/trunctfxf2.c: Likewise.
4251 * soft-fp/unorddf2.c: Likewise.
4252 * soft-fp/unordsf2.c: Likewise.
4253 * soft-fp/unordtf2.c: Likewise.
4254
17c48a60
OB
42552013-10-14 Ondřej Bílka <neleai@seznam.cz>
4256
4257 [BZ #15672]
4258 * misc/error.c (error_tail): Fix possible buffer overflow.
4259
cabba934
OB
42602013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4261
4262 [BZ #13028]
4263 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4264 address.
4265
94bf958a
PM
42662013-10-14 P. J. McDermott <pj@pehjota.net>
4267
4268 [BZ #832]
4269 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4270 testing pipefail option.
4271
71b4dea7
JM
42722013-10-12 Joseph Myers <joseph@codesourcery.com>
4273
4274 * soft-fp/double.h: Indent preprocessor directives inside #if.
4275 * soft-fp/extended.h: Likewise.
4276 * soft-fp/op-2.h: Likewise.
4277 * soft-fp/op-4.h: Likewise.
4278 * soft-fp/op-common.h: Likewise.
4279 * soft-fp/quad.h: Likewise.
4280 * soft-fp/single.h: Likewise.
4281 * soft-fp/soft-fp.h: Likewise.
4282
55602758
YC
42832013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4284
4285 * iconv/iconv_prog.c: Fix typos.
4286 * stdio-common/psiginfo-data.h: Likewise.
4287
9cd83302
RT
42882013-10-12 Reuben Thomas <rrt@sc3d.org>
4289
4290 [BZ #15764]
4291 * locale/setlocale.c: Fix typo.
4292
99fd9f47
JM
42932013-10-12 Joseph Myers <joseph@codesourcery.com>
4294
b7ea74f0
JM
4295 [BZ #16036]
4296 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4297 signaling NaN arguments.
4298 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4299 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4300
8a509447
JM
4301 [BZ #14910]
4302 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4303 unordered operands.
4304 * soft-fp/gesf2.c (__gesf2): Likewise.
4305 * soft-fp/getf2.c (__getf2): Likewise.
4306 * soft-fp/ledf2.c (__ledf2): Likewise.
4307 * soft-fp/lesf2.c (__lesf2): Likewise.
4308 * soft-fp/letf2.c (__letf2): Likewise.
4309
98998e9f
JM
4310 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4311 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4312 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4313 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4314 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4315 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4316 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4317 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4318 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4319 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4320 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4321 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4322 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4323 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4324 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4325 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4326 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4327 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4328 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4329 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4330 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4331 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4332 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4333 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4334 * soft-fp/floattidf.c (__floattidf): Likewise.
4335 * soft-fp/floattisf.c (__floattisf): Likewise.
4336 * soft-fp/floattitf.c (__floattitf): Likewise.
4337 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4338 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4339 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4340 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4341 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4342 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4343 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4344 * soft-fp/gesf2.c (__gesf2): Likewise.
4345 * soft-fp/getf2.c (__getf2): Likewise.
4346 * soft-fp/ledf2.c (__ledf2): Likewise.
4347 * soft-fp/lesf2.c (__lesf2): Likewise.
4348 * soft-fp/letf2.c (__letf2): Likewise.
4349
8edc4a11
JM
4350 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4351 Undefine and redefine.
4352 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4353 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4354 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4355 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4356 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4357 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4358 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4359 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4360 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4361 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4362 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4363 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4364 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4365 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4366 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4367
8399acaf
JM
4368 [BZ #16032]
4369 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4370 without decrementing exponent if mantissa >= that for the
4371 denominator, not >.
4372 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4373 denominator, not >. Decrement exponent in < case instead of
4374 incrementing in >= case.
4375 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4376 without decrementing exponent if mantissa >= that for the
4377 denominator, not >.
4378
99fd9f47
JM
4379 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4380 computing saturated result for unsigned overflow.
4381
10e1cf6b
SP
43822013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4383 Jeff Law <law@redhat.com>
4384
4385 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4386 (atan2Mp): Add systemtap probe marker.
4387 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4388 (__ieee754_log): Add systemtap probe marker.
4389 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4390 (atanMp): Add systemtap probe marker.
4391 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4392 (tanMp): Add systemtap probe marker.
4393 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4394 (__slowexp): Add systemtap probe marker.
4395 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4396 (__slowpow): Add systemtap probe marker.
4397 * manual/probes.texi: Document probes.
4398
3d110c7c
EB
43992013-10-11 Eric Biggers <ebiggers3@gmail.com>
4400
4401 [BZ #15362]
4402 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4403 written.
4404 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4405 written.
4406 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4407 written to buffer but not flushed.
4408 * libio/iofwrite_u.c: Likewise.
4409 * libio/iopadn.c: Return bytes returned even if EOF was
4410 encountered.
4411 * libio/iowpadn.c: Likewise.
4412 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4413 if _IO_padn does not write the whole buffer.
4414 [!COMPILE_WPRINTF] (PAD): Likewise.
4415
75b4202a
DM
44162013-10-10 David S. Miller <davem@davemloft.net>
4417
4418 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4419 directory block.
4420
6c6352e6
JM
44212013-10-10 Joseph Myers <joseph@codesourcery.com>
4422
33b853c3
JM
4423 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4424 instead of FSF address.
4425 * soft-fp/fixdfti.c: Likewise.
4426 * soft-fp/fixsfti.c: Likewise.
4427 * soft-fp/fixtfti.c: Likewise.
4428 * soft-fp/fixunsdfti.c: Likewise.
4429 * soft-fp/fixunssfti.c: Likewise.
4430 * soft-fp/fixunstfti.c: Likewise.
4431 * soft-fp/floattidf.c: Likewise.
4432 * soft-fp/floattisf.c: Likewise.
4433 * soft-fp/floattitf.c: Likewise.
4434 * soft-fp/floatuntidf.c: Likewise.
4435 * soft-fp/floatuntisf.c: Likewise.
4436 * soft-fp/floatuntitf.c: Likewise.
4437 * soft-fp/trunctfxf2.c: Likewise.
4438
6c6352e6
JM
4439 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4440 * soft-fp/fixdfti.c: Likewise.
4441 * soft-fp/fixsfti.c: Likewise.
4442 * soft-fp/fixtfti.c: Likewise.
4443 * soft-fp/fixunsdfti.c: Likewise.
4444 * soft-fp/fixunssfti.c: Likewise.
4445 * soft-fp/fixunstfti.c: Likewise.
4446 * soft-fp/floattidf.c: Likewise.
4447 * soft-fp/floattisf.c: Likewise.
4448 * soft-fp/floattitf.c: Likewise.
4449 * soft-fp/floatuntidf.c: Likewise.
4450 * soft-fp/floatuntisf.c: Likewise.
4451 * soft-fp/floatuntitf.c: Likewise.
4452 * soft-fp/trunctfxf2.c: Likewise.
4453
3bf78b71
DM
44542013-10-10 David S. Miller <davem@davemloft.net>
4455
4456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4457
6f10289e
JM
44582013-10-10 Joseph Myers <joseph@codsourcery.com>
4459
bd878fc0
JM
4460 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4461 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4462 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4463 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4464 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4465 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4466 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4467
6f10289e
JM
4468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4469 for NaNs before doing comparisons on argument.
4470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4471 Likewise.
4472
321e2684
WN
44732013-10-10 Will Newton <will.newton@linaro.org>
4474
4475 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4476 passed to _int_memalign does not overflow.
4477
40fefba1
TR
44782013-10-10 Torvald Riegel <triegel@redhat.com>
4479
4480 * scripts/bench.pl: Add include-sources directive.
4481 * benchtests/README: Update documentation.
4482
2ae21ed2
JM
44832013-10-10 Joseph Myers <joseph@codesourcery.com>
4484
dcc2dd3f
JM
4485 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4486 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4487 instead of FP_INIT_ROUNDMODE.
4488 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4489 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4490
2ae21ed2
JM
4491 [BZ #16034]
4492 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4493 copy class of input value.
4494 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4495 not handle exceptions.
4496 * soft-fp/negsf2.c (__negsf2): Likewise.
4497 * soft-fp/negtf2.c (__negtf2): Likewise.
4498 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4499
cb8f9562
JM
45002013-10-09 Joseph Myers <joseph@codesourcery.com>
4501
4502 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4503 semicolon. From Linux kernel.
4504
5b60c59d
AB
45052013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4506
4507 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4508
b86835ca
YC
45092013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4510
4511 [BZ #156]
4512 * manual/socket.texi: Added statement about buffer
4513 for gethostbyname2_r.
4514
e7044ea7
OB
45152013-10-08 Ondřej Bílka <neleai@seznam.cz>
4516
4517 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4518 Use .p2align directive instead, throughout.
4519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4520 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4521 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4524 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4525 * sysdeps/x86_64/strchr.S: Likewise.
4526 * sysdeps/x86_64/strrchr.S: Likewise.
4527
09544cbc
SP
45282013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
88576635
SP
4530 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4531
e7b2d1dd
SP
4532 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4533
09544cbc
SP
4534 * sysdeps/generic/math_private.h (__mpsin1): Remove
4535 declaration.
4536 (__mpcos1): Likewise.
4537 (__mpsin): New argument __range_reduce.
4538 (__mpcos): Likewise.
4539 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4540 (slow): Use __mpsin and __mpcos.
4541 (slow1): Likewise.
4542 (slow2): Likewise.
4543 (sloww): Likewise.
4544 (sloww1): Likewise.
4545 (sloww2): Likewise.
4546 (bsloww): Likewise.
4547 (bsloww1): Likewise.
4548 (bsloww2): Likewise.
4549 (cslow2): Likewise.
4550 (csloww): Likewise.
4551 (csloww1): Likewise.
4552 (csloww2): Likewise.
4553 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4554 range_reduce. Merge in __mpsin1.
4555 (__mpcos): Likewise.
4556 (__mpsin1): Remove.
4557 (__mpcos1): Likewise.
4558
7602d070
JM
45592013-10-07 Joseph Myers <joseph@codesourcery.com>
4560
4561 * locale/loadlocale.c (_nl_intern_locale_data): Use
4562 LOCFILE_ALIGNED_P.
4563 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4564 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4565 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4566 obstack data is appropriately aligned.
4567 (obstack_int32_grow_fast): Likewise.
4568 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4569 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4570 (add_locale_uint32_array): Likewise.
4571
a357259b
SP
45722013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
4574 * benchtests/Makefile: Remove ARGLIST and RET variables.
4575 ($(objpfx)bench-%.c): Pass only function name to the script.
4576 * benchtests/README: Update documentation.
4577 * benchtests/acos-inputs: Add new directives.
4578 * benchtests/acosh-inputs: Likewise.
4579 * benchtests/asin-inputs: Likewise.
4580 * benchtests/asinh-inputs: Likewise.
4581 * benchtests/atan-inputs: Likewise.
4582 * benchtests/atanh-inputs: Likewise.
4583 * benchtests/cos-inputs: Likewise.
4584 * benchtests/cosh-inputs: Likewise.
4585 * benchtests/exp-inputs: Likewise.
4586 * benchtests/log-inputs: Likewise.
4587 * benchtests/pow-inputs: Likewise.
4588 * benchtests/rint-inputs: Likewise.
4589 * benchtests/sin-inputs: Likewise.
4590 * benchtests/sinh-inputs: Likewise.
4591 * benchtests/tan-inputs: Likewise.
4592 * benchtests/tanh-inputs: Likewise.
4593 * scripts/bench.pl: Add support for new directives.
4594
9ec1b13d
AM
45952013-10-07 Alan Modra <amodra@gmail.com>
4596
4597 * README: Fix careless merge.
4598
8b7d57cd
AM
45992013-10-05 Alan Modra <amodra@gmail.com>
4600
4601 * NEWS: Mention powerpc64le support and bugs fixed.
4602 * README: Both big-endian and little-endian powerpc64 supported.
4603
7b7bab13
ST
46042013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4605
4606 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4607 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4608 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4609 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4610
d39baad1
RA
46112013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4612
4613 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4614 match prototype.
4615
cd78f7e7
JM
46162013-10-04 Joseph Myers <joseph@codesourcery.com>
4617
29d73d86
JM
4618 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4619 Move -mhard-float appending from
4620 ports/sysdeps/powerpc/powerpc32/Makefile.
4621 [$(with-fp) = yes] (ASFLAGS): Likewise.
4622 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4623 * sysdeps/powerpc/nofpu: Move directory from
4624 ports/sysdeps/powerpc/nofpu.
4625 * sysdeps/powerpc/soft-fp: Move directory from
4626 ports/sysdeps/powerpc/soft-fp.
4627 * sysdeps/powerpc/powerpc32/405: Move directory from
4628 ports/sysdeps/powerpc/powerpc32/405.
4629 * sysdeps/powerpc/powerpc32/440: Move directory from
4630 ports/sysdeps/powerpc/powerpc32/440.
4631 * sysdeps/powerpc/powerpc32/464: Move directory from
4632 ports/sysdeps/powerpc/powerpc32/464.
4633 * sysdeps/powerpc/powerpc32/476: Move directory from
4634 ports/sysdeps/powerpc/powerpc32/476.
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4636 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4638 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4640 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4642 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4645 * README: Update for powerpc-*-linux-gnu software floating point
4646 support in libc.
4647
e246b347
JM
4648 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4649 case to powerpc/powerpc32*.
4650 * sysdeps/unix/sysv/linux/configure: Regenerated.
4651
89c2003e
JM
4652 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4653 (_FPU_MASK_OM): Define as 0x04.
4654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4656 0x00c10080.
4657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4658 0x0000003c.
4659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4660
cd78f7e7
JM
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4662 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4663 getcontext_e500.
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4665 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4666 setcontext_e500.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4669 and setcontext_e500.
4670
c755294d
CL
46712013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4672
4673 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4674
e16d221c
SP
46752013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
4677 * manual/threads.texi (Default Thread Attributes): Fix typo.
4678
215c7d43
WN
46792013-10-04 Will Newton <will.newton@linaro.org>
4680
4681 * malloc/Makefile: Add tst-memalign.
4682 * malloc/tst-memalign.c: New file.
4683
27d0461b
WN
4684 * malloc/tst-posix_memalign.c: Add comments.
4685 (do_test): Add comments and call free on all potentially
4686 allocated pointers. Add space after cast.
4687
1bc92709
WN
4688 * malloc/tst-pvalloc.c: Add comments.
4689 (do_test): Add comments and call free on all potentially
4690 allocated pointers. Remove duplicate check for NULL pointer.
4691 Add space after cast.
4692
66a9be9d
WN
4693 * malloc/tst-valloc.c: Add comments.
4694 (do_test): Add comments and call free on all potentially
4695 allocated pointers. Remove duplicate check for NULL pointer.
4696 Add space after cast.
4697
4cb81307
AM
46982013-10-04 Alan Modra <amodra@gmail.com>
4699
4700 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4701 Use stdint types in rather than __attribute__((mode())).
4702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4703
f8e3e9f3
AM
47042013-10-04 Alan Modra <amodra@gmail.com>
4705
4706 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4707 Correct handling of unaligned relocs for little-endian.
4708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4709
8f9ebb08
AM
47102013-10-04 Alan Modra <amodra@gmail.com>
4711
4712 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4713 * configure: Regenerate.
4714 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4715 * shlib-versions: Likewise.
4716
0edf96c2
AM
47172013-10-04 Alan Modra <amodra@gmail.com>
4718
4719 * string/tester.c (test_memrchr): Increment reported test cycle.
4720
e0f7a380
AM
47212013-10-04 Alan Modra <amodra@gmail.com>
4722
4723 * string/test-memcpy.c (do_one_test): When reporting errors, print
4724 string address and don't overrun end of string.
4725
466b0393
AM
47262013-10-04 Alan Modra <amodra@gmail.com>
4727
4728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4729 insrdi. Make better use of reg selection to speed exit slightly.
4730 Schedule entry path a little better. Remove useless "are we done"
4731 checks on entry to main loop. Handle wrapping around zero address.
4732 Correct main loop count. Handle single left-over word from main
4733 loop inline rather than by using loop_small. Remove extra word
4734 case in loop_small caused by wrong loop count. Add little-endian
4735 support.
4736 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4738 cache hint.
4739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4741 support. Avoid rlwimi.
4742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4743
3be87c77
AM
47442013-10-04 Alan Modra <amodra@gmail.com>
4745
4746 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4747 insrdi. Formatting.
3be87c77
AM
4748 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4749 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4751 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4752 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4753 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4754
759cfef3
AM
47552013-10-04 Alan Modra <amodra@gmail.com>
4756
4757 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4759 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4760 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4763 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4766 use of regs. Use power7 mtocrf. Tidy function tails.
4767
fe6e95d7
AM
47682013-10-04 Alan Modra <amodra@gmail.com>
4769
4770 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4771 Formatting. Consistently use rXXX register defines or rN defines.
4772 Use early exit labels that avoid restoring unused non-volatile regs.
4773 Make cr field use more consistent with rWORDn compares. Rename
4774 regs used as shift registers for unaligned loop, using rN defines
4775 for short lifetime/multiple use regs.
4776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4778 addi 1,1,64 to pop stack frame. Simplify return value code.
4779 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4780
664318c3
AM
47812013-10-04 Alan Modra <amodra@gmail.com>
4782
4783 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4784 support. Correct typos, formatting. Optimize tail. Use insrdi
4785 rather than rlwimi.
4786 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4788 little-endian support. Correct typos.
4789 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4790 rather than rlwimi.
4791 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4792 in loop and entry code to keep "and." results.
4793 (strchr): Add little-endian support. Comment. Move cntlzd
4794 earlier in tail.
4795 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4796
43b84013
AM
47972013-10-04 Alan Modra <amodra@gmail.com>
4798
4799 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4800 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4801 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4802 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4803
8a7413f9
AM
48042013-10-04 Alan Modra <amodra@gmail.com>
4805
4806 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4807 (rTMP): Define as r11.
4808 (strcmp): Add little-endian support. Optimise tail.
4809 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4810 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4811 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4816
33ee81de
AM
48172013-10-04 Alan Modra <amodra@gmail.com>
4818
4819 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4820 little-endian support. Remove unnecessary "are we done" tests.
4821 Handle "s" wrapping around zero and extremely large "size".
4822 Correct main loop count. Handle single left-over word from main
4823 loop inline rather than by using small_loop. Correct comments.
4824 Delete "zero" tail, use "end_max" instead.
4825 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4826
db9b4570
AM
48272013-10-04 Alan Modra <amodra@gmail.com>
4828
4829 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4830 support. Don't branch over align.
4831 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4833 support. Rearrange tmp reg use to suit. Comment.
4834 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4835
f7c399cf
AM
48362013-10-04 Alan Modra <amodra@gmail.com>
4837
4838 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4839
0b2c2ace
AM
48402013-10-04 Alan Modra <amodra@gmail.com>
4841
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4843 conditional form of branch and link when obtaining pc.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4845
02f04a6c
AM
48462013-10-04 Alan Modra <amodra@gmail.com>
4847
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4849 HIWORD/LOWORD.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4852
9b874b2f
AM
48532013-10-04 Alan Modra <amodra@gmail.com>
4854
4855 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4856 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4857 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4859 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4860 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4861 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4862 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4863 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4864 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4865
be1e5d31
AB
48662013-10-04 Anton Blanchard <anton@au1.ibm.com>
4867 Alistair Popple <alistair@ozlabs.au.ibm.com>
4868 Alan Modra <amodra@gmail.com>
4869
4870 [BZ #15723]
4871 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4872 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4873 _dl_hwcap access for little-endian.
4874 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4875 destroy vmx regs when saving unaligned.
4876 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4877 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4878 destroy vmx regs when saving unaligned.
4879
fef13a78
AM
48802013-10-04 Alan Modra <amodra@gmail.com>
4881
4882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4883 Don't use a union to pack hi/low value.
4884
76a66d51
AB
48852013-10-04 Anton Blanchard <anton@au1.ibm.com>
4886
4887 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4888 for little-endian.
4889 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4891 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4892 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4893 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4894
6a31fe7f
AM
48952013-10-04 Alan Modra <amodra@gmail.com>
4896
4897 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4898 constants to usual value for .cst8 section, and remove redundant
4899 high address load.
4900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4901 constant for 0x1p52. Load little-endian words of double from
4902 correct stack offsets.
4903
7b88401f
AM
49042013-10-04 Alan Modra <amodra@gmail.com>
4905
4906 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4907 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4908 words of double from correct stack offsets.
4909 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4911 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4916 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4922 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4925 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4926
9c008155
AM
49272013-10-04 Alan Modra <amodra@gmail.com>
4928
4929 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4930 64-bit int/double union.
4931 (_FPU_SETCW): Likewise.
4932 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4933 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4934
da13146d
AM
49352013-10-04 Alan Modra <amodra@gmail.com>
4936
4937 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4938 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4939
603e8410
AM
49402013-10-04 Alan Modra <amodra@gmail.com>
4941
4942 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4943 use vector int constants.
4944 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4945
4a28b3ca
AB
49462013-10-04 Anton Blanchard <anton@au1.ibm.com>
4947
4948 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4949 array with long long.
4950 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4951 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4952 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4953 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4954 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4955 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4956 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4957 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4958 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4959 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4960 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4961 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4962 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4963
2ca85d2b
AB
49642013-10-04 Anton Blanchard <anton@au1.ibm.com>
4965
4966 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4967 (__signbit): Likewise. Correct for little-endian.
4968 (__signbitl): Call __signbit.
4969 (lrint): Correct for little-endian.
4970 (lrintf): Call lrint.
4971
62a728ae
AM
49722013-10-04 Alan Modra <amodra@gmail.com>
4973
4974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4975 union 32-bit int array member with 64-bit int array.
4976 (t515, tm256): Double rather than long double.
4977 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4978
32c301df
AM
49792013-10-04 Alan Modra <amodra@gmail.com>
4980
4981 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4982 Delete.
4983 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4985 version of math_ldbl.h.
4986
650ef4bd
AM
49872013-10-04 Alan Modra <amodra@gmail.com>
4988
4989 [BZ #15734], [BZ #15735]
4990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4991 all uses of ieee875 long double macros and unions. Simplify test
4992 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4993 ldbl_extract_mantissa value for ix,iy exponents. Properly
4994 normalize after ldbl_extract_mantissa, and don't add hidden bit
4995 already handled. Don't treat low word of ieee854 mantissa like
4996 low word of IBM long double and mask off bit when testing for
4997 zero.
4998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4999 all uses of ieee875 long double macros and unions. Simplify tests
5000 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5001 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5002 two1022, instead use their values. Recognise that tests for large
5003 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5004 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5005 Rewrite all uses of ieee875 long double macros and unions. Simplify
5006 test for 0.0L and nan. Correct negation.
5007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5008 ieee875 long double macros and unions. Correct output for large
5009 magnitude x. Correct absolute value calculation.
5010 (__erfcl): Likewise.
5011 * math/libm-test.inc: Add tests for errors discovered in IBM long
5012 double versions of fmodl, remainderl, erfl and erfcl.
5013
765714ca
AM
50142013-10-04 Alan Modra <amodra@gmail.com>
5015
5016 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5017 all uses of ieee854 long double macros and unions. Simplify tests
5018 for long doubles that are fully specified by the high double.
5019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5020 Likewise.
5021 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5022 Remove dead code too.
5023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5024 (__ieee754_ynl): Likewise.
5025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5028 Remove dead code too.
5029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5030 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5031 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5033 Simplify.
5034 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5035 Simplify.
5036 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5039 Comment on variable precision.
5040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5042 Likewise.
5043 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5047 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5048
4ebd120c
AM
50492013-10-04 Alan Modra <amodra@gmail.com>
5050
5051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5053 all uses of ieee854 long double macros and unions.
5054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5060 Likewise.
5061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5067 Simplify sign and nan test too.
5068 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5070 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5071 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5072 Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5075 Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5082
1b6adf88
AM
50832013-10-04 Alan Modra <amodra@gmail.com>
5084
5085 * stdio-common/printf_size.c (__printf_size): Don't use
5086 union ieee854_long_double in fpnum union.
5087 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5088 signbit macro to retrieve sign from long double.
5089 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5090 retrieve sign from long double.
5091 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5092 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5093 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5094 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5095 * math/test-misc.c (main): Don't use union ieee854_long_double.
5096
4cf69995
AM
50972013-10-04 Alan Modra <amodra@gmail.com>
5098
5099 [BZ #15680]
5100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5101 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5102 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5103 calculation. Remove unnecessary test for denormal exponent.
5104 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5105 Correct handling of denormals. Avoid undefined shift behaviour.
5106 Correct normalisation of low mantissa when low double is denormal.
5107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5108 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5109 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5110 Correct normalisation of low mantissa. Test for overflow of high
5111 mantissa and normalise.
5112 (ldbl_nearbyint): Use more readable constant for two52.
5113 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5114 (__mpn_construct_long_double): Fix test for overflow of high
5115 mantissa and correct normalisation. Avoid undefined shift.
5116
9605ca6c
AM
51172013-10-04 Alan Modra <amodra@gmail.com>
5118
5119 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5120 (union ibm_extended_long_double): Define as an array of ieee754_double.
5121 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5122 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5123 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5128 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5132
975569d0
JM
51332013-10-03 Joseph Myers <joseph@codesourcery.com>
5134
d3d23756
JM
5135 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5136 page size instead of calling getpagesize.
5137
975569d0
JM
5138 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5139 (LOCFILE_ALIGN_MASK): Likewise.
5140 (LOCFILE_ALIGN_UP): Likewise.
5141 (LOCFILE_ALIGNED_P): Likewise.
5142 * locale/programs/ld-collate.c (collate_output): Use the new
5143 macros instead of __alignof__ (int32_t).
5144 * locale/weight.h (findidx): Likewise.
5145
b1fe1f2b
OB
51462013-10-03 Ondřej Bílka <neleai@seznam.cz>
5147
5148 [BZ #431]
5149 * manual/string.texi: Fix strncat and wcsncat.
5150
5f855e35
BM
51512013-10-03 Brooks Moses <bmoses@google.com>
5152
5153 [BZ #15915]
5154 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5155 * Makerules: ...here, and adjust associated comments.
5156
3cef6009
WN
51572013-10-02 Will Newton <will.newton@linaro.org>
5158
5159 * malloc/Makefile: Add tst-pvalloc.
5160 * malloc/tst-pvalloc.c: New file.
5161
7815420b
WN
51622013-10-02 Will Newton <will.newton@linaro.org>
5163
5164 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5165 improve test coverage.
5166
4868b204
WN
51672013-10-02 Will Newton <will.newton@linaro.org>
5168
5169 * malloc/Makefile: Add tst-posix_memalign.
5170 * malloc/tst-posix_memalign.c: New file.
5171
29c793b3
EB
51722013-10-01 Eric Blake <eblake@redhat.com>
5173
5174 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5175 Use __THROWNL rather than __THROW on static functions.
5176
fd967522
PM
51772013-09-30 Petr Machata <pmachata@redhat.com>
5178
5179 * elf/elf.h (R_AARCH64_ABS16): New macro.
5180 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5181 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5182 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5183 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5184 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5185 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5186 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5187 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5188 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5189 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5190 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5191 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5192 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5193 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5194 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5195 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5196 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5197 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5198 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5199 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5200 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5201 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5202 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5203 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5204 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5205 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5206 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5207 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5208 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5209 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5210 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5211 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5212 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5213 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5214 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5215 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5216 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5217 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5218 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5219 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5220 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5221 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5222 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5223 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5224 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5225 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5226 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5227 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5228 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5229 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5230 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5231 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5232 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5233 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5234 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5235 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5236 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5237 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5238 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5239 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5240 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5241 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5242 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5243 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5244 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5245 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5246 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5247 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5248 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5249 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5250 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5251 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5252 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5253 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5254 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5255 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5256 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5257 (R_AARCH64_TLSDESC_LDR): Likewise.
5258 (R_AARCH64_TLSDESC_ADD): Likewise.
5259 (R_AARCH64_TLSDESC_CALL): Likewise.
5260
b2179107
AS
52612013-09-30 Andreas Schwab <schwab@suse.de>
5262
5263 [BZ #15048]
5264 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5265 the nss database lookup.
5266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5268
47f28d0a
MF
52692013-09-28 Mike Frysinger <vapier@gentoo.org>
5270
5271 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5272
52732013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5274
5275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5276 ${Bash-specific parameter/pattern/string} parameter expansion.
5277 * sysdeps/unix/make-syscalls.sh: Likewise.
5278
f4518a17
KK
52792013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5280
5281 * sysdeps/sh/stackguard-macros.h: New file.
5282
dc1a95c7
OB
52832013-09-26 Ondřej Bílka <neleai@seznam.cz>
5284
5285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5287 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5288 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5289 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5290 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5291
5ebbff8f
AZ
52922013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5293
5294 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5295 Fix thread ID register.
5296
4fd2cf9f
JM
52972013-09-25 Joseph Myers <joseph@codesourcery.com>
5298
5299 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5300 [POSIX || UNIX98]: Require rather than permitting all symbols from
5301 <time.h>.
5302 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5303 element of struct sched_param.
5304 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5305 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5306 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5307 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5308 constant.
5309
12c22bc4
OL
53102013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5311
5312 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5313 argument calculation.
5314
a03d8ea7
JM
53152013-09-24 Joseph Myers <joseph@codesourcery.com>
5316
5317 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5318 Expect macro.
5319 [POSIX] (pthread_attr_t): Do not require type.
5320 [POSIX] (pthread_cond_t): Likewise.
5321 [POSIX] (pthread_condattr_t): Likewise.
5322 [POSIX] (pthread_key_t): Likewise.
5323 [POSIX] (pthread_mutex_t): Likewise.
5324 [POSIX] (pthread_mutexattr_t): Likewise.
5325 [POSIX] (pthread_once_t): Likewise.
5326 [POSIX] (pthread_t): Likewise.
5327 [POSIX-based standards] (pthread_atfork): Expect function.
5328
6055173a
JM
53292013-09-24 Joseph Myers <joseph@codesourcery.com>
5330 Richard Sandiford <richard@codesourcery.com>
5331
5332 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5333 (swap_endianness_p): New extern variable.
5334 (set_big_endian): New inline function.
5335 (maybe_swap_uint32): Likewise.
5336 (maybe_swap_uint32_array): Likewise.
5337 (maybe_swap_uint32_obstack): Likewise.
5338 * locale/programs/locfile.c: Include <stdbool.h>.
5339 (swap_endianness_p): New variable.
5340 (add_locale_uint32): Call maybe_swap_uint32.
5341 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5342 (write_locale_data): Call maybe_swap_uint32_array.
5343 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5344 maybe_swap_uint32.
5345 (obstack_int32_grow_fast): Likewise.
5346 (output_weightwc): Call maybe_swap_uint32_obstack.
5347 (collate_output): Likewise.
5348 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5349 (OPT_LITTLE_ENDIAN): Likewise.
5350 (options): Add --little-endian and --big-endian options.
5351 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5352 * locale/programs/locarchive.c: Include "locfile.h".
5353 (GET): New macro.
5354 (SET): Likewise.
5355 (INC): Likewise.
5356 (create_archive): Use the new macros to access fields of
5357 structures directly mapped from or written to locale archives.
5358 (oldlocrecentcmp): Likewise.
5359 (enlarge_archive): Likewise.
5360 (insert_name): Likewise.
5361 (add_alias): Likewise.
5362 (add_locale): Likewise.
5363 (delete_locales_from_archive): Likewise.
5364 (show_archive_content): Likewise.
5365 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5366 locale data.
5367
39bf0bb4
RM
53682013-09-24 Roland McGrath <roland@hack.frob.com>
5369
5370 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5371 http://www.gnu.org/doc/freemanuals.texi.
5372 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5373
f02eed10
WN
53742013-09-24 Will Newton <will.newton@linaro.org>
5375
5376 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5377 macro.
5378
a3a6c312
JM
53792013-09-23 Joseph Myers <joseph@codesourcery.com>
5380
5381 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5382 unsigned char.
5383
107375ac
MR
53842013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5385
5386 * manual/threads.texi (POSIX Threads): Fix a typo.
5387
141f3a77
SP
53882013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
303e567a
SP
5390 [BZ #14547]
5391 * string/tst-strcoll-overflow.c: New test case.
5392 * string/Makefile (xtests): Add tst-strcoll-overflow.
5393 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5394 cache if string sizes may cause integer overflow.
5395
141f3a77
SP
5396 [BZ #14547]
5397 * string/strcoll_l.c (coll_seq): New members rule, idx,
5398 save_idx and back_us.
5399 (get_next_seq_nocache): New function.
5400 (do_compare_nocache): New function.
5401 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5402 when malloc fails.
5403
c61b4d41
CD
54042013-09-23 Carlos O'Donell <carlos@redhat.com>
5405
0b1f8e35
CD
5406 [BZ #15754]
5407 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5408 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5409 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5410
c61b4d41
CD
5411 [BZ #15754]
5412 * elf/Makefile (tests): Add tst-ptrguard1.
5413 (tests-static): Add tst-ptrguard1-static.
5414 (tst-ptrguard1-ARGS): Define.
5415 (tst-ptrguard1-static-ARGS): Define.
5416 * elf/tst-ptrguard1.c: New file.
5417 * elf/tst-ptrguard1-static.c: New file.
5418 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5419 * sysdeps/i386/stackguard-macros.h: Likewise.
5420 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5421 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5422 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5423 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5424 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5425 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5426
54272013-09-23 Hector Marco <hecmargi@upv.es>
5428 Ismael Ripoll <iripoll@disca.upv.es>
5429 Carlos O'Donell <carlos@redhat.com>
5430
5431 [BZ #15754]
5432 * sysdeps/generic/stackguard-macros.h: Define
5433 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5434 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5435 Define __pointer_chk_guard_local.
5436 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5437 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5438
f5f4e7b4
VV
54392013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5440
5441 [BZ #15859]
5442 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5443
5bb43a43
AS
54442013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5445
5446 * include/string.h (__ffs): Declare as hidden.
5447 * string/ffs.c (__ffs): Define as hidden.
5448 * sysdeps/i386/ffs.c (__ffs): Likewise.
5449 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5450 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5451 * sysdeps/s390/ffs.c (__ffs): Likewise.
5452 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5453
3ea5be54
AO
54542013-09-20 Alexandre Oliva <aoliva@redhat.com>
5455
ffb89e53
AO
5456 * NEWS: Mention malloc probes.
5457
322dea08
AO
5458 * malloc/arena.c (new_heap): New memory_heap_new probe.
5459 (grow_heap): New memory_heap_more probe.
5460 (shrink_heap): New memory_heap_less probe.
5461 (heap_trim): New memory_heap_free probe.
5462 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5463 (systrim): New memory_sbrk_less probe.
5464 * manual/probes.texi: Document them.
5465
655673f3
AO
5466 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5467 * manual/probes.texi: Document it.
5468
35fed6f1
AO
5469 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5470 (__libc_realloc): Add memory_realloc_retry probe.
5471 (__libc_memalign): Add memory_memalign_retry probe.
5472 (__libc_valloc): Add memory_valloc_retry probe.
5473 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5474 (__libc_calloc): Add memory_calloc_retry probe.
5475 * manual/probes.texi: Document them.
5476
6999d38c
AO
5477 * malloc/arena.c (get_free_list): Add probe
5478 memory_arena_reuse_free_list.
5479 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5480 and memory_arena_reuse.
5481 (arena_get2) [!PER_THREAD]: Likewise.
5482 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5483 memory_arena_reuse_realloc.
5484 * manual/probes.texi: Document them.
5485
0653427f
AO
5486 * malloc/malloc.c (__libc_free): Add
5487 memory_mallopt_free_dyn_thresholds probe.
5488 (__libc_mallopt): Add multiple memory_mallopt probes.
5489 * manual/probes.texi: Document them.
5490
3ea5be54
AO
5491 * malloc/malloc.c: Include stap-probe.h.
5492 (__libc_mallopt): Add memory_mallopt probe.
5493 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5494 * manual/probes.texi: New.
5495 * manual/Makefile (chapters): Add probes.
5496 * manual/threads.texi: Set next node.
5497
e35696c3 54982013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5499
e35696c3
CL
5500 [BZ #15963, #13985]
5501 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5502 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5503 Add `Chinese' to `nan' entry name.
5504
4aafb73c
SP
55052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5506
5507 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5508 (POLYNOMIAL): Likewise.
5509 (TAYLOR_SINCOS): Likewise.
5510 (TAYLOR_SLOW): Likewise.
5511 (__sin): Use TAYLOR_SINCOS.
5512 (__cos): Likewise.
5513 (slow): Use TAYLOR_SLOW.
5514 (sloww): Likewise.
5515 (bsloww): Likewise.
5516 (csloww): Likewise.
5517
d84f25c7
LD
55182013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5519
5520 * stdlib/strtod_l.c: Fix buffer overrun.
5521
5eea0404
SP
55222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5523
7849ff93
SP
5524 * benchtests/Makefile (bench): Add sincos.
5525 * benchtests/bench-sincos.c: New file.
5526
cfa3c886
SP
5527 * math/libm-test.inc (cos_test_data): New test inputs.
5528 (sin_test_data): Likewise.
5529
b348e1e3
SP
5530 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5531 macro.
5532 (__sin): Use it.
5533 (__cos): Likewise.
5534 (slow1): Likewise.
5535 (slow2): Likewise.
5536 (sloww1): Likewise.
5537 (sloww2): Likewise.
5538 (bsloww1): Likewise.
5539 (bsloww2): Likewise.
5540 (cslow2): Likewise.
5541 (csloww1): Likewise.
5542 (csloww2): Likewise.
5543
6cce25f8
SP
5544 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5545 function.
5546 (__sin): Use it.
5547 (__cos): Likewise.
5548
5eea0404
SP
5549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5550 gotos.
5551 (__cos): Likewise.
5552
9c21573c
MR
55532013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5554
5555 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5556 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5557 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5558 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5559 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5560 * elf/cache.c (print_entry): Handle the new cache flags.
5561
24d22e65
JM
55622013-09-18 Joseph Myers <joseph@codesourcery.com>
5563 Aldy Hernandez <aldyh@redhat.com>
5564
5565 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5566 Change condition to [_SOFT_FLOAT].
5567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5579 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5582 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5583 declaration.
5584
d13ef066
JM
55852013-09-18 Joseph Myers <joseph@codesourcery.com>
5586
2e071de0
JM
5587 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5588 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5589 (__longjmp): Use LOAD_GP to load saved GPRs.
5590 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5591 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5592 (__sigsetjmp): Use SAVE_GP to save GPRs.
5593
d13ef066
JM
5594 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5595 Do not append -msoft-float.
5596 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5597
97a0650b
SP
55982013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5599
5600 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5601
11ca09e9
JM
56022013-09-17 Joseph Myers <joseph@codesourcery.com>
5603
5604 [BZ #15966]
5605 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5606 (_FPU_GETCW): Use initial "__" on variable and field names but not
5607 on macro parameter name.
5608 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5609 parentheses around reference to macro parameter.
5610
08ffcf34
RS
56112013-09-13 Richard Sandiford <richard@codesourcery.com>
5612
5613 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5614 prototype.
5615 (ctype_startup): Use uint32_t in cast and sizeof for
5616 ctype->charnames.
5617
ae7080d3
JL
56182013-09-11 Jia Liu <proljc@gmail.com>
5619
5620 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5621 __daddr_t_defined.
5622 [__FreeBSD__]: Likewise.
5623
5905e7b3
OB
56242013-09-11 Ondřej Bílka <neleai@seznam.cz>
5625
5626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5627 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5628 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5629 (strchr): Remove __strchr_sse42 ifunc selection.
5630 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5631 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5632
b987c776
WN
56332013-09-11 Will Newton <will.newton@linaro.org>
5634
5635 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5636 parameter to RES. Remove hardcoded 1000 value.
5637 * benchtests/bench-skeleton.c (main): Pass RES parameter
5638 to TIMING_INIT and multiply result by 1000.
5639
ddf985af
AZ
56402013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641
5642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5643
ffdd3181
AS
56442013-09-11 Andreas Schwab <schwab@suse.de>
5645
5646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5647 if not defined.
5648 (O_TMPFILE) [__USE_GNU]: Define.
5649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5650 Define.
5651
b73ed247
WN
56522013-09-11 Will Newton <will.newton@linaro.org>
5653
5654 [BZ #15857]
5655 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5656 does not overflow.
5657
55e17aad
WN
56582013-09-11 Will Newton <will.newton@linaro.org>
5659
5660 [BZ #15856]
5661 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5662 does not overflow.
5663
1159a193
WN
56642013-09-11 Will Newton <will.newton@linaro.org>
5665
5666 [BZ #15855]
5667 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5668 does not overflow.
5669
5905e7b3 56702013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5671
5672 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5677
cdfc721b
AM
56782013-09-10 Allan McRae <allan@archlinux.org>
5679
aa04af00
AM
5680 [BZ #15748]
5681 * manual/arith.texi (Parsing of Floats): Clarify
5682 cross-reference.
5683
cdfc721b
AM
5684 [BZ #15849]
5685 * manual/install.texi (Running make install): Mention
5686 --enable-pt-chown.
5687 * INSTALL: Regenerated.
5688
95e7cf29
MR
56892013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5690
5691 * csu/init-first.c (_init): Remove the !SHARED condition around
5692 FPU control word initialization.
5693 * elf/dl-support.c (_dl_fpu_control): New variable.
5694 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5695 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5696 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5697 * math/test-fpucw-static.c: New file.
5698 * math/test-fpucw-ieee.c: New file.
5699 * math/test-fpucw-ieee-static.c: New file.
5700 * math/Makefile (tests): Add `test-fpucw-ieee' and
5701 `$(tests-static)'.
5702 (tests-static): New variable.
5703 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5704 dependency to...
5705 [($(build-shared),yes)]
5706 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5707 ... this.
5708 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5709 New dependency.
5710
83e43bf0
AM
57112013-09-09 Allan McRae <allan@archlinux.org>
5712
a9f5ce09
AM
5713 [BZ #15939]
5714 * manual/string.texi (Collation Functions): Fix typo in
5715 strcoll example.
5716 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5717
34829bc2
AM
5718 [BZ #15893]
5719 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5720
3932737d
AM
5721 [BZ #15892]
5722 * libio/memstream.c (open_memstream): Fix memory leak.
5723 * libio/wmemstream.c (open_wmemstream): Likewise.
5724
83e43bf0
AM
5725 [BZ #15895]
5726 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5727
0c66b8e9
WN
57282013-09-09 Will Newton <will.newton@linaro.org>
5729
5730 * malloc/Makefile: Add tst-realloc to tests.
5731 * malloc/tst-realloc.c: New file.
5732
f6b00fd1
AM
57332013-09-09 Allan McRae <allan@archlinux.org>
5734
5735 [BZ #15844]
5736 * COPYING: Update from GNU website to fix FSF address.
5737 * COPYING.LIB: Likewise.
5738
eec55e16
DM
57392013-09-06 David S. Miller <davem@davemloft.net>
5740
5741 * po/zh_TW.po: Update Chinese (traditional) translation from
5742 translation project.
5743
1ecbb381
RS
57442013-09-06 Richard Sandiford <richard@codesourcery.com>
5745 Joseph Myers <joseph@codesourcery.com>
5746
5747 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5748 "localeinfo.h".
5749 (obstack_chunk_alloc): New macro.
5750 (obstack_chunk_free): Likewise.
5751 (record_offset): New function.
5752 (init_locale_data): Likewise.
5753 (align_locale_data): Likewise.
5754 (add_locale_empty): Likewise.
5755 (add_locale_raw_data): Likewise.
5756 (add_locale_raw_obstack): Likewise.
5757 (add_locale_string): Likewise.
5758 (add_locale_wstring): Likewise.
5759 (add_locale_uint32): Likewise.
5760 (add_locale_uint32_array): Likewise.
5761 (add_locale_char): Likewise.
5762 (start_locale_structure): Likewise.
5763 (end_locale_structure): Likewise.
5764 (start_locale_prelude): Likewise.
5765 (end_locale_prelude): Likewise.
5766 (write_locale_data): Take locale_file structure rather than an
5767 iovec.
5768 * locale/programs/locfile.h: Include "obstack.h".
5769 (struct locale_file): Change to store locale file contents instead
5770 of header.
5771 (init_locale_data): New prototype.
5772 (align_locale_data): Likewise.
5773 (add_locale_empty): Likewise.
5774 (add_locale_raw_data): Likewise.
5775 (add_locale_raw_obstack): Likewise.
5776 (add_locale_string): Likewise.
5777 (add_locale_wstring): Likewise.
5778 (add_locale_uint32): Likewise.
5779 (add_locale_uint32_array): Likewise.
5780 (add_locale_char): Likewise.
5781 (start_locale_structure): Likewise.
5782 (end_locale_structure): Likewise.
5783 (start_locale_prelude): Likewise.
5784 (end_locale_prelude): Likewise.
5785 (write_locale_data): Update prototype.
5786 * locale/programs/3level.h (struct TABLE): Remove result field.
5787 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5788 Use new locale_file interface.
5789 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5790 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5791 * locale/programs/ld-address.c (address_output): Use new
5792 locale_file interface.
5793 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5794 NO_ADD_LOCALE.
5795 (collate_finish): Don't call collseq_table_finalize.
5796 (collate_output): Use new locale_file interface.
5797 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5798 in file.
5799 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5800 (TABLE): Move defines earlier in file.
5801 (ELEMENT): Likewise.
5802 (DEFAULT): Likewise.
5803 (wctrans_table_add): Move macro and inline function earlier in
5804 file.
5805 (struct wctype_table): Move type earlier in file.
5806 (add_locale_wctype_table): New static prototype.
5807 (struct locale_ctype_t): Use logical types instead of struct iovec
5808 pointers for members.
5809 (ctype_output): Use new locale_file interface.
5810 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5811 new locale_file interface.
5812 (allocate_arrays): Update for use of new locale_file interface.
5813 * locale/programs/ld-identification.c (identification_output): Use
5814 new locale_file interface.
5815 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5816 * locale/programs/ld-messages.c (messages_output): Likewise.
5817 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5818 * locale/programs/ld-name.c (name_output): Likewise.
5819 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5820 * locale/programs/ld-paper.c (paper_output): Likewise.
5821 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5822 * locale/programs/ld-time.c (time_output): Likewise.
5823
e029e2e5
AZ
58242013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825
5826 * benchtests/Makefile: Add memrchr benchmark.
5827 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5828 benchmark as memrchr.
5829 * benchtests/bench-memrchr-ifunc.c: New file.
5830 * benchtests/bench-memrchr.c: New file.
5831
bbf6e8e4
WN
58322013-09-06 Will Newton <will.newton@linaro.org>
5833
5834 * benchtests/Makefile (string-bench): Add memcpy.
5835
6c82a2f8
CD
58362013-09-05 Carlos O'Donell <carlos@redhat.com>
5837 Cong Wang <amwang@redhat.com>
5838
e732c5f0 5839 [BZ #15850]
6c82a2f8
CD
5840 * sysdeps/unix/sysv/linux/bits/in.h
5841 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5842 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5843 before __USE_KERNEL_IPV6_DEFS uses.
5844 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5845 IPPROTO_BEETPH.
5846 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5847 sockaddr_in6, or ipv6_mreq.
5848
5430fc65
AZ
58492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850
5851 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5852 memory access for final bytes in some large inputs.
5853 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5854
4660856c
AZ
58552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856
5857 * string/test-memrchr.c: New file.
5858 * string/test-memrchr-ifunc.c: New file.
5859 * string/Makefile: Add new memrchr testcase.
5860
bb8ea713
MF
58612013-09-05 Mike Frysinger <vapier@gentoo.org>
5862
5863 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5864 fanotify_init returns EPERM.
5865
b92a20b5
JM
58662013-09-04 Joseph Myers <joseph@codesourcery.com>
5867
5868 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5869 errors.
5870 (top level): Treat second token from macro or constant entries for
5871 allowed headers as allowed.
5872 * include/complex.h: Condition internal declarations on
5873 [!_ISOMAC].
5874 * include/fenv.h: Condition include of <stdbool.h> and internal
5875 declarations on [!_ISOMAC].
7447ccd9
CL
5876
58772013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5878
3e181dda 5879 [BZ #15923]
7447ccd9
CL
5880 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5881
3f2e46a4
JM
58822013-09-04 Joseph Myers <joseph@codesourcery.com>
5883
5884 * configure.in (--enable-versioning): Remove configure option.
5885 (libc_cv_asm_symver_directive): Remove configure test.
5886 (libc_cv_ld_version_script_option): Likewise.
5887 (VERSIONING): Remove variable and AC_SUBST.
5888 (DO_VERSIONING): Remove AC_DEFINE.
5889 * configure: Regenerated.
5890 * config.h.in (DO_VERSIONING): Remove macro.
5891 * Makerules [$(versioning) = yes]: Change conditionals to
5892 [$(build-shared) = yes].
5893 * config.make.in (versioning): Remove variable.
5894 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5895 [$(build-shared) = yes].
5896 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5897 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5898 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5899 [$(build-shared) = yes].
5900 * extra-lib.mk [$(versioning) = yes]: Likewise.
5901 * hurd/Makefile [$(versioning) = yes]: Likewise.
5902 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5903 [SHARED].
5904 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5905 [SHARED].
5906 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5907 [SHARED && !NO_HIDDEN].
5908 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5909 [SHARED].
5910 [SHARED && DO_VERSIONING]: Likewise..
5911 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5912 [$(build-shared) = yes].
5913 * manual/install.texi (--disable-versioning): Remove
5914 documentation.
5915 * INSTALL: Regenerated.
5916 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5917 to [SHARED].
5918 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5919 [$(build-shared) = yes].
5920 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5921 * sysdeps/i386/i686/multiarch/strstr-c.c
5922 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5923 [SHARED && !NO_HIDDEN].
5924 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5925 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5926 * sysdeps/powerpc/powerpc32/dl-machine.c
5927 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5928 * sysdeps/powerpc/powerpc32/sysdep.h
5929 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5930 to [SHARED && PIC && !NO_HIDDEN].
5931 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5932 conditional to [SHARED].
5933
44558701
WN
59342013-09-04 Will Newton <will.newton@linaro.org>
5935
5936 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5937 * benchtests/bench-string.h: Include bench-timing.h instead
5938 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5939 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5940 call to HP_TIMING_DIFF_INIT.
5941 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5942 instead of hp-timing.h macros.
5943 * benchtests/bench-memchr.c: Likewise.
5944 * benchtests/bench-memcmp.c: Likewise.
5945 * benchtests/bench-memcpy.c: Likewise.
5946 * benchtests/bench-memmem.c: Likewise.
5947 * benchtests/bench-memmove.c: Likewise.
5948 * benchtests/bench-memset.c: Likewise.
5949 * benchtests/bench-rawmemchr.c: Likewise.
5950 * benchtests/bench-strcasecmp.c: Likewise.
5951 * benchtests/bench-strcasestr.c: Likewise.
5952 * benchtests/bench-strcat.c: Likewise.
5953 * benchtests/bench-strchr.c: Likewise.
5954 * benchtests/bench-strcmp.c: Likewise.
5955 * benchtests/bench-strcpy.c: Likewise.
5956 * benchtests/bench-strcpy_chk.c: Likewise.
5957 * benchtests/bench-strlen.c: Likewise.
5958 * benchtests/bench-strncasecmp.c: Likewise.
5959 * benchtests/bench-strncat.c: Likewise.
5960 * benchtests/bench-strncmp.c: Likewise.
5961 * benchtests/bench-strncpy.c: Likewise.
5962 * benchtests/bench-strnlen.c: Likewise.
5963 * benchtests/bench-strpbrk.c: Likewise.
5964 * benchtests/bench-strrchr.c: Likewise.
5965 * benchtests/bench-strspn.c: Likewise.
5966 * benchtests/bench-strstr.c: Likewise.
5967
cae16d66
WN
59682013-09-04 Will Newton <will.newton@linaro.org>
5969
5970 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5971
ffa3cd7f
JM
59722013-09-03 Joseph Myers <joseph@codesourcery.com>
5973
5974 [BZ #15427]
5975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5976 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5977 * math/libm-test.inc (lgamma_test_data): Add more tests.
5978 * sysdeps/i386/fpu/libm-test-ulps: Update.
5979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980
8f02859f
OB
59812013-09-03 Ondřej Bílka <neleai@seznam.cz>
5982
5983 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5985 Add ifunc.
5986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5987 Add strcmp-sse2-unaligned
5988 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5989
18d43716
MF
59902013-09-02 Mike Frysinger <vapier@gentoo.org>
5991
5992 * Versions.def (libc): Add GLIBC_2.19.
5993
ac444012
MF
59942013-09-02 Mike Frysinger <vapier@gentoo.org>
5995
5996 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5997 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5998
b7835e32
JM
59992013-09-02 Joseph Myers <joseph@codesourcery.com>
6000
6001 [BZ #14155]
6002 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6003 intermediate calculations in recurrence.
6004 (__ieee754_ynf): Likewise.
6005 * math/libm-test.inc (jn_test_data): Do not allow spurious
6006 underflow exception. Add more tests.
6007 (yn_test_data): Add more tests.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6010
8220f4f0
OB
60112013-09-02 Ondřej Bílka <neleai@seznam.cz>
6012
6013 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6014
f24a6d08
OB
60152013-08-30 Ondřej Bílka <neleai@seznam.cz>
6016
6017 * csu/init-first.c: Fix then/than typos.
6018 * locale/programs/ld-collate.c: Likewise.
6019 * locale/programs/linereader.h: Likewise.
6020 * manual/charset.texi: Likewise.
6021 * manual/filesys.texi: Likewise.
6022 * manual/stdio.texi: Likewise.
6023 * manual/string.texi: Likewise.
6024 * stdlib/fmtmsg.c: Likewise.
6025 * sysdeps/i386/stpncpy.S: Likewise.
6026 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6027 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6028 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6029 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6030
382466e0
OB
60312013-08-30 Ondřej Bílka <neleai@seznam.cz>
6032
6033 * elf/dl-open.c: Fix typos.
6034 * iconvdata/gbbig5.c: Likewise.
6035 * iconvdata/iso-2022-jp.c: Likewise.
6036 * iconv/gconv_int.h: Likewise.
6037 * iconv/loop.c: Likewise.
6038 * nis/rpcsvc/nis.h: Likewise.
6039 * resolv/ns_name.c: Likewise.
6040 * stdio-common/vfscanf.c: Likewise.
6041 * streams/stropts.h: Likewise.
6042 * sunrpc/rpc_thread.c: Likewise.
6043 * sysdeps/i386/strpbrk.S: Likewise.
6044 * sysdeps/ieee754/k_standard.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6047 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6048 * sysdeps/mach/hurd/profil.c: Likewise.
6049 * sysdeps/s390/dl-procinfo.h: Likewise.
6050 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6051 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6053 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6054 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6055
0186c6e9
OB
60562013-08-30 Ondřej Bílka <neleai@seznam.cz>
6057
6058 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6060
d4e16af1
OB
60612013-08-29 Ondřej Bílka <neleai@seznam.cz>
6062
6063 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6064 aix specific files.
6065 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6071 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6073
88335980
TS
60742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6075 Roland McGrath <roland@hack.frob.com>
6076
6077 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6078 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6079
ed479b02
ST
60802013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6081
6082 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6083 __executable_start symbol instead of _start.
6084
f1cc4c86
TS
60852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6086
d821f07c
TS
6087 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6088 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6089 Move macros to...
6090 * sysdeps/gnu/ldsodefs.h: ... this new file.
6091
c54290cf
TS
6092 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6093 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6094 instead of ELFOSABI_LINUX.
6095
0007fc9b 6096 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6097 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6098 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6099 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6100 Likewise.
6101 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6102 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6104 Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6106 (ibm_extended_long_double): Add ieee_nan member.
6107 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6108 (do_test): New function.
6109
f1cc4c86
TS
6110 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6111 TEST_TRUNC.
6112 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6113 functions, renamed from truncdfsf_test, trunctfsf_test,
6114 trunctfdf_test.
6115 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6116 functions.
6117 (do_test): Run all these.
6118
6f65e668
OB
61192013-08-29 Ondřej Bílka <neleai@seznam.cz>
6120
6121 * argp/argp-help.c: Fix typos.
6122 * argp/argp-parse.c: Likewise.
6123 * debug/backtracesyms.c: Likewise.
6124 * elf/elf.h: Likewise.
6125 * malloc/malloc.c: Likewise.
6126 * nis/nis_print.c: Likewise.
6127 * resolv/res_comp.c: Likewise.
6128 * stdlib/stdlib.h: Likewise.
6129 * sunrpc/clnt_tcp.c: Likewise.
6130 * sunrpc/clnt_udp.c: Likewise.
6131 * sunrpc/clnt_unix.c: Likewise.
6132 * sysdeps/unix/bsd/ptsname.c: Likewise.
6133 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6134 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6136 Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6138 Likewise.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6140 Likewise.
6f65e668
OB
6141 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6142
3a309239
SP
61432013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6144
6145 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6147
3b813b29
MF
61482013-08-27 Mike Frysinger <vapier@gentoo.org>
6149
6150 [BZ #15897]
6151 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6152 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6153 ($(objpfx)bug-dl-leaf): New rule.
6154 ($(objpfx)bug-dl-leaf.so): Likewise.
6155 ($(objpfx)bug-dl-leaf.out): Likewise.
6156 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6157 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6158 * dlfcn/bug-dl-leaf.c: New test.
6159 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6160 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6161 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6162 (dlclose): Likewise.
6163 (dlmopen): Likewise.
6164
8cc3269f
RM
61652013-08-27 Roland McGrath <roland@hack.frob.com>
6166
7f9d0034
RM
6167 * include/netdb.h [!_ISOMAC]:
6168 Don't include <tls.h>.
6169 (h_errno, __libc_h_errno): Move declaration and macros out of
6170 [_LIBC_REENTRANT].
6171
fb431262
RM
6172 * include/resolv.h [_RESOLV_H_]:
6173 Don't include <tls.h>.
6174 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6175 * resolv/res_libc.c: Don't include <tls.h>.
6176 (_res): Use __attribute__ ((nocommon)) in place of
6177 __attribute__ ((section (".bss"))).
6178
bd81123a
RM
6179 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6180 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6181
c4e42566
RM
6182 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6183
f890a59b
RM
6184 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6185 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6186
6187 * resolv/res_mkquery.c: Include <sys/time.h>.
6188
5d1f0a09
RM
6189 * inet/ifreq.c: Moved to ...
6190 * sysdeps/unix/ifreq.c: ... here.
6191 * inet/ifreq.c: New file, true stub version.
6192
6fcf28b3
RM
6193 * socket/sa_len.c: New file.
6194 * socket/Makefile (aux): Add it.
6195 * sysdeps/unix/sysv/linux/Makefile
6196 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6197 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6198 and #include <socket/sa_len.c>.
6199 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6200 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6201
e041fb8b
RM
6202 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6203 * bits/socket.h: ... here.
6204
8cc3269f
RM
6205 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6206 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6207 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6208
5d228a43
AS
62092013-08-27 Andreas Schwab <schwab@suse.de>
6210
45b8accc
AS
6211 [BZ #15736]
6212 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6213 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6214 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6215 * string/test-strcasecmp.c (test_main): Run tests in several
6216 locales.
6217 * string/test-strncasecmp.c (test_main): Likewise.
6218
5d228a43
AS
6219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6220 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6221 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6223 (__strncasecmp_ssse3) [PIC]: Likewise.
6224
59d112a4
RM
62252013-08-26 Roland McGrath <roland@hack.frob.com>
6226
53234cc3
RM
6227 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6228
59d112a4
RM
6229 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6230 instead of explicitly declaring xdecrypt.
6231 * nis/nss_nis/nis-publickey.c: Likewise.
6232
595aba70
SP
62332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6234
6235 [BZ #15890]
6236 * nscd/aicache.c: Include res_hconf.h.
6237 (addhstaiX): Initialize res_hconf.
6238
ffabd393
AS
62392013-08-26 Andreas Schwab <schwab@suse.de>
6240
6241 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6242 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6243
e0a69f5c
SP
62442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6245
6246 * nscd/aicache.c (addhstaiX): Fix indentation.
6247
8c12f01d
MF
62482013-08-25 Mike Frysinger <vapier@gentoo.org>
6249
6250 * configure.ac: Quote $build_pt_chown test.
6251 * configure: Regenerated.
6252
8fe89494
JM
62532013-08-23 Joseph Myers <joseph@codesourcery.com>
6254
6255 [BZ #15532]
6256 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6257 * math/s_cexpf.c (__cexpf): Likewise.
6258 * math/s_cexpl.c (__cexpl): Likewise.
6259 * math/libm-test.inc (cexp_test_data): Correct expected return
6260 value for NaN + i0. Add another test.
6261
75b181d6
DM
62622013-08-22 David S. Miller <davem@davemloft.net>
6263
6264 * po/ca.po: Update Catalan translation from translation project.
936241e4 6265 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6266
acd06bb1
JM
62672013-08-21 Joseph Myers <joseph@codesourcery.com>
6268
6269 [BZ #15797]
6270 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6271 is infinite, not alongside NaN test.
6272 * math/s_fdimf.c (__fdimf): Likewise.
6273 * math/s_fdiml.c (__fdiml): Likewise.
6274 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6275 errno is unchanged.
6276
c0c3f78a
OB
62772013-08-21 Ondřej Bílka <neleai@seznam.cz>
6278
6279 * argp/argp-help.c: Fix typos.
6280 * crypt/speeds.c: Likewise.
6281 * csu/check_fds.c: Likewise.
6282 * elf/dl-load.c: Likewise.
6283 * elf/dl-open.c: Likewise.
6284 * elf/reldep3.c: Likewise.
6285 * elf/reldep.c: Likewise.
6286 * elf/sprof.c: Likewise.
6287 * iconv/iconv_charmap.c: Likewise.
6288 * iconv/skeleton.c: Likewise.
6289 * iconv/strtab.c: Likewise.
6290 * io/lockf64.c: Likewise.
6291 * libio/libioP.h: Likewise.
6292 * resolv/gai_notify.c: Likewise.
6293 * resolv/ns_name.c: Likewise.
6294 * resolv/ns_samedomain.c: Likewise.
6295 * resolv/res_send.c: Likewise.
6296 * stdlib/random.c: Likewise.
6297 * sunrpc/rpc/xdr.h: Likewise.
6298 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6299 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6306 * sysdeps/mach/hurd/check_fds.c: Likewise.
6307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6308 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6310 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6311 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6312 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6313 * sysdeps/pthread/aio_notify.c: Likewise.
6314 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6315 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6316 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6318 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6319
46ed1038
LD
63202013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6321
6322 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6323 version if bit_Slow_SSE4_2 is set.
6324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6326
d400dcac
AZ
63272013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6328
6329 [BZ #15867]
6330 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6331 trampoline stack frame information.
6332 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6334 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6335 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6336 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6337 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6338 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6339 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6340 sa_flags value.
6341 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6342 interrupting a syscall and set with option SA_SIGINFO.
6343
42c8fdd8
JM
63442013-08-20 Joseph Myers <joseph@codesourcery.com>
6345
c980f2f4
JM
6346 [BZ #15531]
6347 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6348 argument is infinite.
6349 * math/s_cprojf.c (__cprojf): Likewise.
6350 * math/s_cprojl.c (__cprojl): Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6352 * math/libm-test.inc (cproj_test_data): Add more tests.
6353
0716c4fc
JM
6354 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6355
42c8fdd8
JM
6356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6357 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6358 size. Use __ffs to determine corresponding shift.
6359
b31469d0
JM
63602013-08-20 Joseph Myers <joseph@codesourcery.com>
6361 Roland McGrath <roland@hack.frob.com>
6362
6363 * Makefile (INSTALL): Remove trailing blank lines from output of
6364 makeinfo.
6365
4e39af6e
AK
63662013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6367
6368 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6369 Align 32 bit compat elf_greg to 8 bytes.
6370
f315524e
AA
63712013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6372
6373 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6374
1326ba1a
SP
63752013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6376
6377 * string/strcoll_l.c (coll_seq): New structure.
6378 (get_next_seq_cached): New function.
6379 (get_next_seq): New function.
6380 (do_compare): New function.
6381 (STRCOLL): Use GNU style definition. Simplify implementation
6382 by using get_next_seq, get_next_seq_cached and do_compare.
6383
91ce4085
FW
63842013-08-16 Florian Weimer <fweimer@redhat.com>
6385
6386 [BZ #14699]
6387 CVE-2013-4237
6388 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6389 member.
6390 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6391 member.
6392 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6393 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6394 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6395 conditional.
6396 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6397 GETDENTS_64BIT_ALIGNED.
6398 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6399 * manual/filesys.texi (Reading/Closing Directory): Document
6400 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6401 strongly.
6402 * manual/conf.texi (Limits for Files): Add portability note to
6403 NAME_MAX, PATH_MAX.
6404 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6405
ca0a6bc4
AS
64062013-08-13 Andreas Schwab <schwab@suse.de>
6407
6408 [BZ #15749]
6409 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6410 of fabs.
6411 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6412 LDBL_MAX_EXP >= 16384]: Add tests for it.
6413
6c1fd795
DM
64142013-08-12 David S. Miller <davem@davemloft.net>
6415
6416 * version.h (RELEASE): Set to "development".
6417 (VERSION): Set to "2.18.90".
6418 * NEWS: Add 2.19 section.
6419
31ad488d
DM
64202013-08-03 David S. Miller <davem@davemloft.net>
6421
6422 * po/ko.po: Update Korean translation from translation project.
6423
db24e684
DM
64242013-08-01 David S. Miller <davem@davemloft.net>
6425
6426 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6427 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6428 Bilka.
6429
f723285b
DM
64302013-07-30 David S. Miller <davem@davemloft.net>
6431
6432 * po/fr.po: Update French translation from translation project.
6433
3cbc52db
DM
64342013-07-28 David S. Miller <davem@davemloft.net>
6435
30bbc0cc
DM
6436 * po/cs.po: Update Czech translation from translation project.
6437
3cbc52db
DM
6438 * po/sv.po: Update Swedish translation from translation project.
6439
d492e6d0
DM
64402013-07-27 David S. Miller <davem@davemloft.net>
6441
f1a7f492
DM
6442 * po/eo.po: Update Esperanto translation from translation project.
6443
90e62a4a
DM
6444 * po/vi.po: Update Vietnamese translation from translation project.
6445
d492e6d0
DM
6446 * po/de.po: Update German translation from translation project.
6447
d4baa62d
DM
64482013-07-26 David S. Miller <davem@davemloft.net>
6449
641aa7b4
DM
6450 * po/bg.po: Update Bulgarian translation from translation project.
6451
d4baa62d
DM
6452 * po/nl.po: Update Dutch translation from translation project.
6453 * po/pl.po: Update Polish translation from translation project.
6454 * po/ru.po: Update Russian translation from translation project.
6455
61a9dcb9
DM
64562013-07-24 David S. Miller <davem@davemloft.net>
6457
6458 * po/libc.pot: Update.
6459
7b1f8b58
AZ
64602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461
6462 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6463 variable page size.
6464 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6465 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6466 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6467
a8fc7a03
AK
64682013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6469
6470 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6471
e4608715
CD
64722013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 Andreas Schwab <schwab@suse.de>
6474 Roland McGrath <roland@hack.frob.com>
6475 Joseph Myers <joseph@codesourcery.com>
6476 Carlos O'Donell <carlos@redhat.com>
6477
6478 [BZ #15755]
6479 * config.h.in: Define HAVE_PT_CHOWN.
6480 * config.make.in (build-pt-chown): New variable.
6481 * configure.in (--enable-pt_chown): New configure option.
6482 * configure: Regenerate.
6483 * login/Makefile: Include Makeconfig. Build pt_chown only if
6484 build-pt-chown is enabled.
6485 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6486 pt_chown to fix pty ownership.
6487 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6488 CLOSE_ALL_FDS.
6489 * manual/install.texi (Configuring and compiling): Mention
6490 --enable-pt_chown. Add @findex for grantpt.
6491 * INSTALL: Regenerate.
6492
da2d62df
DM
64932013-07-20 David S. Miller <davem@davemloft.net>
6494
6495 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6496 difference between 32-bit and 64-bit.
6497
d7e06450
CD
64982013-07-15 Carlos O'Donell <carlos@redhat.com>
6499
6500 [BZ #15711]
6501 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6502 Avoid system header dependency with -ffreestanding.
6503 ($(objpfx)bits/syscall%d): Likewise.
6504
f959cfd7
DM
65052013-07-13 David S. Miller <davem@davemloft.net>
6506
6507 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6508 underflows from atanl/atan2l due to bug 15319.
6509 (casinh_test_data): Likewise.
6510
c61f8513
DM
65112013-07-07 David S. Miller <davem@davemloft.net>
6512
6513 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6514
72c90ed0
JA
65152013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6516
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519
52dfbe13
SP
65202013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6521
6522 * configure.in (--enable-lock-elision): Fix message text.
6523 * INSTALL: Regenerate.
6524 * configure: Regenerate.
6525
3f169543
AZ
65262013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527
6528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6529
521c6785
AJ
65302013-07-03 Andreas Jaeger <aj@suse.de>
6531
6532 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6533 define.
6534 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6535 (ptrace_peeksiginfo_args): Add.
6536 (__ptrace_peeksiginfo_flags): Add.
6537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6540
d2cc15cb
AM
65412013-07-03 Allan McRae <allan@archlinux.org>
6542
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544
3aaeeca7
DM
65452013-07-02 David S. Miller <davem@davemloft.net>
6546
6547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6548
5314ed1a
MT
65492013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6550
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6552
67338156
JM
65532013-07-02 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6557
1717da59
AK
65582013-07-02 Andi Kleen <ak@linux.intel.com>
6559
6560 * config.h.in (ENABLE_LOCK_ELISION): Add.
6561 * configure.in (--enable-lock-elision): Add option.
6562 * manual/install.texi: Document --enable lock elision.
6563 * configure: Regenerate
6564 * INSTALL: Regenerate.
6565
1c81621c
L
65662013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6567
6568 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6569 SSE4.2 strcasecmp for libc.a.
6570 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6571
77f01ab5
JM
65722013-07-02 Joseph Myers <joseph@codesourcery.com>
6573
6574 [BZ #13304]
6575 * soft-fp/op-common.h (_FP_FMA): New macro.
6576 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6577 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6578 (_FP_MUL_MEAT_1_imm): ... here.
6579 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6580 (_FP_MUL_MEAT_1_wide): ... here.
6581 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6582 (_FP_MUL_MEAT_1_hard): ... here.
6583 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6584 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6585 (_FP_MUL_MEAT_2_wide): ... here.
6586 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6587 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6588 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6589 (_FP_MUL_MEAT_2_gmp): ... here.
6590 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6591 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6592 (_FP_MUL_MEAT_4_wide): ... here.
6593 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6594 (_FP_MUL_MEAT_4_gmp): ... here.
6595 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6596 (_FP_WFRACBITS_DW_S): Likewise.
6597 (_FP_WFRACXBITS_DW_S): Likewise.
6598 (_FP_HIGHBIT_DW_S): Likewise.
6599 (FP_FMA_S): Likewise.
6600 (_FP_FRAC_HIGH_DW_S): Likewise.
6601 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6602 (_FP_WFRACBITS_DW_D): Likewise.
6603 (_FP_WFRACXBITS_DW_D): Likewise.
6604 (_FP_HIGHBIT_DW_D): Likewise.
6605 (FP_FMA_D): Likewise.
6606 (_FP_FRAC_HIGH_DW_D): Likewise.
6607 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6608 (_FP_WFRACBITS_DW_E): Likewise.
6609 (_FP_WFRACXBITS_DW_E): Likewise.
6610 (_FP_HIGHBIT_DW_E): Likewise.
6611 (FP_FMA_E): Likewise.
6612 (_FP_FRAC_HIGH_DW_E): Likewise.
6613 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6614 (_FP_WFRACBITS_DW_Q): Likewise.
6615 (_FP_WFRACXBITS_DW_Q): Likewise.
6616 (_FP_HIGHBIT_DW_Q): Likewise.
6617 (FP_FMA_Q): Likewise.
6618 (_FP_FRAC_HIGH_DW_Q): Likewise.
6619 * soft-fp/fmasf4.c: New file.
6620 * soft-fp/fmadf4.c: Likewise.
6621 * soft-fp/fmatf4.c: Likewise.
6622
6308fd9a
LD
66232013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6624
6625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6626 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6627 Silvermont.
6628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6629 macro.
6630 (index_Slow_SSE4_2): Likewise.
6631 (index_Prefer_PMINUB_for_stringop): Likewise.
6632 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6633 bit_Slow_SSE4_2 is set.
6634 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6636
89cd9569
RA
66372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6638
6639 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6640 rtld_global._dl_hwcap2.
6641 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6642 POWER8.
6643 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6644 POWER8 feature descriptions defined in _dl_hwcap2.
6645 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6646 string handling for POWER8 feature bits.
6647 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6648 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6649 _dl_powerpc_cap_flags.
6650 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6651 * sysdeps/powerpc/rtld-global-offsets.sym
6652 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6653 _dl_hwcap2 in the rtld_global_ro structure.
6654
1ae8bfe0
RA
66552013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6656
6657 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6658 hardware capabilities in support of AT_HWCAP2.
6659 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6660 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6661 GLRO(dl_hwcap2).
6662 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6663 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6664 explicitly the unknown a_type display mechanism is used.
6665 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6666 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6667 struct member.
6668 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6669 to macro prototype for AT_HWCAP2 support.
6670 * sysdeps/i386/dl-procinfo.h: Likewise.
6671 * sysdeps/s390/dl-procinfo.h: Likewise.
6672 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6673 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6674 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6675 return -1 for unknown a_type display fallback.
6676 * sysdeps/sparc/dl-procinfo.h: Likewise.
6677 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6678 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6679
8fbec010
JM
66802013-06-28 Joseph Myers <joseph@codesourcery.com>
6681
6682 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6683 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6684
0432680e
PY
66852013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6686
6687 [BZ #12492]
6688 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6689 mprotect making __stack_prot writable.
6690
ce61a2ad
NF
66912013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6692 Joseph Myers <joseph@codesourcery.com>
6693
6694 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6695 as being properly aligned.
6696
f91f1c0f
MR
66972013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6698
3d0f5d0c
MR
6699 * dlfcn/modstatic5.c: New file.
6700 * dlfcn/tststatic5.c: New file.
6701 * dlfcn/Makefile (tests): Add tststatic5.
6702 (tests-static): Likewise.
6703 (modules-names): Add modstatic5.
6704 (tststatic5-ENV): New variable.
6705 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6706
f91f1c0f
MR
6707 [BZ #15022]
6708 * elf/dl-support.c (_dl_main_map): New variable.
6709 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6710 (_dl_nns, _dl_load_adds): Set to 1.
6711 (_dl_initial_searchlist): Refer to _dl_main_map.
6712 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6713 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6714 call to _dl_get_origin.
6715 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6716 around call_map.
6717 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6718 * dlfcn/modstatic3.c: New file.
6719 * dlfcn/tststatic3.c: New file.
6720 * dlfcn/tststatic4.c: New file.
6721 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6722 (tests-static): Likewise.
6723 (modules-names): Add modstatic3.
6724 (tststatic3-ENV, tststatic4-ENV): New variables.
6725 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6726 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6727
cbe7d24b
JM
67282013-06-26 Joseph Myers <joseph@codesourcery.com>
6729
6730 * configure.in (CC): Require GCC version 4.4 or later.
6731 * configure: Regenerated.
6732 * manual/install.texi (Tools for Compilation): Update GCC version
6733 requirement.
6734 * INSTALL: Regenerated.
6735
11b8a0e1
LD
67362013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6737
6738 [BZ #15674]
bb5bb87c
L
6739 * string/test-memcmp.c (check2): New.
6740 (main): Call check2.
6741
11b8a0e1
LD
6742 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6743
b0037103
MR
67442013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6745
6746 [BZ #15022]
6747 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6748 over to...
6749 (dl_open_worker) [!SHARED]: ... here.
6750
c18c701d
RA
67512013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6752
6753 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6754
1d17fa5f
RH
67552013-06-25 Richard Henderson <rth@redhat.com>
6756
6757 * locale/programs/locarchive.c: Include <libc-internal.h>
6758
8fcb833a
JM
67592013-06-25 Joseph Myers <joseph@codesourcery.com>
6760
6761 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6762 trailing whitespace removed.
6763
17db6e8d
MF
67642013-06-24 Mike Frysinger <vapier@gentoo.org>
6765
6766 [BZ #10283]
17db6e8d
MF
6767 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6768 * locale/programs/locarchive.c: Include libc-mmap.h.
6769 (prepare_address_space): Take two new outputs (the mmap base and len).
6770 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6771 values.
6772 (create_archive): Declare new mmap base and len values for
6773 prepare_address_space, and store the result in ah.
6774 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6775 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6776 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6777 Declare new mmap base and len values for
6778 prepare_address_space, and store the result in new_ah.
6779 (open_archive): Declare new mmap base and len values for
6780 prepare_address_space, and store the result in ah.
6781 (close_archive): If ah->mmap_base is not NULL, use that and
6782 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6783 * sysdeps/generic/libc-mmap.h: New file.
6784
d605071e
MF
67852013-06-24 Mike Frysinger <vapier@gentoo.org>
6786
6787 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6788 (ALIGN_UP): Likewise.
6789 (PTR_ALIGN_DOWN): Likewise.
6790 (PTR_ALIGN_UP): Likewise.
6791
2f063a6e
RA
67922013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6793
6794 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6795 entry mapped to PPC_PLATFORM_POWER8.
6796 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6797 POWER8.
6798 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6799 (_dl_string_platform): Add case for exporting platform position for
6800 POWER8.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6802 search path to sysdeps/powerpc/powerpc32/power8 directory.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6804 search path to sysdeps/powerpc/powerpc64/power8 directory.
6805 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6806 power7 directories.
6807 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6808 power7 directories.
6809
a31ee4b3
SP
68102013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6811
a74ca98f
SP
6812 * INSTALL: Regenerate.
6813
a31ee4b3
SP
6814 * nscd/connections.c (nscd_init): Fix comment.
6815
695c378f
JM
68162013-06-22 Joseph Myers <joseph@codesourcery.com>
6817
d8412221
JM
6818 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6819
695c378f
JM
6820 [BZ #15667]
6821 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6822 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6823
d1d54715
MR
68242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6825
6826 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6827 DL_DST_REQ_STATIC.
6828 (DL_DST_REQ_STATIC): Remove macro.
6829
8fdda7af
JM
68302013-06-21 Joseph Myers <joseph@codesourcery.com>
6831
6832 [BZ #7006]
6833 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6834 with a shift of 0 bits.
6835
f3bc5e5a
MR
68362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6837
6838 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6839 $(tststatic-ENV).
6840
be09e8c9
KK
68412013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6842
6843 [BZ #15655]
6844 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6845
85c2e611
AZ
68462013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847
6848 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6849 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6850 accepts -fno-tree-loop-distribute-patterns.
6851 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6852 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6853 recursive call.
6854 * string/memset.c (memset): Likewise.
6855 * string/test-memmove.c (simple_memmove): Disable loop transformation
6856 to library calls.
6857 * string/test-memset.c (simple_memset): Likewise.
6858 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6859 * benchtests/bench-memset.c (simple_memset): Likewise.
6860 * configure: Regenerated.
6861
c91e0825
JM
68622013-06-20 Joseph Myers <joseph@codesourcery.com>
6863
b8c792af
JM
6864 * math/test-misc.c (main): Ignore fesetround failure when failures
6865 of subsequent rounding tests would be ignored.
6866
c91e0825
JM
6867 [BZ #15654]
6868 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6869 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6870 * math/fegetenv.c (__fegetenv): Return 0.
6871 * math/fegetexcept.c (fegetexcept): Return 0.
6872 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6873 FE_TONEAREST.
6874 * math/feholdexcpt.c (feholdexcept): Return 0.
6875 * math/fesetenv.c (__fesetenv): Return 0.
6876 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6877 argument FE_TONEAREST.
6878 * math/feupdateenv.c (__feupdateenv): Return 0.
6879 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6880
bfcacbde
RM
68812013-06-18 Roland McGrath <roland@hack.frob.com>
6882
6883 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6884 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6885 ($(objpfx)rtld-%.os rules): Use them.
6886
e55a9b25
AZ
68872013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888
6889 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6890 fields.
6891
346d65b3
RM
68922013-06-17 Roland McGrath <roland@hack.frob.com>
6893
12086fb4
RM
6894 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6895 length of target pattern, then descending length of dependency pattern.
6896 * configure.in (AWK): Require gawk 3.1.2 or newer.
6897 * manual/install.texi (Tools for Compilation): Say that we do.
6898 * configure: Regenerated.
6899
346d65b3
RM
6900 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6901 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6902 * scripts/sysd-rules.awk: ... this new script.
6903 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6904 than a glob-style pattern.
6905
1a846317
JM
69062013-06-17 Joseph Myers <joseph@codesourcery.com>
6907
6908 * math/test-misc.c (main): Do not treat incorrectly rounded
6909 conversions as failure unless ROUNDING_TESTS passes.
6910
8fc75e6f
JM
69112013-06-15 Joseph Myers <joseph@codesourcery.com>
6912
3711a167
JM
6913 [BZ #15631]
6914 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6915 restore exception state around main square root computation, then
6916 check for inexactness explicitly.
6917
8fc75e6f
JM
6918 * math/libm-test.inc (fma_test_data): Add another test.
6919
61dd6208
SP
69202013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
adf23d2c
SP
6922 * manual/threads.texi (Non-POSIX Extensions): New document
6923 node. Document pthread_getattr_default_np and
6924 pthread_setattr_default_np.
6925
61dd6208
SP
6926 * Versions.def (libpthread): Add GLIBC_2.18.
6927 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6929 Likewise.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6931 Likewise.
6932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6933 Likewise.
6934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6935 Likewise.
6936 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6937 Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6939 Likewise.
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6941 Likewise.
6942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6943 Likewise.
6944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6945 Likewise.
6946
d086fc7b
LD
69472013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6948
6949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6950 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6951
747ef469
SP
69522013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6953 H.J. Lu <hjl.tools@gmail.com>
6954
6955 [BZ #15627]
6956 * sysdeps/x86_64/rtld-memset.c: Remove file.
6957 * sysdeps/x86_64/rtld-memset.S: New file.
6958
1b2feed2
JM
69592013-06-14 Joseph Myers <joseph@codesourcery.com>
6960
6961 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6962 (test_in_one_mode): Take arguments for whether the rounding mode
6963 is supported for each floating-point type.
6964 (do_test): Pass new arguments to test_in_one_mode using
6965 ROUNDING_TESTS.
6966
a58ad3f8
RM
69672013-06-13 Roland McGrath <roland@hack.frob.com>
6968
6969 * posix/tst-waitid.c (do_test): Distinguish different instances of
6970 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6971 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6972 before entering the kernel for waitpid.
6973
c204ab28
SP
69742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6975
6976 * NEWS: Fix note on clock function precision. Text by Roland
6977 McGrath.
6978
f4a29fba
RM
69792013-06-13 Roland McGrath <roland@hack.frob.com>
6980
6981 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6982 it into place only when and if the sanity check passes.
6983
1f24b9ad
JM
69842013-06-13 Joseph Myers <joseph@codesourcery.com>
6985
6986 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6987 output for whether conversion result is exact. Take argument
6988 indicating whether type is IBM long double.
6989 (round_for_all): Change need_exact field to ibm_ld.
6990 * stdlib/tst-strtod-round.c (struct exactness): New type.
6991 (struct test): Change bool ld_ok field to struct exactness exact.
6992 (TEST): Update all definitions for change to field.
6993 (tests): Regenerate array contents.
6994 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6995 field value. Check for IBM long double here.
6996 (do_test): Update calls to test_in_one_mode.
6997
58206c68
SP
69982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6999
7000 [BZ #12515]
7001 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7002 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7003
2d6f4c5b 70042013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7005
7006 [BZ #15605]
7007 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7008 generated by the compiler on loop optimizations.
7009 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7010 general definitions.
7011
94f2c076
JM
70122013-06-12 Joseph Myers <joseph@codesourcery.com>
7013
7014 * math/bug-nextafter.c: Include <math-tests.h>.
7015 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7016 the relevant type.
7017 * math/bug-nexttoward.c: Include <math-tests.h>.
7018 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7019 the relevant type.
7020 * math/test-misc.c: Include <math-tests.h>.
7021 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7022 the relevant type.
7023
e0e50a0a
AJ
70242013-06-12 Andreas Jaeger <aj@suse.de>
7025
7026 * po/ia.po: Update Interlingua translation from translation
7027 project.
7028
25061094
SP
70292013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * include/fenv.h: Include stdbool.h.
7032 (struct rm_ctx): New structure.
7033 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7034 Define macro.
7035 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7036 (SET_RESTORE_ROUNDF): Likewise.
7037 (SET_RESTORE_ROUNDL): Likewise.
7038 (SET_RESTORE_ROUND_NOEX): Likewise.
7039 (SET_RESTORE_ROUND_NOEXF): Likewise.
7040 (SET_RESTORE_ROUND_NOEXL): Likewise.
7041 (SET_RESTORE_ROUND_53BIT): Likewise.
7042 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7043 (libc_feresetround_noexf_ctx): Likewise.
7044 (libc_feresetround_noexl_ctx): Likewise.
7045 (libc_feholdsetround_53bit_ctx): Likewise.
7046 (libc_feresetround_53bit_ctx): Likewise.
7047 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7048 (libc_feholdexcept_setround_sse_ctx): New function.
7049 (libc_fesetenv_sse_ctx): Likewise.
7050 (libc_feupdateenv_sse_ctx): Likewise.
7051 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7052 (libc_feholdexcept_setround_387_ctx): Likewise.
7053 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7054 (libc_feholdsetround_387_prec_ctx): Likewise.
7055 (libc_feholdsetround_387_ctx): Likewise.
7056 (libc_feholdsetround_387_53bit_ctx): Likewise.
7057 (libc_feholdsetround_sse_ctx): Likewise.
7058 (libc_feresetround_sse_ctx): Likewise.
7059 (libc_feresetround_387_ctx): Likewise.
7060 (libc_feupdateenv_387_ctx): Likewise.
7061 (libc_feholdexcept_setroundf_ctx): Define macro.
7062 (libc_fesetenvf_ctx): Likewise.
7063 (libc_feupdateenvf_ctx): Likewise.
7064 (libc_feholdsetroundf_ctx): Likewise.
7065 (libc_feresetroundf_ctx): Likewise.
7066 (libc_feholdexcept_setround_ctx): Likewise.
7067 (libc_fesetenv_ctx): Likewise.
7068 (libc_feupdateenv_ctx): Likewise.
7069 (libc_feholdsetround_ctx): Likewise.
7070 (libc_feresetround_ctx): Likewise.
7071 (libc_feholdexcept_setroundl_ctx): Likewise.
7072 (libc_feupdateenvl_ctx): Likewise.
7073 (libc_feholdsetroundl_ctx): Likewise.
7074 (libc_feresetroundl_ctx): Likewise.
7075 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7076 (libc_feresetround_53bit_ctx): Likewise.
7077
59b30555
SP
70782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7079
7080 * locale/iso-639.def: Convert to UTF-8.
7081
f1d73d30
JM
70822013-06-11 Joseph Myers <joseph@codesourcery.com>
7083
7084 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7085 (EXCEPTION_TESTS_double): Likewise.
7086 (EXCEPTION_TESTS_long_double): Likewise.
7087 (EXCEPTION_TESTS): Likewise.
7088 * math/libm-test.inc (test_exceptions): Only test exceptions if
7089 EXCEPTION_TESTS (FLOAT).
7090
94aca5e7
SP
70912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 * benchtests/Makefile (string-bench): Add strcpy_chk and
7094 stpcpy_chk.
7095 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7096 * benchtests/bench-stpcpy_chk.c: New file.
7097 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7098 * benchtests/bench-strcpy_chk.c: New file.
7099 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7100 code.
7101 (do_test): Likewise.
7102
fac0c5f2
RA
71032013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7104
7105 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7106 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7107 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7108 with tabs where appropriate.
7109 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7110 dl-procinfo.h.
7111 [PPC_PLATFORM_PPC440]: Likewise.
7112 [PPC_PLATFORM_PPC464]: Likewise.
7113 [PPC_PLATFORM_PPC476]: Likewise.
7114 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7115 ppc464, and ppc476 platform strings merging from ports/
7116 dl-procinfo.h.
7117
f22bc486
AS
71182013-06-11 Andreas Schwab <schwab@suse.de>
7119
7120 [BZ #14991]
7121 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7122 (from_ucs4_idx): Regenerate.
7123 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7124 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7125 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7126 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7127 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7128 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7129 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7130 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7131 from FROM_LOOP and TO_LOOP specific macros.
7132 (BODY): Handle combining characters.
7133 * iconvdata/BIG5HKSCS.irreversible: Update.
7134 * iconvdata/BIG5HKSCS.precomposed: New file.
7135 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7136 characters.
7137 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7138
c1f75dc3
SP
71392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7140
4eacded2
SP
7141 * include/sys/time.h: Fix indentation and add copyright header.
7142
fec799f8
SP
7143 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7144 (do_test): Likewise.
7145 * string/test-memchr.c (do_one_test): Likewise.
7146 (do_test): Likewise.
7147 * string/test-memcmp.c (do_one_test): Likewise.
7148 (do_test): Likewise.
7149 * string/test-memcpy.c (do_one_test): Likewise.
7150 (do_test): Likewise.
7151 * string/test-memmem.c (do_one_test): Likewise.
7152 (do_test): Likewise.
7153 (do_random_tests): Likewise.
7154 * string/test-memmove.c (do_one_test): Likewise.
7155 (do_test): Likewise.
7156 * string/test-memset.c (do_one_test): Likewise.
7157 (do_test): Likewise.
7158 * string/test-rawmemchr.c (do_one_test): Likewise.
7159 (do_test): Likewise.
7160 * string/test-strcasecmp.c (do_one_test): Likewise.
7161 (do_test): Likewise.
7162 * string/test-strcasestr.c (do_one_test): Likewise.
7163 (do_test): Likewise.
7164 * string/test-strcat.c (do_one_test): Likewise.
7165 (do_test): Likewise.
7166 * string/test-strchr.c (do_one_test): Likewise.
7167 (do_test): Likewise.
7168 * string/test-strcmp.c (do_one_test): Likewise.
7169 (do_test): Likewise.
7170 * string/test-strcpy.c (do_one_test): Likewise.
7171 (do_test): Likewise.
7172 * string/test-string.h: Likewise.
7173 (test_init): Likewise.
7174 * string/test-strlen.c (do_one_test): Likewise.
7175 (do_test): Likewise.
7176 * string/test-strncasecmp.c (do_one_test): Likewise.
7177 (do_test): Likewise.
7178 * string/test-strncat.c (do_one_test): Likewise.
7179 (do_test): Likewise.
7180 * string/test-strncmp.c (do_one_test): Likewise.
7181 (do_test_limit): Likewise.
7182 (do_test): Likewise.
7183 * string/test-strncpy.c (do_one_test): Likewise.
7184 (do_test): Likewise.
7185 * string/test-strnlen.c (do_one_test): Likewise.
7186 (do_test): Likewise.
7187 * string/test-strpbrk.c (do_one_test): Likewise.
7188 (do_test): Likewise.
7189 * string/test-strrchr.c (do_one_test): Likewise.
7190 (do_test): Likewise.
7191 * string/test-strspn.c (do_one_test): Likewise.
7192 (do_test): Likewise.
7193 * string/test-strstr.c (do_one_test): Likewise.
7194 (do_test): Likewise.
7195
97020474
SP
7196 * benchtests/Makefile (string-bench): Add string benchmarks.
7197 * benchtests/bench-bcopy-ifunc.c: New file.
7198 * benchtests/bench-bcopy.c: New file.
7199 * benchtests/bench-bzero-ifunc.c: New file.
7200 * benchtests/bench-bzero.c: New file.
7201 * benchtests/bench-memccpy-ifunc.c: New file.
7202 * benchtests/bench-memccpy.c: New file.
7203 * benchtests/bench-memchr-ifunc.c: New file.
7204 * benchtests/bench-memchr.c: New file.
7205 * benchtests/bench-memcmp-ifunc.c: New file.
7206 * benchtests/bench-memcmp.c: New file.
7207 * benchtests/bench-memmem-ifunc.c: New file.
7208 * benchtests/bench-memmem.c: New file.
7209 * benchtests/bench-memmove-ifunc.c: New file.
7210 * benchtests/bench-memmove.c: New file.
7211 * benchtests/bench-mempcpy-ifunc.c: New file.
7212 * benchtests/bench-mempcpy.c: New file.
7213 * benchtests/bench-memset-ifunc.c: New file.
7214 * benchtests/bench-memset.c: New file.
7215 * benchtests/bench-rawmemchr-ifunc.c: New file.
7216 * benchtests/bench-rawmemchr.c: New file.
7217 * benchtests/bench-stpcpy-ifunc.c: New file.
7218 * benchtests/bench-stpcpy.c: New file.
7219 * benchtests/bench-stpncpy-ifunc.c: New file.
7220 * benchtests/bench-stpncpy.c: New file.
7221 * benchtests/bench-strcasecmp-ifunc.c: New file.
7222 * benchtests/bench-strcasecmp.c: New file.
7223 * benchtests/bench-strcasestr-ifunc.c: New file.
7224 * benchtests/bench-strcasestr.c: New file.
7225 * benchtests/bench-strcat-ifunc.c: New file.
7226 * benchtests/bench-strcat.c: New file.
7227 * benchtests/bench-strchr-ifunc.c: New file.
7228 * benchtests/bench-strchr.c: New file.
7229 * benchtests/bench-strchrnul-ifunc.c: New file.
7230 * benchtests/bench-strchrnul.c: New file.
7231 * benchtests/bench-strcmp-ifunc.c: New file.
7232 * benchtests/bench-strcmp.c: New file.
7233 * benchtests/bench-strcpy-ifunc.c: New file.
7234 * benchtests/bench-strcpy.c: New file.
7235 * benchtests/bench-strcspn-ifunc.c: New file.
7236 * benchtests/bench-strcspn.c: New file.
7237 * benchtests/bench-strlen-ifunc.c: New file.
7238 * benchtests/bench-strlen.c: New file.
7239 * benchtests/bench-strncasecmp-ifunc.c: New file.
7240 * benchtests/bench-strncasecmp.c: New file.
7241 * benchtests/bench-strncat-ifunc.c: New file.
7242 * benchtests/bench-strncat.c: New file.
7243 * benchtests/bench-strncmp-ifunc.c: New file.
7244 * benchtests/bench-strncmp.c: New file.
7245 * benchtests/bench-strncpy-ifunc.c: New file.
7246 * benchtests/bench-strncpy.c: New file.
7247 * benchtests/bench-strnlen-ifunc.c: New file.
7248 * benchtests/bench-strnlen.c: New file.
7249 * benchtests/bench-strpbrk-ifunc.c: New file.
7250 * benchtests/bench-strpbrk.c: New file.
7251 * benchtests/bench-strrchr-ifunc.c: New file.
7252 * benchtests/bench-strrchr.c: New file.
7253 * benchtests/bench-strspn-ifunc.c: New file.
7254 * benchtests/bench-strspn.c: New file.
7255 * benchtests/bench-strstr-ifunc.c: New file.
7256 * benchtests/bench-strstr.c: New file.
7257
c1f75dc3
SP
7258 * benchtests/Makefile: Disable parallel execution of targets.
7259 (string-bench): Add memcpy.
7260 (benchset): New variable to store a list of benchmark sets.
7261 (bench-func): Renamed from bench.
7262 (bench-set): New target.
7263 (bench): Depend on bench-func and bench-set.
7264 * benchtests/README: Add section on benchmark sets.
7265 * benchtests/bench-memcpy-ifunc.c: New file.
7266 * benchtests/bench-memcpy.c: New file.
7267 * benchtests/bench-string.h: New file.
7268
50fd745b
AS
72692013-06-11 Andreas Schwab <schwab@suse.de>
7270
7271 [BZ #15577]
7272 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7273 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7274 values in the triple.
7275 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7276 terminator in the group key.
7277
3ee7e9fe
AJ
72782013-06-11 Andreas Jaeger <aj@suse.de>
7279
7280 * po/zh_TW.po: Update Chinese (traditional) translation from
7281 translation project.
7282
89fb6835
SP
72832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7284
7285 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7286 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7287 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7289 (clock_getcpuclockid): Likewise.
7290 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7291 Add weak_alias and libc_hidden_def.
7292 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7293 * rt/clock_gettime.c (clock_gettime): Rename to
7294 __clock_gettime. Add weak_alias and libc_hidden_def.
7295 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7296 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7297 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7298 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7299 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7300 Likewise.
7301 * rt/clock_settime.c (clock_settime): Rename to
7302 __clock_settime. Add weak_alias and libc_hidden_def.
7303 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7304
0efa6f8b
JM
73052013-06-10 Joseph Myers <joseph@codesourcery.com>
7306
b8c61b4b
JM
7307 * mach/err_boot.sub: Remove trailing whitespace.
7308 * mach/err_ipc.sub: Likewise.
7309 * mach/err_mach.sub: Likewise.
7310
0efa6f8b
JM
7311 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7312 (ROUNDING_TESTS_double): Likewise.
7313 (ROUNDING_TESTS_long_double): Likewise.
7314 (ROUNDING_TESTS): Likewise.
7315 * math/libm-test.inc: Include <math-tests.h>.
7316 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7317 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7318 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7319 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7320
50b818bf
SP
73212013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7322
7323 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7324 of assigning.
7325
60d2f8f3
JM
73262013-06-08 Joseph Myers <joseph@codesourcery.com>
7327
4902d2c3
JM
7328 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7329 otherwise empty TRANS lines.
7330 * sysdeps/gnu/errlist.c: Regenerated.
7331
60d2f8f3
JM
7332 * catgets/gencat.c (error_print): Use (void) in function
7333 definition.
7334 * crypt/crypt_util.c (__init_des): Likewise.
7335 * crypt/speeds.c (Stop): Likewise.
7336 (main): Likewise.
7337 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7338 * inet/ruserpass.c (token): Likewise.
7339 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7340 * intl/localealias.c (extend_alias_table): Likewise.
7341 * intl/plural-exp.c (init_germanic_plural): Likewise.
7342 * libio/fcloseall.c (__fcloseall): Likewise.
7343 * libio/genops.c (_IO_flush_all): Likewise.
7344 (_IO_flush_all_linebuffered): Likewise.
7345 (_IO_cleanup): Likewise.
7346 (_IO_iter_begin): Likewise.
7347 (_IO_iter_end): Likewise.
7348 (_IO_list_lock): Likewise.
7349 (_IO_list_unlock): Likewise.
7350 (_IO_list_resetlock): Likewise.
7351 * libio/getchar.c (getchar): Likewise.
7352 * libio/getchar_u.c (getchar_unlocked): Likewise.
7353 * libio/getwchar.c (getwchar): Likewise.
7354 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7355 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7356 * login/getpt.c (__getpt): Likewise.
7357 * login/tst-utmp.c (main): Likewise.
7358 * malloc/hooks.c (__malloc_check_init): Likewise.
7359 * malloc/malloc.c (__malloc_stats): Likewise.
7360 * malloc/mtrace.c (tr_break): Likewise.
7361 (mtrace): Likewise.
7362 (muntrace): Likewise.
7363 * misc/fstab.c (endfsent): Likewise.
7364 * misc/getclktck.c (__getclktck): Likewise.
7365 * misc/getdtsz.c (__getdtablesize): Likewise.
7366 * misc/gethostid.c (gethostid): Likewise.
7367 * misc/getpagesize.c (__getpagesize): Likewise.
7368 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7369 (__get_nprocs): Likewise.
7370 (__get_phys_pages): Likewise.
7371 (__get_avphys_pages): Likewise.
7372 * misc/getttyent.c (getttyent): Likewise.
7373 (setttyent): Likewise.
7374 (endttyent): Likewise.
7375 * misc/getusershell.c (getusershell): Likewise.
7376 (endusershell): Likewise.
7377 (setusershell): Likewise.
7378 (initshells): Likewise.
7379 * misc/hsearch.c (__hdestroy): Likewise.
7380 * misc/sync.c (sync): Likewise.
7381 * misc/syslog.c (closelog_internal): Likewise.
7382 (closelog): Likewise.
7383 * misc/ttyslot.c (ttyslot): Likewise.
7384 * misc/vhangup.c (vhangup): Likewise.
7385 * posix/fork.c (__fork): Likewise.
7386 * posix/getegid.c (__getegid): Likewise.
7387 * posix/geteuid.c (__geteuid): Likewise.
7388 * posix/getgid.c (__getgid): Likewise.
7389 * posix/getpid.c (__getpid): Likewise.
7390 * posix/getppid.c (__getppid): Likewise.
7391 * posix/getuid.c (__getuid): Likewise.
7392 * posix/pause.c (pause): Likewise.
7393 * posix/setpgrp.c (setpgrp): Likewise.
7394 * posix/setsid.c (__setsid): Likewise.
7395 * posix/test-vfork.c (noop): Likewise.
7396 * resolv/gethnamaddr.c (_endhtent): Likewise.
7397 (_gethtent): Likewise.
7398 (ht_endhostent): Likewise.
7399 (gethostent): Likewise.
7400 (dns_service): Likewise.
7401 * stdlib/drand48.c (drand48): Likewise.
7402 * stdlib/lrand48.c (lrand48): Likewise.
7403 * stdlib/mrand48.c (mrand48): Likewise.
7404 * stdlib/rand.c (rand): Likewise.
7405 * stdlib/random.c (__random): Likewise.
7406 * stdlib/setenv.c (clearenv): Likewise.
7407 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7408 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7409 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7410 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7411 (__get_nprocs): Likewise.
7412 (__get_phys_pages): Likewise.
7413 (__get_avphys_pages): Likewise.
7414 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7415 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7416 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7417 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7418 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7419 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7420 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7421 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7422 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7423 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7424 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7425 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7426 * sysdeps/posix/clock.c (clock): Likewise.
7427 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7428 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7429 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7430 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7431 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7433 (__get_nprocs_conf): Likewise.
7434 (__get_phys_pages): Likewise.
7435 (__get_avphys_pages): Likewise.
7436 * time/clock.c (clock): Likewise.
7437 * time/tzset.c (__tzname_max): Likewise.
7438
2e09a79a
JM
74392013-06-07 Joseph Myers <joseph@codesourcery.com>
7440
7441 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7442 (__bswap_32): Do not use "register".
7443 * crypt/crypt.c (_ufc_doit_r): Likewise.
7444 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7445 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7446 * gmon/gmon.c (__monstartup): Likewise.
7447 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7448 * hurd/hurdmalloc.c (more_memory): Likewise.
7449 (malloc): Likewise.
7450 (free): Likewise.
7451 (realloc): Likewise.
7452 (malloc_fork_prepare): Likewise.
7453 (malloc_fork_parent): Likewise.
7454 (malloc_fork_child): Likewise.
7455 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7456 (_svcauth_des): Likewise.
7457 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7458 * inet/inet_net.c (inet_network): Likewise.
7459 * inet/inet_netof.c (inet_netof): Likewise.
7460 * inet/rcmd.c (__validuser2_sa): Likewise.
7461 * io/fts.c (fts_open): Likewise.
7462 (fts_load): Likewise.
7463 (fts_close): Likewise.
7464 (fts_read): Likewise.
7465 (fts_children): Likewise.
7466 (fts_build): Likewise.
7467 (fts_stat): Likewise.
7468 (fts_sort): Likewise.
7469 (fts_alloc): Likewise.
7470 (fts_lfree): Likewise.
7471 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7472 (_IO_file_xsgetn): Likewise.
7473 (_IO_file_xsgetn_mmap): Likewise.
7474 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7475 (_IO_cookie_write): Likewise.
7476 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7477 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7478 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7479 * malloc/obstack.c (_obstack_begin): Likewise.
7480 (_obstack_begin_1): Likewise.
7481 (_obstack_newchunk): Likewise.
7482 (_obstack_allocated_p): Likewise.
7483 (obstack_free): Likewise.
7484 (_obstack_memory_used): Likewise.
7485 * misc/getttyent.c (getttynam): Likewise.
7486 (getttyent): Likewise.
7487 (skip): Likewise.
7488 (value): Likewise.
7489 * misc/getusershell.c (initshells): Likewise.
7490 * misc/syslog.c (__vsyslog_chk): Likewise.
7491 * misc/ttyslot.c (ttyslot): Likewise.
7492 * nis/nis_hash.c (__nis_hash): Likewise.
7493 * posix/fnmatch_loop.c (FCT): Likewise.
7494 * posix/getconf.c (print_all): Likewise.
7495 (main): Likewise.
7496 * posix/getopt.c (exchange): Likewise.
7497 * posix/glob.c (globfree): Likewise.
7498 (prefix_array): Likewise.
7499 (__glob_pattern_type): Likewise.
7500 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7501 (NS_GET32): Likewise.
7502 (NS_PUT16): Likewise.
7503 (NS_PUT32): Likewise.
7504 * resolv/gethnamaddr.c (getanswer): Likewise.
7505 (gethostbyname2): Likewise.
7506 (gethostbyaddr): Likewise.
7507 (_gethtent): Likewise.
7508 (_gethtbyname2): Likewise.
7509 (_gethtbyaddr): Likewise.
7510 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7511 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7512 * resolv/res_init.c (__res_vinit): Likewise.
7513 (net_mask): Likewise.
7514 * resolv/res_mkquery.c (outchar): Likewise.
7515 (PRINT): Likewise.
7516 * stdio-common/printf_fp.c (outchar): Likewise.
7517 (PRINT): Likewise.
7518 * stdio-common/printf_fphex.c (outchar): Likewise.
7519 (PRINT): Likewise.
7520 * stdio-common/printf_size.c (outchar): Likewise.
7521 (PRINT): Likewise.
7522 * stdio-common/test_rdwr.c (main): Likewise.
7523 * stdio-common/tfformat.c (matches): Likewise.
7524 * stdio-common/vfprintf.c (outchar): Likewise.
7525 (printf_unknown): Likewise.
7526 (buffered_vfprintf): Likewise.
7527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7528 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7529 (ReadFile): Likewise.
7530 * stdlib/qsort.c (SWAP): Likewise.
7531 (_quicksort): Likewise.
7532 * stdlib/setenv.c (__add_to_environ): Likewise.
7533 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7534 * stdlib/strtol_l.c (__strtol_l): Likewise.
7535 * stdlib/tst-strtod.c (main): Likewise.
7536 * stdlib/tst-strtol.c (main): Likewise.
7537 * stdlib/tst-strtoll.c (main): Likewise.
7538 * string/bits/string2.h (__strcmp_cc): Likewise.
7539 (__strcmp_cg): Likewise.
7540 (__strcspn_c1): Likewise.
7541 (__strcspn_c2): Likewise.
7542 (__strcspn_c3): Likewise.
7543 (__strspn_c1): Likewise.
7544 (__strspn_c2): Likewise.
7545 (__strspn_c3): Likewise.
7546 (__strsep_1c): Likewise.
7547 (__strsep_2c): Likewise.
7548 (__strsep_3c): Likewise.
7549 * string/memccpy.c (__memccpy): Likewise.
7550 * string/stpcpy.c (__stpcpy): Likewise.
7551 * string/strcmp.c (strcmp): Likewise.
7552 * string/strrchr.c (strrchr): Likewise.
7553 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7554 Likewise.
7555 * sysdeps/mach/hurd/getcwd.c
7556 (_hurd_canonicalize_directory_name_internal): Likewise.
7557 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7558 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7559 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7560 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7561 Likewise, in both definitions.
7562 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7563 definitions.
7564 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7565 64] (__bswap_64): Likewise.
7566 * time/test_time.c (main): Likewise.
7567 * time/tzfile.c (__tzfile_read): Likewise.
7568 (__tzfile_compute): Likewise.
7569 * time/tzset.c (__tzset_parse_tz): Likewise.
7570 (tzset_internal): Likewise.
7571 (compute_change): Likewise.
7572 * wcsmbs/wcscat.c (__wcscat): Likewise.
7573 * wcsmbs/wcschr.c (wcschr): Likewise.
7574 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7575 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7576 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7577 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7578 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7579 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7580 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7581 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7582 * wcsmbs/wmemset.c (wmemset): Likewise.
7583
9e54314b
JM
75842013-06-06 Joseph Myers <joseph@codesourcery.com>
7585
7586 * scripts/config.guess: Update to version 2013-05-16.
7587 * scripts/config.sub: Update to version 2013-04-24.
7588 * scripts/install-sh: Update to version 2011-11-20.07.
7589 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7590 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7591
350635a5
OB
75922013-06-06 Ondřej Bílka <neleai@seznam.cz>
7593
7594 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7595 * elf/sln.c: Likewise.
7596 * hurd/hurd/ioctl.h: Likewise.
7597 * hurd/hurdmalloc.c: Likewise.
7598 * hurd/xattr.c: Likewise.
7599 * include/shlib-compat.h: Likewise.
7600 * inet/ruserpass.c: Likewise.
7601 * libio/iofgets_u.c: Likewise.
7602 * libio/iofgetws_u.c: Likewise.
7603 * locale/programs/ld-identification.c: Likewise.
7604 * locale/programs/ld-time.c: Likewise.
7605 * mach/msg-destroy.c: Likewise.
7606 * nss/nss_files/files-netgrp.c: Likewise.
7607 * resolv/res_data.c: Likewise.
7608 * soft-fp/op-1.h: Likewise.
7609 * soft-fp/op-2.h: Likewise.
7610 * soft-fp/op-4.h: Likewise.
7611 * soft-fp/op-common.h: Likewise.
7612 * stdio-common/printf_fphex.c: Likewise.
7613 * stdlib/strtod_l.c: Likewise.
7614 * sunrpc/rpc/clnt.h: Likewise.
7615 * sysdeps/generic/framestate.c: Likewise.
7616 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7617 * sysdeps/i386/bsd-setjmp.S: Likewise.
7618 * sysdeps/i386/__longjmp.S: Likewise.
7619 * sysdeps/i386/setjmp.S: Likewise.
7620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7638 * sysdeps/ieee754/support.c: Likewise.
7639 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7640 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7641 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7642 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7643 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7644 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7645 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7646 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7647 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7648 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7649 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7650 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7651 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7652 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7653 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7654 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7655 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7657
44a988af
OB
76582013-06-05 Ondřej Bílka <neleai@seznam.cz>
7659
25506f09 7660 * posix/transbug.c: Remove executable mode.
44a988af 7661
9c84384c
JM
76622013-06-05 Joseph Myers <joseph@codesourcery.com>
7663
7664 * crypt/speeds.c: Remove trailing whitespace.
7665 * dlfcn/default.c: Likewise.
7666 * elf/ifuncdep2.c: Likewise.
7667 * elf/ifuncmain1.c: Likewise.
7668 * elf/ifuncmain1vis.c: Likewise.
7669 * elf/testobj.h: Likewise.
7670 * elf/tst-stackguard1.c: Likewise.
7671 * gmon/sys/gmon.h: Likewise.
7672 * hurd/hurdmsg.c: Likewise.
7673 * hurd/new-fd.c: Likewise.
7674 * hurd/ports-get.c: Likewise.
7675 * iconvdata/ibm1008_420.c: Likewise.
7676 * inet/tst-getni1.c: Likewise.
7677 * inet/tst-getni2.c: Likewise.
7678 * libio/ioungetc.c: Likewise.
7679 * libio/wfiledoalloc.c: Likewise.
7680 * manual/libm-err-tab.pl: Likewise.
7681 * math/w_dremf.c: Likewise.
7682 * misc/ftruncate.c: Likewise.
7683 * posix/bug-glob2.c: Likewise.
7684 * posix/tst-pcre.c: Likewise.
7685 * posix/wait4.c: Likewise.
7686 * resolv/README: Likewise.
7687 * resolv/res_debug.h: Likewise.
7688 * resolv/tst-inet_ntop.c: Likewise.
7689 * setjmp/bug269-setjmp.c: Likewise.
7690 * soft-fp/extended.h: Likewise.
7691 * soft-fp/op-1.h: Likewise.
7692 * soft-fp/op-2.h: Likewise.
7693 * soft-fp/op-4.h: Likewise.
7694 * soft-fp/op-8.h: Likewise.
7695 * soft-fp/testit.c: Likewise.
7696 * stdio-common/bug16.c: Likewise.
7697 * stdlib/random.c: Likewise.
7698 * sunrpc/rpcsvc/rquota.x: Likewise.
7699 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7706 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7707 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7708 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7709 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7728 * sysdeps/ieee754/s_lib_version.c: Likewise.
7729 * sysdeps/mach/hurd/check_fds.c: Likewise.
7730 * sysdeps/mach/hurd/getsockname.c: Likewise.
7731 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7732 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7733 * sysdeps/powerpc/bits/link.h: Likewise.
7734 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7735 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7736 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7737 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7738 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7739 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7740 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7741 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7742 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7743 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7744 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7745 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7746 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7747 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7748 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7749 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7755 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7757 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7758 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7768 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7769 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7770 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7771 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7772 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7773 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7774 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7775 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7776 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7777 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7778 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7779 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7780 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7781 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7783 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7786 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7787 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7788 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7789 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7790 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7791 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7793 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7795 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7796 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7797 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7798 * sysdeps/powerpc/sysdep.h: Likewise.
7799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7800 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7801 * sysdeps/sh/dl-trampoline.S: Likewise.
7802 * sysdeps/sh/memset.S: Likewise.
7803 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7804 * sysdeps/sh/strlen.S: Likewise.
7805 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7806 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7807 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7808 * sysdeps/sparc/sparc32/rem.S: Likewise.
7809 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7810 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7811 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7812 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7813 * sysdeps/sparc/sparc32/urem.S: Likewise.
7814 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7815 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7816 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7817 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7819 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7820 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7821 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7822 * sysdeps/unix/bsd/times.c: Likewise.
7823 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7824 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7830 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7831 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7832 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7834 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7835 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7836 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7837 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7838 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7839 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7840 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7841 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7842 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7843 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7844 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7845 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7846 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7847 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7848 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7851 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7852 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7853 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7854 * sysdeps/x86_64/strcspn.S: Likewise.
7855
869378a5
RA
78562013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7857
7858 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7859 generated file. Regenerate properly from gen-translit.pl.
7860 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7861 locale/C-translit.h.
7862
840e2943
AS
78632013-06-05 Andreas Schwab <schwab@suse.de>
7864
7865 [BZ #15100]
7866 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7867 week as 6 instead of -1.
7868 * time/tst-strptime.c (day_tests): Add test case.
7869
4c60cb0c
SP
78702013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7871
7872 * sysdeps/generic/math_private.h
7873 (libc_feholdexcept_setround_53bit): Replace with
7874 libc_feholdsetround_53bit.
7875 (libc_feupdateenv_53bit): Replace with
7876 libc_feresetround_53bit.
7877 (SET_RESTORE_ROUND_53BIT): Adjust.
7878
d180203e
SP
78792013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
96df079a
SP
7881 * string/test-strchrnul.c: Add copyright header.
7882
d180203e
SP
7883 * posix/tst-getaddrinfo4.c: Increase test timeout.
7884
8b0ccb2d
CD
78852013-06-03 Carlos O'Donell <carlos@redhat.com>
7886
7887 [BZ #15536]
7888 * math/libm-test.inc (MAX_EXP): Remove
7889 (MIN_EXP): Define.
7890 (ulp): Use MIN_EXP - MANT_DIG.
7891 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7892
3b3c4d40
CD
78932013-05-31 Carlos O'Donell <carlos@redhat.com>
7894
7895 * po/be.po: Revert last change.
7896 * po/zh_CN.po: Likewise.
7897 * po/header.pot: Likewise.
7898
fab7ce3f
JM
78992013-05-31 Joseph Myers <joseph@codesourcery.com>
7900
7901 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7902 link-libc-deps to empty as target-specific variable.
7903 * Makerules (link-libc-args): New variable.
7904 (libc-for-link): Likewise.
7905 (link-libc-deps): Likewise.
7906 (lib%.so): Depend on $(link-libc-deps). Link with
7907 $(link-libc-args).
7908 (build-module): Link with $(link-libc-args).
7909 (build-module-asneeded): Likewise.
7910 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7911 list of objects.
7912 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7913 target-specific variable.
7914 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7915 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7916 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7917 libc.
7918 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7919 libc and ld.so.
7920 ($(objpfx)libpcprofile.so): Likewise.
7921 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7922 libc_nonshared.a.
7923 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7924 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7925 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7926 $(link-libc-deps).
7927 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7928 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7929 * login/Makefile ($(objpfx)libutil.so): Likewise.
7930 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7931 * math/Makefile ($(objpfx)libm.so): Likewise.
7932 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7933 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7934 variable instead of depending directly on libc.
7935 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7936 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7937 $(link-libc-deps).
7938 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7939 libc.
7940 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7941 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7942 ($(objpfx)libanl.so): Likewise.
7943 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7944 ld.so.
7945 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7946 $(link-libc-deps).
7947 * sysdeps/i386/fpu/Makefile: Remove file.
7948 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7949 ($(objpfx)libm.so): Remove dependency on ld.so.
7950
eca5920c
PF
79512013-05-30 Patsy Franklin <pfrankli@redhat.com>
7952
7953 [BZ # 15553]
7954 * nis/yp_xdr.c (XDRMAXNAME): Define.
7955 (XDRMAXRECORD): Define.
7956 (xdr_domainname): Use XDRMAXNAME.
7957 (xdr_mapname): Likewise.
7958 (xdr_peername): Likewise.
7959 (xdr_keydat): Use XDRMAXRECORD.
7960 (xdr_valdat): Likewise.
7961
79622013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7963
7964 [BZ #14256]
7965 * manual/errno.texi (ESTALE): Update to account for more than
7966 just NFS file systems.
7967 * sysdeps/gnu/errlist.c: Regenerated.
7968
b9375348
SP
79692013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
7971 [BZ #15465]
7972 * elf/Makefile (tests): Add tst-null-argv.
7973 (modules-names): Add tst-null-argv-lib.
7974 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7975 (tst-null-argv-ENV): Set environment for tst-null-argv.
7976 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7977 (RTLD_PROGNAME): New macro.
7978 * elf/tst-null-argv.c: New test case.
7979 * elf/tst-null-argv-lib.c: Library for test case.
7980 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7981 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7982 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7983 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7984 * elf/dl-init.c (call_init): Likewise.
7985 (_dl_init): Likewise.
7986 * elf/dl-load.c (print_search_path): Likewise.
7987 (_dl_map_object): Likewise.
7988 * elf/dl-lookup.c (do_lookup_x): Likewise.
7989 (add_dependency): Likewise.
7990 (_dl_lookup_symbol_x): Likewise.
7991 (_dl_debug_bindings): Likewise.
7992 * elf/dl-open.c (_dl_show_scope): Likewise.
7993 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7994 * elf/dl-version.c (match_symbol): Likewise.
7995 (_dl_check_map_versions): Likewise.
7996 * elf/rtld.c (dl_main): Likewise.
7997 (print_unresolved): Use RTLD_PROGNAME.
7998 (print_missing_version): Likewise.
7999 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8000 (elf_machine_rela): Likewise.
8001 * sysdeps/powerpc/powerpc32/dl-machine.c
8002 (__process_machine_rela): Likewise.
8003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8004 Likewise.
8005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8006 Likewise.
8007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8008 Likewise.
8009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8011 Likewise.
8012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8013 Likewise.
8014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8015
8a9f20c8
CD
80162013-05-28 Carlos O'Donell <carlos@redhat.com>
8017
8018 * po/be.po: Add descriptive title.
8019 * po/zh_CN.po: Likewise.
8020 * po/header.pot: Likewise.
8021
0e60d68e
MF
80222013-05-28 Mike Frysinger <vapier@gentoo.org>
8023
8024 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8025 error message.
8026 (enlarge_archive): Likewise.
8027
56b672e9
BN
80282013-05-28 Ben North <ben@redfrontdoor.org>
8029
8030 * manual/arith.texi (frexp): It is the magnitude of the return
8031 value which lies in [0.5, 1), not the return value itself.
8032
5e056687
AZ
80332013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034
8035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8036
2b66ef5d
TS
80372013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8038
528c2405
TS
8039 * stdio-common/bug26.c (main): Correct fscanf template.
8040
07b4c13d
TS
8041 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8042 declare _dl_skip_args.
8043
ec9dd97c
TS
8044 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8045 Don't declare.
8046
2b66ef5d
TS
8047 * manual/platform.texi: Add missing @end deftypefun.
8048
4f8dfe27
JM
80492013-05-24 Joseph Myers <joseph@codesourcery.com>
8050
0323d086
JM
8051 [BZ #15529]
8052 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8053 bit of mantissa of 2^16382.
8054 * math/libm-test.inc (hypot_test_data): Add more tests.
8055
dd4259b9
JM
8056 * math/libm-test.inc: Add drem and pow10 to list of tested
8057 functions.
8058 (pow10_test): New function.
8059 (drem_test): Likewise.
8060 (drem_test_tonearest): Likewise.
8061 (drem_test_towardzero): Likewise.
8062 (drem_test_downward): Likewise.
8063 (drem_test_upward): Likewise.
8064 (main): Call the new functions.
8065
4f8dfe27
JM
8066 * math/libm-test.inc (finite_test_data): Remove.
8067 (finite_test): Run tests from isfinite_test_data.
8068 (gamma_test_data): Remove.
8069 (gamma_test): Run tests from lgamma_test_data.
8070 * sysdeps/i386/fpu/libm-test-ulps: Update.
8071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8072
d116b7c4
AZ
80732013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8074
8075 * manual/platform.texi: Add PowerPC PPR function set documentation.
8076 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8077 implementation.
8078
e96e3767
CD
80792013-05-24 Carlos O'Donell <carlos@redhat.com>
8080
8081 * math/libm-test.inc (MAX_EXP): Define.
8082 (ULPDIFF): Define.
8083 (ulp): New function.
8084 (check_float_internal): Use ULPDIFF.
8085 (cpow_test): Disable failing test.
8086 (check_ulp): Test ulp() implemetnation.
8087 (main): Call check_ulp before starting tests.
8088
b679a606
JM
80892013-05-24 Joseph Myers <joseph@codesourcery.com>
8090
e8bdba36
JM
8091 * math/gen-libm-test.pl (generate_testfile): Do not handle
8092 START_DATA and END_DATA.
8093 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8094 END_DATA.
8095 (acos_tonearest_test_data): Likewise.
8096 (acos_towardzero_test_data): Likewise.
8097 (acos_downward_test_data): Likewise.
8098 (acos_upward_test_data): Likewise.
8099 (acosh_test_data): Likewise.
8100 (asin_test_data): Likewise.
8101 (asin_tonearest_test_data): Likewise.
8102 (asin_towardzero_test_data): Likewise.
8103 (asin_downward_test_data): Likewise.
8104 (asin_upward_test_data): Likewise.
8105 (asinh_test_data): Likewise.
8106 (atan_test_data): Likewise.
8107 (atanh_test_data): Likewise.
8108 (atan2_test_data): Likewise.
8109 (cabs_test_data): Likewise.
8110 (cacos_test_data): Likewise.
8111 (cacosh_test_data): Likewise.
8112 (carg_test_data): Likewise.
8113 (casin_test_data): Likewise.
8114 (casinh_test_data): Likewise.
8115 (catan_test_data): Likewise.
8116 (catanh_test_data): Likewise.
8117 (cbrt_test_data): Likewise.
8118 (ccos_test_data): Likewise.
8119 (ccosh_test_data): Likewise.
8120 (ceil_test_data): Likewise.
8121 (cexp_test_data): Likewise.
8122 (cimag_test_data): Likewise.
8123 (clog_test_data): Likewise.
8124 (clog10_test_data): Likewise.
8125 (conj_test_data): Likewise.
8126 (copysign_test_data): Likewise.
8127 (cos_test_data): Likewise.
8128 (cos_tonearest_test_data): Likewise.
8129 (cos_towardzero_test_data): Likewise.
8130 (cos_downward_test_data): Likewise.
8131 (cos_upward_test_data): Likewise.
8132 (cosh_test_data): Likewise.
8133 (cosh_tonearest_test_data): Likewise.
8134 (cosh_towardzero_test_data): Likewise.
8135 (cosh_downward_test_data): Likewise.
8136 (cosh_upward_test_data): Likewise.
8137 (cpow_test_data): Likewise.
8138 (cproj_test_data): Likewise.
8139 (creal_test_data): Likewise.
8140 (csin_test_data): Likewise.
8141 (csinh_test_data): Likewise.
8142 (csqrt_test_data): Likewise.
8143 (ctan_test_data): Likewise.
8144 (ctan_tonearest_test_data): Likewise.
8145 (ctan_towardzero_test_data): Likewise.
8146 (ctan_downward_test_data): Likewise.
8147 (ctan_upward_test_data): Likewise.
8148 (ctanh_test_data): Likewise.
8149 (ctanh_tonearest_test_data): Likewise.
8150 (ctanh_towardzero_test_data): Likewise.
8151 (ctanh_downward_test_data): Likewise.
8152 (ctanh_upward_test_data): Likewise.
8153 (erf_test_data): Likewise.
8154 (erfc_test_data): Likewise.
8155 (exp_test_data): Likewise.
8156 (exp_tonearest_test_data): Likewise.
8157 (exp_towardzero_test_data): Likewise.
8158 (exp_downward_test_data): Likewise.
8159 (exp_upward_test_data): Likewise.
8160 (exp10_test_data): Likewise.
8161 (exp2_test_data): Likewise.
8162 (expm1_test_data): Likewise.
8163 (fabs_test_data): Likewise.
8164 (fdim_test_data): Likewise.
8165 (finite_test_data): Likewise.
8166 (floor_test_data): Likewise.
8167 (fma_test_data): Likewise.
8168 (fma_towardzero_test_data): Likewise.
8169 (fma_downward_test_data): Likewise.
8170 (fma_upward_test_data): Likewise.
8171 (fmax_test_data): Likewise.
8172 (fmin_test_data): Likewise.
8173 (fmod_test_data): Likewise.
8174 (fpclassify_test_data): Likewise.
8175 (frexp_test_data): Likewise.
8176 (gamma_test_data): Likewise.
8177 (hypot_test_data): Likewise.
8178 (ilogb_test_data): Likewise.
8179 (isfinite_test_data): Likewise.
8180 (isgreater_test_data): Likewise.
8181 (isgreaterequal_test_data): Likewise.
8182 (isinf_test_data): Likewise.
8183 (isless_test_data): Likewise.
8184 (islessequal_test_data): Likewise.
8185 (islessgreater_test_data): Likewise.
8186 (isnan_test_data): Likewise.
8187 (isnormal_test_data): Likewise.
8188 (issignaling_test_data): Likewise.
8189 (isunordered_test_data): Likewise.
8190 (j0_test_data): Likewise.
8191 (j1_test_data): Likewise.
8192 (jn_test_data): Likewise.
8193 (ldexp_test_data): Likewise.
8194 (lgamma_test_data): Likewise.
8195 (lrint_test_data): Likewise.
8196 (lrint_tonearest_test_data): Likewise.
8197 (lrint_towardzero_test_data): Likewise.
8198 (lrint_downward_test_data): Likewise.
8199 (lrint_upward_test_data): Likewise.
8200 (llrint_test_data): Likewise.
8201 (llrint_tonearest_test_data): Likewise.
8202 (llrint_towardzero_test_data): Likewise.
8203 (llrint_downward_test_data): Likewise.
8204 (llrint_upward_test_data): Likewise.
8205 (log_test_data): Likewise.
8206 (log10_test_data): Likewise.
8207 (log1p_test_data): Likewise.
8208 (log2_test_data): Likewise.
8209 (logb_test_data): Likewise.
8210 (logb_downward_test_data): Likewise.
8211 (lround_test_data): Likewise.
8212 (llround_test_data): Likewise.
8213 (modf_test_data): Likewise.
8214 (nearbyint_test_data): Likewise.
8215 (nextafter_test_data): Likewise.
8216 (nexttoward_test_data): Likewise.
8217 (pow_test_data): Likewise.
8218 (pow_tonearest_test_data): Likewise.
8219 (pow_towardzero_test_data): Likewise.
8220 (pow_downward_test_data): Likewise.
8221 (pow_upward_test_data): Likewise.
8222 (remainder_test_data): Likewise.
8223 (remainder_tonearest_test_data): Likewise.
8224 (remainder_towardzero_test_data): Likewise.
8225 (remainder_downward_test_data): Likewise.
8226 (remainder_upward_test_data): Likewise.
8227 (remquo_test_data): Likewise.
8228 (rint_test_data): Likewise.
8229 (rint_tonearest_test_data): Likewise.
8230 (rint_towardzero_test_data): Likewise.
8231 (rint_downward_test_data): Likewise.
8232 (rint_upward_test_data): Likewise.
8233 (round_test_data): Likewise.
8234 (scalb_test_data): Likewise.
8235 (scalbn_test_data): Likewise.
8236 (scalbln_test_data): Likewise.
8237 (signbit_test_data): Likewise.
8238 (sin_test_data): Likewise.
8239 (sin_tonearest_test_data): Likewise.
8240 (sin_towardzero_test_data): Likewise.
8241 (sin_downward_test_data): Likewise.
8242 (sin_upward_test_data): Likewise.
8243 (sincos_test_data): Likewise.
8244 (sinh_test_data): Likewise.
8245 (sinh_tonearest_test_data): Likewise.
8246 (sinh_towardzero_test_data): Likewise.
8247 (sinh_downward_test_data): Likewise.
8248 (sinh_upward_test_data): Likewise.
8249 (sqrt_test_data): Likewise.
8250 (tan_test_data): Likewise.
8251 (tan_tonearest_test_data): Likewise.
8252 (tan_towardzero_test_data): Likewise.
8253 (tan_downward_test_data): Likewise.
8254 (tan_upward_test_data): Likewise.
8255 (tanh_test_data): Likewise.
8256 (tgamma_test_data): Likewise.
8257 (trunc_test_data): Likewise.
8258 (y0_test_data): Likewise.
8259 (y1_test_data): Likewise.
8260 (yn_test_data): Likewise.
8261 (significand_test_data): Likewise.
8262
b679a606
JM
8263 * math/gen-libm-test.pl (@functions): Remove variable.
8264 (generate_testfile): Don't handle START and END lines.
8265 * math/libm-test.inc (START): New macro.
8266 (END): Likewise.
8267 (END_COMPLEX): Likewise.
8268 (acos_test): Use END macro without arguments.
8269 (acos_test_tonearest): Likewise.
8270 (acos_test_towardzero): Likewise.
8271 (acos_test_downward): Likewise.
8272 (acos_test_upward): Likewise.
8273 (acosh_test): Likewise.
8274 (asin_test): Likewise.
8275 (asin_test_tonearest): Likewise.
8276 (asin_test_towardzero): Likewise.
8277 (asin_test_downward): Likewise.
8278 (asin_test_upward): Likewise.
8279 (asinh_test): Likewise.
8280 (atan_test): Likewise.
8281 (atanh_test): Likewise.
8282 (atan2_test): Likewise.
8283 (cabs_test): Likewise.
8284 (cacos_test): Use END_COMPLEX macro without arguments.
8285 (cacosh_test): Likewise.
8286 (carg_test): Use END macro without arguments.
8287 (casin_test): Use END_COMPLEX macro without arguments.
8288 (casinh_test): Likewise.
8289 (catan_test): Likewise.
8290 (catanh_test): Likewise.
8291 (cbrt_test): Use END macro without arguments.
8292 (ccos_test): Use END_COMPLEX macro without arguments.
8293 (ccosh_test): Likewise.
8294 (ceil_test): Use END macro without arguments.
8295 (cexp_test): Use END_COMPLEX macro without arguments.
8296 (cimag_test): Use END macro without arguments.
8297 (clog_test): Use END_COMPLEX macro without arguments.
8298 (clog10_test): Likewise.
8299 (conj_test): Likewise.
8300 (copysign_test): Use END macro without arguments.
8301 (cos_test): Likewise.
8302 (cos_test_tonearest): Likewise.
8303 (cos_test_towardzero): Likewise.
8304 (cos_test_downward): Likewise.
8305 (cos_test_upward): Likewise.
8306 (cosh_test): Likewise.
8307 (cosh_test_tonearest): Likewise.
8308 (cosh_test_towardzero): Likewise.
8309 (cosh_test_downward): Likewise.
8310 (cosh_test_upward): Likewise.
8311 (cpow_test): Use END_COMPLEX macro without arguments.
8312 (cproj_test): Likewise.
8313 (creal_test): Use END macro without arguments.
8314 (csin_test): Use END_COMPLEX macro without arguments.
8315 (csinh_test): Likewise.
8316 (csqrt_test): Likewise.
8317 (ctan_test): Likewise.
8318 (ctan_test_tonearest): Likewise.
8319 (ctan_test_towardzero): Likewise.
8320 (ctan_test_downward): Likewise.
8321 (ctan_test_upward): Likewise.
8322 (ctanh_test): Likewise.
8323 (ctanh_test_tonearest): Likewise.
8324 (ctanh_test_towardzero): Likewise.
8325 (ctanh_test_downward): Likewise.
8326 (ctanh_test_upward): Likewise.
8327 (erf_test): Use END macro without arguments.
8328 (erfc_test): Likewise.
8329 (exp_test): Likewise.
8330 (exp_test_tonearest): Likewise.
8331 (exp_test_towardzero): Likewise.
8332 (exp_test_downward): Likewise.
8333 (exp_test_upward): Likewise.
8334 (exp10_test): Likewise.
8335 (exp2_test): Likewise.
8336 (expm1_test): Likewise.
8337 (fabs_test): Likewise.
8338 (fdim_test): Likewise.
8339 (finite_test): Likewise.
8340 (floor_test): Likewise.
8341 (fma_test): Likewise.
8342 (fma_test_towardzero): Likewise.
8343 (fma_test_downward): Likewise.
8344 (fma_test_upward): Likewise.
8345 (fmax_test): Likewise.
8346 (fmin_test): Likewise.
8347 (fmod_test): Likewise.
8348 (fpclassify_test): Likewise.
8349 (frexp_test): Likewise.
8350 (gamma_test): Likewise.
8351 (hypot_test): Likewise.
8352 (ilogb_test): Likewise.
8353 (isfinite_test): Likewise.
8354 (isgreater_test): Likewise.
8355 (isgreaterequal_test): Likewise.
8356 (isinf_test): Likewise.
8357 (isless_test): Likewise.
8358 (islessequal_test): Likewise.
8359 (islessgreater_test): Likewise.
8360 (isnan_test): Likewise.
8361 (isnormal_test): Likewise.
8362 (issignaling_test): Likewise.
8363 (isunordered_test): Likewise.
8364 (j0_test): Likewise.
8365 (j1_test): Likewise.
8366 (jn_test): Likewise.
8367 (ldexp_test): Likewise.
8368 (lgamma_test): Likewise.
8369 (lrint_test): Likewise.
8370 (lrint_test_tonearest): Likewise.
8371 (lrint_test_towardzero): Likewise.
8372 (lrint_test_downward): Likewise.
8373 (lrint_test_upward): Likewise.
8374 (llrint_test): Likewise.
8375 (llrint_test_tonearest): Likewise.
8376 (llrint_test_towardzero): Likewise.
8377 (llrint_test_downward): Likewise.
8378 (llrint_test_upward): Likewise.
8379 (log_test): Likewise.
8380 (log10_test): Likewise.
8381 (log1p_test): Likewise.
8382 (log2_test): Likewise.
8383 (logb_test): Likewise.
8384 (logb_test_downward): Likewise.
8385 (lround_test): Likewise.
8386 (llround_test): Likewise.
8387 (modf_test): Likewise.
8388 (nearbyint_test): Likewise.
8389 (nextafter_test): Likewise.
8390 (nexttoward_test): Likewise.
8391 (pow_test): Likewise.
8392 (pow_test_tonearest): Likewise.
8393 (pow_test_towardzero): Likewise.
8394 (pow_test_downward): Likewise.
8395 (pow_test_upward): Likewise.
8396 (remainder_test): Likewise.
8397 (remainder_test_tonearest): Likewise.
8398 (remainder_test_towardzero): Likewise.
8399 (remainder_test_downward): Likewise.
8400 (remainder_test_upward): Likewise.
8401 (remquo_test): Likewise.
8402 (rint_test): Likewise.
8403 (rint_test_tonearest): Likewise.
8404 (rint_test_towardzero): Likewise.
8405 (rint_test_downward): Likewise.
8406 (rint_test_upward): Likewise.
8407 (round_test): Likewise.
8408 (scalb_test): Likewise.
8409 (scalbn_test): Likewise.
8410 (scalbln_test): Likewise.
8411 (signbit_test): Likewise.
8412 (sin_test): Likewise.
8413 (sin_test_tonearest): Likewise.
8414 (sin_test_towardzero): Likewise.
8415 (sin_test_downward): Likewise.
8416 (sin_test_upward): Likewise.
8417 (sincos_test): Likewise.
8418 (sinh_test): Likewise.
8419 (sinh_test_tonearest): Likewise.
8420 (sinh_test_towardzero): Likewise.
8421 (sinh_test_downward): Likewise.
8422 (sinh_test_upward): Likewise.
8423 (sqrt_test): Likewise.
8424 (tan_test): Likewise.
8425 (tan_test_tonearest): Likewise.
8426 (tan_test_towardzero): Likewise.
8427 (tan_test_downward): Likewise.
8428 (tan_test_upward): Likewise.
8429 (tanh_test): Likewise.
8430 (tgamma_test): Likewise.
8431 (trunc_test): Likewise.
8432 (y0_test): Likewise.
8433 (y1_test): Likewise.
8434 (yn_test): Likewise.
8435 (significand_test): Likewise.
8436
bae143d2
OB
84372013-05-24 Ondřej Bílka <neleai@seznam.cz>
8438
8439 [BZ #15381]
8440 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8441
9323d39b
EM
84422013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8443
d4ea44a0 8444 [BZ #14894]
9323d39b
EM
8445 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8446 __ppc_mdoio and __ppc_mdoom.
8447 * manual/platform.texi: Document new functions __ppc_yield,
8448 __ppc_mdoio and __ppc_mdoom.
8449
13e23af7
CD
84502013-05-22 Carlos O'Donell <carlos@redhat.com>
8451
8452 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8453 (main): Mention "tls" pseudo-hwcap is legacy.
8454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8455
351fe550
JM
84562013-05-22 Joseph Myers <joseph@codesourcery.com>
8457
8458 * math/gen-libm-test.pl (parse_args): Output only string of
8459 arguments as text for test name, not full call or descriptions of
8460 tests for extra outputs.
8461 (generate_testfile): Do not pass function name to parse_args.
8462 Generate this_func variable from START.
8463 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8464 field to arg_str.
8465 (struct test_ff_f_data): Likewise.
8466 (test_ff_f_data_nexttoward): Likewise.
8467 (struct test_fi_f_data): Likewise.
8468 (struct test_fl_f_data): Likewise.
8469 (struct test_if_f_data): Likewise.
8470 (struct test_fff_f_data): Likewise.
8471 (struct test_c_f_data): Likewise.
8472 (struct test_f_f1_data): Likewise. Remove field extra_name.
8473 (struct test_fF_f1_data): Likewise.
8474 (struct test_ffI_f1_data): Likewise.
8475 (struct test_c_c_data): Rename test_name field to arg_str.
8476 (struct test_cc_c_data): Likewise.
8477 (struct test_f_i_data): Likewise.
8478 (struct test_ff_i_data): Likewise.
8479 (struct test_f_l_data): Likewise.
8480 (struct test_f_L_data): Likewise.
8481 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8482 and extra2_name.
8483 (COMMON_TEST_SETUP): New macro.
8484 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8485 (COMMON_TEST_CLEANUP): Likewise.
8486 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8487 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8488 macros.
8489 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8490 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8491 macros.
8492 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8493 (RUN_TEST_fff_f): Take argument string. Call new setup and
8494 cleanup macros.
8495 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8496 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8497 macros.
8498 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8499 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8500 macros.
8501 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8502 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8503 cleanup macros.
8504 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8505 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8506 cleanup macros.
8507 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8508 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8509 cleanup macros.
8510 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8511 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8512 macros.
8513 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8514 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8515 macros.
8516 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8517 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8518 macros.
8519 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8520 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8521 cleanup macros.
8522 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8523 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8524 cleanup macros.
8525 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8526 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8527 macros.
8528 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8529 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8530 cleanup macros.
8531 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8532 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8533 macros.
8534 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8535 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8536 macros.
8537 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8538 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8539 cleanup macros.
8540 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8541
85118d4d
EBM
85422013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8543
8544 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8545 to _sifields.sigfault.
8546 (si_addr_lsb): Define new macro.
8547 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8549 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8550
7a44c18f
CD
85512013-05-03 Carlos O'Donell <carlos at redhat.com>
8552
8553 [BZ #15441]
8554 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8555 returns -1.
8556 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8557 null return -1.
8558 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8559 loading the domain.
8560
b50a7181
JM
85612013-05-22 Joseph Myers <joseph@codesourcery.com>
8562
8563 * math/gen-libm-test.pl (parse_args): Do not include expected
8564 result in test name.
8565 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8566 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8567 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8568 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8569 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8571
051063c8
SP
85722013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8573
3ce9e010
SP
8574 * benchtests/Makefile: Sort function entries.
8575
051063c8
SP
8576 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8577 tanh, asinh, acosh, atanh.
8578 * benchtests/acos-inputs: New file.
8579 * benchtests/acosh-inputs: New file.
8580 * benchtests/asin-inputs: New file.
8581 * benchtests/asinh-inputs: New file.
8582 * benchtests/atanh-inputs: New file.
8583 * benchtests/cosh-inputs: New file.
8584 * benchtests/log-inputs: New file.
8585 * benchtests/sinh-inputs: New file.
8586 * benchtests/tanh-inputs: New file.
8587
47c22455
DL
85882013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8589
8590 [BZ #15339]
8591 * posix/tst-getaddrinfo4.c: New test.
8592 * posix/Makefile (tests): Add it.
8593
3d04f5db
SP
85942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
8596 [BZ #15339]
8597 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8598 when no services were used.
8599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8600 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8601
d5dd6189
AS
86022013-05-21 Andreas Schwab <schwab@suse.de>
8603
8604 [BZ #15014]
8605 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8606 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8607 successful.
8608 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8609 redundant variable declarations and reallocation of buffer when
8610 parsing as IPv6 address. Always set NSS status when called from
8611 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8612 buffer too small. Correct computation of needed size.
8613 * nss/Makefile (tests): Add test-digits-dots.
8614 * nss/test-digits-dots.c: New test.
8615
fef94eab
SP
86162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
8618 * benchtests/Makefile: Remove instructions for adding
8619 benchmark tests.
8620 * benchtests/README: New file to explain how to execute and
8621 enhance the benchmark tests.
8622
e39adf43
AS
86232013-05-21 Andreas Schwab <schwab@suse.de>
8624
8625 [BZ #15493]
8626 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8627 * setjmp/tst-sigsetjmp.c: New test.
8628
b2b671b6
OB
86292013-05-20 Ondřej Bílka <neleai@seznam.cz>
8630
8631 * sysdeps/x86_64/memset.S (memset): New implementation.
8632 (__bzero): Likewise.
8633 (__memset_tail): New function.
8634
2d48b41c
OB
86352013-05-20 Ondřej Bílka <neleai@seznam.cz>
8636
8637 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8638 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8639 __memcpy_sse2_unaligned ifunc selection.
8640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8641 Add memcpy-sse2-unaligned.S.
8642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8643 Add: __memcpy_sse2_unaligned.
8644
f16cc3eb
JM
86452013-05-19 Joseph Myers <joseph@codesourcery.com>
8646
3e694268
JM
8647 [BZ #15490]
8648 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8649 math_force_eval before restoring floating-point envrionment.
8650 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8652 Likewise.
8653 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8654 <math_private.h>.
8655 (__nearbyintl): Use math_force_eval before restoring
8656 floating-point environment.
8657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8658
db62a907
JM
8659 * math/gen-libm-test.pl (special_functions): Remove.
8660 (parse_args): Don't handle TEST_extra. Handle functions with no
8661 return value.
8662 * math/libm-test.inc (struct test_sincos_data): Replace with
8663 struct test_fFF_11_data.
8664 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8665 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8666 (sincos_test_data): Change element type to struct
8667 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8668 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8669 RUN_TEST_LOOP_sincos.
8670 * math/README.libm-test: Don't mention special handling of
8671 individual functions.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8674 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8675 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8676 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8678
f16cc3eb
JM
8679 * math/gen-libm-test.pl (get_variable): Remove function.
8680 (parse_args): Don't show pointer parameters to call in test
8681 names. Use "extra output N" in test names for extra outputs
8682 rather than naming variables.
8683
3779b5b6
JM
86842013-05-18 Joseph Myers <joseph@codesourcery.com>
8685
2ee094ff
JM
8686 [BZ #15488]
8687 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8688 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8689 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8690 double tests.
8691 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8692 disable.
8693 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8694 check_long_double.
8695
3779b5b6
JM
8696 * math/gen-libm-test.pl (@tests): Remove variable.
8697 ($count): Likewise.
8698 (new_test): Remove function.
8699 (show_exceptions): New function.
8700 (special_functions): Use show_exceptions instead of new_test.
8701 (parse_args): Likewise.
8702 (generate_testfile): Pass only function name in generated call to
8703 print_max_error or print_complex_max_error.
8704 (get_ulps): Do not handle complex tests specially.
8705 (output_test): Rename to ...
8706 (get_all_ulps_for_test): ... this. Return a string rather than
8707 printing to a file. Require ulps to be present.
8708 (output_ulps): Generate arrays rather than #defines.
8709 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8710 (struct ulp_data): New type.
8711 (BUILD_COMPLEX_ULP): Remove macro.
8712 (compare_ulp_data): New function.
8713 (find_ulps): Likewise.
8714 (find_test_ulps): Likewise.
8715 (find_function_ulps): Likewise.
8716 (find_complex_function_ulps): Likewise.
8717 (print_max_error): Determine allowed ulps using
8718 find_function_ulps.
8719 (print_complex_max_error): Determine allowed ulps using
8720 find_complex_function_ulps.
8721 (check_float_internal): Determine max ulps using find_test_ulps.
8722 (check_float): Do not take max_ulp parameter. Update call to
8723 check_float_internal.
8724 (check_complex): Likewise.
8725 (check_int): Do not take max_ulp parameter.
8726 (check_long): Likewise.
8727 (check_bool): Likewise.
8728 (check_longlong): Likewise.
8729 (struct test_f_f_data): Remove max_ulp field.
8730 (struct test_ff_f_data): Likewise.
8731 (struct test_ff_f_data_nexttoward): Likewise.
8732 (struct test_fi_f_data): Likewise.
8733 (struct test_fl_f_data): Likewise.
8734 (struct test_if_f_data): Likewise.
8735 (struct test_fff_f_data): Likewise.
8736 (struct test_c_f_data): Likewise.
8737 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8738 (struct test_fF_f1_data): Likewise.
8739 (struct test_ffI_f1_data): Likewise.
8740 (struct test_c_c_data): Remove max_ulp field.
8741 (struct test_cc_c_data): Likewise.
8742 (struct test_f_i_data): Likewise.
8743 (struct test_ff_i_data): Likewise.
8744 (struct test_f_l_data): Likewise.
8745 (struct test_f_L_data): Likewise.
8746 (struct test_sincos_data): Likewise.
8747 (RUN_TEST_f_f): Do not handle ulps.
8748 (RUN_TEST_LOOP_f_f): Likewise.
8749 (RUN_TEST_2_f): Likewise.
8750 (RUN_TEST_LOOP_2_f): Likewise.
8751 (RUN_TEST_fff_f): Likewise.
8752 (RUN_TEST_LOOP_fff_f): Likewise.
8753 (RUN_TEST_c_f): Likewise.
8754 (RUN_TEST_LOOP_c_f): Likewise.
8755 (RUN_TEST_f_f1): Likewise.
8756 (RUN_TEST_LOOP_f_f1): Likewise.
8757 (RUN_TEST_fF_f1): Likewise.
8758 (RUN_TEST_LOOP_fF_f1): Likewise.
8759 (RUN_TEST_fI_f1): Likewise.
8760 (RUN_TEST_LOOP_fI_f1): Likewise.
8761 (RUN_TEST_ffI_f1): Likewise.
8762 (RUN_TEST_LOOP_ffI_f1): Likewise.
8763 (RUN_TEST_c_c): Likewise.
8764 (RUN_TEST_LOOP_c_c): Likewise.
8765 (RUN_TEST_cc_c): Likewise.
8766 (RUN_TEST_LOOP_cc_c): Likewise.
8767 (RUN_TEST_f_i): Likewise.
8768 (RUN_TEST_LOOP_f_i): Likewise.
8769 (RUN_TEST_f_i_tg): Likewise.
8770 (RUN_TEST_LOOP_f_i_tg): Likewise.
8771 (RUN_TEST_ff_i_tg): Likewise.
8772 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8773 (RUN_TEST_f_b): Likewise.
8774 (RUN_TEST_LOOP_f_b): Likewise.
8775 (RUN_TEST_f_b_tg): Likewise.
8776 (RUN_TEST_LOOP_f_b_tg): Likewise.
8777 (RUN_TEST_f_l): Likewise.
8778 (RUN_TEST_LOOP_f_l): Likewise.
8779 (RUN_TEST_f_L): Likewise.
8780 (RUN_TEST_LOOP_f_L): Likewise.
8781 (RUN_TEST_sincos): Likewise.
8782 (RUN_TEST_LOOP_sincos): Likewise.
8783
8269107f
JM
87842013-05-17 Joseph Myers <joseph@codesourcery.com>
8785
bb38759d
JM
8786 [BZ #15480]
8787 [BZ #15485]
8788 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8789 main case of finite arguments, set rounding mode to FE_TONEAREST
8790 and discard exceptions.
8791 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8792 exceptions.
8793 (remainder_tonearest_test_data): New variable.
8794 (remainder_test_tonearest): New function.
8795 (remainder_towardzero_test_data): New variable.
8796 (remainder_test_towardzero): New function.
8797 (remainder_downward_test_data): New variable.
8798 (remainder_test_downward): New function.
8799 (remainder_upward_test_data): New variable.
8800 (remainder_test_upward): New function.
8801 (main): Call the new test functions.
8802
a00bdcf0
JM
8803 * math/libm-test.inc (struct test_f_f1_data): Remove field
8804 extra_init.
8805 (struct test_fF_f1_data): Likewise.
8806 (struct test_ffI_f1_data): Likewise.
8807 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8808 based on value of EXTRA_EXPECTED.
8809 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8810 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8811 EXTRA_VAR based on value of EXTRA_EXPECTED.
8812 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8813 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8814 EXTRA_VAR based on value of EXTRA_EXPECTED.
8815 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8816 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8817 EXTRA_VAR based on value of EXTRA_EXPECTED.
8818 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8819 * math/gen-libm-test.pl (parse_args): Don't output initializers
8820 for extra output values.
8821
de407f79
JM
8822 * math/libm-test.inc (check_int): Expect result to be exactly
8823 equal to expected value and do not handle ulps.
8824 (check_long): Likewise.
8825 (check_longlong): Likewise.
8826
8269107f
JM
8827 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8828 exceptions.
8829 (cimag_test_data): Likewise.
8830 (conj_test_data): Likewise.
8831 (copysign_test_data): Likewise.
8832 (cproj_test_data): Likewise.
8833 (creal_test_data): Likewise.
8834 (fabs_test_data): Likewise.
8835 (fdim_test_data): Likewise.
8836 (finite_test_data): Likewise.
8837 (floor_test_data): Likewise.
8838 (fmax_test_data): Likewise.
8839 (fmin_test_data): Likewise.
8840 (fmod_test_data): Likewise.
8841 (fpclassify_test_data): Likewise.
8842 (frexp_test_data): Likewise.
8843 (ilogb_test_data): Likewise.
8844 (isfinite_test_data): Likewise.
8845 (isgreater_test_data): Likewise.
8846 (isgreaterequal_test_data): Likewise.
8847 (isinf_test_data): Likewise.
8848 (isless_test_data): Likewise.
8849 (islessequal_test_data): Likewise.
8850 (islessgreater_test_data): Likewise.
8851 (isnan_test_data): Likewise.
8852 (isnormal_test_data): Likewise.
8853 (issignaling_test_data): Likewise.
8854 (isunordered_test_data): Likewise.
8855 (ldexp_test_data): Likewise.
8856 (lrint_test_data): Likewise.
8857 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8858 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8859 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8860 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8861 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8862 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8863 test input.
8864 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8865 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8866 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8867 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8868 that test input.
8869 (lrint_downward_test_data): Test for "inexact" exceptions.
8870 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8871 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8872 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8873 test input.
8874 (lrint_upward_test_data): Test for "inexact" exceptions.
8875 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8876 test input.
8877 (llrint_test_data): Test for "inexact" exceptions.
8878 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8879 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8880 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8881 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8882 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8883 (llrint_downward_test_data): Test for "inexact" exceptions.
8884 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8885 (llrint_upward_test_data): Test for "inexact" exceptions.
8886 (logb_test_data): Likewise.
8887 (logb_downward_test_data): Likewise.
8888 (nextafter_test_data): Likewise.
8889 (nexttoward_test_data): Likewise.
8890 (remainder_test_data): Likewise.
8891 (remquo_test_data): Likewise.
8892 (scalbn_test_data): Likewise.
8893 (scalbln_test_data): Likewise.
8894 (signbit_test_data): Likewise.
8895 (sqrt_test_data): Likewise.
8896 (significand_test_data): Likewise.
8897
48a18de1
SP
88982013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8899
8900 [BZ #15424]
8901 * benchtests/bench-modf.c (struct args): Mark arg0 as
8902 volatile.
8903 * scripts/bench.pl: Mark members of struct args as volatile.
8904
13d3b41a
AZ
89052013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8906
68191c1d 8907 [BZ # 15497]
13d3b41a
AZ
8908 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8909 negative infinity on POWER6 or lower.
8910 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8911
2848b105
MR
89122013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8913
8914 [BZ #15442]
8915 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8916 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8917 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8918 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8919 (_FP_SETQNAN): New macro.
8920 (_FP_SETQNAN_SEMIRAW): Likewise.
8921 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8922 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8923 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8924 (FP_EXTEND): Use _FP_FRAC_SNANP.
8925 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8926 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8927 into account.
8928 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8929 New macro.
8930 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8931 Likewise.
8932
323e5cb7
JM
89332013-05-16 Joseph Myers <joseph@codesourcery.com>
8934
c58b274f
JM
8935 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8936 with DIVIDE_BY_ZERO_EXCEPTION.
8937 (gamma_test_data): Likewise.
8938 (lgamma_test_data): Likewise.
8939 (log_test_data): Likewise.
8940 (log10_test_data): Likewise.
8941 (log2_test_data): Likewise.
8942 (tgamma_test_data): Likewise.
8943
0ab34904
JM
8944 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8945 (acos_test_tonearest): Likewise.
8946 (acos_test_towardzero): Likewise.
8947 (acos_test_downward): Likewise.
8948 (acos_test_upward): Likewise.
8949 (acosh_test): Likewise.
8950 (asin_test): Likewise.
8951 (asin_test_tonearest): Likewise.
8952 (asin_test_towardzero): Likewise.
8953 (asin_test_downward): Likewise.
8954 (asin_test_upward): Likewise.
8955 (asinh_test): Likewise.
8956 (atan_test): Likewise.
8957 (atanh_test): Likewise.
8958 (atan2_test): Likewise.
8959 (cabs_test): Likewise.
8960 (cacos_test): Likewise.
8961 (cacosh_test): Likewise.
8962 (casin_test): Likewise.
8963 (casinh_test): Likewise.
8964 (catan_test): Likewise.
8965 (catanh_test): Likewise.
8966 (cbrt_test): Likewise.
8967 (ccos_test): Likewise.
8968 (ccosh_test): Likewise.
8969 (cexp_test): Likewise.
8970 (clog_test): Likewise.
8971 (clog10_test): Likewise.
8972 (cos_test): Likewise.
8973 (cos_test_tonearest): Likewise.
8974 (cos_test_towardzero): Likewise.
8975 (cos_test_downward): Likewise.
8976 (cos_test_upward): Likewise.
8977 (cosh_test): Likewise.
8978 (cosh_test_tonearest): Likewise.
8979 (cosh_test_towardzero): Likewise.
8980 (cosh_test_downward): Likewise.
8981 (cosh_test_upward): Likewise.
8982 (cpow_test): Likewise.
8983 (csin_test): Likewise.
8984 (csinh_test): Likewise.
8985 (csqrt_test): Likewise.
8986 (ctan_test): Likewise.
8987 (ctan_test_tonearest): Likewise.
8988 (ctan_test_towardzero): Likewise.
8989 (ctan_test_downward): Likewise.
8990 (ctan_test_upward): Likewise.
8991 (ctanh_test): Likewise.
8992 (ctanh_test_tonearest): Likewise.
8993 (ctanh_test_towardzero): Likewise.
8994 (ctanh_test_downward): Likewise.
8995 (ctanh_test_upward): Likewise.
8996 (erf_test): Likewise.
8997 (erfc_test): Likewise.
8998 (exp_test): Likewise.
8999 (exp_test_tonearest): Likewise.
9000 (exp_test_towardzero): Likewise.
9001 (exp_test_downward): Likewise.
9002 (exp_test_upward): Likewise.
9003 (exp10_test): Likewise.
9004 (exp2_test): Likewise.
9005 (expm1_test): Likewise.
9006 (fmod_test): Likewise.
9007 (gamma_test): Likewise.
9008 (hypot_test): Likewise.
9009 (j0_test): Likewise.
9010 (j1_test): Likewise.
9011 (jn_test): Likewise.
9012 (lgamma_test): Likewise.
9013 (log_test): Likewise.
9014 (log10_test): Likewise.
9015 (log1p_test): Likewise.
9016 (log2_test): Likewise.
9017 (logb_test_downward): Likewise.
9018 (pow_test): Likewise.
9019 (pow_test_tonearest): Likewise.
9020 (pow_test_towardzero): Likewise.
9021 (pow_test_downward): Likewise.
9022 (pow_test_upward): Likewise.
9023 (remainder_test): Likewise.
9024 (remquo_test): Likewise.
9025 (sin_test): Likewise.
9026 (sin_test_tonearest): Likewise.
9027 (sin_test_towardzero): Likewise.
9028 (sin_test_downward): Likewise.
9029 (sin_test_upward): Likewise.
9030 (sincos_test): Likewise.
9031 (sinh_test): Likewise.
9032 (sinh_test_tonearest): Likewise.
9033 (sinh_test_towardzero): Likewise.
9034 (sinh_test_downward): Likewise.
9035 (sinh_test_upward): Likewise.
9036 (sqrt_test): Likewise.
9037 (tan_test): Likewise.
9038 (tan_test_tonearest): Likewise.
9039 (tan_test_towardzero): Likewise.
9040 (tan_test_downward): Likewise.
9041 (tan_test_upward): Likewise.
9042 (tanh_test): Likewise.
9043 (tgamma_test): Likewise.
9044 (y0_test): Likewise.
9045 (y1_test): Likewise.
9046 (yn_test): Likewise.
9047
323e5cb7
JM
9048 * math/gen-libm-test.pl (adjust_arg): Remove function.
9049 (special_function): Remove argument $in_func. Only handle
9050 generating output for tables of tests, not inside functions.
9051 (parse_args): Likewise.
9052 (generate_testfile): Remove variable $in_func. Update call to
9053 parse_args.
9054 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9055 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9056 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9057 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9058 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9059 (MAX_VALUE_INIT): Rename macro to max_value.
9060 (MIN_VALUE_INIT): Rename macro to min_value.
9061 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9062 (plus_zero): Remove variable.
9063 (minus_zero): Likewise.
9064 (plus_infty): Likewise.
9065 (minus_infty): Likewise.
9066 (qnan_value): Likewise.
9067 (max_value): Likewise.
9068 (min_value): Likewise.
9069 (min_subnorm_value): Likewise.
9070
e054f494
RA
90712013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9072
9073 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9074 uint64_t or uint32_t usage.
9075 * crypt/sha256-block.c: Likewise.
9076 * crypt/sha256-crypt.c: Likewise.
9077 * crypt/sha256.c: Likewise.
9078 * crypt/sha512-block.c: Likewise.
9079 * crypt/sha512-crypt.c: Likewise.
9080 * crypt/sha512.c: Likewise.
9081 * debug/backtrace-tst.c: Likewise.
9082 * debug/pcprofiledump.c: Likewise.
9083 * elf/cache.c: Likewise.
9084 * elf/dl-cache.c: Likewise.
9085 * elf/dl-misc.c: Likewise.
9086 * elf/dl-profile.c: Likewise.
9087 * elf/dl-support.c: Likewise.
9088 * elf/ldconfig.c: Likewise.
9089 * elf/sprof.c: Likewise.
9090 * iconv/dummy-repertoire.c: Likewise.
9091 * iconv/iconv_charmap.c: Likewise.
9092 * iconv/skeleton.c: Likewise.
9093 * iconvdata/8bit-generic.c: Likewise.
9094 * iconvdata/cp737.h: Likewise.
9095 * iconvdata/cp775.h: Likewise.
9096 * iconvdata/ibm1008.h: Likewise.
9097 * iconvdata/ibm1025.h: Likewise.
9098 * iconvdata/ibm1046.h: Likewise.
9099 * iconvdata/ibm1097.h: Likewise.
9100 * iconvdata/ibm1112.h: Likewise.
9101 * iconvdata/ibm1122.h: Likewise.
9102 * iconvdata/ibm1123.h: Likewise.
9103 * iconvdata/ibm1124.h: Likewise.
9104 * iconvdata/ibm1129.h: Likewise.
9105 * iconvdata/ibm1130.h: Likewise.
9106 * iconvdata/ibm1132.h: Likewise.
9107 * iconvdata/ibm1133.h: Likewise.
9108 * iconvdata/ibm1137.h: Likewise.
9109 * iconvdata/ibm1140.h: Likewise.
9110 * iconvdata/ibm1141.h: Likewise.
9111 * iconvdata/ibm1142.h: Likewise.
9112 * iconvdata/ibm1143.h: Likewise.
9113 * iconvdata/ibm1144.h: Likewise.
9114 * iconvdata/ibm1145.h: Likewise.
9115 * iconvdata/ibm1146.h: Likewise.
9116 * iconvdata/ibm1147.h: Likewise.
9117 * iconvdata/ibm1148.h: Likewise.
9118 * iconvdata/ibm1149.h: Likewise.
9119 * iconvdata/ibm1153.h: Likewise.
9120 * iconvdata/ibm1154.h: Likewise.
9121 * iconvdata/ibm1155.h: Likewise.
9122 * iconvdata/ibm1156.h: Likewise.
9123 * iconvdata/ibm1157.h: Likewise.
9124 * iconvdata/ibm1158.h: Likewise.
9125 * iconvdata/ibm1160.h: Likewise.
9126 * iconvdata/ibm1161.h: Likewise.
9127 * iconvdata/ibm1162.h: Likewise.
9128 * iconvdata/ibm1163.h: Likewise.
9129 * iconvdata/ibm1164.h: Likewise.
9130 * iconvdata/ibm1166.h: Likewise.
9131 * iconvdata/ibm1167.h: Likewise.
9132 * iconvdata/ibm12712.h: Likewise.
9133 * iconvdata/ibm1390.h: Likewise.
9134 * iconvdata/ibm1399.h: Likewise.
9135 * iconvdata/ibm16804.h: Likewise.
9136 * iconvdata/ibm4517.h: Likewise.
9137 * iconvdata/ibm4899.h: Likewise.
9138 * iconvdata/ibm4909.h: Likewise.
9139 * iconvdata/ibm4971.h: Likewise.
9140 * iconvdata/ibm5347.h: Likewise.
9141 * iconvdata/ibm803.h: Likewise.
9142 * iconvdata/ibm856.h: Likewise.
9143 * iconvdata/ibm901.h: Likewise.
9144 * iconvdata/ibm902.h: Likewise.
9145 * iconvdata/ibm9030.h: Likewise.
9146 * iconvdata/ibm9066.h: Likewise.
9147 * iconvdata/ibm921.h: Likewise.
9148 * iconvdata/ibm922.h: Likewise.
9149 * iconvdata/ibm9448.h: Likewise.
9150 * iconvdata/isiri-3342.h: Likewise.
9151 * iconvdata/jis0201.h: Likewise.
9152 * include/link.h: Likewise.
9153 * include/netdb.h: Likewise.
9154 * inet/check_native.c: Likewise.
9155 * inet/check_pf.c: Likewise.
9156 * inet/getipv4sourcefilter.c: Likewise.
9157 * inet/getnameinfo.c: Likewise.
9158 * inet/getsourcefilter.c: Likewise.
9159 * inet/htonl.c: Likewise.
9160 * inet/setipv4sourcefilter.c: Likewise.
9161 * inet/setsourcefilter.c: Likewise.
9162 * inet/test-inet6_opt.c: Likewise.
9163 * inet/tst-network.c: Likewise.
9164 * locale/C-collate.c: Likewise.
9165 * locale/C-ctype.c: Likewise.
9166 * locale/C-time.c: Likewise.
9167 * locale/C-translit.h: Likewise.
9168 * locale/loadarchive.c: Likewise.
9169 * locale/programs/3level.h: Likewise.
9170 * locale/programs/charmap.c: Likewise.
9171 * locale/programs/charmap.h: Likewise.
9172 * locale/programs/ld-address.c: Likewise.
9173 * locale/programs/ld-collate.c: Likewise.
9174 * locale/programs/ld-ctype.c: Likewise.
9175 * locale/programs/ld-identification.c: Likewise.
9176 * locale/programs/ld-measurement.c: Likewise.
9177 * locale/programs/ld-messages.c: Likewise.
9178 * locale/programs/ld-monetary.c: Likewise.
9179 * locale/programs/ld-name.c: Likewise.
9180 * locale/programs/ld-numeric.c: Likewise.
9181 * locale/programs/ld-paper.c: Likewise.
9182 * locale/programs/ld-telephone.c: Likewise.
9183 * locale/programs/ld-time.c: Likewise.
9184 * locale/programs/linereader.c: Likewise.
9185 * locale/programs/locale.c: Likewise.
9186 * locale/programs/locarchive.c: Likewise.
9187 * locale/programs/locfile.h: Likewise.
9188 * locale/programs/repertoire.c: Likewise.
9189 * locale/programs/simple-hash.c: Likewise.
9190 * locale/programs/simple-hash.h: Likewise.
9191 * malloc/memusage.c: Likewise.
9192 * malloc/memusagestat.c: Likewise.
9193 * nis/nis_defaults.c: Likewise.
9194 * nis/nis_hash.c: Likewise.
9195 * nis/nis_print.c: Likewise.
9196 * nis/nis_xdr.c: Likewise.
9197 * nscd/connections.c: Likewise.
9198 * nscd/hstcache.c: Likewise.
9199 * nscd/nscd_gethst_r.c: Likewise.
9200 * nscd/nscd_getserv_r.c: Likewise.
9201 * nscd/nscd_helper.c: Likewise.
9202 * nscd/servicescache.c: Likewise.
9203 * nss/makedb.c: Likewise.
9204 * nss/nss_db/db-XXX.c: Likewise.
9205 * nss/nss_db/db-initgroups.c: Likewise.
9206 * nss/nss_db/db-netgrp.c: Likewise.
9207 * nss/nss_files/files-network.c: Likewise.
9208 * nss/nss_files/files-parse.c: Likewise.
9209 * posix/bug-regex5.c: Likewise.
9210 * posix/fnmatch_loop.c: Likewise.
9211 * posix/regcomp.c: Likewise.
9212 * posix/regexec.c: Likewise.
9213 * posix/tst-rfc3484-2.c: Likewise.
9214 * posix/tst-rfc3484-3.c: Likewise.
9215 * posix/tst-rfc3484.c: Likewise.
9216 * resolv/nss_dns/dns-canon.c: Likewise.
9217 * resolv/nss_dns/dns-network.c: Likewise.
9218 * resolv/res_init.c: Likewise.
9219 * resolv/res_mkquery.c: Likewise.
9220 * resolv/tst-aton.c: Likewise.
9221 * stdlib/cxa_atexit.c: Likewise.
9222 * stdlib/cxa_finalize.c: Likewise.
9223 * stdlib/gen-fpioconst.c: Likewise.
9224 * stdlib/strtol_l.c: Likewise.
9225 * string/tst-endian.c: Likewise.
9226 * sunrpc/auth_des.c: Likewise.
9227 * sunrpc/clnt_udp.c: Likewise.
9228 * sunrpc/rtime.c: Likewise.
9229 * sunrpc/svcauth_des.c: Likewise.
9230 * sunrpc/xdr.c: Likewise.
9231 * sunrpc/xdr_intXX_t.c: Likewise.
9232 * sunrpc/xdr_rec.c: Likewise.
9233 * sysdeps/generic/ldconfig.h: Likewise.
9234 * sysdeps/generic/ldsodefs.h: Likewise.
9235 * sysdeps/generic/memusage.h: Likewise.
9236 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9246 * sysdeps/posix/getaddrinfo.c: Likewise.
9247 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9248 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9249 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9251 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9252 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9253 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9254 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9255 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9256 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9257 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9258 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9259 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9260 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9261 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9262 * sysdeps/x86_64/dl-tls.h: Likewise.
9263 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9264 * time/alt_digit.c: Likewise.
9265 * time/era.c: Likewise.
9266 * wcsmbs/tst-c16c32-1.c: Likewise.
9267
8c75f674
JM
92682013-05-16 Joseph Myers <joseph@codesourcery.com>
9269
9270 * math/libm-test.inc (struct test_sincos_data): New type.
9271 (RUN_TEST_LOOP_sincos): New macro.
9272 (sincos_test_data): New variable.
9273 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9274
e6e49e59
RH
92752013-05-16 Richard Henderson <rth@redhat.com>
9276
9277 * math/atest-exp2.c (LIMB64): New macro.
9278 (CONSTSZ): New macro.
9279 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9280 (hexdig): Move ...
9281 (print_mpn_fp): ... to function scope.
9282 (read_mpn_hex): Remove.
9283 (get_log2): Remove.
9284 (exp2_mpn): Use mp_log2.
9285 (main): Use mp_exp1.
9286
15c7c18d
JM
92872013-05-16 Joseph Myers <joseph@codesourcery.com>
9288
105a07df
JM
9289 * math/libm-test.inc: Remove comment about not testing "inexact"
9290 exceptions.
9291 (INEXACT_EXCEPTION): New macro.
9292 (NO_INEXACT_EXCEPTION): Likewise.
9293 (INVALID_EXCEPTION_OK): Update value.
9294 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9295 (OVERFLOW_EXCEPTION_OK): Likewise.
9296 (UNDERFLOW_EXCEPTION_OK): Likewise.
9297 (IGNORE_ZERO_INF_SIGN): Likewise.
9298 (ERRNO_UNCHANGED): Likewise.
9299 (ERRNO_EDOM): Likewise.
9300 (ERRNO_ERANGE): Likewise.
9301 (test_exceptions): Handle testing "inexact" exceptions.
9302 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9303 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9304 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9305 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9306 INEXACT_EXCEPTION.
9307 (rint_towardzero_test_data): Likewise.
9308 (rint_downward_test_data): Likewise.
9309 (rint_upward_test_data): Likewise.
9310
e9eee333
JM
9311 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9312 with OVERFLOW_EXCEPTION.
9313 (exp10_test_data): Likewise.
9314 (exp2_test_data): Likewise.
9315 (expm1_test_data): Likewise.
9316 (lgamma_test_data): Likewise.
9317 (pow_test_data): Likewise.
9318 (tgamma_test_data): Likewise.
9319 (yn_test_data): Remove duplicate test of overflow.
9320
1c38ff73
JM
9321 * math/libm-test.inc (struct test_cc_c_data): New type.
9322 (RUN_TEST_LOOP_cc_c): New macro.
9323 (cpow_test_data): New variable.
9324 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9325
15c7c18d
JM
9326 * math/libm-test.inc (struct test_f_L_data): New type.
9327 (RUN_TEST_LOOP_f_L): New macro.
9328 (llrint_test_data): New variable.
9329 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9330 (llrint_tonearest_test_data): New variable.
9331 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9332 (llrint_towardzero_test_data): New variable.
9333 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9334 (llrint_downward_test_data): New variable.
9335 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9336 (llrint_upward_test_data): New variable.
9337 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9338 (llround_test_data): New variable.
9339 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9340
f137ff13
PC
93412013-05-13 Peter Collingbourne <pcc@google.com>
9342
9343 * math/atest-exp2.c (get_log2): Remove const attribute.
9344
3608cb24
JM
93452013-05-15 Joseph Myers <joseph@codesourcery.com>
9346
9347 * math/libm-test.inc (struct test_f_l_data): New type.
9348 (RUN_TEST_LOOP_f_l): New macro.
9349 (lrint_test_data): New variable.
9350 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9351 (lrint_tonearest_test_data): New variable.
9352 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9353 (lrint_towardzero_test_data): New variable.
9354 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9355 (lrint_downward_test_data): New variable.
9356 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9357 (lrint_upward_test_data): New variable.
9358 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9359 (lround_test_data): New variable.
9360 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9361
39b1f617
PC
93622013-05-15 Peter Collingbourne <pcc@google.com>
9363
1deff3dc
PC
9364 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9365 (EXTRACT_WORDS64) Use where appropriate.
9366 (INSERT_WORDS64) Likewise.
9367
791f3ba0
PC
9368 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9369 constraints with x constraints.
9370 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9371
39b1f617
PC
9372 * malloc/obstack.c (_obstack_compat): Add initializer.
9373
12fba011
EM
93742013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9375
9376 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9377 si_trapno and add si_addr_lsb to _sifields.sigfault.
9378 (si_trapno): Remove macro.
9379 (si_addr_lsb): Define new macro.
9380 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9381
d369f531
JM
93822013-05-15 Joseph Myers <joseph@codesourcery.com>
9383
b861c6c4
JM
9384 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9385 instead of TEST_f_l.
9386 (llrint_test_tonearest): Likewise.
9387 (llrint_test_towardzero): Likewise.
9388 (llrint_test_downward): Likewise.
9389 (llrint_test_upward): Likewise.
9390 (llround_test): Likewise.
9391
7abeee12
JM
9392 * math/libm-test.inc (struct test_f_i_data): Add comment.
9393 (RUN_TEST_LOOP_f_b): New macro.
9394 (RUN_TEST_LOOP_f_b_tg): Likewise.
9395 (finite_test_data): New variable.
9396 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9397 (isfinite_test_data): New variable.
9398 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9399 (isinf_test_data): New variable.
9400 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9401 (isnan_test_data): New variable.
9402 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9403 (isnormal_test_data): New variable.
9404 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9405 (issignaling_test_data): New variable.
9406 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9407 (signbit_test_data): New variable.
9408 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9409
cbe8c4d3
JM
9410 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9411 with INVALID_EXCEPTION.
9412 (acosh_test_data): Likewise.
9413 (asin_test_data): Likewise.
9414 (atanh_test_data): Likewise.
9415 (fmod_test_data): Likewise.
9416 (log_test_data): Likewise.
9417 (log10_test_data): Likewise.
9418 (log2_test_data): Likewise.
9419 (pow_test_data): Likewise.
9420 (sqrt_test_data): Likewise.
9421 (y0_test_data): Likewise.
9422 (y1_test_data): Likewise.
9423 (yn_test_data): Likewise.
9424
5575c0e5
JM
9425 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9426 function contents.
9427
d369f531
JM
9428 * math/libm-test.inc (struct test_ff_i_data): New type.
9429 (RUN_TEST_LOOP_ff_i_tg): New macro.
9430 (isgreater_test_data): New variable.
9431 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9432 (isgreaterequal_test_data): New variable.
9433 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9434 (isless_test_data): New variable.
9435 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9436 (islessequal_test_data): New variable.
9437 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9438 (islessgreater_test_data): New variable.
9439 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9440 (isunordered_test_data): New variable.
9441 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9442
781fd748
DM
94432013-05-14 David S. Miller <davem@davemloft.net>
9444
9445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9446
87aa21df
JM
94472013-05-14 Joseph Myers <joseph@codesourcery.com>
9448
5e908270
JM
9449 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9450
f71172e5
JM
9451 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9452 extra_test to int.
9453 (struct test_f_i_data): Change type of max_ulp to int.
9454
8cfa635a
JM
9455 * math/libm-test.inc (test_ffI_f1_data): New type.
9456 (RUN_TEST_LOOP_ffI_f1): New macro.
9457 (remquo_test_data): New variable.
9458 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9459
2bcb36b2
JM
9460 * setjmp/tst-setjmp-fp.c: New file.
9461 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9462 (link-libm): New variable.
9463 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9464
acbd839a
JM
9465 * math/libm-test.inc (struct test_f_i_data): New type.
9466 (RUN_TEST_LOOP_f_i): New macro.
9467 (RUN_TEST_LOOP_f_i_tg): Likewise.
9468 (fpclassify_test_data): New variable.
9469 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9470 (ilogb_test_data): New variable.
9471 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9472
e414d745
JM
9473 * math/libm-test.inc (scalbln_test): Correct function name in END
9474 call.
9475
d9c2a0fd
JM
9476 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9477 (RUN_TEST_LOOP_fI_f1): New macro.
9478 (frexp_test_data): New variable.
9479 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9480
9dc9095d
JM
9481 * math/libm-test.inc (struct test_fF_f1_data): New type.
9482 (RUN_TEST_LOOP_fF_f1): New macro.
9483 (modf_test_data): New variable.
9484 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9485
87aa21df
JM
9486 * math/libm-test.inc (struct test_f_f1_data): New type.
9487 (RUN_TEST_LOOP_f_f1): New macro.
9488 (gamma_test_data): New variable.
9489 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9490 (lgamma_test_data): New variable.
9491 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9492
141af660
CD
94932013-05-13 Carlos O'Donell <carlos@redhat.com>
9494
9495 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9496 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9497 (main): Comment "tls" pseudo-hwcap.
9498
6d33265c
JM
94992013-05-13 Joseph Myers <joseph@codesourcery.com>
9500
68fc074c
JM
9501 * math/libm-test.inc (struct test_fl_f_data): New type.
9502 (RUN_TEST_LOOP_fl_f): New variable.
9503 (scalbln_test_data): New variable.
9504 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9505
243216e1
JM
9506 * math/libm-test.inc (struct test_fi_f_data): New type.
9507 (RUN_TEST_LOOP_fi_f): New macro.
9508 (ldexp_test_data): New variable.
9509 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9510 (scalbn_test_data): New variable.
9511 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9512
6a1992e2
JM
9513 * math/libm-test.inc (struct test_c_f_data): New type.
9514 (RUN_TEST_LOOP_c_f): New macro.
9515 (cabs_test_data): New variable.
9516 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9517 (carg_test_data): New variable.
9518 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9519 (cimag_test_data): New variable.
9520 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9521 (creal_test_data): New variable.
9522 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9523
0e400df5
JM
9524 * math/libm-test.inc (struct test_if_f_data): New type.
9525 (RUN_TEST_LOOP_if_f): New macro.
9526 (jn_test_data): New variable.
9527 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9528 (yn_test_data): New variable.
9529 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9530
6d33265c
JM
9531 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9532
f98ece5f
AZ
95332013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9534
9535 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9536 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9537
0f7d347b
SP
95382013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9539
43fe811b
SP
9540 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9541 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9542 (bench-deps): Add bench-timing.h.
9543 * benchtests-bench-skeleton.c: Include bench-timing.h.
9544 (main): Use TIMING_* macros instead of clock_gettime.
9545 * benchtests/bench-timing.h: New file.
9546
0f7d347b
SP
9547 [BZ #14582]
9548 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9549 Renamed from _LIB_VERSION.
9550 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9551
601a3a5f
JM
95522013-05-12 Joseph Myers <joseph@codesourcery.com>
9553
4f184d30
JM
9554 * math/libm-test.inc (struct test_fff_f_data): New type.
9555 (RUN_TEST_LOOP_fff_f): New macro.
9556 (fma_test_data): New variable.
9557 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9558 (fma_towardzero_test_data): New variable.
9559 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9560 (fma_downward_test_data): New variable.
9561 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9562 (fma_upward_test_data): New variable.
9563 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9564
08198877
JM
9565 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9566 (struct test_c_c_data): New type.
9567 (RUN_TEST_LOOP_c_c): New macro.
9568 (cacos_test_data): New variable.
9569 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9570 (cacosh_test_data): New variable.
9571 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9572 (casin_test_data): New variable.
9573 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9574 (casinh_test_data): New variable.
9575 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9576 (catan_test_data): New variable.
9577 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9578 (catanh_test_data): New variable.
9579 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9580 (ccos_test_data): New variable.
9581 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9582 (ccosh_test_data): New variable.
9583 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9584 (cexp_test_data): New variable.
9585 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9586 (clog_test_data): New variable.
9587 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9588 (clog10_test_data): New variable.
9589 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9590 (conj_test_data): New variable.
9591 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9592 (cproj_test_data): New variable.
9593 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9594 (csin_test_data): New variable.
9595 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9596 (csinh_test_data): New variable.
9597 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9598 (csqrt_test_data): New variable.
9599 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9600 (ctan_test_data): New variable.
9601 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9602 (ctan_tonearest_test_data): New variable.
9603 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9604 (ctan_towardzero_test_data): New variable.
9605 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9606 (ctan_downward_test_data): New variable.
9607 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9608 (ctan_upward_test_data): New variable.
9609 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9610 (ctanh_test_data): New variable.
9611 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9612 (ctanh_tonearest_test_data): New variable.
9613 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9614 (ctanh_towardzero_test_data): New variable.
9615 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9616 (ctanh_downward_test_data): New variable.
9617 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9618 (ctanh_upward_test_data): New variable.
9619 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9620 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9621 of BUILD_COMPLEX.
9622
601a3a5f
JM
9623 * math/libm-test.inc (struct test_ff_f_data): New type.
9624 (struct test_ff_f_data_nexttoward): Likewise.
9625 (RUN_TEST_LOOP_2_f): New macro.
9626 (RUN_TEST_LOOP_ff_f): Likewise.
9627 (atan2_test_data): New variable.
9628 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9629 (copysign_test_data): New variable.
9630 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9631 (fdim_test_data): New variable.
9632 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9633 (fmax_test_data): New variable.
9634 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9635 (fmin_test_data): New variable.
9636 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9637 (fmod_test_data): New variable.
9638 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9639 (hypot_test_data): New variable.
9640 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9641 (nextafter_test_data): New variable.
9642 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9643 (nexttoward_test_data): New variable.
9644 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9645 (pow_test_data): New variable.
9646 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9647 (pow_tonearest_test_data): New variable.
9648 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9649 (pow_towardzero_test_data): New variable.
9650 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9651 (pow_downward_test_data): New variable.
9652 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9653 (pow_upward_test_data): New variable.
9654 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9655 (remainder_test_data): New variable.
9656 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9657 (scalb_test_data): New variable.
9658 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9659 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660
74c57478
JM
96612013-05-11 Joseph Myers <joseph@codesourcery.com>
9662
8329e4da
JM
9663 * math/libm-test.inc (fma_test): Use max_value instead of local
9664 variable fltmax.
9665 (nextafter_test): Likewise.
9666
74c57478
JM
9667 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9668 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9669 (acos_downward_test_data): New variable.
9670 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9671 (acos_upward_test_data): New variable.
9672 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9673 (acosh_test_data): New variable.
9674 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9675 (asin_test_data): New variable.
9676 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9677 (asin_tonearest_test_data): New variable.
9678 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9679 (asin_towardzero_test_data): New variable.
9680 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9681 (asin_downward_test_data): New variable.
9682 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9683 (asin_upward_test_data): New variable.
9684 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9685 (asinh_test_data): New variable.
9686 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9687 (atan_test_data): New variable.
9688 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9689 (atanh_test_data): New variable.
9690 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9691 (cbrt_test_data): New variable.
9692 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9693 (ceil_test_data): New variable.
9694 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9695 (cos_test_data): New variable.
9696 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9697 (cos_tonearest_test_data): New variable.
9698 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9699 (cos_towardzero_test_data): New variable.
9700 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9701 (cos_downward_test_data): New variable.
9702 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9703 (cos_upward_test_data): New variable.
9704 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9705 (cosh_test_data): New variable.
9706 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9707 (cosh_tonearest_test_data): New variable.
9708 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9709 (cosh_towardzero_test_data): New variable.
9710 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9711 (cosh_downward_test_data): New variable.
9712 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9713 (cosh_upward_test_data): New variable.
9714 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9715 (erf_test_data): New variable.
9716 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9717 (erfc_test_data): New variable.
9718 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9719 (exp_test_data): New variable.
9720 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9721 (exp_tonearest_test_data): New variable.
9722 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9723 (exp_towardzero_test_data): New variable.
9724 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9725 (exp_downward_test_data): New variable.
9726 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9727 (exp_upward_test_data): New variable.
9728 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9729 (exp10_test_data): New variable.
9730 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9731 (exp2_test_data): New variable.
9732 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9733 (expm1_test_data): New variable.
9734 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9735 (fabs_test_data): New variable.
9736 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9737 (floor_test_data): New variable.
9738 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9739 (j0_test_data): New variable.
9740 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9741 (j1_test_data): New variable.
9742 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9743 (log_test_data): New variable.
9744 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9745 (log10_test_data): New variable.
9746 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9747 (log1p_test_data): New variable.
9748 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9749 (log2_test_data): New variable.
9750 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9751 (logb_test_data): New variable.
9752 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9753 (logb_downward_test_data): New variable.
9754 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9755 (nearbyint_test_data): New variable.
9756 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9757 (rint_test_data): New variable.
9758 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9759 (rint_tonearest_test_data): New variable.
9760 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9761 (rint_towardzero_test_data): New variable.
9762 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9763 (rint_downward_test_data): New variable.
9764 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9765 (rint_upward_test_data): New variable.
9766 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9767 (round_test_data): New variable.
9768 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9769 (sin_test_data): New variable.
9770 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9771 (sin_tonearest_test_data): New variable.
9772 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9773 (sin_towardzero_test_data): New variable.
9774 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9775 (sin_downward_test_data): New variable.
9776 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9777 (sin_upward_test_data): New variable.
9778 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9779 (sinh_test_data): New variable.
9780 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9781 (sinh_tonearest_test_data): New variable.
9782 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9783 (sinh_towardzero_test_data): New variable.
9784 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9785 (sinh_downward_test_data): New variable.
9786 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9787 (sinh_upward_test_data): New variable.
9788 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9789 (sqrt_test_data): New variable.
9790 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9791 (tan_test_data): New variable.
9792 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9793 (tan_tonearest_test_data): New variable.
9794 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9795 (tan_towardzero_test_data): New variable.
9796 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9797 (tan_downward_test_data): New variable.
9798 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9799 (tan_upward_test_data): New variable.
9800 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9801 (tanh_test_data): New variable.
9802 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9803 (tgamma_test_data): New variable.
9804 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9805 (trunc_test_data): New variable.
9806 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9807 (y0_test_data): New variable.
9808 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9809 (y1_test_data): New variable.
9810 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9811 (significand_test_data): New variable.
9812 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9813
7187d844
CG
98142013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9815
9816 [BZ #12387]
9817 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9818
f63fae73
PT
98192013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9820
9821 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9822
8a67a4b3
AJ
98232013-05-10 Andreas Jaeger <aj@suse.de>
9824
9825 [BZ #15448]
9826 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9827 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9828
51df539d
JM
98292013-05-10 Joseph Myers <joseph@codesourcery.com>
9830
9831 * math/gen-libm-test.pl (adjust_arg): New function.
9832 (special_functions): Handle generating output in both functions
9833 and arrays.
9834 (parse_args): Likewise.
9835 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9836 $in_func argument to parse_args.
9837 * math/libm-test.inc (struct test_f_f_data): New type.
9838 (IF_ROUND_INIT_): New macro.
9839 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9840 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9841 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9842 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9843 (ROUND_RESTORE_): Likewise.
9844 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9845 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9846 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9847 (ROUND_RESTORE_FE_UPWARD): Likewise.
9848 (RUN_TEST_LOOP_f_f): New macro.
9849 (acos_test_data): New variable.
9850 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9851 (acos_tonearest_test_data): New variable.
9852 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9853
5c637fe5
SP
98542013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9855
9856 * benchtests/bench-skeleton.c (startup): Fix coding style.
9857
ab2b9461
JM
98582013-05-10 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #6809]
9861 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9862 negative infinity argument.
9863 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9864 negative infinity argument.
9865 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9866 negative infinity argument.
9867 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9868 domain errors.
9869
4c0fe6fe
FW
98702013-05-10 Florian Weimer <fweimer@redhat.com>
9871
9872 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9873 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9874 * iconv/iconv_prog.c (main): Likewise.
9875 * locale/programs/charmap-dir.c (charmap_readdir)
9876 (fopen_uncompressed): Likewise.
9877 * locale/programs/locfile.c (siblings_uncached)
9878 (write_locale_data): Use lstat64 instead of lstat.
9879 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9880 stat.
9881
a3375d29
AJ
98822013-05-10 Andreas Jaeger <aj@suse.de>
9883
9884 [BZ #15395]
9885 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9886 localization.
9887 Include <locale.h>.
9888
36129722
CD
98892013-05-09 Carlos O'Donell <carlos@redhat.com>
9890
9891 * elf/dl-close.c (_dl_close_worker): Add comments.
9892
faa7f811
JM
98932013-05-09 Joseph Myers <joseph@codesourcery.com>
9894
ed41ffef
JM
9895 [BZ #15359]
9896 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9897 high part of pi/2.
9898 (__ieee754_rem_pio2l): Update comments.
9899
d0213cd0
JM
9900 [BZ #15429]
9901 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9902 high part of pi/2.
9903 (__ieee754_rem_pio2l): Update comments.
9904
0d3e777a
JM
9905 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9906 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9907
24f56066
JM
9908 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9909 M_PI_4l.
9910
faa7f811
JM
9911 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9912 (M_PI_34_LOG10El): Likewise.
9913 (M_PI2_LOG10El): Likewise.
9914 (M_PI4_LOG10El): Likewise.
9915 (M_PI_LOG10El): Likewise.
9916
e9a5e0fd
AZ
99172013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9918
9919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9920
d8cd06db
JM
99212013-05-08 Joseph Myers <joseph@codesourcery.com>
9922
a0d9f9d7
JM
9923 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9924 (MINUS_ZERO_INIT): Likewise.
9925 (PLUS_INFTY_INIT): Likewise.
9926 (MINUS_INFTY_INIT): Likewise.
9927 (QNAN_VALUE_INIT): Likewise.
9928 (MAX_VALUE_INIT): Likewise.
9929 (MIN_VALUE_INIT): Likewise.
9930 (MIN_SUBNORM_VALUE_INIT): Likewise.
9931 (plus_zero): Initialize with PLUS_ZERO_INIT.
9932 (minus_zero): Initialize with MINUS_ZERO_INIT.
9933 (plus_infty): Initialize with PLUS_INFTY_INIT.
9934 (minus_infty): Initialize with MINUS_INFTY_INIT.
9935 (qnan_value): Initialize with QNAN_VALUE_INIT.
9936 (max_value): Initialize with MAX_VALUE_INIT.
9937 (min_value): Initialize with MIN_VALUE_INIT.
9938 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9939
ae08db3b
JM
9940 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9941 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9942 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9943 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9944
f44bf14a
JM
9945 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9946 (RUN_TEST_2_f): Likewise.
9947 (RUN_TEST_ff_f): Likewise.
9948 (RUN_TEST_fi_f): Likewise.
9949 (RUN_TEST_fl_f): Likewise.
9950 (RUN_TEST_fff_f): Likewise.
9951 (RUN_TEST_c_f): Likewise.
9952 (RUN_TEST_f_f1): Likewise.
9953 (RUN_TEST_fF_f1): Likewise.
9954 (RUN_TEST_fI_f1): Likewise.
9955 (RUN_TEST_ffI_f1): Likewise.
9956 (RUN_TEST_c_c): Likewise.
9957 (RUN_TEST_cc_c): Likewise.
9958 (RUN_TEST_f_i): Likewise.
9959 (RUN_TEST_f_i_tg): Likewise.
9960 (RUN_TEST_ff_i_tg): Likewise.
9961 (RUN_TEST_f_b): Likewise.
9962 (RUN_TEST_f_b_tg): Likewise.
9963 (RUN_TEST_f_l): Likewise.
9964 (RUN_TEST_f_L): Likewise.
9965 (RUN_TEST_sincos): Likewise.
9966 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9967 whether to show exceptions. Do not include ");\n" in return
9968 value.
9969 (special_functions): Output call to RUN_TEST_sincos instead of
9970 check_float calls. Update calls to new_test.
9971 (parse_args): Output call to single RUN_TEST_* macro instead of
9972 check_* calls and other assignments. Update calls to new_test.
9973
d8cd06db
JM
9974 [BZ #2546]
9975 [BZ #2560]
9976 [BZ #5159]
9977 [BZ #15426]
9978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9979 input to result for tgamma overflow.
9980 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9981 (gamma_coeff): New variable.
9982 (NCOEFF): New macro.
9983 (gamma_positive): New function.
9984 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9985 underflow here. Use gamma_positive instead of exp (lgamma) for
9986 other arguments.
9987 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9988 (gamma_coeff): New variable.
9989 (NCOEFF): New macro.
9990 (gammaf_positive): New function.
9991 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9992 underflow here. Use gamma_positive instead of exp (lgamma) for
9993 other arguments.
9994 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9995 (gamma_coeff): New variable.
9996 (NCOEFF): New macro.
9997 (gammal_positive): New function.
9998 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9999 underflow here. Use gamma_positive instead of exp (lgamma) for
10000 other arguments.
10001 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10002 (gamma_coeff): New variable.
10003 (NCOEFF): New macro.
10004 (gammal_positive): New function.
10005 (__ieee754_gammal_r): Handle positive infinity, overflow and
10006 underflow here. Handle NaN the same as positive infinity. Remove
10007 check x < 0xffffffff for negative integers. Use gamma_positive
10008 instead of exp (lgamma) for other arguments.
10009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10010 (gamma_coeff): New variable.
10011 (NCOEFF): New macro.
10012 (gammal_positive): New function.
10013 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10014 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10019 * sysdeps/generic/math_private.h (__gamma_productf): New
10020 prototype.
10021 (__gamma_product): Likewise.
10022 (__gamma_productl): Likewise.
10023 * math/Makefile (libm-calls): Add gamma_product.
10024 * math/libm-test.inc (tgamma_test): Add more tests.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update.
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10027
bb7cf681
OB
100282013-05-08 Ondřej Bílka <neleai@seznam.cz>
10029
10030 * benchtests/bench-skeleton.c (main): Preheat CPU.
10031
ba853947
AJ
100322013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10033
10034 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10035
8347c74c
RM
100362013-05-07 Roland McGrath <roland@hack.frob.com>
10037
10038 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10039 and _dl_skip_args_internal.
10040
e8dd4791
CD
100412013-05-07 Carlos O'Donell <carlos@redhat.com>
10042
10043 * manual/message.texi (Message Translation): Talk about users.
10044 Message to key mapping impacts design.
10045
c7405830
RM
100462013-05-06 Roland McGrath <roland@hack.frob.com>
10047
a9173057
RM
10048 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10049
976e2f03
RM
10050 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10051
9723ffc5
RM
10052 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10053 * sysdeps/wordsize-64/glob64.c: ... here.
10054
962e6658
RM
10055 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10056 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10057 New macros.
10058
ee586a6d
RM
10059 * debug/getlogin_r_chk.c: Moved to ...
10060 * login/getlogin_r_chk.c: ... here.
10061 * debug/Makefile (routines): Move getlogin_r_chk to ...
10062 * login/Makefile (routines): ... here.
10063 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10064 * login/Versions (libc: GLIBC_2.4): ... here.
10065
355f9165
RM
10066 * io/poll.c (__poll): Renamed from poll.
10067 Add libc_hidden_def.
10068 (poll): Define as weak alias.
10069
bd9ffde6
RM
10070 * debug/ptsname_r_chk.c: Moved to ...
10071 * login/ptsname_r_chk.c: ... here.
10072 * debug/Makefile (routines): Move ptsname_r_chk to ...
10073 * login/Makefile (routines): ... here.
10074 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10075 * login/Versions (libc: GLIBC_2.4): ... here.
10076
8fb16a04
RM
10077 * posix/getlogin.c: Moved to ...
10078 * login/getlogin.c: ... here.
10079 * posix/getlogin_r.c: Moved to ...
10080 * login/getlogin_r.c: ... here.
10081 * posix/getlogin_r.c: Moved to ...
10082 * login/getlogin_r.c: ... here.
10083 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10084 * login/Makefile (routines): ... here.
10085 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10086 * login/Versions (libc: GLIBC_2.0): ... here.
10087
b99b892f
RM
10088 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10089 (setrlimit): Define as weak alias.
10090
c7405830
RM
10091 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10092 Call __ names for open, ftruncate, and close.
10093 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10094 (truncate): Define as weak alias.
10095
5bf96de5
JM
100962013-05-06 Joseph Myers <joseph@codesourcery.com>
10097
9ea3513c
JM
10098 * math/gen-libm-test.pl (parse_args): Initialize x before each
10099 test of frexp, modf and remquo.
10100
5bf96de5
JM
10101 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10102 test signgam value.
10103
16e616a7
AZ
101042013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10105
10106 [BZ #15418]
10107 [BZ #15419]
10108 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10109 internal tests.
10110 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10111
d5e82754
RM
101122013-05-06 Roland McGrath <roland@hack.frob.com>
10113
10114 * elf/dl-writev.h: New file.
10115 * elf/dl-misc.c: Include it.
10116 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10117 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10118
a7548d41
JM
101192013-05-04 Joseph Myers <joseph@codesourcery.com>
10120
b7dab1e4
JM
10121 * math/libm-test.inc (noXFails): Remove variable.
10122 (noXPasses): Likewise.
10123 (BUILD_COMPLEX_INT): Remove macro.
10124 (print_screen): Remove xfail argument.
10125 (print_screen_max_error): Likewise.
10126 (update_stats): Likewise.
10127 (print_max_error): Likewise. Update calls to other affected
10128 functions.
10129 (print_complex_max_error): Likewise.
10130 (test_single_exception): Update calls to print_screen.
10131 (test_single_errno): Likewise.
10132 (check_float_internal): Remove xfail argument. Update calls to
10133 other affected functions.
10134 (check_float): Likewise.
10135 (check_complex): Likewise.
10136 (check_int): Likewise.
10137 (check_long): Likewise.
10138 (check_bool): Likewise.
10139 (check_longlong): Likewise.
10140 (main): Don't print noXFails and noXPasses.
10141 * math/gen-libm-test.pl (top level): Don't mention expected
10142 failure handling in comment.
10143 (new_test): Don't handle expected failures.
10144 (parse_args): Don't mention expected failure handling in comment.
10145 (generate_testfile): Don't handle expected failures.
10146 (parse_ulps): Likewise.
10147 (print_ulps_file): Likewise.
10148 (get_failure): Remove function.
10149 (output_test): Don't handle expected failures.
10150 * make/README.libm-test: Don't mention expected failure handling.
10151
a7548d41
JM
10152 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10153 (minus_zero): Likewise.
10154 (plus_infty): Likewise.
10155 (minus_infty): Likewise.
10156 (qnan_value): Likewise.
10157 (max_value): Likewise.
10158 (min_value): Likewise.
10159 (min_subnorm_value): Likewise.
10160 (initialize): Do not initialize those variables dynamically.
10161
60bfd54c
RM
101622013-05-03 Roland McGrath <roland@hack.frob.com>
10163
cc0e6ed8
RM
10164 * io/open.c (__open_2): Moved to ...
10165 * io/open_2.c: ... this new file.
10166 * io/open64.c (__open64_2): Moved to ...
10167 * io/open64_2.c: ... this new file.
10168 * io/openat.c (__openat_2): Moved to ...
10169 * io/openat_2.c: ... this new file.
10170 * io/openat64.c (__openat64_2): Moved to ...
10171 * io/openat64_2.c: ... this new file.
10172 * io/Makefile (routines): Add them.
10173 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10174 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10175 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10176 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10177 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10178 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10179 (__openat64): Add hidden_ver.
10180 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10181 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10182
60bfd54c
RM
10183 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10184 Separately conditionalize setting of GLRO(dl_sysinfo) so
10185 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10186 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10187
83e7640f
AZ
101882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10189
10190 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10192 definition.
10193 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10194 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10195 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10196 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10197 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10198
d5dc2af3
JM
101992013-05-03 Joseph Myers <joseph@codesourcery.com>
10200
c31a5b1e
JM
10201 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10202 test signgam value.
10203
d5dc2af3
JM
10204 * math/libm-test.inc (hypot_test): Do not use
10205 IGNORE_ZERO_INF_SIGN.
10206
164fd39d
AJ
102072013-05-03 Andreas Jaeger <aj@suse.de>
10208
10209 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10210 Linux 3.9.
10211 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10212 (PF_MAX): Adjust for VSOCK change.
10213
8237f48c
AZ
102142013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10215
10216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10217
9df02941
CD
102182013-05-02 Carlos O'Donell <carlos@redhat.com>
10219
10220 [BZ #15264]
10221 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10222 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10223 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10224
d422395e
DM
102252013-05-02 David S. Miller <davem@davemloft.net>
10226
10227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10228
a07c5731
OB
102292013-05-01 Ondřej Bílka <neleai@seznam.cz>
10230
10231 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10232
1324e37f
RM
102332013-05-01 Roland McGrath <roland@hack.frob.com>
10234
10235 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10236
0695940b
RS
102372013-05-01 Richard Smith <richard@metafoo.co.uk>
10238
bb5f27ad 10239 [BZ #14952]
0695940b
RS
10240 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10241 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10242 Use __attribute__ ((__gnu_inline__)).
10243 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10244 Don't use __attribute__ ((__gnu_inline__)).
10245
10de07f5
JM
102462013-05-01 Joseph Myers <joseph@codesourcery.com>
10247
10248 [BZ #15423]
10249 * math/s_catan.c (__catan): Handle small real or imaginary part of
10250 input specially to avoid spurious underflow.
10251 * math/s_catanf.c (__catanf): Likewise.
10252 * math/s_catanh.c (__catanh): Likewise.
10253 * math/s_catanhf.c (__catanhf): Likewise.
10254 * math/s_catanhl.c (__catanhl): Likewise.
10255 * math/s_catanl.c (__catanl): Likewise.
10256 * math/libm-test.inc (catan_test): Add more tests.
10257 (catanh_test): Likewise.
10258 * sysdeps/i386/fpu/libm-test-ulps: Update.
10259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10260
cb4d5414
AZ
102612013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262
10263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10264
caf84319
JM
102652013-04-30 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #15416]
10268 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10269 accurately for denominator in atan2.
10270 * math/s_catanf.c (__catanf): Likewise.
10271 * math/s_catanh.c (__catanh): Likewise.
10272 * math/s_catanhf.c (__catanhf): Likewise.
10273 * math/s_catanhl.c (__catanhl): Likewise.
10274 * math/s_catanl.c (__catanl): Likewise.
10275 * math/libm-test.inc (catan_test): Add more tests.
10276 (catanh_test): Likewise.
10277 * sysdeps/i386/fpu/libm-test-ulps: Update.
10278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279
d569c6ee
SP
102802013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10281
6dbe713d
SP
10282 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10283
f0ee064b
SP
10284 * benchtests/Makefile (bench): Remove slow benchmarks.
10285 * benchtests/atan-inputs: Add slow benchmark inputs.
10286 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10287 (BENCH_FUNC): Accept variant offset.
10288 (VARIANT): Define.
10289 * benchtests/bench-skeleton.c (main): Run benchmark for each
10290 variant.
10291 * benchtests/cos-inputs: Add slow benchmark inputs.
10292 * benchtests/exp-inputs: Likewise.
10293 * benchtests/pow-inputs: Likewise.
10294 * benchtests/sin-inputs: Likewise.
10295 * benchtests/slowatan-inputs: Remove.
10296 * benchtests/slowatan.c: Remove.
10297 * benchtests/slowcos-inputs: Remove.
10298 * benchtests/slowcos.c: Remove.
10299 * benchtests/slowexp-inputs: Remove.
10300 * benchtests/slowexp.c: Remove.
10301 * benchtests/slowpow-inputs: Remove.
10302 * benchtests/slowpow.c: Remove.
10303 * benchtests/slowsin-inputs: Remove.
10304 * benchtests/slowsin.c: Remove.
10305 * benchtests/slowtan-inputs: Remove.
10306 * benchtests/slowtan.c: Remove.
10307 * benchtests/tan-inputs: Add slow benchmark inputs.
10308 * scripts/bench.pl: Parse comments and directives.
10309
d569c6ee
SP
10310 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10311 in CPPFLAGS.
10312 ($(objpfx)bench-%.c): Remove *-ITER.
10313 * benchtests/bench-modf.c: Remove definition of ITER.
10314 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10315 (main): Loop for DURATION seconds instead of fixed number of
10316 iterations.
10317 * scripts/bench.pl: Don't expect iterations in parameters.
10318
a6a242fe
RM
103192013-04-29 Roland McGrath <roland@hack.frob.com>
10320
10321 * io/fchdir.c (__fchdir): Renamed from fchdir.
10322 (fchdir): Define as weak alias.
10323
f2da7793
JM
103242013-04-29 Joseph Myers <joseph@codesourcery.com>
10325
10326 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10327 (ERRNO_EDOM): Likewise.
10328 (ERRNO_ERANGE): Likewise.
10329 (noErrnoTests): New variable.
10330 (init_max_error): Set errno to 0.
10331 (test_single_errno): New function.
10332 (test_errno): Likewise.
10333 (check_float_internal): Call test_errno. Set errno to 0.
10334 (check_complex): Refer to errno tests in comment.
10335 (check_int): Call test_errno. Set errno to 0.
10336 (check_long): Likewise.
10337 (check_bool): Likewise.
10338 (check_longlong): Likewise.
10339 (cos_test): Use ERRNO_* flags for errno tests instead of
10340 check_int.
10341 (expm1_test): Likewise.
10342 (fmod_test): Likewise.
10343 (ilogb_test): Likewise.
10344 (lgamma_test): Likewise.
10345 (pow_test): Likewise.
10346 (remainder_test): Likewise.
10347 (sin_test): Likewise.
10348 (tan_test): Likewise.
10349 (yn_test): Likewise.
10350 (initialize): Set errno to 0.
10351 (main): Print number of errno tests.
10352 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10353
b1a36ceb
AJ
103542013-04-29 Andreas Jaeger <aj@suse.de>
10355
c3ed8088
AJ
10356 [BZ #15084]
10357 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10358 and RES_USEVC.
10359
f1a24198
AJ
10360 [BZ #15085]
10361 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10362 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10363 unimplemented.
10364
9ce3b2cb
AJ
10365 [BZ #15380]
10366 * stdlib/random.c (__initstate): Return NULL if
10367 __initstate fails.
10368
f1a24198 10369 [BZ #15086]
b1a36ceb
AJ
10370 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10371 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10372 RES_SNGLKUPREOP.
10373
7e7b6f36
AZ
103742013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375
10376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10377
4d14f449
JM
103782013-04-29 Joseph Myers <joseph@codesourcery.com>
10379
10380 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10381 of individual tests.
10382 (casin_test): Likewise.
10383 (casinh_test): Likewise.
10384
5b4217d7
JM
103852013-04-27 Joseph Myers <joseph@codesourcery.com>
10386
10387 [BZ #15409]
10388 * math/s_catan.c (__catan): Handle arguments with large real or
10389 imaginary part separately without squaring.
10390 * math/s_catanf.c (__catanf): Likewise.
10391 * math/s_catanh.c (__catanh): Likewise.
10392 * math/s_catanhf.c (__catanhf): Likewise.
10393 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10394 and redefine.
10395 (__catanhl): Handle arguments with large real or imaginary part
10396 separately without squaring.
10397 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10398 and redefine.
10399 (__catanl): Handle arguments with large real or imaginary part
10400 separately without squaring.
10401 * math/libm-test.inc (catan_test): Add more tests.
10402 (catanh_test): Likewise.
10403 * sysdeps/i386/fpu/libm-test-ulps: Update.
10404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10405
4220c3ef
AJ
104062013-04-27 Andreas Jaeger <aj@suse.de>
10407
10408 [BZ #15007]
10409 * stdlib/stdlib.h: Update guards for qecvt.
10410 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10411 <stdlib.h>.
10412
4721b2d1
AM
104132013-04-27 Allan McRae <allan@archlinux.org>
10414
10415 * sysdeps/i386/fpu/libm-test-ulps: Update.
10416
f0302940
JM
104172013-04-26 Joseph Myers <joseph@codesourcery.com>
10418
9457fd95
JM
10419 [BZ #15406]
10420 * math/s_catan.c: Include <float.h>.
10421 (__catan): Ensure underflow exception occurs for underflowed
10422 result.
10423 * math/s_catanf.c: Include <float.h>.
10424 (__catanf): Ensure underflow exception occurs for underflowed
10425 result.
10426 * math/s_catanh.c: Include <float.h>.
10427 (__catanh): Ensure underflow exception occurs for underflowed
10428 result.
10429 * math/s_catanhf.c: Include <float.h>.
10430 (__catanhf): Ensure underflow exception occurs for underflowed
10431 result.
10432 * math/s_catanhl.c: Include <float.h>.
10433 (__catanhl): Ensure underflow exception occurs for underflowed
10434 result.
10435 * math/s_catanl.c: Include <float.h>.
10436 (__catanl): Ensure underflow exception occurs for underflowed
10437 result.
10438 * math/libm-test.inc (catan_test): Add more tests.
10439 (catanh_test): Likewise.
10440
f0302940
JM
10441 [BZ #15405]
10442 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10443 underflowed result.
10444 * math/s_ccoshf.c (__ccoshf): Likewise.
10445 * math/s_ccoshl.c (__ccoshl): Likewise.
10446 * math/s_csin.c (__csin): Likewise.
10447 * math/s_csinf.c (__csinf): Likewise.
10448 * math/s_csinh.c (__csinh): Likewise.
10449 * math/s_csinhf.c (__csinhf): Likewise.
10450 * math/s_csinhl.c (__csinhl): Likewise.
10451 * math/s_csinl.c (__csinl): Likewise.
10452 * math/libm-test.inc (ccos_test): Add more tests.
10453 (ccosh_test): Likewise.
10454 (csin_test): Likewise.
10455 (csinh_test): Likewise.
10456
aa630f59
AZ
104572013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10458
10459 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10460 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10461 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10462 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10463 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10464 powerpc/power5+/fpu folders.
10465 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10466
10467
1b835983
MT
104682013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10469
10470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10471
73709b26
JM
104722013-04-25 Joseph Myers <joseph@codesourcery.com>
10473
10474 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10475 additions to variable.
10476 [$(config-machine) = x86_64] (modules-names): Likewise.
10477 ($(objpfx)tst-audit3): Remove dependency.
10478 ($(objpfx)tst-audit3.out): Likewise.
10479 ($(objpfx)tst-audit4): Likewise.
10480 ($(objpfx)tst-audit4.out): Likewise.
10481 ($(objpfx)tst-audit5): Likewise.
10482 ($(objpfx)tst-audit5.out): Likewise.
10483 ($(objpfx)tst-audit6): Likewise.
10484 ($(objpfx)tst-audit6.out): Likewise.
10485 ($(objpfx)tst-audit7): Likewise.
10486 ($(objpfx)tst-audit7.out): Likewise.
10487 (tst-audit3-ENV): Remove variable.
10488 (tst-audit4-ENV): Likewise.
10489 (tst-audit5-ENV): Likewise.
10490 (tst-audit6-ENV): Likewise.
10491 (tst-audit7-ENV): Likewise.
10492 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10493 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10494 addition to variable.
10495 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10496 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10500 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10501 tst-audit3, tst-audit4 and tst-audit5.
10502 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10503 tst-audit6 and tst-audit7.
10504 [$(subdir) = elf] (modules-names): Add audit modules for those
10505 tests.
10506 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10507 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10508 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10509 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10510 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10511 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10512 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10513 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10514 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10515 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10516 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10517 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10518 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10519 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10520 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10521 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10522 Likewise.
10523 [$(subdir) = elf && $(config-cflags-avx) = yes]
10524 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10525 [$(subdir) = elf && $(config-cflags-avx) = yes]
10526 (CFLAGS-tst-auditmod4a.c): Likewise.
10527 [$(subdir) = elf && $(config-cflags-avx) = yes]
10528 (CFLAGS-tst-auditmod4b.c): Likewise.
10529 [$(subdir) = elf && $(config-cflags-avx) = yes]
10530 (CFLAGS-tst-auditmod6b.c): Likewise.
10531 [$(subdir) = elf && $(config-cflags-avx) = yes]
10532 (CFLAGS-tst-auditmod6c.c): Likewise.
10533 [$(subdir) = elf && $(config-cflags-avx) = yes]
10534 (CFLAGS-tst-auditmod7b.c): Likewise.
10535 * elf/tst-audit3.c: Move to ...
10536 * sysdeps/x86_64/tst-audit3.c: ... here.
10537 * elf/tst-audit4.c: Move to ...
10538 * sysdeps/x86_64/tst-audit4.c: ... here.
10539 * elf/tst-audit5.c: Move to ...
10540 * sysdeps/x86_64/tst-audit5.c: ... here.
10541 * elf/tst-audit6.c: Move to ...
10542 * sysdeps/x86_64/tst-audit6.c: ... here.
10543 * elf/tst-audit7.c: Move to ...
10544 * sysdeps/x86_64/tst-audit7.c: ... here.
10545 * elf/tst-auditmod3a.c: Move to ...
10546 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10547 * elf/tst-auditmod3b.c: Move to ...
10548 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10549 * elf/tst-auditmod4a.c: Move to ...
10550 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10551 * elf/tst-auditmod4b.c: Move to ...
10552 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10553 * elf/tst-auditmod5a.c: Move to ...
10554 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10555 * elf/tst-auditmod5b.c: Move to ...
10556 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10557 * elf/tst-auditmod6a.c: Move to ...
10558 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10559 * elf/tst-auditmod6b.c: Move to ...
10560 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10561 * elf/tst-auditmod6c.c: Move to ...
10562 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10563 * elf/tst-auditmod7a.c: Move to ...
10564 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10565 * elf/tst-auditmod7b.c: Move to ...
10566 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10567
1ef74943
PP
105682013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10569
10570 [BZ #15366]
10571 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10572 define unconditionally.
10573 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10574 define unconditionally.
10575 (INT8_C, INT16_C, etc.): Likewise.
10576
93fd48c5
MR
105772013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10578
ae9552cf
MR
10579 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10580 __ehdr_start with hidden visibility.
10581
93fd48c5
MR
10582 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10583
418601aa
CD
105842013-04-24 Carlos O'Donell <carlos@redhat.com>
10585
10586 * math/libm-test.inc (cos_test): Use accurate hex constants.
10587 (sincost_test): Likewise.
10588
2f38fbfe
JM
105892013-04-24 Joseph Myers <joseph@codesourcery.com>
10590
5e221800
JM
10591 * math/libm-test.inc (catan_test): Add more tests.
10592 (catanh_test): Likewise.
10593
77f143fd
JM
10594 * math/s_catanf.c (__catanf): Use suffixed floating-point
10595 constants.
10596 * math/s_catanhf.c (__catanhf): Likewise.
10597 * math/s_catanhl.c (__catanhl): Likewise.
10598 * math/s_catanl.c (__catanl): Likewise.
10599
2f38fbfe
JM
10600 [BZ #15394]
10601 * math/s_catan.c (__catan): Calculate imaginary part of result
10602 with log1p not log unless computing log of number close to 0.
10603 * math/s_catanf.c (__catanf): Likewise.
10604 * math/s_catanl.c (__catanl): Likewise.
10605 * math/s_catanh.c (__catanh): Calculate real part of result with
10606 log1p not log unless computing log of number close to 0.
10607 * math/s_catanhf.c (__catanhf): Likewise.
10608 * math/s_catanhl.c (__catanhl): Likewise.
10609 * math/libm-test.inc (catan_test): Add more tests.
10610 (catanh_test): Likewise.
10611 * sysdeps/i386/fpu/libm-test-ulps: Update.
10612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10613
45d69176
SP
106142013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10615
10616 * benchtests/Makefile: Mention files in which fast and slow
10617 paths of math functions are implemented.
10618
87f51853
RM
106192013-04-23 Roland McGrath <roland@hack.frob.com>
10620
10621 * sysdeps/posix/timespec_get.c: New file.
10622
3c026539
AZ
106232013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10624
10625 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10626 POWER.
10627 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10628 for POWER.
10629 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10630 powerpc/power5/fpu folders.
10631 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10632 * benchtests/Makefile: Add modf testcase.
10633 * benchtests/bench-modf.c: New file: Benchmark test for mo
10634
ff491d14
SP
106352013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10636
10637 [BZ #14888]
10638 * time/Makefile (tests): Add tst-strptime-whitespace.
10639 * time/strptime_l.c (get_number): Use ISSPACE.
10640 (__strptime_internal): Likewise.
10641 * time/tst-strptime-whitespace.c: New test case.
10642
7ed3f4e8
AS
106432013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10644
10645 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10646 member.
10647 (_nss_files_init): Set it here.
10648
5c95f7b6
HC
106492013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10650
10651 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10652 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10653 unsigned.
10654
d34c9158
JBG
106552013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10656
10657 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10658
2169712d
SP
106592013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10660
10661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10662 size just once.
10663
29c5de99
DM
106642013-04-21 David S. Miller <davem@davemloft.net>
10665
10666 * po/ru.po: Update Russion translation from translation project.
10667
ccdad15d
AC
106682013-04-17 Adam Conrad <adconrad@0c3.net>
10669
10670 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10671 and setfsgid.
10672
0f122b8d
CD
106732013-04-17 Carlos O'Donell <carlos@redhat.com>
10674
5c5b07da 10675 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10676 * configure: Regenerate.
5c5b07da 10677 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10678 Add example to error message.
10679 * sysdeps/i386/configure: Regenerate.
10680
037714dd
SP
106812013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10682
10683 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10684 slowtan.
10685 * benchtests/cos-inputs: New file.
10686 * benchtests/slowcos-inputs: New file.
10687 * benchtests/slowcos.c: New file.
10688 * benchtests/slowtan-inputs: New file.
10689 * benchtests/slowtan.c: New file.
10690 * benchtests/tan-inputs: New file.
10691
e913141d
RM
106922013-04-16 Roland McGrath <roland@hack.frob.com>
10693
10694 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10695 considered kosher.
10696
a2964074
SP
106972013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
4856bcd2
SP
10699 * benchtests/Makefile: Include cppflags-iterator.mk to add
10700 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10701
a2964074
SP
10702 * Makefile.in (bench-clean): New target.
10703 * benchtests/Makefile (bench-clean): Likewise.
10704
9fbf9aca
DH
107052013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10706
10707 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10708
207d1e2a
TS
107092013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10710
10711 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10712
306dfba9
AS
107132013-04-15 Andreas Schwab <schwab@suse.de>
10714
10715 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10717 * nscd/pwdcache.c (cache_addpw): Likewise.
10718 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10719 more than recsize.
10720
206a6699
SP
107212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10722
10723 * benchtests/Makefile (bench): Write all output to
10724 bench-out.tmp together.
10725
0582f6b3
AS
107262013-04-15 Andreas Schwab <schwab@suse.de>
10727
10728 * nscd/nscd.c (main): Don't fork again after closing files.
10729
acb4325f
SP
107302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10731
5cb26d0a
SP
10732 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10733
acb4325f
SP
10734 * benchtests/Rules (bench-deps): Collect dependencies into a
10735 single variable. Add Makefile to dependencies.
10736 ($(objpfx)bench-%.c): Depend on bench-deps.
10737
47792506
RM
107382013-04-12 Roland McGrath <roland@hack.frob.com>
10739 Xavier Roche <roche+kml2@exalead.com>
10740
10741 [BZ #15361]
10742 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10743 just that it's a file descriptor.
10744 * manual/llio.texi (Synchronizing AIO Operations): Update description
10745 for EBADF error from aio_fsync.
10746
8fc1bee5
SP
107472013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10748
10749 * Rules (bench): Move target definition...
10750 * benchtests/Makefile: ... here.
10751
aba5e333
CD
107522013-04-11 Carlos O'Donell <carlos@redhat.com>
10753
10754 * math/libm-test.inc (cos_test): Fix PI/2 test.
10755 (sincos_test): Likewise.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10757 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10758
273cdee8
AS
107592013-04-11 Andreas Schwab <schwab@suse.de>
10760
6ecec3b6
AS
10761 [BZ #13988]
10762 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10763 accept exponent character only when digits were seen.
10764 * stdio-common/Makefile (tests): Add bug26.
10765 * stdio-common/bug26.c: New file.
10766
273cdee8
AS
10767 [BZ #14293]
10768 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10769 non-freeable.
10770
8da491f5
SP
107712013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10772
01dc6df9
SP
10773 * Makeconfig (rtld-prefix): Define built linker prefix.
10774 * Rules (run-bench): Use it.
10775 * math/Makefile (run-regen-ulps): Likewise.
10776
8da491f5
SP
10777 * Rules (bench): Remove eval.
10778
abe7f530
SP
107792013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10780 Roland McGrath <roland@hack.frob.com>
10781 Ondrej Bilka <neleai@seznam.cz>
10782
10783 [BZ #15346]
10784 * time/getdate.c: Include ctype.h and alloca.h.
10785 (__getdate_r): Trim leading and trailing spaces of input.
10786 * time/tst-getdate.c (tests): Add tests with leading and
10787 trailing spaces.
10788
61c23e62
RM
107892013-04-08 Roland McGrath <roland@hack.frob.com>
10790
10791 [BZ #14280]
10792 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10793 when computing value.
10794
7208a313
CD
107952013-04-06 Carlos O'Donell <carlos@redhat.com>
10796
085b2d41
CD
10797 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10798 Use testrun.sh to run libm tests.
10799
7208a313
CD
10800 [BZ #15309]
10801 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10802
872c0acd
MM
108032013-04-06 Marko Myllynen <myllynen@redhat.com>
10804
10805 [BZ #15264]
10806 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10807
26510bdd
CD
108082013-04-06 Carlos O'Donell <carlos@redhat.com>
10809
10810 * Makefile.in (regen-ulps): New target.
10811 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10812 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10813 [ifneq (no,$(PERL)] (regen-ulps): New target.
10814 [ifeq (no,$(PERL)] (regen-ulps): New target.
10815 * math/libm-test.inc (ulps_file_name): Define.
10816 (output_dir): New variable.
10817 (options): Add "output-dir" option.
10818 (parse_opt): Handle 'o' case.
10819 (main): If output_dir is non-NULL use it as a prefix
10820 otherwise use "".
10821 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10822
a01f19c8
CD
108232013-04-06 Carlos O'Donell <carlos@redhat.com>
10824
10825 [BZ #10060, #10062]
10826 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10827 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10828 fail configure if __sync_val_compare_and_swap is not inlined.
10829 * sysdeps/i386/configure: Regenerate.
10830 * configure.in: Build for i686 when configured for i386.
10831 * configure: Regenerate.
10832 * README: Remove i386 reference.
10833
b7a329a5
CD
108342013-04-06 Carlos O'Donell <carlos@redhat.com>
10835
10836 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10838
bf0f50df
TS
108392013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10840
ee091edf
TS
10841 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10842 (lmsnanval): New variables.
10843 (F): Add conversion tests.
10844 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10845 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10846
a8b792d6
TS
10847 * stdio-common/tstdiomisc.c (F): Properly collect individual
10848 tests' results.
10849
a1cbf437
TS
10850 [BZ #14686, #15336]
10851 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10852 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10853 Instead, use input NaN values or generate a qNaN by arithmetic
10854 operation. Also fix bugs to comply with the standard.
10855 * math/libm-test.inc (remainder_test): Add more tests.
10856
8b43a0c9
TS
10857 [BZ #15335, #15342]
10858 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10860 input NaN values or generate a qNaN by arithmetic operation.
10861
d91da4ce
TS
10862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10863 unreachable code.
10864
bf0f50df
TS
10865 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10866 definitions.
10867
05e166c8
JM
108682013-04-03 Joseph Myers <joseph@codesourcery.com>
10869
10870 [BZ #14478]
10871 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10872 underflowed result.
10873 * math/s_cexpf.c (__cexpf): Likewise.
10874 * math/s_cexpl.c (__cexpl): Likewise.
10875 * math/libm-test.inc (cexp_test): Add more tests.
10876
1cef1b19
AS
108772013-04-03 Andreas Schwab <schwab@suse.de>
10878
10879 [BZ #15330]
10880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10881 order arrays from heap if bigger than alloca cutoff.
10882
74d87055
TS
108832013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10884
10885 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10886 (SNAN_TESTS_double): Refer to GCC PR56831.
10887 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10888 GCC PR56828.
10889
d755bba4
SP
108902013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10891
90d5d5bb
SP
10892 * Rules (bench): Move bench.out after the run is complete.
10893
73e0cd5d
SP
10894 * Rules (bench): Echo currently running benchmark.
10895
64aabd4b
SP
10896 * benchtests/Makefile (bench): Add atan and slowatan.
10897 * benchtests/atan-inputs: New file.
10898 * benchtests/slowatan-inputs: New file.
10899 * benchtests/slowatan.c: New file.
10900
c871eccd
SP
10901 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10902 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10903 its value.
10904
d755bba4
SP
10905 [BZ #15305]
10906 * sysdeps/unix/sysv/linux/kernel-features.h
10907 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10908 __ASSUME_XFS_RESTRICTED_CHOWN.
10909 * sysdeps/unix/sysv/linux/pathconf.c
10910 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10911 Save and restore errno.
10912
52ce4860
JM
109132013-04-02 Joseph Myers <joseph@codesourcery.com>
10914
10915 [BZ #15327]
10916 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10917 arguments using __kernel_casinh.
10918 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10919 arguments using __kernel_casinhf.
10920 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10921 arguments using __kernel_casinhl.
10922 * math/libm-test.inc (cacosh_test): Add more tests.
10923 * sysdeps/i386/fpu/libm-test-ulps: Update.
10924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10925
81f311c2
SP
109262013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10927
e7906a47
SP
10928 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10930
92e3664b
SP
10931 * bench/Makefile (bench): Add sin and slowsin.
10932 * benchtests/sin-inputs: New file.
10933 * benchtests/slowsin-inputs: New file.
10934 * benchtests/slowsin.c: New file.
10935
81f311c2
SP
10936 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10937 (bench): Add slowexp and slowpow.
10938 (exp-ITER): Increase iterations.
10939 (pow-ITER): Likewise.
10940 * benchtests/exp-inputs: Change input.
10941 * benchtests/pow-inputs: Likewise.
10942 * benchtests/slowexp-inputs: New file.
10943 * benchtests/slowexp.c: New file.
10944 * benchtests/slowpow-inputs: New file.
10945 * benchtests/slowpow.c: New file.
10946
ab0f1aa9
AZ
109472013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10948
10949 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10950 instructions.
10951 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10952 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10953 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10954 * benchtests/Makefile: Add rint benchtest.
10955 * benchtests/rint-inputs: Input for rint benchtest.
10956
57267616
TS
109572013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10958
10959 * Versions.def (libm): Add GLIBC_2.18.
10960 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10961 hidden libm prototypes.
10962 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10963 * math/Makefile (libm-calls): Add s_issignaling.
10964 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10965 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10966 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10967 declaration.
10968 * math/math.h [__USE_GNU] (issignaling): New macro.
10969 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10970 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10975 * manual/arith.texi (issignaling): New section.
10976 * manual/libm-err-tab.pl (@all_functions): Update comment.
10977 * math/gen-libm-test.pl (parse_args): Apply special handling for
10978 issignaling.
10979 * math/libm-test.inc (print_float, issignaling_test): New
10980 functions.
10981 (check_float_internal): Add issignaling checks.
10982 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10983 default definition.
10984 * sysdeps/powerpc/math-tests.h: New file.
10985 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10986 tests.
10987 * math/test-snan.c (TEST_FUNC): Likewise.
10988
6142896d
DM
109892013-03-30 David S. Miller <davem@davemloft.net>
10990
10991 * po/de.po: Update from translation team.
10992
ccc8cadf
JM
109932013-03-30 Joseph Myers <joseph@codesourcery.com>
10994
10995 [BZ #10357]
10996 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10997 imaginary part less than 1.0 and real part less than 0.5
10998 specially.
10999 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11000 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11001 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11002 (cacos_test): Add more tests.
11003 (casin_test): Likewise.
11004 (casinh_test): Likewise.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11007
0f6a8d4b
SP
110082013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11009
0d1029de
SP
11010 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11011 ONE with its value.
11012
c2d94018
SP
11013 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11014 (__pow_mp): Replace ONE and MONE with their values.
11015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11017 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11018 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11020 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11021
27ec37f1
SP
11022 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11023
a64d7e0e
SP
11024 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11025 (__pow_mp): Replace ZERO and MZERO with their values.
11026 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11027 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11028 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11030 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11031 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11032 (__sqr): Likewise.
11033
d26dd3eb
SP
11034 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11035
0f6a8d4b
SP
11036 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11037
e57b0c61
RM
110382013-03-28 Roland McGrath <roland@hack.frob.com>
11039
11040 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11041 Declare with __attribute__ ((weak)).
11042 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11043 Call __call_tls_dtors only if it's not NULL.
11044
356b3480
RM
110452013-03-28 Roland McGrath <roland@hack.frob.com>
11046
288f7d79
RM
11047 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11048 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11049 magic __ehdr_start linker symbol if it's defined.
11050 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11051 them up here if it was already done.
11052
dc0a0263
RM
11053 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11054 (_dl_aux_init): Use const in cast when setting it.
11055 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11056 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11057 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11058
3d3436ae
RM
11059 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11060 Declare them here.
11061 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11062 * csu/libc-tls.c: Nor here.
11063 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11064
356b3480
RM
11065 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11066 (__libc_message): Never call vsyslog.
11067
b0f1246a
AM
110682013-03-28 Alan Modra <amodra@gmail.com>
11069
11070 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11071 Define as empty.
11072 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11073 Likewise.
11074
fbbe2b9a
AZ
110752013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076
11077 [BZ #15214]
11078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11079 underflow.
11080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11081
1728ab37
SP
110822013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11083
7a86be6e
SP
11084 [BZ #15304]
11085 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11086 Don't add gid passed as argument.
11087
1728ab37
SP
11088 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11089
3a7182a1
JM
110902013-03-27 Joseph Myers <joseph@codesourcery.com>
11091
11092 [BZ #15307]
11093 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11094 imaginary part between 1.0 and 1.5 and real part less than 0.5
11095 specially.
11096 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11097 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11098 * math/libm-test.inc (cacos_test): Add more tests.
11099 (casin_test): Likewise.
11100 (casinh_test): Likewise.
11101 * sysdeps/i386/fpu/libm-test-ulps: Update.
11102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11103
6f2e90e7
SP
111042013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11105
5739f705
SP
11106 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11107 constants.
11108 (norm): Likewise.
11109 (denorm): Likewise.
11110 (__dbl_mp): Likewise.
11111 (add_magnitudes): Likewise.
11112 (sub_magnitudes): Likewise.
11113 (__add): Likewise.
11114 (__sub): Likewise.
11115 (__mul): Likewise.
11116 (__sqr): Likewise.
11117 (__inv): Likewise.
11118 (__dvd): Likewise.
11119
e375e83d
SP
11120 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11121 commented code.
11122 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11123 (__dubcos): Likewise.
11124 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11125 (__ieee754_acos): Likewise.
11126 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11128 (__exp1): Likewise.
11129 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11131 (log1): Likewise.
11132 (my_log2): Likewise.
11133 (checkint): Likewise.
11134 * sysdeps/ieee754/dbl-64/e_remainder.c
11135 (__ieee754_remainder): Likewise.
11136 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11138 (bsloww): Likewise.
11139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11140
6f2e90e7
SP
11141 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11142 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11143 MANTISSA_STORE_T to store computations on mantissa. Use
11144 macros for rounding and division.
11145 (denorm): Likewise.
11146 (__dbl_mp): Likewise.
11147 (add_magnitudes): Likewise.
11148 (sub_magnitudes): Likewise.
11149 (__mul): Likewise.
11150 (__sqr): Likewise.
11151 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11152 powers of two in terms of TWOPOW macro.
11153 (mp_no): Make type of mantissa as MANTISSA_T.
11154 [!RADIXI]: Define RADIXI.
11155 [!TWO52]: Define TWO52.
11156 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11157
fce14d4e
AZ
111582013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11159
11160 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11161 llroundl symbol when building for PPC32.
11162
9ad027fb
MW
111632013-03-24 Mark H Weaver <mhw@netris.org>
11164
11165 * manual/arith.texi (Normalization Functions): Fix prototypes for
11166 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11167
e42a38dd
AZ
111682013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11169
11170 [BZ #13889]
11171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11172 high value to check if expl overflow.
11173 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11174 to check for underflow and overflow.
11175 * math/libm-test.inc: Add exp test.
11176
2e0fb521
DL
111772013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11178
11179 [BZ #11120]
11180 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11181 with NOT_IN_libc.
11182
b5784d95
AZ
111832013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11184
11185 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11186 symbol.
11187
5aa4a1a1
TS
111882013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11189
bdef0be7
TS
11190 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11191 wrap blocks consisting of several statements.
11192
5aa4a1a1
TS
11193 * sysdeps/generic/math-tests.h: New file.
11194 * sysdeps/i386/fpu/math-tests.h: Likewise.
11195 * math/test-snan.c: Include it.
11196 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11197
98c48fe5
JM
111982013-03-21 Joseph Myers <joseph@codesourcery.com>
11199
11200 [BZ #15285]
11201 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11202 (__ieee754_j0l): Do not improve calculations using cos of twice
11203 input for inputs above LDBL_MAX / 2.0L.
11204 (__ieee754_y0l): Likewise.
11205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11206 (__ieee754_j1l): Do not improve calculations using cos of twice
11207 input for inputs above LDBL_MAX / 2.0L.
11208 (__ieee754_y1l): Likewise.
11209 * math/libm-test.inc (j0_test): Add another test.
11210 (j1_test): Likewise.
11211 (y0_test): Likewise.
11212 (y1_test): Likewise.
11213 * sysdeps/i386/fpu/libm-test-ulps: Update.
11214
3775a8bc
SP
112152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11216
11217 * Rules ($(objpfx)bench-%.c): Include code from a C source
11218 file.
11219
0a1b2ae6
JM
112202013-03-21 Joseph Myers <joseph@codesourcery.com>
11221
11222 [BZ #15287]
11223 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11224 imaginary part 1.0 and real part less than 0.5 specially.
11225 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11226 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11227 * math/libm-test.inc (cacos_test): Add more tests.
11228 (casin_test): Likewise.
11229 (casinh_test): Likewise.
11230 * sysdeps/i386/fpu/libm-test-ulps: Update.
11231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232
b33d4ce4
SP
112332013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11234
11235 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11236 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11237
bef0b507
JM
112382013-03-20 Joseph Myers <joseph@codesourcery.com>
11239
11240 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11241 * config.make.in (config-cflags-sse4): Remove variable.
11242 (config-cflags-avx): Likewise.
11243 (config-cflags-sse2avx): Likewise.
11244 (config-cflags-novzeroupper): Likewise.
11245 (config-asflags-i686): Likewise.
11246 (have-mfma4): Likewise.
11247 (have-as-vis3): Likewise.
11248 (MIG): Likewise.
11249 * configure.in (MIG): Do not AC_SUBST.
11250 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11251 (libc_cv_cc_sse4): Do not AC_SUBST.
11252 (libc_cv_cc_avx): Likewise.
11253 (libc_cv_cc_sse2avx): Likewise.
11254 (libc_cv_cc_novzeroupper): Likewise.
11255 (libc_cv_cc_fma4): Likewise.
11256 (libc_cv_as_i686): Likewise.
11257 (libc_cv_sparc_as_vis3): Likewise.
11258 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11259 LIBC_CONFIG_VAR.
11260 (config-asflags-i686): Likewise.
11261 (config-cflags-avx): Likewise.
11262 (config-cflags-sse2avx): Likewise.
11263 (have-mfma4): Likewise.
11264 (config-cflags-novzeroupper): Likewise.
11265 * sysdeps/mach/configure.in (MIG): Likewise.
11266 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11267 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11268 LIBC_CONFIG_VAR.
11269 (config-cflags-avx): Likewise.
11270 (config-cflags-sse2avx): Likewise.
11271 (have-mfma4): Likewise.
11272 (config-cflags-novzeroupper): Likewise.
11273 * configure: Regenerated.
11274 * sysdeps/i386/configure: Likewise.
11275 * sysdeps/mach/configure: Likewise.
11276 * sysdeps/sparc/configure: Likewise.
11277 * sysdeps/x86_64/configure: Likewise.
11278
912cc4b3
RM
112792013-03-20 Roland McGrath <roland@hack.frob.com>
11280
11281 [BZ #14812]
11282 * locale/programs/localedef.c (options): Put N_ translation marker
11283 on argument names, not just descriptions.
11284
04eed2b0
MS
112852013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11286
11287 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11288
a065ceff
OB
112892013-03-20 Ondřej Bílka <neleai@seznam.cz>
11290
9bb2a810 11291 [BZ #14176]
a065ceff
OB
11292 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11293
a600e5ce
RM
112942013-03-19 Roland McGrath <roland@hack.frob.com>
11295
11296 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11297 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11298 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11299 [!BEFORE_ABORT] (before_abort): New function.
11300 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11301 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11302 (writev_for_fatal): New function.
11303 (WRITEV_FOR_FATAL): New macro; call that.
11304 (backtrace_and_maps): New function.
11305 (BEFORE_ABORT): New macro; call that.
11306 (struct str_list): Type removed.
11307 (__libc_message, __libc_fatal): Functions removed.
11308 Include <sysdeps/posix/libc_fatal.c> instead.
11309
6b18bea6
JM
113102013-03-19 Joseph Myers <joseph@codesourcery.com>
11311
11312 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11313 constants.
11314 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11315 double constants.
11316
aaa8cb4b
AS
113172013-03-19 Andreas Schwab <schwab@suse.de>
11318
44673770
AS
11319 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11320 * sysdeps/gnu/configure: Regenerate.
11321
aaa8cb4b
AS
11322 * configure.in: Substitute libc_cv_rtlddir.
11323 * configure: Regenerate.
11324 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11325 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11326 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11327 * elf/Makefile (install-others, CFLAGS-interp.c)
11328 (ldso_install, common-ldd-rewrite): Likewise.
11329 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11330 $(inst_slibdir)/$(rtld-installed-name).
11331 * scripts/rellns-sh: Add -p option.
11332 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11333 for source.
11334
d3cfc668
SP
113352013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11336
11337 * manual/nptl.texi: Renamed to ...
11338 * manual/threads.texi: ... this.
11339 * manual/Makefile (chapters): Update.
11340
0e2b9cdd
RM
113412013-03-18 Roland McGrath <roland@hack.frob.com>
11342
11343 [BZ #14812]
11344 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11345 on argument names, not just descriptions.
0e2b9cdd
RM
11346 * malloc/memusagestat.c (options): Likewise.
11347 * nss/getent.c (options): Likewise.
63270c24
RM
11348
113492013-03-18 Benno Schulenberg <bensberg@justemail.net>
11350
11351 [BZ #14812]
11352 * iconv/iconv_prog.c (options): Put N_ translation marker
11353 on argument names, not just descriptions.
11354 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11355
b2e1393c
OB
113562013-03-18 Ondrej Bilka <neleai@seznam.cz>
11357
11358 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11359 implementation which is faster on all x86_64 architectures.
11360 Tested on AMD, Intel Nehalem, SNB, IVB.
11361 * sysdeps/x86_64/strnlen.S: Likewise.
11362
11363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11364 Remove all multiarch strlen and strnlen versions.
11365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11366 Remove strlen and strnlen related parts.
11367
11368 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11369 Inline strlen part.
11370 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11371
11372 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11373 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11374 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11375 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11376 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11377 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11378
ec4ff04d
CD
113792013-03-17 Carlos O'Donell <carlos@redhat.com>
11380
11381 * manual/memory.texi (Malloc Tunable Parameters):
11382 Sort parameters alphabetically. Add comments for missing entries.
11383
cd18e90a
DM
113842013-03-17 David S. Miller <davem@davemloft.net>
11385
11386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11387
2a185d32
JM
113882013-03-16 Joseph Myers <joseph@codesourcery.com>
11389
d2f9799e
JM
11390 [BZ #15283]
11391 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11392 for arguments at most half maximum finite value.
11393 * math/libm-test.inc (j0_test): Add more tests.
11394 (j1_test): Likewise.
11395 (y0_test): Likewise.
11396 (y1_test): Likewise.
11397 * sysdeps/i386/fpu/libm-test-ulps: Update.
11398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11399
2a185d32
JM
11400 [BZ #14155]
11401 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11402 1 / x and functions P and Q for arguments above 0x1p256L.
11403 (__ieee754_y0l): Likewise.
11404 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11405 (__ieee754_y1l): Likewise.
11406 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11407 (j1_test): Likewise.
11408 (y0_test): Likewise.
11409 (y1_test): Likewise.
11410
6cbec759
TS
114112013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11412
11413 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11414 variable.
11415
bc16e260
RM
114162013-03-15 Roland McGrath <roland@hack.frob.com>
11417
aefc9b8c
RM
11418 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11419 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11420 zero since it's initialized to EXEC_PAGESIZE.
11421
bc16e260
RM
11422 * sysdeps/unix/sysv/linux/ldsodefs.h
11423 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11424 * sysdeps/generic/ldsodefs.h: ... here.
11425
a57da955
TS
114262013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11427
af00a34d
TS
11428 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11429
495ded2c
TS
11430 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11431 math/test-snan.c.
11432 * math/test-snan.c: Renamed from
11433 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11434 * math/Makefile (tests): Add test-snan.
11435 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11436 test-powerpc-snan.
11437
777b0332
TS
11438 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11439 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11440 functions.
11441 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11442 __builtin_nan family of functions.
11443 * math/libm-test.inc (initialize): Initialize qnan_value with
11444 __builtin_nan family of functions.
11445 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11446 Remove variables.
11447 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11448 Remove functions.
11449 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11450 storage class. Initialize qNaN_var and sNaN_var with
11451 __builtin_nan and __builtin_nans families of functions,
11452 respectively.
11453
64d063b8
TS
11454 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11455 (sqrt_test): Remove duplicate test with qNaN input.
11456 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11457 (round_test, signbit_test, significand_test): Note missing +/-Inf
11458 as well as qNaN tests.
11459
67e971f1
TS
11460 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11461 qNaN_var. Fix a few strings, too.
11462 * math/libm-test.inc (nan_value): Rename to qnan_value.
11463 * math/gen-libm-test.pl (%beautify): Adjust to that.
11464 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11465 * math/test-misc.c (main): Likewise.
11466 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11467 to __qnan_bytes, and __qnan_union, respectively.
11468 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11469 Likewise.
11470 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11471 and lqnanval, respectively.
11472 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11473 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11474 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11475 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11476
64487e12
TS
11477 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11478 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11479 doubles.
11480
e015e27b
TS
11481 * math/test-misc.c (main): Fix copy'n'pastos.
11482 * misc/tst-efgcvt.c (special): Likewise.
11483
a57da955
TS
11484 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11485 Remove declarations.
11486
1e380345
SP
114872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11488
11489 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11490 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11491 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11492 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11493
ef26eece
AZ
114942013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11495
11496 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11497 macro to return vdso values correctly in IFUNC implementations.
11498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11499 Optimization by using IFUNC.
11500
8cfdb7e0
SP
115012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11502 Richard Henderson <rth@redhat.com>
11503 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11504
11505 * Makefile.in (bench): New target.
11506 * NEWS: Mention the benchmark framework.
11507 * Rules (bench): Likewise.
11508 (binaries-bench): Generate binaries for functions to
11509 benchmark.
11510 * benchtests/Makefile: New makefile for benchmark tests.
11511 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11512 programs.
11513 * benchtests/exp-inputs: New input file for EXP function.
11514 * benchtests/pow-inputs: New input file for POW function.
11515 * scripts/bench.pl: New script to generate source files for
11516 benchmark programs.
11517
bcda9880
SP
115182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11519
d22ca8cd
SP
11520 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11521 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11522 computations on mantissa. Use macros for rounding and
11523 division.
11524 (denorm): Likewise.
11525 (__dbl_mp): Likewise.
11526 (add_magnitudes): Likewise.
11527 (sub_magnitudes): Likewise.
11528 (__mul): Likewise.
11529 (__sqr): Likewise.
11530 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11531 powers of two in terms of TWOPOW macro.
11532 (mp_no): Make type of mantissa as MANTISSA_T.
11533 [!RADIXI]: Define RADIXI.
11534 [!TWO52]: Define TWO52.
11535 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11536
bcda9880
SP
11537 * manual/nptl.texi (cindex): Modify threads to pthreads.
11538
06d5adfb
JM
115392013-03-15 Joseph Myers <joseph@codesourcery.com>
11540
11541 * sysdeps/x86_64/preconfigure: Regenerated.
11542
41c7328e
JM
115432013-03-14 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #14155]
11546 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11547 0x1p28 and above.
11548 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11549 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11550 0x1p28 and above.
11551 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11552 * math/libm-test.inc (j0_test): Do not allow one spurious
11553 underflow exception.
11554 (y1_test): Likewise.
11555
e25cfa60
SP
115562013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11557
0409959c
SP
11558 * manual/Makefile (chapters): Add nptl.
11559 * manual/debug.texi (Debugging Support): Add link to Threads
11560 chapter.
11561 * manual/nptl.texi: New file.
11562
e25cfa60
SP
11563 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11564
58a1335e
PB
115652013-03-14 Petr Baudis <pasky@ucw.cz>
11566
11567 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11568 for non-NULL pointer before the memory validity test. Pointed
11569 out by Holger Brunck <holger.brunck@keymile.com>.
11570
9dc7c64f
AS
115712013-03-13 Andreas Schwab <schwab@suse.de>
11572
11573 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11574 instead of .os.
11575
54206aa6
JM
115762013-03-13 Joseph Myers <joseph@codesourcery.com>
11577
11578 * timezone/zic.c: Update from tzcode 2013b.
11579
e98cdb38
CD
115802013-03-12 Carlos O'Donell <carlos@redhat.com>
11581
11582 * manual/install.texi (Configuring and compiling):
11583 Mention i686 and i586.
11584 * INSTALL: Regenerate.
11585
9967e003
RM
115862013-03-12 Roland McGrath <roland@hack.frob.com>
11587
11588 * sysdeps/init_array/elf-init.c: New file.
11589 * csu/elf-init.c
11590 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11591 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11592
11593 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11594 __gmon_start__ as global, but as static with a .preinit_array pointer.
11595 * sysdeps/init_array/gmon-start.c: New file. Use that.
11596 * sysdeps/init_array/crti.S: New file, empty except for comments.
11597 * sysdeps/init_array/crtn.S: Likewise.
11598
e6b5a293 115992013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11600
11601 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11602 definining bcopy.
80f844c9
OB
11603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11604 Remove Prefer_SSE_for_memop.
11605 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11606 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11607 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11609 memset-x86-64.
80f844c9 11610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11611 Remove bzero, memset ifunc support.
80f844c9
OB
11612 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11613 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11614 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11615 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11616
fb6b0fcb
AS
116172013-03-11 Andreas Schwab <schwab@suse.de>
11618
11619 [BZ #15234]
11620 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11621 by SHLIB_COMPAT.
11622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11623 (GLIBC_2.16): Remove pthread_atfork.
11624
3e6bd4b1
PP
116252013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11626
11627 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11628 (ptestcases.h): Likewise.
11629
222d7f00
RM
116302013-03-08 Roland McGrath <roland@hack.frob.com>
11631
11632 * Makeconfig ($(common-objpfx)config.status): Depend on
11633 sysdeps/*/preconfigure{,.in} too.
11634
1ba4f030
JM
116352013-03-08 Joseph Myers <joseph@codesourcery.com>
11636
a222d91a
JM
11637 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11638 (__free_hook): Use void * instead of __malloc_ptr_t.
11639 (__malloc_hook): Likewise.
11640 (__realloc_hook): Likewise.
11641 (__memalign_hook): Likewise.
11642 (__after_morecore_hook): Likewise.
11643 * malloc/arena.c (save_malloc_hook): Likewise.
11644 (save_free_hook): Likewise.
11645 * malloc/hooks.c (malloc_hook_ini): Likewise.
11646 (realloc_hook_ini): Likewise.
11647 (memalign_hook_ini): Likewise.
11648 * malloc/malloc.c (malloc_hook_ini): Likewise.
11649 (realloc_hook_ini): Likewise.
11650 (memalign_hook_ini): Likewise.
11651 (__free_hook): Likewise.
11652 (__malloc_hook): Likewise.
11653 (__realloc_hook): Likewise.
11654 (__memalign_hook): Likewise.
11655 (__libc_malloc): Likewise.
11656 (__libc_free): Likewise.
11657 (__libc_realloc): Likewise.
11658 (__libc_memalign): Likewise.
11659 (__libc_valloc): Likewise.
11660 (__libc_pvalloc): Likewise.
11661 (__libc_calloc): Likewise.
11662 (__posix_memalign): Likewise.
11663 * malloc/morecore.c (__sbrk): Likewise.
11664 (__default_morecore): Likewise.
11665
5cc45e10
JM
11666 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11667
dd54b864
JM
11668 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11669 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11670 __malloc_ptrdiff_t.
11671
1ba4f030
JM
11672 * malloc/malloc.h (__malloc_size_t): Remove macro.
11673 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11674 __malloc_size_t.
11675 (old_memalign_hook): Likewise.
11676 (old_realloc_hook): Likewise.
11677 (struct hdr): Likewise.
11678 (flood): Likewise.
11679 (mallochook): Likewise.
11680 (memalignhook): Likewise.
11681 (reallochook): Likewise.
11682 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11683 (tr_old_realloc_hook): Likewise.
11684 (tr_old_memalign_hook): Likewise.
11685 (tr_mallochook): Likewise.
11686 (tr_reallochook): Likewise.
11687 (tr_memalignhook): Likewise.
11688
edf66e57
AZ
116892013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11690
11691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11692 default_ldbl_pack and using as default implementation.
11693 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11694 implementation.
11695 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11696 redundant definition.
11697 (ldbl_insert_mantissa): Likewise.
11698 (ldbl_canonicalize): Likewise.
11699 (ldbl_nearbyint): Likewise.
11700 (ldbl_pack): Rename to ldbl_pack_ppc.
11701 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11702 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11703 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11704
6d9145d8
SP
117052013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
11707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11708 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11710 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11712 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11713 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11714 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11715
4dd4e157
AJ
117162013-03-07 Andreas Jaeger <aj@suse.de>
11717
11718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11719 bits/mman-linux.h.
11720
adbb8027
SP
117212013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11722
ce544b5b
SP
11723 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11724 Include mpa.h and declare __MPEXP.
11725 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11727 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11728 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11729 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11730 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11731 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11732
4cc149fd
SP
11733 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11734 (__slowpow): Use long double EXPL and LOGL functions to
11735 compute POW.
11736 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11737 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11738 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11739 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11740 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11742
e6ebd4a7
SP
11743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11744 intermediate variable to calculate exponent.
11745 (__sqr): Likewise.
11746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11747 Likewise.
11748 (__sqr): Likewise.
11749
82a9811d
SP
11750 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11751 [!NO__SQR]: Define __sqr.
11752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11753 and NO__SQR. Remove all code except __mul and __sqr. Include
11754 sysdeps/ieee754/dbl-64/mpa.c.
11755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11756
adbb8027
SP
11757 [BZ #12723]
11758 * posix/Makefile (tests): Add tst-pathconf.
11759 * posix/tst-pathconf.c: New test case.
11760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11761 _PC_PIPE_BUF.
11762 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11763
39120df9
PF
117642013-03-06 Patsy Franklin <pfrankli@redhat.com>
11765
11766 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11767
67525cb8
AJ
117682013-03-06 Andreas Jaeger <aj@suse.de>
11769
664a9ce4
AJ
11770 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11771 definition via __MAP_ANONYMOUS.
11772
8e39047d
AJ
11773 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11774 it's not part of Linux headers.
11775
67525cb8
AJ
11776 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11777 (MAP_HUGE_MASK): Define.
11778
11779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11780 Define.
11781 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11783 Define.
11784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11785 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11786 Define.
11787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11789 Define.
11790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11791
11792 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11793 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11794 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11795 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11796 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11797 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11798
11799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11800 Handle f2fs.
11801
11802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11803 Handle f2fs and efivarfs.
11804
11805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11806 f2fs.
11807
11808 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11809 (EFIVARFS_MAGIC): Add.
11810 (F2FS_LINK_MAX): Add.
11811
e1b42695
PP
118122013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11813
11814 * stdio-common/vfprintf.c: Replace __builtin_expect with
11815 __glibc_unlikely.
11816
2d67d91a
JM
118172013-03-06 Joseph Myers <joseph@codesourcery.com>
11818
11819 [BZ #13550]
11820 * sysdeps/generic/bp-sym.h: Remove file.
11821 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11822 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11823 <bp-sym.h> and <bp-asm.h>.
11824 (__longjmp): Don't use BP_SYM.
11825 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11826 and <bp-asm.h>.
11827 (memcpy): Don't use BP_SYM.
11828 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11829 <bp-sym.h> and <bp-asm.h>.
11830 (memcpy): Don't use BP_SYM.
11831 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11832 <bp-asm.h>.
11833 (memcpy): Don't use BP_SYM.
11834 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11835 <bp-asm.h>.
11836 (memset): Don't use BP_SYM.
11837 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11838 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11839 (__bzero): Don't use BP_SYM.
11840 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11841 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11842 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11843 <bp-sym.h> and <bp-asm.h>.
11844 (memcmp): Don't use BP_SYM. Remove comment about bounded
11845 pointers.
11846 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11847 <bp-sym.h> and <bp-asm.h>.
11848 (memcpy): Don't use BP_SYM.
11849 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11850 <bp-sym.h> and <bp-asm.h>.
11851 (memset): Don't use BP_SYM.
11852 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11853 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11854 (__bzero): Don't use BP_SYM.
11855 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11856 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11857 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11858 <bp-sym.h> and <bp-asm.h>.
11859 (strncmp): Don't use BP_SYM. Remove comment about bounded
11860 pointers.
11861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11862 <bp-sym.h> and <bp-asm.h>.
11863 (memcpy): Don't use BP_SYM.
11864 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11865 <bp-sym.h> and <bp-asm.h>.
11866 (memset): Don't use BP_SYM.
11867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11869 (__bzero): Don't use BP_SYM.
11870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (__memchr): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (memcmp): Don't use BP_SYM. Remove comment about bounded
11878 pointers.
11879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11880 <bp-sym.h> and <bp-asm.h>.
11881 (memcpy): Don't use BP_SYM.
11882 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11883 <bp-sym.h> and <bp-asm.h>.
11884 (__mempcpy): Don't use BP_SYM.
11885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11886 <bp-sym.h> and <bp-asm.h>.
11887 (__memrchr): Don't use BP_SYM.
11888 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11889 <bp-sym.h> and <bp-asm.h>.
11890 (memset): Don't use BP_SYM.
11891 (__bzero): Likewise.
11892 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11893 <bp-sym.h> and <bp-asm.h>.
11894 (__rawmemchr): Don't use BP_SYM.
11895 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11896 <bp-sym.h> and <bp-asm.h>.
11897 (__STRCMP): Don't use BP_SYM.
11898 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11899 <bp-sym.h> and <bp-asm.h>.
11900 (strchr): Don't use BP_SYM.
11901 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11902 <bp-sym.h> and <bp-asm.h>.
11903 (__strchrnul): Don't use BP_SYM.
11904 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11905 <bp-sym.h> and <bp-asm.h>.
11906 (strlen): Don't use BP_SYM.
11907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11908 <bp-sym.h> and <bp-asm.h>.
11909 (strncmp): Don't use BP_SYM. Remove comment about bounded
11910 pointers.
11911 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__strnlen): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (__GI__setjmp): Don't use BP_SYM.
11917 (_setjmp): Likewise.
11918 (__sigsetjmp): Likewise.
11919 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11920 (L(start_addresses)): Don't use BP_SYM.
11921 (_start): Likewise.
11922 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11923 <bp-asm.h>.
11924 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11925 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11926 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11927 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11928 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11929 <bp-asm.h>.
11930 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11931 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11932 about bounded pointers.
11933 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11934 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11935 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11936 <bp-asm.h>.
11937 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11938 about bounded pointers. Remove GKM FIXME comments.
11939 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11940 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11941 <bp-asm.h>.
11942 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11943 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11944 Remove GKM FIXME comments.
11945 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11946 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11947 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11948 <bp-asm.h>.
11949 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11950 about bounded pointers. Remove GKM FIXME comment.
11951 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11952 and <bp-asm.h>.
11953 (strncmp): Don't use BP_SYM. Remove comment about bounded
11954 pointers.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11956 <bp-sym.h> and <bp-asm.h>.
11957 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11959 <bp-sym.h> and <bp-asm.h>.
11960 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11961 comment.
11962
cdcf361f
PP
119632013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11964
11965 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11966 call free(NULL).
11967
3c4a2b15
DM
119682013-03-05 David S. Miller <davem@davemloft.net>
11969
11970 * po/es.po: Update from translation team.
11971
cdcf361f 119722013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11973
11974 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11975 <bits/mman-linux.h>.
11976 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11977 is fine.
11978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11979 <bits/mman-linux.h> to end of file.
11980 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11981 is fine.
11982 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11983 <bits/mman-linux.h> to end of file.
11984 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11985 is fine.
11986 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11987 <bits/mman-linux.h> to end of file.
11988
11989 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11990 (MCL_CURRENT, MCL_FUTURE): Define here.
11991
5f67c04f
AK
119922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11993
8a4473cc 11994 [BZ #15232]
5f67c04f
AK
11995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11996 attribute_hidden.
11997 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11998
c3e94a95
AK
119992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12000
12001 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12002 fourth parameter needed for rt_sigprocmask syscall.
12003 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12004 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12005 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12006 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12007 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12008 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12009
cfb6382a
JM
120102013-03-04 Joseph Myers <joseph@codesourcery.com>
12011
12012 [BZ #13550]
12013 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12014 comment about bounded pointers.
12015 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12016 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12017
539d8e01
AJ
120182013-03-04 Andreas Jaeger <aj@suse.de>
12019
12020 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12021 common definitions.
12022
12023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12024 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12025 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12029
2e167a70 120302013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12031
12032 [BZ #15055]
12033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12034 __ieee754_sqrl instead of __sqrl.
12035
68508633
JM
120362013-03-01 Joseph Myers <joseph@codesourcery.com>
12037
12038 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12039 * sysdeps/powerpc/fpu_control.h: ... here.
12040 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12041 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12042 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12043 * sysdeps/powerpc/bits/mathinline.h: ... here.
12044
7775448e
RM
120452013-03-01 Roland McGrath <roland@hack.frob.com>
12046
12047 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12048 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12049 to just [NEED_DL_SYSINFO_DSO].
12050 * elf/dl-support.c: Likewise.
12051 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12052 * elf/rtld.c (dl_main): Likewise.
12053 * elf/setup-vdso.h (setup_vdso): Likewise.
12054 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12055 * sysdeps/unix/sysv/linux/dl-sysdep.c
12056 (_dl_discover_osversion): Likewise.
12057
4e9b5995
CD
120582013-03-01 Carlos O'Donell <carlos@redhat.com>
12059
12060 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12061 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12062
e23872c8
SP
120632013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
e5c74c63
SP
12065 * NEWS: Mention libm performance improvements and non-x86 PI
12066 futex support.
12067
e23872c8
SP
12068 * csu/libc-start.c (__pthread_initialize_minimal): Change
12069 function arguments.
12070 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12071
b5510883
JM
120722013-02-28 Joseph Myers <joseph@codesourcery.com>
12073
12074 [BZ #13550]
12075 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12076 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12079 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12080 and <bp-asm.h>.
12081 (memcpy): Don't use BP_SYM.
12082 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12083 <bp-asm.h>.
12084 (__mpn_add_n): Don't use BP_SYM.
12085 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12086 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12087 and <bp-asm.h>.
12088 (__mpn_addmul_1): Don't use BP_SYM.
12089 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12090 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12091 <bp-sym.h>.
12092 (_setjmp): Don't use BP_SYM.
12093 (__novmx_setjmp): Likewise.
12094 (__GI__setjmp): Likewise.
12095 (__vmx_setjmp): Likewise.
12096 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12097 <bp-sym.h>.
12098 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12099 (__bzero): Don't use BP_SYM.
12100 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12101 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12102 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12103 <bp-sym.h> and <bp-asm.h>.
12104 (memcpy): Don't use BP_SYM.
12105 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12106 <bp-sym.h> and <bp-asm.h>.
12107 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12108 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12109 <bp-sym.h> and <bp-asm.h>.
12110 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12111 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12112 <bp-asm.h>.
12113 (__mpn_lshift): Don't use BP_SYM.
12114 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12115 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12116 <bp-asm.h>.
12117 (memset): Don't use BP_SYM.
12118 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12119 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12120 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12121 <bp-asm.h>.
12122 (__mpn_mul_1): Don't use BP_SYM.
12123 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12124 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12125 <bp-sym.h> and <bp-asm.h>.
12126 (memcmp): Don't use BP_SYM.
12127 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (memcpy): Don't use BP_SYM.
12130 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12131 <bp-sym.h> and <bp-asm.h>.
12132 (memset): Don't use BP_SYM.
12133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12134 <bp-sym.h> and <bp-asm.h>.
12135 (strncmp): Don't use BP_SYM.
12136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12137 <bp-sym.h> and <bp-asm.h>.
12138 (memcpy): Don't use BP_SYM.
12139 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12140 <bp-sym.h> and <bp-asm.h>.
12141 (memset): Don't use BP_SYM.
12142 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12143 <bp-sym.h> and <bp-asm.h>.
12144 (__memchr): Don't use BP_SYM.
12145 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12146 <bp-sym.h> and <bp-asm.h>.
12147 (memcmp): Don't use BP_SYM.
12148 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12149 <bp-sym.h> and <bp-asm.h>.
12150 (memcpy): Don't use BP_SYM.
12151 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12152 <bp-sym.h> and <bp-asm.h>.
12153 (__mempcpy): Don't use BP_SYM.
12154 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12155 <bp-sym.h> and <bp-asm.h>.
12156 (__memrchr): Don't use BP_SYM.
12157 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12158 <bp-sym.h> and <bp-asm.h>.
12159 (memset): Don't use BP_SYM.
12160 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12161 <bp-sym.h> and <bp-asm.h>.
12162 (__rawmemchr): Don't use BP_SYM.
12163 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12164 <bp-sym.h> and <bp-asm.h>.
12165 (__STRCMP): Don't use BP_SYM.
12166 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12167 <bp-sym.h> and <bp-asm.h>.
12168 (strchr): Don't use BP_SYM.
12169 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12170 <bp-sym.h> and <bp-asm.h>.
12171 (__strchrnul): Don't use BP_SYM.
12172 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12173 <bp-sym.h> and <bp-asm.h>.
12174 (strlen): Don't use BP_SYM.
12175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12176 <bp-sym.h> and <bp-asm.h>.
12177 (strncmp): Don't use BP_SYM.
12178 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12179 <bp-sym.h> and <bp-asm.h>.
12180 (__strnlen): Don't use BP_SYM.
12181 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12182 <bp-asm.h>.
12183 (__mpn_rshift): Don't use BP_SYM.
12184 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12185 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12186 <bp-sym.h> and <bp-asm.h>.
12187 (__sigsetjmp): Don't use BP_SYM.
12188 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12189 (L(start_addresses)): Don't use BP_SYM.
12190 (_start): Likewise.
12191 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12192 <bp-asm.h>.
12193 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12194 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12195 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12196 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12197 <bp-asm.h>.
12198 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12199 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12200 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12201 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12202 <bp-asm.h>.
12203 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12204 comments.
12205 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12206 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12207 <bp-asm.h>.
12208 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12209 FIXME comments.
12210 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12211 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12212 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12213 <bp-asm.h>.
12214 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12215 comment.
12216 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12217 and <bp-asm.h>.
12218 (strncmp): Don't use BP_SYM,
12219 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12220 <bp-asm.h>.
12221 (__mpn_sub_n): Don't use BP_SYM.
12222 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12223 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12224 and <bp-asm.h>.
12225 (__mpn_submul_1): Don't use BP_SYM.
12226 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12228 <bp-sym.h> and <bp-asm.h>.
12229 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12231 <bp-sym.h> and <bp-asm.h>.
12232 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12233 comment.
12234
8d19fe64
SP
122352013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12238 Use ZK to minimize writes to Z.
12239 (sub_magnitudes): Simplify code a bit.
12240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12241 Use ZK to minimize writes to Z.
12242 (sub_magnitudes): Simplify code a bit.
12243
85bd816a
RM
122442013-02-27 Roland McGrath <roland@hack.frob.com>
12245
12246 * csu/gmon-start.c: Add special exception to license text.
12247
b5977bf2
RH
122482013-02-27 Richard Henderson <rth@redhat.com>
12249
12250 * scripts/config.guess: Update from config.git.
12251 * scripts/config.sub: Likewise.
12252
11d6e2f2
SP
122532013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12254
09c14ed2
SP
12255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12256
a688864e
SP
12257 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12258
6295157a
SP
12259 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12260
b8de2202
SP
12261 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12262
11d6e2f2
SP
12263 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12264
7e80ddb8
RM
122652013-02-26 Roland McGrath <roland@hack.frob.com>
12266
12267 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12268 [$(build-shared = yes].
7e80ddb8 12269
7da6d9ed
SP
122702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12271
45f05884
SP
12272 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12273 (__mul): Reduce iterations for calculating mantissa.
12274
2236d359
SP
12275 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12276 MPTWO.
12277 (__mpranred): Likewise.
12278
7da6d9ed
SP
12279 [BZ #15160]
12280 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12281 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12282
b7688c42
PE
122832013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12284
12285 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12286 Define __attribute__.
12287
53a5c423
SP
122882013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12289
12290 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12291 unused.
12292 * posix/regex_internal.h (__attribute): Remove.
12293 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12294 (re_string_context_at): Likewise.
12295 (bitset_not): Use __attribute__ and mark function as possibly
12296 unused.
12297 (bitset_merge): Likewise.
12298 (bitset_mask): Likewise.
12299 (re_string_char_size_at): Likewise.
12300 (re_string_wchar_at): Likewise.
12301 (re_string_elem_size_at): Likewise.
12302
60f5a8b5
SP
123032013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12304
2a983a2e
SP
12305 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12306 code.
12307 (cc32): Likewise.
12308
e69804d1
SP
12309 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12310 (__acr): Likewise.
12311 (__cpy): Likewise.
12312 (norm): Likewise.
12313 (denorm): Likewise.
12314 (__dbl_mp): Likewise.
12315 (add_magnitudes): Likewise.
12316 (sub_magnitudes): Likewise.
12317 (__mul): Likewise.
12318 (__inv): Likewise.
12319
2f22a1e8
SP
12320 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12321 style.
12322
8930ddc7
SP
12323 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12324 style.
12325
dc60cb11
SP
12326 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12327 code.
12328
60f5a8b5
SP
12329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12330 up changes with default code.
12331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12332 Likewise.
12333
b4d1fd33
AM
123342013-02-24 Allan McRae <allan@archlinux.org>
12335
faf6f8bc
AM
12336 * manual/socket.texi (The Internet Namespace): Order menu items
12337 to match that in the file.
12338
b4d1fd33
AM
12339 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12340 node listing of the info page menu.
12341
2366713d
JM
123422013-02-21 Joseph Myers <joseph@codesourcery.com>
12343
12344 [BZ #13550]
12345 * sysdeps/i386/bp-asm.h: Remove file.
12346 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12347 (PARMS): Do not use macros from bp-asm.h.
12348 (S1): Likewise.
12349 (S2): Likewise.
12350 (SIZE): Likewise.
12351 (__mpn_add_n): Do not use BP_SYM
12352 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12353 "bp-asm.h".
12354 (PARMS): Do not use macros from bp-asm.h.
12355 (S1): Likewise.
12356 (SIZE): Likewise.
12357 (__mpn_addmul_1): Do not use BP_SYM
12358 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12359 "bp-asm.h".
12360 (PARMS): Do not use macros from bp-asm.h.
12361 (SIGMSK): Likewise.
12362 (_setjmp): Likewise. Do not use BP_SYM.
12363 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12364 "bp-asm.h".
12365 (PARMS): Do not use macros from bp-asm.h.
12366 (SIGMSK): Likewise.
12367 (setjmp): Likewise. Do not use BP_SYM.
12368 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12369 "bp-asm.h".
12370 (PARMS): Do not use macros from bp-asm.h.
12371 (__frexp): Do not use BP_SYM.
12372 (frexp): Likewise.
12373 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12374 "bp-asm.h".
12375 (PARMS): Do not use macros from bp-asm.h.
12376 (__frexpf): Do not use BP_SYM.
12377 (frexpf): Likewise.
12378 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12379 "bp-asm.h".
12380 (PARMS): Do not use macros from bp-asm.h.
12381 (__frexpl): Do not use BP_SYM.
12382 (frexpl): Likewise.
12383 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12384 "bp-asm.h".
12385 (PARMS): Do not use macros from bp-asm.h.
12386 (__remquo): Do not use BP_SYM.
12387 (remquo): Likewise.
12388 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12389 "bp-asm.h".
12390 (PARMS): Do not use macros from bp-asm.h.
12391 (__remquof): Do not use BP_SYM.
12392 (remquof): Likewise.
12393 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12394 "bp-asm.h".
12395 (PARMS): Do not use macros from bp-asm.h.
12396 (__remquol): Do not use BP_SYM.
12397 (remquol): Likewise.
12398 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12399 "bp-asm.h".
12400 (PARMS): Do not use macros from bp-asm.h.
12401 (DEST): Likewise.
12402 (SRC): Likewise.
12403 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12404 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12405 "bp-asm.h".
12406 (PARMS): Do not use macros from bp-asm.h.
12407 (strlen): Do not use BP_SYM.
12408 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12409 "bp-asm.h".
12410 (PARMS): Do not use macros from bp-asm.h.
12411 (S1): Likewise.
12412 (S2): Likewise.
12413 (SIZE): Likewise.
12414 (__mpn_add_n): Do not use BP_SYM.
12415 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12416 "bp-asm.h".
12417 (PARMS): Do not use macros from bp-asm.h.
12418 (S1): Likewise.
12419 (SIZE): Likewise.
12420 (__mpn_addmul_1): Do not use BP_SYM.
12421 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12422 weak_alias.
12423 (bzero): Likewise.
12424 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12425 "bp-asm.h".
12426 (PARMS): Do not use macros from bp-asm.h.
12427 (S): Likewise.
12428 (SIZE): Likewise.
12429 (__mpn_lshift): Do not use BP_SYM.
12430 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12431 "bp-asm.h".
12432 (PARMS): Do not use macros from bp-asm.h.
12433 (DEST): Likewise.
12434 (SRC): Likewise.
12435 (LEN): Likewise.
12436 (memcpy): Likewise. Do not use BP_SYM.
12437 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12438 libc_hidden_def and weak_alias.
12439 (mempcpy): Do not use BP_SYM in weak_alias.
12440 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12441 "bp-asm.h".
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (DEST): Likewise.
12444 (LEN): Likewise.
12445 [!BZERO_P] (CHR): Likewise.
12446 (memset): Likewise. Do not use BP_SYM.
12447 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12448 "bp-asm.h".
12449 (PARMS): Do not use macros from bp-asm.h.
12450 (S1): Likewise.
12451 (SIZE): Likewise.
12452 (__mpn_mul_1): Do not use BP_SYM.
12453 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12454 "bp-asm.h".
12455 (PARMS): Do not use macros from bp-asm.h.
12456 (S): Likewise.
12457 (SIZE): Likewise.
12458 (__mpn_rshift): Do not use BP_SYM.
12459 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12460 "bp-asm.h".
12461 (PARMS): Do not use macros from bp-asm.h.
12462 (STR): Likewise.
12463 (CHR): Likewise.
12464 (strchr): Likewise. Do not use BP_SYM.
12465 (index): Do not use BP_SYM in weak_alias.
12466 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12467 "bp-asm.h".
12468 (PARMS): Do not use macros from bp-asm.h.
12469 (DEST): Likewise.
12470 (SRC): Likewise.
12471 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12472 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12473 "bp-asm.h".
12474 (PARMS): Do not use macros from bp-asm.h.
12475 (strlen): Do not use BP_SYM.
12476 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12477 "bp-asm.h".
12478 (PARMS): Do not use macros from bp-asm.h.
12479 (S1): Likewise.
12480 (S2): Likewise.
12481 (SIZE): Likewise.
12482 (__mpn_sub_n): Do not use BP_SYM.
12483 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12484 "bp-asm.h".
12485 (PARMS): Do not use macros from bp-asm.h.
12486 (S1): Likewise.
12487 (SIZE): Likewise.
12488 (__mpn_submul_1): Do not use BP_SYM.
12489 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12490 "bp-asm.h".
12491 (PARMS): Do not use macros from bp-asm.h.
12492 (S1): Likewise.
12493 (S2): Likewise.
12494 (SIZE): Likewise.
12495 (__mpn_add_n): Do not use BP_SYM.
12496 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12497 weak_alias.
12498 (bzero): Likewise.
12499 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12500 "bp-asm.h".
12501 (PARMS): Do not use macros from bp-asm.h.
12502 (BLK2): Likewise.
12503 (LEN): Likewise.
12504 (memcmp): Do not use BP_SYM.
12505 (bcmp): Do not use BP_SYM in weak_alias.
12506 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12507 "bp-asm.h".
12508 (PARMS): Do not use macros from bp-asm.h.
12509 (DEST): Likewise.
12510 (SRC): Likewise.
12511 (LEN): Likewise.
12512 (memcpy): Likewise. Do not use BP_SYM.
12513 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12514 "bp-asm.h".
12515 (PARMS): Do not use macros from bp-asm.h.
12516 (DEST): Likewise.
12517 (SRC): Likewise.
12518 (LEN): Likewise.
12519 (memmove): Likewise. Do not use BP_SYM.
12520 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12521 "bp-asm.h".
12522 (PARMS): Do not use macros from bp-asm.h.
12523 (DEST): Likewise.
12524 (SRC): Likewise.
12525 (LEN): Likewise.
12526 (__mempcpy): Likewise. Do not use BP_SYM.
12527 (mempcpy): Do not use BP_SYM in weak_alias.
12528 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12529 "bp-asm.h".
12530 (PARMS): Do not use macros from bp-asm.h.
12531 (DEST): Likewise.
12532 (LEN): Likewise.
12533 [!BZERO_P] (CHR): Likewise.
12534 (memset): Likewise. Do not use BP_SYM.
12535 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12536 "bp-asm.h".
12537 (PARMS): Do not use macros from bp-asm.h.
12538 (STR2): Likewise.
12539 (strcmp): Do not use BP_SYM.
12540 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12541 "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12543 (STR): Likewise.
12544 (DELIM): Likewise.
12545 [USE_AS_STRTOK_R] (SAVE): Likewise.
12546 (FUNCTION): Likewise. Do not use BP_SYM.
12547 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12548 aliases.
12549 (strtok_r): Likewise.
12550 (__GI___strtok_r): Likewise.
12551 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (S): Likewise.
12554 (SIZE): Likewise.
12555 (__mpn_lshift): Do not use BP_SYM.
12556 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12557 (PARMS): Do not use macros from bp-asm.h.
12558 (STR): Likewise.
12559 (CHR): Likewise.
12560 (__memchr): Do not use BP_SYM.
12561 (memchr): Do not use BP_SYM in weak_alias.
12562 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12563 (PARMS): Do not use macros from bp-asm.h.
12564 (BLK2): Likewise.
12565 (LEN): Likewise.
12566 (memcmp): Do not use BP_SYM.
12567 (bcmp): Do not use BP_SYM in weak_alias.
12568 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12569 (PARMS): Do not use macros from bp-asm.h.
12570 (S1): Likewise.
12571 (SIZE): Likewise.
12572 (__mpn_mul_1): Do not use BP_SYM.
12573 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12574 "bp-asm.h".
12575 (PARMS): Do not use macros from bp-asm.h.
12576 (STR): Likewise.
12577 (CHR): Likewise.
12578 (__rawmemchr): Do not use BP_SYM.
12579 (rawmemchr): Do not use BP_SYM in weak_alias.
12580 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12581 (PARMS): Do not use macros from bp-asm.h.
12582 (S): Likewise.
12583 (SIZE): Likewise.
12584 (__mpn_rshift): Do not use BP_SYM.
12585 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12586 (PARMS): Do not use macros from bp-asm.h.
12587 (SIGMSK): Likewise.
12588 (__sigsetjmp): Likewise. Do not use BP_SYM.
12589 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12590 (_start): Do not use BP_SYM.
12591 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12592 (PARMS): Do not use macros from bp-asm.h.
12593 (DEST): Likewise.
12594 (SRC): Likewise.
12595 (__stpcpy): Likewise. Do not use BP_SYM.
12596 (stpcpy): Do not use BP_SYM in weak_alias.
12597 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12598 "bp-asm.h".
12599 (PARMS): Do not use macros from bp-asm.h.
12600 (DEST): Likewise.
12601 (SRC): Likewise.
12602 (LEN): Likewise.
12603 (__stpncpy): Likewise. Do not use BP_SYM.
12604 (stpncpy): Do not use BP_SYM in weak_alias.
12605 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12606 (PARMS): Do not use macros from bp-asm.h.
12607 (STR): Likewise.
12608 (CHR): Likewise.
12609 (strchr): Likewise. Do not use BP_SYM.
12610 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12611 "bp-asm.h".
12612 (PARMS): Do not use macros from bp-asm.h.
12613 (STR): Likewise.
12614 (CHR): Likewise.
12615 (__strchrnul): Likewise. Do not use BP_SYM.
12616 (strchrnul): Do not use BP_SYM in weak_alias.
12617 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12618 "bp-asm.h".
12619 (PARMS): Do not use macros from bp-asm.h.
12620 (STOP): Likewise.
12621 (strcspn): Do not use BP_SYM.
12622 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12623 "bp-asm.h".
12624 (PARMS): Do not use macros from bp-asm.h.
12625 (STR): Likewise.
12626 (STOP): Likewise.
12627 (strpbrk): Likewise. Do not use BP_SYM.
12628 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12629 "bp-asm.h".
12630 (PARMS): Do not use macros from bp-asm.h.
12631 (STR): Likewise.
12632 (CHR): Likewise.
12633 (strrchr): Likewise. Do not use BP_SYM.
12634 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12635 (PARMS): Do not use macros from bp-asm.h.
12636 (SKIP): Likewise.
12637 (strspn): Do not use BP_SYM.
12638 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12639 (PARMS): Do not use macros from bp-asm.h.
12640 (STR): Likewise.
12641 (DELIM): Likewise.
12642 (SAVE): Likewise.
12643 (FUNCTION): Likewise. Do not use BP_SYM.
12644 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12645 aliases.
12646 (strtok_r): Likewise.
12647 (__GI___strtok_r): Likewise.
12648 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12649 (PARMS): Do not use macros from bp-asm.h.
12650 (S1): Likewise.
12651 (S2): Likewise.
12652 (SIZE): Likewise.
12653 (__mpn_sub_n): Do not use BP_SYM.
12654 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12655 "bp-asm.h".
12656 (PARMS): Do not use macros from bp-asm.h.
12657 (S1): Likewise.
12658 (SIZE): Likewise.
12659 (__mpn_submul_1): Do not use BP_SYM.
12660 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12661 <bp-sym.h>.
12662 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12663 and <bp-asm.h>.
12664 (PARMS): Do not use macros from bp-asm.h.
12665 (FLAGS): Likewise.
12666 (PTID): Likewise.
12667 (TLS): Likewise.
12668 (CTID): Likewise.
12669 (__clone): Do not use BP_SYM.
12670 (clone): Do not use BP_SYM in weak_alias.
12671 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12672 and <bp-asm.h>.
12673 (PARMS): Do not use macros from bp-asm.h.
12674 (LEN): Likewise.
12675 (__mmap64): Do not use BP_SYM.
12676 (mmap64): Do not use BP_SYM in weak_alias.
12677 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12678 <bp-sym.h> and <bp-asm.h>.
12679 (PARMS): Do not use macros from bp-asm.h.
12680 (__posix_fadvise64_l64): Do not use BP_SYM.
12681 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12682 (PARMS): Do not use macros from bp-asm.h.
12683 (NSOPS): Likewise.
12684 (semtimedop): Do not use BP_SYM.
12685 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12686 and <bp-asm.h>.
12687
582a3cff
AM
126882013-02-21 Allan McRae <allan@archlinux.org>
12689
12690 * manual/message.texi (Charset conversion in gettext):
12691 Move @end statement to beginning of line.
12692
bab8a695
SP
126932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12694
80945231
SP
12695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12696 static.
12697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12698 Likewise.
12699
bab8a695
SP
12700 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12701 (denorm): Likewise.
12702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12704
e21d7aa7
AK
127052013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12706
12707 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12708 tail-call to the resolved function if pltexit isn't needed.
12709
4c7a4263
SP
127102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12711
12712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12713 or Y being zero as being unlikely.
12714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12715 Likewise.
12716
41f49342
CD
127172013-02-20 Carlos O'Donell <carlos@redhat.com>
12718
12719 * manual/nss.texi (System Databases and Name Service Switch):
12720 Remove frobnicate @pxref.
12721
50022a93
TS
127222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12723
12724 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12725 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12726
08cbd996
PM
127272013-02-20 Petr Machata <pmachata@redhat.com>
12728
12729 * elf/elf.h (R_ARM_TARGET1): New macro.
12730 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12731 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12732 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12733 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12734 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12735 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12736 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12737 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12738 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12739 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12740 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12741 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12742 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12743 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12744 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12745 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12746 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12747 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12748 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12749 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12750 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12751 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12752 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12753 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12754 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12755 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12756 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12757 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12758 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12759 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12760 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12761 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12762 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12763 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12764 (R_ARM_THM_GOT_BREL12): Likewise.
12765 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12766 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12767 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12768 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12769 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12770 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12771 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12772 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12773 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12774
c7b275d6
TS
127752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12776
12777 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12778 __attribute_used__ to __attribute__ ((unused)).
12779
20cd7fb3
SP
127802013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12781
12782 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12783 powerpc mpa.c.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12785 comment formatting.
12786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12787
92945b52
JM
127882013-02-19 Joseph Myers <joseph@codesourcery.com>
12789
12790 [BZ #13550]
12791 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12792 Remove macro.
12793 (ENTER): Remove both macro definitions.
12794 (LEAVE): Likewise.
12795 (CHECK_BOUNDS_LOW): Likewise.
12796 (CHECK_BOUNDS_HIGH): Likewise.
12797 (CHECK_BOUNDS_BOTH): Likewise.
12798 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12799 (RETURN_BOUNDED_POINTER): Likewise.
12800 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12801 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12802 (POP_ERRNO_LOCATION_RETURN): Likewise.
12803 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12804 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12805 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12806 macros.
12807 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12808 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12809 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12810 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12811 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12812 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12813 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12814 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12815 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12816 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12817 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12818 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12819 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12820 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12821 removed macros.
12822 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12823 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12824 macros.
12825 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12826 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12827 * sysdeps/i386/i586/memset.S (memset): Likewise.
12828 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12829 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12830 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12831 macros.
12832 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12833 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12834 Change uses of L(2) to L(out).
12835 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12836 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12837 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12838 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12839 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12840 removed macros.
12841 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12842 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12843 macros.
12844 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12845 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12846 (RETURN): Do not use macro LEAVE.
12847 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12848 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12849 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12850 * sysdeps/i386/i686/memset.S (memset): Likewise.
12851 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12852 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12853 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12854 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12855 Likewise.
12856 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12857 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12858 L(1_2) and L(1_3) into L(1).
12859 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12860 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12862 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12863 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12864 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12865 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12866 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12867 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12868 macros.
12869 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12871 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12872 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12873 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12874 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12875 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12876 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12877 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12878 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12879 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12880 * sysdeps/i386/strspn.S (strspn): Likewise.
12881 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12882 conditional code.
12883 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12884 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12885 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12886 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12887 L(1_3) into L(1_1).
12888 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12889 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12890 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12891 macros.
12892 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12893
2389741a
JJ
128942013-02-19 Jakub Jelinek <jakub@redhat.com>
12895
12896 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12897 macro.
12898
2016b3cd
SP
128992013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12900
e4f22324
SP
12901 * math/atest-exp.c (exp_mpn): Remove ROUND.
12902 * math/atest-exp2.c (exp_mpn): Likewise.
12903 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12904
2016b3cd
SP
12905 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12906 * stdlib/tst-tls-atexit-lib.c: Likewise.
12907 * stdlib/tst-tls-atexit.c: Likewise.
12908
4be9b544
MF
129092013-02-18 Mike Frysinger <vapier@gentoo.org>
12910
12911 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12912 and __attribute_alloc_size__.
12913
2f62b9ee
MF
129142013-02-18 Mike Frysinger <vapier@gentoo.org>
12915
12916 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12917 __attribute_alloc_size__.
12918 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12919 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12920
6ff444c4
MF
129212013-02-18 Mike Frysinger <vapier@gentoo.org>
12922
12923 * include/programs/xmalloc.h: New file.
12924 * catgets/gencat.c: Include it.
12925 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12926 * elf/pldd.c: Likewise.
12927 * iconv/iconv_charmap.c: Likewise.
12928 * iconv/iconvconfig.c: Likewise.
12929 * iconv/strtab.c: Likewise.
12930 * locale/programs/locale.c: Likewise.
12931 * locale/programs/localedef.h: Likewise.
12932 * locale/programs/simple-hash.c: Likewise.
12933 * nscd/nscd.h: Likewise.
12934 * nss/makedb.c: Likewise.
12935 * sysdeps/generic/ldconfig.h: Likewise.
12936
be179c8a
SP
129372013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12938
ba384f6e
SP
12939 * Versions.def: Add GLIBC_2.18.
12940 * include/link.h (struct link_map): New member l_tls_dtor_count.
12941 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12942 (__call_tls_dtors): Likewise.
12943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12944 __cxa_thread_atexit_impl.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12946 Likewise.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12948 Likewise.
12949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12950 Likewise.
12951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12952 Likewise.
12953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12955 Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12957 Likewise.
12958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12960 Likewise.
12961 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12962 (tests): Add test case tst-tls-atexit.
12963 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12964 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12965 (GLIBC_PRIVATE): Add __call_tls_dtors.
12966 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12967 for libstdc++.
12968 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12969 * stdlib/tst-tls-atexit.c: New test case.
12970 * stdlib/tst-tls-atexit-lib.c: New test case.
12971
ffaa74cf 12972 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12973
be179c8a
SP
12974 * elf/Versions (ld): Add _dl_find_dso_for_object.
12975 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12976 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12977 (dl_open_worker): Use _dl_find_dso_for_object.
12978 * elf/dl-sym.c (do_sym): Likewise.
12979 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12980
f78b5caa
AK
129812013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12982
12983 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12984 Syntactic changes only.
12985 (_dl_runtime_profile): Do a tail-call to the resolved function.
12986
29691210
JM
129872013-02-17 Joseph Myers <joseph@codesourcery.com>
12988
12989 [BZ #13550]
12990 * sysdeps/x86_64/bp-asm.h: Remove file.
12991 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12992 <bp-sym.h> and <bp-asm.h>.
12993 (__clone): Do not use BP_SYM.
12994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12995 <bp-sym.h> and <bp-asm.h>.
12996 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12997 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12998 "bp-asm.h".
12999 (_setjmp): Do not use BP_SYM.
13000 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13001 "bp-asm.h".
13002 (setjmp): Do not use BP_SYM.
13003 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13004 libc_hidden_def.
13005 (mempcpy): Do not use BP_SYM in weak_alias.
13006 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13007 "bp-asm.h".
13008 (strchr): Do not use BP_SYM.
13009 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13010 "bp-asm.h".
13011 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13012 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13013 (_start): Do not use BP_SYM.
13014 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13015 "bp-asm.h".
13016 (strcat): Do not use BP_SYM.
13017 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13018 "bp-asm.h".
13019 (STRCMP): Do not use BP_SYM.
13020 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13021 "bp-asm.h".
13022 (STRCPY): Do not use BP_SYM.
13023 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13024 "bp-asm.h".
13025 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13026 "bp-asm.h".
13027 (FUNCTION): Do not use BP_SYM.
13028 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13029 weak_alias.
13030 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13031
f238fd19
AJ
130322013-02-17 Andreas Jaeger <aj@suse.de>
13033
13034 * time/Versions: Sort entries.
13035 * string/Versions: Likewise.
13036 * resolv/Versions: Likewise.
13037 * posix/Versions: Likewise.
13038 * iconv/Versions: Likewise.
13039 * elf/Versions: Likewise.
13040 * wcsmbs/Versions: Likewise.
13041
bd07f23c 130422013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13043
22af19f9
SP
13044 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13045 loop termination condition.
13046
4709fe76
SP
13047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13048 variable to calculate EZ.
13049 (__sqr): Likewise.
2d0e0f29
SP
13050
13051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13052 the lower precision input.
13053
daaa7713
JM
130542013-02-15 Joseph Myers <joseph@codesourcery.com>
13055
13056 [BZ #13550]
13057 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13058 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13059 (run-via-rtld-prefix): Do not handle %-bp tests.
13060 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13061 (all-object-suffixes): Remove .ob.
13062 (bppfx): Remove variable.
13063 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13064 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13065 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13066 [$(build-bounded) = yes] (libtype.ob): Likewise.
13067 * Makerules (elide-routines.ob): Remove variable.
13068 (do-tests-clean): Do not handle *-bp.out.
13069 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13070 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13071 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13072 (tests): Do not include $(tests-bp.out).
13073 (xtests): Do not include $(xtests-bp.out).
13074 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13075 [$(build-bounded) = yes] ($(addprefix
13076 $(objpfx),$(binaries-bounded))): Remove rule.
13077 ($(objpfx)%-bp.out): Remove rule.
13078 * config.make.in (build-bounded): Remove variable.
13079 * crypt/Makefile [$(build-bounded) = yes]
13080 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13081 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13082 append to variable.
13083 [$(build-bounded) = yes] (install-lib): Likewise.
13084 [$(build-bounded) = yes] (generated): Likewise.
13085 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13086 Remove rule.
13087 * intl/Makefile [$(build-bounded) = yes]
13088 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13089 * math/Makefile [$(build-bounded) = yes]
13090 ($(tests:%=$(objpfx)%-bp): Likewise.
13091 * misc/Makefile [$(build-bounded) = yes]
13092 ($(objpfx)tst-tsearch-bp): Likewise.
13093 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13094 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13095 Remove dependency.
13096 * string/Makefile (o-objects.ob): Remove variable.
13097 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13098 (CFLAGS-.ob): Remove variable.
13099 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13100 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13101 both definitions of variable.
13102 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13103 (ASFLAGS-.ob): Remove variable.
13104
e97ed6dd
JM
131052013-02-14 Joseph Myers <joseph@codesourcery.com>
13106
2bdd4ca6
JM
13107 [BZ #13550]
13108 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13109 Remove __BOUNDED_POINTERS__ from condition.
13110 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13111 * string/bits/string2.h [!__NO_STRING_INLINES &&
13112 !__BOUNDED_POINTERS__]: Likewise.
13113 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13114 Likewise.
13115 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13116 Remove conditional code.
13117 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13118 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13119 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13120 condition.
13121
e97ed6dd
JM
13122 [BZ #13550]
13123 * csu/libc-start.c: Do not include <bp-sym.h>.
13124 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13125 * elf/dl-open.c: Do not include <bp-sym.h>.
13126 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13127 * math/fegetenv.c: Do not include <bp-sym.h>.
13128 (fegetenv): Do not use BP_SYM in versioned symbols.
13129 * nptl/sysdeps/pthread/bits/libc-lockP.h
13130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13131 <bp-sym.h>.
13132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13133 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13135 (__pthread_mutex_destroy): Likewise.
13136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13137 (__pthread_mutex_lock): Likewise.
13138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13139 (__pthread_mutex_trylock): Likewise.
13140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13141 (__pthread_mutex_unlock): Likewise.
13142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13143 (__pthread_mutexattr_init): Likewise.
13144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13145 (__pthread_mutexattr_destroy): Likewise.
13146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13147 (__pthread_mutexattr_settype): Likewise.
13148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13149 (__pthread_rwlock_init): Likewise.
13150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13151 (__pthread_rwlock_destroy): Likewise.
13152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13153 (__pthread_rwlock_rdlock): Likewise.
13154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13155 (__pthread_rwlock_tryrdlock): Likewise.
13156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13157 (__pthread_rwlock_wrlock): Likewise.
13158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13159 (__pthread_rwlock_trywrlock): Likewise.
13160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13161 (__pthread_rwlock_unlock): Likewise.
13162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13163 (__pthread_key_create): Likewise.
13164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13165 (__pthread_setspecific): Likewise.
13166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13167 (__pthread_getspecific): Likewise.
13168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13169 Likewise.
13170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13171 (_pthread_cleanup_push_defer): Likewise.
13172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13173 (_pthread_cleanup_pop_restore): Likewise.
13174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13175 (pthread_setcancelstate): Likewise.
13176 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13177 <bp-sym.h>.
13178 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13179 (memchr): Do not use BP_SYM in weak_alias.
13180 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13181 (fegetenv): Do not use BP_SYM in versioned symbols.
13182 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13183 (fesetenv): Do not use BP_SYM in versioned symbols.
13184 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13185 (feupdateenv): Do not use BP_SYM in versioned symbols.
13186 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13187 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13188 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13189 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13190 (open64): Do not use BP_SYM in weak_alias.
13191 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13192 (fegetenv): Do not use BP_SYM in versioned symbols.
13193 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13194 (fesetenv): Do not use BP_SYM in versioned symbols.
13195 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13196 (feupdateenv): Do not use BP_SYM in versioned symbols.
13197 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13198 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13199 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13200 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13201 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13202 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13203 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13204 <bp-sym.h>.
13205 (__libc_start_main): Do not use BP_SYM.
13206
d6752ccd
SP
132072013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13208
cb57ce60
SP
13209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13210 redundant return line.
13211 (norm): Likewise.
13212 (denorm): Likewise.
13213 (dbl_mp): Likewise.
13214 (sub_magnitudes): Likewise.
13215 (__add): Likewise.
13216 (__sub): Likewise.
13217 (__mul): Likewise.
13218 (__inv): Likewise.
13219 (__dvd): Likewise.
13220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13221 (norm): Likewise.
13222 (denorm): Likewise.
13223 (dbl_mp): Likewise.
13224 (sub_magnitudes): Likewise.
13225 (__add): Likewise.
13226 (__sub): Likewise.
13227 (__mul): Likewise.
13228 (__inv): Likewise.
13229 (__dvd): Likewise.
13230
f414520d
SP
13231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13232 instead of __mul.
13233 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13234 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13235 (cc32): Likewise.
13236
d6752ccd
SP
13237 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13238 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13240 of __mul for squares.
13241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13242 function
13243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13244 Likewise.
13245 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13247
70d9946a
JM
132482013-02-13 Joseph Myers <joseph@codesourcery.com>
13249
13250 [BZ #13550]
13251 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13252 code.
13253 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13254 prototype or function definition. Rename ubp_* variables and
13255 parameters. Remove argv definitions conditional on
13256 [__BOUNDED_POINTERS__].
13257 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13258 * elf/dl-runtime.c (_dl_fixup): Likewise.
13259 * include/set-hooks.h (RUN_HOOK): Likewise.
13260 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13261 definition.
13262 * string/strcpy.c (strcpy): Do not use __unbounded.
13263 * sysdeps/generic/frame.h (struct layout): Likewise.
13264 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13265 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13266 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13267 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13268 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13269 (__backtrace): Likewise.
13270 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13271 use __ptrvalue.
13272 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13273 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13274 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13275 Likewise.
13276 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13277 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13278 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13279 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13280 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13281 Do not use __unbounded.
13282 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13283 Rename __unboundedrlimits parameter to rlimits in prototype.
13284 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13285 Do not use __unbounded.
13286 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13287 not use __ptrvalue.
13288 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13289 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13290 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13291 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13292 __ptrvalue or __unbounded.
13293 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13294 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13295 use __unbounded.
13296 (__new_msgctl): Do not use __ptrvalue.
13297 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13298 __unbounded.
13299 (__libc_msgrcv): Do not use __ptrvalue.
13300 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13301 startup_info): Do not use __unbounded.
13302 (__libc_start_main): Likewise. Rename ubp_* variables and
13303 parameters. Remove argv definitions conditional on
13304 [__BOUNDED_POINTERS__].
13305 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13306 __ptrvalue.
13307 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13308 use __unbounded.
13309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13310 or __ptrvalue.
13311 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13312 use __unbounded.
13313 (__new_shmctl): Do not use __ptrvalue.
13314 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13315 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13316 Likewise.
13317 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13318 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13319 (__libc_sigaction): Likewise.
13320 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13322 Likewise.
13323 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13324
cc7834d6
OB
133252013-02-13 Ondřej Bílka <neleai@seznam.cz>
13326
ffb1ec7b 13327 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13328
13329 * string/mempcpy.c: Implement by calling memcpy.
13330
bdf02814
SP
133312013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13332
c2af38aa
SP
13333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13334
4e92d59e
SP
13335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13336 evaluation.
13337
909279a5
SP
13338 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13339 values in the mantissa.
13340
bdf02814
SP
13341 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13342 minimize writes to Z.
13343 (sub_magnitudes): Simplify code a bit.
13344
cd525923
RM
133452013-02-12 Roland McGrath <roland@hack.frob.com>
13346
13347 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13348 from the message. The linker prefixes all warnings with that already.
13349
7e2f0d2d
AS
133502013-02-12 Andreas Schwab <schwab@suse.de>
13351
a445af0b
AS
13352 [BZ #15078]
13353 * posix/regexec.c (extend_buffers): Add parameter min_len.
13354 (check_matching): Pass minimum needed length.
13355 (clean_state_log_if_needed): Likewise.
13356 (get_subexp): Likewise.
13357 * posix/Makefile (tests): Add bug-regex34.
13358 (bug-regex34-ENV): Define.
13359 * posix/bug-regex34.c: New file.
13360
7e2f0d2d
AS
13361 [BZ #11561]
13362 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13363 elements compare against the byte sequence of it, not its name.
13364 * posix/Makefile (tests): Add bug-regex35.
13365 (bug-regex35-ENV): Define.
13366 * posix/bug-regex35.c: New file.
13367
a175b684
TV
133682013-02-11 Tom de Vries <tom@codesourcery.com>
13369
13370 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13371 comment.
13372 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13373 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13374 (CHECK_EOL): Add undef.
13375
310998fe 133762013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13377
13378 * bits/stdlib-bsearch.h: New file.
13379 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13380 * stdlib/stdlib.h: Likewise.
41eda41d 13381
8ded91fb
RM
133822013-02-11 Roland McGrath <roland@hack.frob.com>
13383
13384 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13385 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13386 declaration.
13387 * manual/search.texi (Array Search Function): Add missing const in
13388 lfind prototype.
13389 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13390 declaration to use rlim_t.
13391 (Basic Scheduling Functions): Remove erroneous const from
13392 sched_getparam prototype. Remove erroneous * from
13393 sched_get_priority_max and sched_get_priority_min prototypes.
13394 (Resource Usage): Fix summary @comment on vtimes to refer to
13395 sys/vtimes.h rather than vtimes.h.
13396 Add missing *s in vtimes prototype.
13397 (Limits on Resources): Fix ulimit prototype to return long int.
13398 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13399 prototypes to use long int rather than double.
13400 (BSD Random): Fix initstate and setstate to use char *, not void *.
13401 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13402 prototype to make second argument 'struct aiocb64 *const[]'.
13403 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13404 (Status of AIO Operations): Remove erroneous const in aio_return and
13405 aio_return64 prototypes.
13406 (Synchronizing I/O): Fix sync prototype to return void.
13407 * manual/startup.texi (Suboptions): Remove an erroneous const in
13408 getsubopt prototype.
13409 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13410 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13411 use size_t rather than int.
13412 (Scanning All Users): Likewise for getpwent_r.
13413 (Setting Groups): Add missing const to setgroups prototype.
13414 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13415 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13416 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13417 'const void *' rather than 'const char *'.
13418 (Host Address Functions): Likewise for inet_ntop.
13419 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13420 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13421 ssize_t for return value.
13422 (Sending Data): Likewise for send, sendto, sendmsg.
13423 (Socket Option Functions): Add a missing const in setsockopt prototype.
13424 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13425 use wchar_t for the argument.
13426 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13427 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13428 take no arguments.
13429 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13430 double/float/long double for second argument.
13431 Fix return types of significand, significandf, significandl.
13432 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13433 argument in fchmod prototype.
13434 (File Owner): Use uid_t and gid_t in fchown prototype.
13435 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13436 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13437 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13438 use 'const struct dirent **' as argument types to CMP function pointer
13439 argument.
13440 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13441 (File Times): Fix summary magic @comment for struct utimbuf and utime
13442 to refer to utime.h, not time.h.
13443 * manual/string.texi (Argz Functions): Add missing const in
13444 argz_extract and argz_next prototypes.
13445 (Finding Tokens in a String): Likewise for basename.
13446 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13447 (Copying and Concatenation): Fix typo in wmemmove prototype.
13448 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13449 (Signal Stack): Remove erroneous const in sigstack prototype.
13450 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13451 prototype.
13452 (Simple Calendar Time): Likewise for stime.
13453 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13454 prototype.
13455 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13456 say sys/sysctl.h instead.
13457 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13458 and vsyslog prototypes.
13459
fe77fe6d
TV
134602013-02-11 Tom de Vries <tom@codesourcery.com>
13461
13462 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13463 Remove.
13464
3a09b620
RM
134652013-02-11 Roland McGrath <roland@hack.frob.com>
13466
13467 * misc/sys/mman.h: Fix typo in mremap comment.
13468
550a0b89
RM
134692013-02-08 Roland McGrath <roland@hack.frob.com>
13470
13471 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13472 the '\0' terminator.
13473
a2da1673
JM
134742013-02-08 Joseph Myers <joseph@codesourcery.com>
13475
13476 [BZ #13550]
13477 * debug/segfault.c: Don't include <bp-checks.h>.
13478 * sysdeps/generic/bp-checks.h: Remove file.
13479 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13480 (__GETDENTS): Don't use CHECK_N.
13481 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13482 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13483 (__getgroups): Don't use CHECK_N.
13484 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13485 (setgroups): Don't use CHECK_N.
13486 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13487 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13488 (__libc_msgrcv): Don't use CHECK_N.
13489 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13490 (__libc_msgsnd): Don't use CHECK_N.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13492 <bp-checks.h>.
13493 (__libc_pread): Don't use CHECK_N.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13495 include <bp-checks.h>.
13496 (__libc_pread64): Don't use CHECK_N.
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13498 include <bp-checks.h>.
13499 (__libc_pwrite): Don't use CHECK_N.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13501 include <bp-checks.h>.
13502 (__libc_pwrite64): Don't use CHECK_N.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13504 <bp-checks.h>.
13505 (__libc_pread): Don't use CHECK_N.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13507 include <bp-checks.h>.
13508 (__libc_pread64): Don't use CHECK_N.
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13510 include <bp-checks.h>.
13511 (__libc_pwrite): Don't use CHECK_N.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13513 include <bp-checks.h>.
13514 (__libc_pwrite64): Don't use CHECK_N.
13515 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13516 (do_pread): Don't use CHECK_N.
13517 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13518 (do_pread64): Don't use CHECK_N.
13519 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13520 (do_pwrite): Don't use CHECK_N.
13521 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13522 (do_pwrite64): Don't use CHECK_N.
13523 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13524 (__libc_readv): Don't use CHECK_N.
13525 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13526 (semop): Don't use CHECK_N.
13527 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13528 <bp-checks.h>.
13529 (semtimedop): Don't use CHECK_N.
13530 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13531 (__libc_pread): Don't use CHECK_N.
13532 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13533 <bp-checks.h>.
13534 (__libc_pread64): Don't use CHECK_N.
13535 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13536 <bp-checks.h>.
13537 (__libc_pwrite): Don't use CHECK_N.
13538 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13539 <bp-checks.h>.
13540 (__libc_pwrite64): Don't use CHECK_N.
13541 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13542 <bp-checks.h>.
13543 (__libc_msgrcv): Don't use CHECK_N.
13544 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13545 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13546 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13547 (__libc_writev): Don't use CHECK_N.
13548
b84660a8
RM
135492013-02-08 Roland McGrath <roland@hack.frob.com>
13550
7f3e75f8
RM
13551 * string/strcpy.c: Removed unused variable.
13552
b84660a8
RM
13553 * Makeconfig (+sysdep-includes): Define with := rather than =.
13554 Use an existing include/ subdir of each sysdeps dir before it.
13555
471514d3
CD
135562013-02-08 Carlos O'Donell <carlos@redhat.com>
13557
13558 * nscd/connection.c (register_traced_file): Comment function.
13559 [HAVE_INOTIFY] (union __inev): Define.
13560 [HAVE_INOTIFY] (inotify_check_files): New function.
13561 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13562 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13563 clear_db_cache.
13564 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13565
b2d3c3be
CD
135662013-02-08 Carlos O'Donell <carlos@redhat.com>
13567
13568 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13569 loaded if not already and that a failure is permanent.
13570
b39949d2
CD
135712013-02-08 Carlos O'Donell <carlos@redhat.com>
13572
ddacd1db 13573 [BZ #15006]
b39949d2
CD
13574 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13575 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13576
b2c9eff4
JM
135772013-02-08 Joseph Myers <joseph@codesourcery.com>
13578
f3aae3f3
JM
13579 [BZ #13550]
13580 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13581 (CHECK_1_NULL_OK): Likewise.
13582 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13583 (__fxstat): Do not use CHECK_1.
13584 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13585 <bp-checks.h>.
13586 (___fxstat64): Do not use CHECK_1.
13587 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13588 <bp-checks.h>.
13589 (__fxstatat): Do not use CHECK_1.
13590 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13591 <bp-checks.h>.
13592 (__fxstatat64): Do not use CHECK_1.
13593 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13594 <bp-checks.h>.
13595 (__fxstat): Do not use CHECK_1.
13596 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13597 <bp-checks.h>.
13598 (__fxstatat): Do not use CHECK_1.
13599 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13600 <bp-checks.h>.
13601 (__getresgid): Do not use CHECK_1.
13602 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13603 <bp-checks.h>.
13604 (__getresuid): Do not use CHECK_1.
13605 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13606 <bp-checks.h>.
13607 (__lxstat): Do not use CHECK_1.
13608 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13609 <bp-checks.h>.
13610 (__old_msgctl): Do not use CHECK_1.
13611 (__new_msgctl): Likewise.
13612 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13613 <bp-checks.h>.
13614 (__new_setrlimit): Do not use CHECK_1.
13615 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13616 <bp-checks.h>.
13617 (__old_shmctl): Do not use CHECK_1.
13618 (__new_shmctl): Likewise.
13619 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13620 <bp-checks.h>.
13621 (__xstat): Do not use CHECK_1.
13622 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13623 (__lxstat): Do not use CHECK_1.
13624 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13625 <bp-checks.h>.
13626 (___lxstat64): Do not use CHECK_1.
13627 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13628 (__old_msgctl): Do not use CHECK_1.
13629 (__new_msgctl): Likewise.
13630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13631 <bp-checks.h>.
13632 (__gettimeofday): Do not use CHECK_1.
13633 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13634 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13635 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13636 <bp-checks.h>.
13637 (__gettimeofday): Do not use CHECK_1.
13638 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13639 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13640 (__new_shmctl): Do not use CHECK_1.
13641 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13642 <bp-checks.h>.
13643 (do_sigtimedwait): Do not use CHECK_1.
13644 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13645 <bp-checks.h>.
13646 (do_sigwaitinfo): Do not use CHECK_1.
13647 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13648 <bp-checks.h>.
13649 (msgctl): Do not use CHECK_1.
13650 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13651 <bp-checks.h>.
13652 (shmctl): Do not use CHECK_1.
13653 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13654 (ustat): Do not use CHECK_1.
13655 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13656 <bp-checks.h>.
13657 (__fxstat): Do not use CHECK_1.
13658 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13659 <bp-checks.h>.
13660 (__fxstatat): Do not use CHECK_1.
13661 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13662 <bp-checks.h>.
13663 (__lxstat): Do not use CHECK_1.
13664 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13665 <bp-checks.h>.
13666 (__xstat): Do not use CHECK_1.
13667 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13668 (__xstat): Do not use CHECK_1.
13669 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13670 (___xstat64): Do not use CHECK_1.
13671
b2c9eff4
JM
13672 [BZ #13550]
13673 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13674 definitions.
13675 (CHECK_BOUNDS_HIGH): Likewise.
13676 * string/strcpy.c: Do not include <bp-checks.h>.
13677 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13678
f1d70dad
RM
136792013-02-07 Roland McGrath <roland@hack.frob.com>
13680
13681 * nscd/nscd-client.h (__nscd_drop_map_ref):
13682 Add __attribute__ ((unused)).
13683 * nis/nss-nisplus.h (niserr2nss): Likewise.
13684
13685 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13686 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13687
13688 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13689 Remove inline keyword.
13690 * include/rounding-mode.h (round_away): Likewise.
13691 * libio/wfileops.c (adjust_wide_data): Likewise.
13692 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13693 (__m128i_strloadu_tolower): Likewise.
13694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13695 (__m128i_strloadu_tolower): Likewise.
13696 * time/mktime.c (ydhms_diff): Likewise.
13697 * locale/elem-hash.h (elem_hash): Likewise.
13698 * locale/setlocale.c (setdata): Likewise.
13699 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13700 (re_string_wchar_at): Likewise.
13701 (bitset_not, bitset_merge, bitset_mask): Likewise.
13702 [!(__GNUC__ > 3)] (inline): Remove macro.
13703 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13704 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13705 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13706 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13707 * string/memcmp.c (memcmp_bytes): Likewise.
13708 * locale/programs/locarchive.c (compute_hashval): Likewise.
13709 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13710 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13711 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13712 * nss/getent.c (print_rpc, print_protocols): Likewise.
13713 (print_passwd, print_group, print_aliases): Likewise.
13714 * nis/nss-nisplus.h (niserr2nss): Likewise.
13715 * nscd/connections.c (restart_p): Likewise.
13716 Change return type to bool.
13717
eab55bfb
RM
137182013-02-05 Roland McGrath <roland@hack.frob.com>
13719
7bd642f5
RM
13720 * Makeconfig (all-Depend-files): Add existing
13721 $(sorted-subdirs:=/Depend) files.
13722 (all-subdirs): Remove nss.
13723 * sysdeps/unix/inet/Subdirs: Add it here instead.
13724 * hesiod/Depend: New file.
13725
573c29b2
RM
13726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13727 instead of calling alloca.
13728
b2e25af0
RM
13729 * io/lseek.c (__lseek): Rename to __libc_lseek.
13730 Define __lseek as an alias.
13731
eab55bfb
RM
13732 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13733
9a0d1941
CD
137342013-02-04 Carlos O'Donell <carlos@redhat.com>
13735
13736 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13737 else clause and remove check for non-standard endianness.
13738
b83bbec4
DM
137392013-02-04 David S. Miller <davem@davemloft.net>
13740
13741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13742
6277fdab
JM
137432013-02-04 Joseph Myers <joseph@codesourcery.com>
13744
13745 [BZ #13550]
13746 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13747 (__ubp_memchr): Remove prototype.
13748 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13749 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13750 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13751 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13752 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13753 Remove alias.
13754 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13755 (__ubp_memchr): Likewise.
13756 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13757 (__ubp_memchr): Likewise.
13758 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13759 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13760 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13761 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13762 CHECK_STRING.
13763 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13764 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13765 (__getcwd): Do not use CHECK_STRING.
13766 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13767 <bp-checks.h>.
13768 (__real_chown): Do not use CHECK_STRING.
13769 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13770 <bp-checks.h>.
13771 (fchownat): Do not use CHECK_STRING.
13772 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13773 CHECK_STRING.
13774 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13775 <bp-checks.h>.
13776 (__lchown): Do not use CHECK_STRING.
13777 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13778 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13779 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13780 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13782 include <bp-checks.h>.
13783 (truncate64): Do not use CHECK_STRING.
13784 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13785 <bp-checks.h>.
13786 (__real_chown): Do not use CHECK_STRING.
13787 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13788 <bp-checks.h>.
13789 (__lchown): Do not use CHECK_STRING.
13790 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13791 <bp-checks.h>.
13792 (__chown): Do not use CHECK_STRING.
13793 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13794 <bp-checks.h>.
13795 (truncate64): Do not use CHECK_STRING.
13796 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13797 Likewise.
13798 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13799 (__xmknod): Do not use CHECK_STRING.
13800 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13801 <bp-checks.h>.
13802 (__xmknodat): Do not use CHECK_STRING.
13803 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13804 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13805
903ae060
AS
138062013-02-04 Andreas Schwab <schwab@suse.de>
13807
13808 [BZ #14142]
13809 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13810 * include/netdb.h: Likewise for h_errno.
13811 * elf/tst-stackguard1.c: Include <tls.h>.
13812
542f9466
JK
138132013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13814
13815 * elf/link.h (struct link_map): Extend the l_addr comment.
13816 * include/link.h (struct link_map): Likewise.
13817
e782a927
JM
138182013-02-01 Joseph Myers <joseph@codesourcery.com>
13819
13820 [BZ #13550]
13821 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13822 (BOUNDED_1): Remove macro.
13823 * debug/backtrace.c: Don't include <bp-checks.h>.
13824 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13825 (__backtrace): Likewise.
13826 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13827 <bp-checks.h>.
13828 (__backtrace): Don't use BOUNDED_1.
13829 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13830 <bp-checks.h>.
13831 (__backtrace): Don't use BOUNDED_1.
13832 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13833 (__backtrace): Don't use BOUNDED_1.
13834 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13835 (shmat): Don't use BOUNDED_N.
13836
8cf28c5e
JM
138372013-01-31 Joseph Myers <joseph@codesourcery.com>
13838
3a7ac8a0
JM
13839 [BZ #13550]
13840 * sysdeps/generic/bp-start.h: Remove file.
13841 * csu/libc-start.c: Don't include <bp-start.h>.
13842 (LIBC_START_MAIN): Set up __environ directly instead of using
13843 INIT_ARGV_and_ENVIRON.
13844 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13845 <bp-start.h>.
13846
f3499f95
JM
13847 [BZ #13550]
13848 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13849 definitions.
13850 (CHECK_FCNTL): Likewise.
13851 (CHECK_N_PAGES): Likewise.
13852
32a45bea
JM
13853 [BZ #13550]
13854 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13855 definitions.
13856 (CHECK_SIGSET_NULL_OK): Likewise.
13857 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13858 <bp-checks.h>.
13859 (sigpending): Don't use CHECK_SIGSET.
13860 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13861 <bp-checks.h>.
13862 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13863 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13864 <bp-checks.h>.
13865 (do_sigsuspend): Don't use CHECK_SIGSET.
13866 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13867 use CHECK_SIGSET.
13868 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13869 (do_sigwait): Don't use CHECK_SIGSET.
13870 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13871 use CHECK_SIGSET.
13872 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13873 include <bp-checks.h>.
13874 (sigpending): Don't use CHECK_SIGSET.
13875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13876 include <bp-checks.h>.
13877 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13878 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13879 <bp-checks.h>.
13880 (sigpending): Don't use CHECK_SIGSET.
13881 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13882 <bp-checks.h>.
13883 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13884
2e8a5c8c
JM
13885 [BZ #13550]
13886 * sysdeps/generic/bp-semctl.h: Remove file.
13887 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13888 <bp-checks.h> and <bp-semctl.h>.
13889 (__old_semctl): Don't use CHECK_SEMCTL.
13890 (__new_semctl): Likewise.
13891 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13892 and <bp-semctl.h>.
13893 (__old_semctl): Don't use CHECK_SEMCTL.
13894 (__new_semctl): Likewise.
13895 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13896 <bp-checks.h> and <bp-semctl.h>.
13897 (__old_semctl): Don't use CHECK_SEMCTL.
13898 (__new_semctl): Likewise.
13899 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13900 <bp-checks.h> and <bp-semctl.h>.
13901 (semctl): Don't use CHECK_SEMCTL.
13902
c2d54929
JM
13903 [BZ #13550]
13904 * Makerules (elide-bp-thunks): Remove variable.
13905 (elide-routines.oS): Don't use $(elide-bp-thunks).
13906 (elide-routines.os): Likewise.
13907 (elide-routines.o): Likewise.
13908 (elide-routines.op): Likewise.
13909 (elide-routines.og): Likewise.
13910 (objects): Don't use $(bp-thunks).
13911 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13912 include.
13913 (common-generated): Do not add s-proto-bp.d.
13914 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13915 (int): Likewise.
13916 (typ): Likewise.
13917 Do not generate makefile rules for bounded-pointer thunks.
13918 * sysdeps/generic/bp-thunks.h: Remove file.
13919 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13920 * sysdeps/unix/s-proto-bp.S: Likewise.
13921
8cf28c5e
JM
13922 [BZ #15062]
13923 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13924 parts of result separately when argument is not close to line from
13925 -i to i and one part of argument is small.
13926 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13927 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13928 * math/libm-test.inc (cacos_test): Add more tests.
13929 (casin_test): Likewise.
13930 (casinh_test): Likewise.
13931 * sysdeps/i386/fpu/libm-test-ulps: Update.
13932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13933
c4e33b8d
DM
139342013-01-31 David S. Miller <davem@davemloft.net>
13935
13936 * po/de.po: Update from translation team.
13937
3b60b421
MK
139382013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13939
13940 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13941
bb931195
TS
139422013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13943
b5a5da23
TS
13944 * configure.in (_AC_PROG_CC_C89): New definition.
13945 * configure: Regenerate.
13946
bb931195
TS
13947 * configure.in (AC_PROG_CPP): New definition.
13948 * configure: Regenerate.
13949
8c53a12c
JM
139502013-01-23 Joseph Myers <joseph@codesourcery.com>
13951
13952 * debug/tst-backtrace.h: New file.
13953 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13954 (ret): Remove variable.
13955 (x): Likewise.
13956 (FAIL): Remove macro.
13957 (NO_INLINE): Likewise.
13958 (fn1): Use match function instead of strstr.
13959 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13960 (ret): Remove variable.
13961 (x): Likewise.
13962 (FAIL): Remove macro.
13963 (NO_INLINE): Likewise.
13964 (fn): Use match function instead of strstr.
13965 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13966 (ret): Remove variable.
13967 (x): Likewise.
13968 (FAIL): Remove macro.
13969 (NO_INLINE): Likewise.
13970 (handle_signal): Use match function instead of strstr.
13971 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13972 (ret): Remove variable.
13973 (x): Likewise.
13974 (FAIL): Remove macro.
13975 (NO_INLINE): Likewise.
13976 (handle_signal): Use match function instead of strstr.
13977
4858fa2a
RM
139782013-01-23 Roland McGrath <roland@hack.frob.com>
13979
13980 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13981
bae8e7f5
DM
139822013-01-23 David S. Miller <davem@davemloft.net>
13983
13984 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13985 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13986 argument of CAS if possible.
13987 * sysdeps/sparc/sparc64/bits/atomic.h
13988 (__arch_compare_and_exchange_val_32_acq): Likewise.
13989 (__arch_compare_and_exchange_val_64_acq): Likewise.
13990
9cbbc4ae
PT
139912013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13992
13993 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13994 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13995 Include <limits.h>.
67b3f58c 13996 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13997
5655a0b5
AC
139982013-01-23 Adam Conrad <adconrad@0c3.net>
13999
14000 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14001 (LDFLAGS-tst-array5): Likewise.
14002
052aff95
JM
140032013-01-23 Joseph Myers <joseph@codesourcery.com>
14004
14005 [BZ #15036]
14006 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14007 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14008 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14009 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14010
7c1e01aa
DM
140112013-01-21 David S. Miller <davem@davemloft.net>
14012
14013 * sysdeps/sparc/backtrace.c: New file.
14014 * sysdeps/sparc/sparc32/backtrace.h: New file.
14015 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14016 * sysdeps/sparc/sparc64/backtrace.h: New file.
14017 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14018 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14019 -funwind-tables.
14020
ab087e0a
AS
140212013-01-21 Andreas Schwab <schwab@suse.de>
14022
14023 [BZ #15020]
14024 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14025 closed its stdout.
14026
ed689c2f
AS
140272013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14028
14029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14030 "mpa2.h".
14031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14032
31d470ac
JM
140332013-01-18 Joseph Myers <joseph@codesourcery.com>
14034 Mark Mitchell <mark@codesourcery.com>
14035 Tom de Vries <tom@codesourcery.com>
14036 Paul Pluzhnikov <ppluzhnikov@google.com>
14037
14038 * debug/tst-backtrace2.c: New file.
14039 * debug/tst-backtrace3.c: Likewise.
14040 * debug/tst-backtrace4.c: Likewise.
14041 * debug/tst-backtrace5.c: Likewise.
14042 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14043 (CFLAGS-tst-backtrace3.c): Likewise.
14044 (CFLAGS-tst-backtrace4.c): Likewise.
14045 (CFLAGS-tst-backtrace5.c): Likewise.
14046 (LDFLAGS-tst-backtrace2): Likewise.
14047 (LDFLAGS-tst-backtrace3): Likewise.
14048 (LDFLAGS-tst-backtrace4): Likewise.
14049 (LDFLAGS-tst-backtrace5): Likewise.
14050 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14051 tst-backtrace4 and tst-backtrace5.
14052
90567f30 140532013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14054 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14055
14056 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14057 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14058 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14059 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14061 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14062 "+r" and remove output regs list as redundant. Add explicit inline
14063 asm to specify register of return val to work around compiler codegen
14064 bug. Remove (int) cast on return value. Add return type parameter to
14065 use in macro so that this macro does not truncate return value for
14066 64-bit values.
14067 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14068 pass to INTERNAL_VSYSCALL_NCS.
14069 (INLINE_VSYSCALL): Add 'long int' as return type to
14070 INTERNAL_VSYSCALL_NCS macro invocation.
14071 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14072 INTERNAL_VSYSCALL_NCS macro invocation.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14074
d3b9ea61
SP
140752013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14076
0b57daeb
SP
14077 [BZ #14496]
14078 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14079 Fix application of SIMD FP exception mask.
14080
caa99d06
SP
14081 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14082 mp_no from a power of two.
14083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14084 __mpexp_twomm1. Use __pow_mp.
14085
d3b9ea61
SP
14086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14087 multiplication.
14088
1dbaee3c
DM
140892013-01-17 David S. Miller <davem@davemloft.net>
14090
14091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14092
728d7b43
JM
140932013-01-17 Joseph Myers <joseph@codesourcery.com>
14094
14095 [BZ #15023]
14096 * include/complex.h: Condition contents on [!_COMPLEX_H].
14097 (__kernel_casinhf): New prototype.
14098 (__kernel_casinh): Likewise.
14099 (__kernel_casinhl): Likewise.
14100 * math/Makefile (libm_calls): Add k_casinh.
14101 * math/k_casinh.c: New file.
14102 * math/k_casinhf.c: Likewise.
14103 * math/k_casinhl.c: Likewise.
14104 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14105 finite nonzero arguments.
14106 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14107 finite nonzero arguments.
14108 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14109 finite nonzero arguments.
14110 * math/s_casinh.c: Do not include <float.h>.
14111 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14112 * math/s_casinhf.c: Do not include <float.h>.
14113 (__casinhf): Move code for finite nonzero arguments to
14114 k_casinhf.c.
14115 * math/s_casinhl.c: Do not include <float.h>.
14116 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14117 redefine.
14118 (__casinhl): Move code for finite nonzero arguments to
14119 k_casinhl.c.
14120 * math/libm-test.inc (cacos_test): Add more tests.
14121 * sysdeps/i386/fpu/libm-test-ulps: Update.
14122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14123
2a26ef3a
PT
141242013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14125
14126 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14127 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14128 [!HAVE_MREMAP]: Remove [defined linux] case.
14129 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14130
a897655d
SP
141312013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14132
14133 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14134
881ebe89 141352013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14136
14137 * elf/elf.h (R_386_SIZE32): New relocation.
14138 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14139 R_386_SIZE32.
14140 (elf_machine_rela): Likewise.
14141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14142 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14143
59981e9b
JM
141442013-01-17 Joseph Myers <joseph@codesourcery.com>
14145
14146 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14147 (FP_FAST_FMA): Do not define.
14148 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14149 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14150 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14151 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14152 !_SOFT_FLOAT]: Likewise.
14153 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14154 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14155 value.
14156 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14157 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14158 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14160 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14161 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14162 file.
14163
cfa8054f
AS
141642013-01-16 Andreas Schwab <schwab@suse.de>
14165
14166 [BZ #14327]
14167 * include/stdlib.h (__mktemp): Add declaration.
14168 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14169 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14170
dd930cc5
SP
141712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14172
881ebe89
SP
14173 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14174 definitions.
14175 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14176 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14177 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14178 definitions here.
14179 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14180 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14181 definitions.
14182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14183 and ONE.
14184 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14185 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14187 definitions.
14188 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14189 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14190 definitions.
14191 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14192
dd930cc5
SP
14193 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14194
c19a9f89
DM
141952013-01-15 David S. Miller <davem@davemloft.net>
14196
1aa61767
DM
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14198 trunc{,f} to libm-sysdep_routes.
14199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14201 file.
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14204 file.
14205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14206 file.
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14209 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14210 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14211 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14212 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14213 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14214 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14215
c42d5e98
DM
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14217 nearbyint{,f} to libm-sysdep_routes.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14220 New file.
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14222 file.
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14224 New file.
14225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14226 file.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14229 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14230 file.
14231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14233 file.
14234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14235 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14237
c19a9f89
DM
14238 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14239 libc_feholdexcept and libc_fesetenv.
14240
357679d2
MF
142412013-01-15 Mike Frysinger <vapier@gentoo.org>
14242
14243 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14244
65a82e3d
DM
142452013-01-14 David S. Miller <davem@davemloft.net>
14246
8b954ab9
DM
14247 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14248 (SPARC_ASM_VIS2_IFUNC): Likewise.
14249 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14251 use of 'siam' instruction.
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14253 Likewise.
14254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14255 Likewise.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14257 Likewise.
14258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14263 file.
14264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14265 file.
14266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14267 file.
14268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14269 file.
14270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14275 new VIS2 routines.
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14279 Likewise.
14280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14285 routines to libm-sysdep_routines.
14286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14287
65a82e3d
DM
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14289 fdim/fdimf to libm-sysdep_routines.
14290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14291 file.
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14294 file.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14298 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14299 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14300 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14301 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14302
e34ab705
SP
143032013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14304
2a91b573
SP
14305 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14306 to optimize copies.
14307
1066a534
SP
14308 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14311
e34ab705
SP
14312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14313 local variable MPTWO.
14314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14315 Likewise.
14316
aba5e596
MF
143172013-01-13 Mike Frysinger <vapier@gentoo.org>
14318
14319 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14320 GLOB_NOESCAPE.
14321
e557e9e5
MF
143222013-01-13 Mike Frysinger <vapier@gentoo.org>
14323
14324 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14325
0428cec9
MF
143262013-01-13 Mike Frysinger <vapier@gentoo.org>
14327
14328 * manual/pattern.texi (glob_t): Document gl_flags.
14329 (glob64_t): Likewise.
14330
8794a964
DM
143312013-01-11 David S. Miller <davem@davemloft.net>
14332
66438c3f
RM
14333 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14334 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14335 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14336 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14337 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14338 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14339 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14340 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14341 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14342 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14343 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14344 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14345 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14346
4ae4244d
DM
14347 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14348 sparc V9 rather than using V8 code.
14349 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14350 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14351
8794a964
DM
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14353 Move to...
14354 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14355 Here.
14356
6270516e
RM
143572013-01-11 Roland McGrath <roland@hack.frob.com>
14358
14359 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14360 not in the main loop.
14361 * configure: Regenerated.
14362
6a57d931
JM
143632013-01-11 Joseph Myers <joseph@codesourcery.com>
14364
14365 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14366 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14367 to just #else.
14368 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14369 [!__GLIBC_HAVE_LONG_LONG] case.
14370 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14371 condition to just #else.
14372 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14373 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14374 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14375 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14376 unconditional.
14377 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14378 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14379 #elif condition to just #else.
14380 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14381 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14382 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14383 #elif condition to just #else.
14384
0e8529e9
SE
143852013-01-11 Steve Ellcey <sellcey@mips.com>
14386
14387 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14388 (EF_MIPS_ARCH_64): Fix value.
14389 (EF_MIPS_ARCH_32R2): New.
14390 (EF_MIPS_ARCH_64R2): New.
14391
740b3dbe
L
143922013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * Makeconfig (+link-pie-before-libc): New.
14395 (+link-pie-after-libc): Likewise.
14396 (+link-pie-tests): Likewise.
14397 (+link-pie): Rewritten.
14398 (link-before-libc): Remove $(config-LDFLAGS).
14399 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14400 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14401 (config-LDFLAGS): Renamed to ...
14402 (rtld-LDFLAGS): This.
14403 (rtld-tests-LDFLAGS): New macro.
14404 (link-libc-rpath-link): Likewise.
14405 (link-libc-tests-rpath-link): Likewise.
14406 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14407 (link-libc): Prepand $(link-libc-rpath-link).
14408 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14409 (test-program-prefix): New macro.
14410 (test-via-rtld-prefix): Likewise.
14411 (test-program-cmd): Likewise.
14412 (host-test-program-cmd): Likewise.
14413 * Makefile ($(common-objpfx)testrun.sh): Replace
14414 $(run-program-prefix) with $(test-program-prefix).
14415 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14416 $(rtld-LDFLAGS).
14417 ($(common-objpfx)shlib.lds): Likewise.
14418 (build-module-helper): Likewise.
14419 ($(common-objpfx)format.lds): Likewise.
14420 * Rules (binaries-pie-tests): New.
14421 (binaries-pie-notests): Likewise.
14422 (binaries-pie): Rewritten.
14423 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14424 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14425 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14426 (make-test-out): Replace $(host-built-program-cmd) with
14427 $(host-test-program-cmd).
14428 * config.make.in (build-hardcoded-path-in-tests): New variable.
14429 * configure.in (--enable-hardcoded-path-in-tests): New configure
14430 option.
14431 (hardcoded_path_in_tests): New AC_SUBST.
14432 * configure: Regenerated.
14433 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14434 $(built-program-cmd) with $(test-program-cmd).
14435 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14436 (test_program_cmd): This.
14437 * elf/Makefile ($(objpfx)order.out): Run test with
14438 $(test-program-prefix).
14439 ($(objpfx)order2.out): Likewise.
14440 ($(objpfx)tst-initorder.out): Likewise.
14441 ($(objpfx)tst-initorder2.out): Likewise.
14442 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14443 $(test-program-cmd).
14444 ($(objpfx)tst-array1-static.out): Likewise.
14445 ($(objpfx)tst-array2.out): Likewise.
14446 ($(objpfx)tst-array3.out): Likewise.
14447 ($(objpfx)tst-array4.out): Likewise.
14448 ($(objpfx)tst-array5.out): Likewise.
14449 ($(objpfx)tst-array5-static.out): Likewise.
14450 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14451 $(test-program-cmd).
14452 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14453 $(run-program-prefix) with $(test-program-prefix).
14454 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14455 (test_program_prefix): This.
14456 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14457 $(run-program-prefix) with $(test-program-prefix).
14458 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14459 (test_program_prefix): This.
14460 * iconvdata/tst-tables.sh: Likewise.
14461 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14462 $(run-program-prefix) with $(test-program-prefix).
14463 ($(objpfx)tst-translit.out): Likewise.
14464 ($(objpfx)tst-gettext2.out): Likewise.
14465 ($(objpfx)tst-gettext4.out): Likewise.
14466 ($(objpfx)tst-gettext6.out): Likewise.
14467 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14468 (test_program_prefix): This.
14469 * intl/tst-gettext2.sh: Likewise.
14470 * intl/tst-gettext4.sh Likewise.
14471 * intl/tst-gettext6.sh: Likewise.
14472 * intl/tst-translit.sh: Likewise.
14473 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14474 with $(test-program-cmd).
14475 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14476 $(run-program-prefix) with $(test-program-prefix).
14477 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14478 (test_program_prefix): This.
14479 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14480 $(run-program-prefix) with $(test-program-prefix).
14481 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14482 (test_program_prefix): This.
14483 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14484 * posix/Makefile ($(objpfx)globtest.out): Replace
14485 $(run-via-rtld-prefix) and $(test-wrapper) with
14486 $(test-program-prefix) and $(test-via-rtld-prefix).
14487 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14488 $(test-program-prefix).
14489 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14490 $(host-test-program-cmd).
14491 (tst-spawn-ARGS): Likewise.
14492 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14493 $(test-program-prefix).
14494 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14495 (test_via_rtld_prefix): This.
14496 (test_wrapper): Renamed to ...
14497 (test_program_prefix): This.
14498 (run_program_prefix): Replaced by test_program_prefix.
14499 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14500 (test_program_prefix): This.
14501 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14502 with $(host-test-program-cmd).
14503 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14504 $(run-program-prefix) with $(test-program-prefix).
14505 ($(objpfx)tst-printf.out): Likewise.
14506 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14507 $(test-program-cmd).
14508 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14509 (test_program_prefix): This.
14510 * stdio-common/tst-unbputc.sh: Likewise.
14511 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14512 $(run-program-prefix) with $(test-program-prefix).
14513 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14514 (test_program_prefix): This.
14515 * string/Makefile ($(objpfx)tst-svc.out): Replace
14516 $(built-program-cmd) with $(test-program-cmd).
14517
c6fe55cf
AJ
145182013-01-11 Andreas Jaeger <aj@suse.de>
14519
14520 [BZ #15003]
14521 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14522 value. Sync with Linux 3.7.
14523
9e6919c8
DM
145242013-01-10 David S. Miller <davem@davemloft.net>
14525
14526 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14527 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14528 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14529
1c9f1a02
RM
145302013-01-10 Roland McGrath <roland@hack.frob.com>
14531
14532 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14533 never set.
14534 * configure: Regenerated.
14535
b9de2dde
DM
145362013-01-10 David S. Miller <davem@davemloft.net>
14537
14538 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14539 sparc V9 rather than using V8 code.
14540 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14541 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14542
e7f68ef4
RM
145432013-01-10 Roland McGrath <roland@hack.frob.com>
14544
14545 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14546 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14547 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14548 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14549 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14550 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14551 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14552 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14553 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14554 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14555 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14556 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14557 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14558 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14559 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14560 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14561 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14562 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14563 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14564 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14565 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14566 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14567 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14568 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14569 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14570 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14571 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14572
5a47cc9c
DM
145732013-01-10 David S. Miller <davem@davemloft.net>
14574
14575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14576
4cf8f209
L
145772013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14578
14579 * posix/Makefile (tests-static): New variable.
14580 (tests): Add $(tests-static).
14581 (tst-exec-static-ARGS): New variable.
14582 (tst-spawn-static-ARGS): Likewise.
14583 * posix/tst-exec-static.c: New file.
14584 * posix/tst-spawn-static.c: Likewise.
14585 * posix/tst-exec.c: Support run directly.
14586 * posix/tst-spawn.c: Likewise.
14587
fed0faa1
JM
145882013-01-10 Joseph Myers <joseph@codesourcery.com>
14589
828beb13
JM
14590 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14591 long.
14592 * math/bits/mathcalls.h (llrint): Likewise.
14593 (llround): Likewise.
14594 * stdlib/stdlib.h (struct drand48_data): Likewise.
14595 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14596 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14597 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14598 Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14600 Likewise.
14601 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14602 (elf_greg_t): Likewise.
14603 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14604 (__jmp_buf): Likewise.
14605 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14606 definitions.
14607 (llrint): Likewise, for all definitions.
14608 (llrintl): Likewise.
14609
fed0faa1
JM
14610 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14611 Remove [__GNUC__] condition.
14612 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14613 condition to just [__USE_ISOC99].
14614 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14615
1a20cb20
L
146162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 [BZ #14200]
14619 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14620 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14621 defined.
14622 (_POSIX_V6_ILP32_OFF32): Likewise.
14623 (_XBS5_ILP32_OFF32): Likewise.
14624 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14625 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14626
751b85f7
SP
146272013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14628
7490eb81
SP
14629 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14630
751b85f7
SP
14631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14632 doubles __mpexp_twomm1. Adjust usage.
14633 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14634 Remove.
14635
988197f0
AS
146362013-01-10 Andreas Schwab <schwab@suse.de>
14637
14638 [BZ #14964]
14639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14640 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14641
e83d7298
DM
146422013-01-09 David S. Miller <davem@davemloft.net>
14643
034ed64b 14644 [BZ #15003]
e83d7298
DM
14645 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14646 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14647 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14648 TCP_FASTOPEN): Define.
14649 (tcp_repair_opt): New structure.
14650 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14651 enum values.
14652 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14653 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14654 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14655 (tcp_cookie_transactions): New structure.
14656
d5e0b9bd
AB
146572013-01-09 Anton Blanchard <anton@samba.org>
14658
14659 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14660 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14661 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14662 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14663
0c07e3ea
JM
146642013-01-09 Joseph Myers <joseph@codesourcery.com>
14665
14666 * include/features.h (__USE_ANSI): Remove.
14667
232f7002
RM
146682013-01-09 Roland McGrath <roland@hack.frob.com>
14669
ad98e30c
RM
14670 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14671
232f7002
RM
14672 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14673
950c99ca
SP
146742013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14675
b5792741
SP
14676 * sysdeps/s390/fpu/libm-test-ulps: Update.
14677
47cf2278
SP
14678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14679
950c99ca
SP
14680 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14681 (__acr): Likewise.
14682 (__cpy): Likewise.
14683 (norm): Likewise.
14684 (denorm): Likewise.
14685 (__mp_dbl): Likewise.
14686 (__dbl_mp): Likewise.
14687 (add_magnitudes): Likewise.
14688 (sub_magnitudes): Likewise.
14689 (__add): Likewise.
14690 (__sub): Likewise.
14691 (__mul): Likewise.
14692 (__inv): Likewise.
14693 (__dvd): Likewise.
14694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14695 (__acr): Likewise.
14696 (__cpy): Likewise.
14697 (norm): Likewise.
14698 (denorm): Likewise.
14699 (__mp_dbl): Likewise.
14700 (__dbl_mp): Likewise.
14701 (add_magnitudes): Likewise.
14702 (sub_magnitudes): Likewise.
14703 (__add): Likewise.
14704 (__sub): Likewise.
14705 (__mul): Likewise.
14706 (__inv): Likewise.
14707 (__dvd): Likewise.
14708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14709 (__acr): Likewise.
14710 (__cpy): Likewise.
14711 (norm): Likewise.
14712 (denorm): Likewise.
14713 (__mp_dbl): Likewise.
14714 (__dbl_mp): Likewise.
14715 (add_magnitudes): Likewise.
14716 (sub_magnitudes): Likewise.
14717 (__add): Likewise.
14718 (__sub): Likewise.
14719 (__mul): Likewise.
14720 (__inv): Likewise.
14721 (__dvd): Likewise.
14722
eede9df9
JM
147232013-01-08 Joseph Myers <joseph@codesourcery.com>
14724
14725 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14726 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14727 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14728 2 && __USE_EXTERN_INLINES]: Likewise.
14729
c40ea3d9
AJ
147302013-01-08 Andreas Jaeger <aj@suse.de>
14731
14732 [BZ# 14985]
14733 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14734 Remove.
14735 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14736 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14737
2ccdea26
AB
147382013-01-07 Anton Blanchard <anton@samba.org>
14739
14740 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14741 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14742 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14743 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14744 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14746 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14747 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14749 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14750 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14751 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14752 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14754 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14756 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14757 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14758 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14759 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14760 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14761 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14763 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14764 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14765 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14766 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14767 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14768 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14769 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14770 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14772 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14773 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14774 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14775 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14778 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14780 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14782 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14783
a9708fed
JM
147842013-01-07 Joseph Myers <joseph@codesourcery.com>
14785
375607b9
JM
14786 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14787 (__MALLOC_PMT): Likewise.
14788 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14789 [__GNUC__], only on [_LIBC].
14790 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14791 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14792 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14793 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14794 forward declaration.
14795 (realloc_hook_ini): Likewise.
14796 (memalign_hook_ini): Likewise.
14797 (__libc_memalign): Do not use __MALLOC_PMT in variable
14798 declaration.
14799 (__libc_valloc): Likewise.
14800 (__libc_pvalloc): Likewise.
14801 (__libc_calloc): Likewise.
14802 (__posix_memalign): Likewise.
14803
a9708fed
JM
14804 [BZ #14996]
14805 * math/s_casinh.c: Include <float.h>.
14806 (__casinh): Do not do computation with squaring and square root
14807 for large arguments.
14808 * math/s_casinhf.c: Include <float.h>.
14809 (__casinhf): Do not do computation with squaring and square root
14810 for large arguments.
14811 * math/s_casinhl.c: Include <float.h>.
14812 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14813 (__casinhl): Do not do computation with squaring and square root
14814 for large arguments.
14815 * math/libm-test.inc (casin_test): Add more tests.
14816 (casinh_test): Likewise.
14817 * sysdeps/i386/fpu/libm-test-ulps: Update.
14818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819
afec409a
L
148202013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14821
14822 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14823 (__x86_64_raw_data_cache_size): Likewise.
14824 (__x86_64_data_cache_size_half): Likewise.
14825 (__x86_64_raw_data_cache_size_half): Likewise.
14826 (__x86_64_shared_cache_size): Likewise.
14827 (__x86_64_raw_shared_cache_size): Likewise.
14828 (__x86_64_shared_cache_size_half): Likewise.
14829 (__x86_64_raw_shared_cache_size_half): Likewise.
14830 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14831 to ...
14832 (__x86_data_cache_size): This.
14833 (__x86_64_raw_data_cache_size): Renamed to ...
14834 (__x86_raw_data_cache_size): This.
14835 (__x86_64_data_cache_size_half): Renamed to ...
14836 (__x86_data_cache_size_half): This.
14837 (__x86_64_raw_data_cache_size_half): Renamed to ...
14838 (__x86_raw_data_cache_size_half): This.
14839 (__x86_64_shared_cache_size): Renamed to ...
14840 (__x86_shared_cache_size): This.
14841 (__x86_64_raw_shared_cache_size): Renamed to ...
14842 (__x86_raw_shared_cache_size): This.
14843 (__x86_64_shared_cache_size_half): Renamed to ...
14844 (__x86_shared_cache_size_half): This.
14845 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14846 (__x86_raw_shared_cache_size_half): This.
14847 * sysdeps/x86_64/memcpy.S: Updated.
14848 * sysdeps/x86_64/memset.S: Likewise.
14849 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14850 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14851 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14852
0b3986d0
DM
148532013-01-04 David S. Miller <davem@davemloft.net>
14854
14855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14856
e47686e9
AS
148572013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14858
d643bac1
AS
14859 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14860 1 to avoid redefinition warning.
14861 (__USE_GNU): Don't define.
14862 (init_signaling_nan): Protoize.
14863
e47686e9
AS
14864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14865
b18decba
SP
148662013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14867
fffb407f
SP
14868 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14870 (__cpymn): Likewise.
14871 (norm): Remove commented code.
14872 (denorm): Likewise.
14873 (__mp_dbl): Likewise.
14874 (__inv): Likewise.
14875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14876 (__cpymn): Likewise.
14877 (norm): Remove commented code.
14878 (denorm): Likewise.
14879 (__mp_dbl): Likewise.
14880 (__inv): Likewise.
14881
b18decba
SP
14882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14883 mp_no value for 1.0 and 2.0.
14884 (norm): Use RADIXI instead of radixi.d.
14885 (denorm): Likewise.
14886 (__mul): Use 0.0 instead of zero.d.
14887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14888 mp_no value for 1.0 and 2.0.
14889 (norm): Use RADIXI instead of radixi.d.
14890 (denorm): Likewise.
14891 (__mul): Use 0.0 instead of zero.d.
14892
cdc1c96f
JM
148932013-01-04 Joseph Myers <joseph@codesourcery.com>
14894
14895 [BZ #14994]
14896 * math/s_casinh.c (__casinh): Reduce finite argument to first
14897 quadrant then set signs of results at the end.
14898 * math/s_casinhf.c (__casinhf): Likewise.
14899 * math/s_casinhl.c (__casinhl): Likewise.
14900 * math/libm-test.inc (casin_test): Add more tests.
14901 (casinh_test): Likewise.
14902 * sysdeps/i386/fpu/libm-test-ulps: Update.
14903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14904
302913e1
SP
149052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14906
6420d207
SP
14907 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14908
a9e48ab4
SP
14909 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14910
b7837264
SP
14911 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14912 declarations.
14913 (denorm): Likewise.
14914 (__mp_dbl): Likewise.
14915 (__inv): Likewise.
14916
f8af25d2
SP
14917 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14918 and adjust the header comment.
14919
302913e1
SP
14920 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14921 variable name from declaration.
14922
5d7dd1ca
L
149232013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14924
14925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14926 Initialize COMMON_CPUID_INDEX_7 element.
14927 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14928 (CPUID_RTM): Likewise.
14929 (HAS_RTM): Likewise.
14930 (COMMON_CPUID_INDEX_7): New enum.
14931
2f5f40f4
AS
149322013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 [BZ #14981]
14935 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14936 size is zero, record memory as freed.
14937
4056f4a0
AJ
149382013-01-03 Andreas Jaeger <aj@suse.de>
14939
14940 * po/ia.po: Add new Interlingua translation.
14941
ab15736f 149422012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14943
14944 * locale/programs/localedef.c: Fix description of '--posix' flag.
14945
568035b7
JM
149462013-01-02 Joseph Myers <joseph@codesourcery.com>
14947
e6898b8d
JM
14948 * NEWS: Update dates in second copyright notice.
14949 * README: Update copyright dates in example.
14950 * manual/libc.texinfo: Update copyright dates.
14951 * scripts/test-installation.pl: Update copyright date in --version
14952 output.
14953
0e2f9562
JM
14954 * hurd/ctty-input.c: Fix copyright notice formatting.
14955 * hurd/ctty-output.c: Likewise.
14956 * hurd/dtable.c: Likewise.
14957 * hurd/hurd-raise.c: Likewise.
14958 * hurd/hurdprio.c: Likewise.
14959 * hurd/msgportdemux.c: Likewise.
14960 * misc/sys/file.h: Likewise.
14961 * misc/sys/ioctl.h: Likewise.
14962 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14963 * sysdeps/mach/hurd/chdir.c: Likewise.
14964 * sysdeps/mach/hurd/fchdir.c: Likewise.
14965 * sysdeps/mach/hurd/rename.c: Likewise.
14966 * sysdeps/mach/hurd/rmdir.c: Likewise.
14967 * sysdeps/mach/hurd/seekdir.c: Likewise.
14968 * sysdeps/mach/hurd/setsid.c: Likewise.
14969 * sysdeps/posix/wait3.c: Likewise.
14970
568035b7
JM
14971 * All files with FSF copyright notices: Update copyright dates
14972 using scripts/update-copyrights.
14973 * intl/plural.c: Regenerated.
14974 * locale/programs/charmap-kw.h: Likewise.
14975 * locale/programs/locfile-kw.h: Likewise.
14976
da08f647
SP
149772013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14978
0f5477af
SP
14979 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14980 four values.
14981
44e0d4c2
SP
14982 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14983 calculation loop and add branch prediction.
14984
4d55b4e5
SP
14985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14986 check access beyond bounds of m1np.
14987
da08f647
SP
14988 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14989 MPTWO.
14990 (__inv): Remove local variable MPTWO to use the global
14991 constant.
14992 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14994 variable MPTWO.
14995 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14996 MP3HALFS static const.
14997
8e051029
DM
149982013-01-01 David S. Miller <davem@davemloft.net>
14999
15000 * po/ca.po: Update from translation team.
15001
f4cf5f2d
JM
150022013-01-01 Joseph Myers <joseph@codesourcery.com>
15003
15004 * scripts/update-copyrights: New file.
15005 * Makeconfig: Reformat copyright notice.
15006 * ctype/ctype.h: Likewise.
15007 * debug/swprintf_chk.c: Likewise.
15008 * elf/dl-cache.c: Likewise.
15009 * elf/dl-debug.c: Likewise.
15010 * elf/dl-object.c: Likewise.
15011 * grp/initgroups.c: Likewise.
15012 * hurd/Makefile: Likewise.
15013 * hurd/hurd/signal.h: Likewise.
15014 * hurd/hurdfault.c: Likewise.
15015 * hurd/hurdioctl.c: Likewise.
15016 * hurd/hurdlookup.c: Likewise.
15017 * hurd/intr-msg.c: Likewise.
15018 * iconv/gconv_open.c: Likewise.
15019 * libio/swprintf.c: Likewise.
15020 * locale/lc-ctype.c: Likewise.
15021 * locale/nl_langinfo.c: Likewise.
15022 * mach/Machrules: Likewise.
15023 * mach/Makefile: Likewise.
15024 * malloc/obstack.h: Likewise.
15025 * manual/Makefile: Likewise.
15026 * manual/tsort.awk: Likewise.
15027 * misc/bits/stab.def: Likewise.
15028 * nis/nis_print_group_entry.c: Likewise.
15029 * nis/nis_table.c: Likewise.
15030 * nis/nss_compat/compat-pwd.c: Likewise.
15031 * nis/nss_compat/compat-spwd.c: Likewise.
15032 * po/Makefile: Likewise.
15033 * posix/fnmatch.c: Likewise.
15034 * posix/regex.h: Likewise.
15035 * resolv/Makefile: Likewise.
15036 * resolv/nss_dns/dns-network.c: Likewise.
15037 * resolv/res_hconf.c: Likewise.
15038 * scripts/gen-sorted.awk: Likewise.
15039 * soft-fp/soft-fp.h: Likewise.
15040 * stdio-common/printf.h: Likewise.
15041 * stdlib/monetary.h: Likewise.
15042 * stdlib/random.c: Likewise.
15043 * stdlib/random_r.c: Likewise.
15044 * sysdeps/generic/Makefile: Likewise.
15045 * sysdeps/gnu/Makefile: Likewise.
15046 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15074 * sysdeps/mach/hurd/errnos.awk: Likewise.
15075 * sysdeps/mach/hurd/fork.c: Likewise.
15076 * sysdeps/mach/hurd/getcwd.c: Likewise.
15077 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15078 * sysdeps/mach/hurd/mmap.c: Likewise.
15079 * sysdeps/mach/hurd/utimes.c: Likewise.
15080 * sysdeps/mach/hurd/xmknod.c: Likewise.
15081 * sysdeps/posix/profil.c: Likewise.
15082 * sysdeps/posix/readdir_r.c: Likewise.
15083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15084 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15085 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15086 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15088 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15089 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15090 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15092 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15094 * sysdeps/pthread/lio_listio.c: Likewise.
15095 * sysdeps/sparc/dl-procinfo.h: Likewise.
15096 * sysdeps/unix/i386/sysdep.S: Likewise.
15097 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15098 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15099 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15100 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15102 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15103 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15104 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15105 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15106 * sysdeps/wordsize-32/divdi3.c: Likewise.
15107 * time/sys/time.h: Likewise.
15108 * wcsmbs/Makefile: Likewise.
15109
0549fbba
DM
151102013-01-01 David S. Miller <davem@davemloft.net>
15111
a141f1a7
DM
15112 * po/fr.po: Update from translation team.
15113
0549fbba
DM
15114 * catgets/gencat.c: Update copyright year.
15115 * csu/version.c: Likewise.
15116 * debug/catchsegv.sh: Likewise.
15117 * debug/pcprofiledump.c: Likewise.
15118 * debug/xtrace.sh: Likewise.
15119 * elf/ldconfig.c: Likewise.
15120 * elf/ldd.bash.in: Likewise.
15121 * elf/pldd.c: Likewise.
15122 * elf/sotruss.ksh: Likewise.
15123 * elf/sprof.c: Likewise.
15124 * iconv/iconv_prog.c: Likewise.
15125 * iconv/iconvconfig.c: Likewise.
15126 * locale/programs/locale.c: Likewise.
15127 * locale/programs/localedef.c: Likewise.
15128 * login/programs/pt_chown.c: Likewise.
15129 * malloc/memusage.sh: Likewise.
15130 * malloc/memusagestat.c: Likewise.
15131 * malloc/mtrace.pl: Likewise.
15132 * nscd/nscd.c: Likewise.
15133 * nss/getent.c: Likewise.
15134 * nss/makedb.c: Likewise.
15135 * posix/getconf.c: Likewise.
15136
18ea052c
SP
151372012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15138
15139 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15140 numbers.
15141
9c89fca6
MF
151422012-12-30 Mike Frysinger <vapier@gentoo.org>
15143
15144 * math/bits/mathcalls.h (modf): Use __nonnull.
15145
085ec079
SP
151462012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15147
15148 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15149 (split): Use macro CN instead of the bare value.
15150 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15151 could be used.
15152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15153 instead of the bare value.
15154 (power1): Likewise.
15155
6d9f97e1
SP
151562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
d63f73be
SP
15158 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15159 __ATAN_TWOM.
15160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15161
6d9f97e1
SP
15162 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15163 their values.
15164 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15165 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15166 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15167 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15168
4c4febf5
AJ
151692012-12-28 Andreas Jaeger <aj@suse.de>
15170
af5843ef
AJ
15171 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15172 values are from Linux 3.7.
15173
4c4febf5
AJ
15174 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15175 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15176
99136f82
SP
151772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15178
2f216c3c 15179 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15180 TRUE case.
15181
99136f82
SP
15182 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15183 (norm): Likewise.
15184 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15185 variables with preprocessor constants.
15186 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15187 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15188 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15189
7fffbdff
BH
151902012-12-27 Bruno Haible <bruno@clisp.org>
15191
15192 [BZ #14317]
15193 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15194 only if needed.
15195
b76eb5f0
SP
151962012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15197
31a7fe5c
SP
15198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15199 and use variable directly.
15200 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15201
b76eb5f0
SP
15202 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15203 MPONE.
15204 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15206 variable MPONE.
15207 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15209 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15210 include directive. Remove local variable MPONE.
15211 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15212 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15213 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15214
2c8bfe7d
DM
152152012-12-25 David S. Miller <davem@davemloft.net>
15216
15217 * version.h (RELEASE): Set to "development".
15218 (VERSION): Set to "2.17.90".
15219 * NEWS: Add 2.18 section.
15220
147d03b0
DM
152212012-12-21 David S. Miller <davem@davemloft.net>
15222
15223 * po/hr.po: Update from translation team.
15224
a8ebb2b9
AK
152252012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15226
15227 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15228
95b4f1b6
SE
152292012-12-19 Steve Ellcey <sellcey@mips.com>
15230
b2d94007 15231 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15232
cedb2a90
MS
152332012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15234
15235 * manual/contrib.texi (Contributors): Spelling correction.
15236
bbf527d6
DM
152372012-12-15 David S. Miller <davem@davemloft.net>
15238
15239 * po/ru.po: Update from translation team.
15240
bc38c906
DM
152412012-12-13 David S. Miller <davem@davemloft.net>
15242
85429b1a
DM
15243 * NEWS: Mention IFUNC testsuite enhancements.
15244
d283e353
DM
15245 * po/pl.po: Update from translation team.
15246 * po/bg.po: Likewise.
15247
bc38c906
DM
15248 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15249 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15250
a181b0d7
DM
152512012-12-11 David S. Miller <davem@davemloft.net>
15252
4641d57e
DM
15253 * po/sv.po: Update from translation team.
15254
f7bc6495
DM
15255 * po/vi.po: Update from translation team.
15256
6fc9048f
DM
15257 * po/cs.po: Update from translation team.
15258
a181b0d7
DM
15259 * po/de.po: Update from translation team.
15260 * po/eo.po: Likewise.
15261 * po/nl.po: Likewise.
15262
f70bfe80
SP
152632012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15264
3c8b4190
SP
15265 [BZ #14246]
15266 * manual/argp.texi (Argp Helper Functions): Move node to follow
15267 Argp Parsing State.
15268
f70bfe80
SP
15269 [BZ #14872]
15270 * manual/conf.texi (Limits on File System Capacity): Mention if
15271 terminating null is included in the max size.
15272
188f0adf
AJ
152732012-12-10 Andreas Jaeger <aj@suse.de>
15274
15275 * po/cs.po: Update from translation team.
15276
56e7d3ad
SP
152772012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15278
15279 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15280 void pointer and cast to uintptr_t.
15281 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15282 path.
15283 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15284 * sysdeps/s390/s390-64/memset.S: Likewise.
15285
76f2d2ea 152862012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15287
15288 [BZ #14833]
15289 * menual/message.texi (Message Translation): Fix typos.
15290 (Helper programs for gettext): Likewise.
15291
67cbf9a2
AS
152922012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15293
15294 [BZ #14898]
15295 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15296 Change to -1.
15297
682d0e9a
DM
152982012-12-07 David S. Miller <davem@davemloft.net>
15299
15300 * po/libc.pot: Update.
15301
573cd484
RH
153022012-12-07 Richard Henderson <rth@redhat.com>
15303
7e9da188 15304 [BZ #10114]
573cd484
RH
15305 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15306 normal/normal case to before the switch.
15307 (_FP_DIV): Likewise.
15308
e933a943
MF
153092012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15310 Mike Frysinger <vapier@gentoo.org>
15311
15312 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15313 check for __NR_fadvise64_64.
15314
82123268
CM
153152012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15316
15317 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15318 0, not just to plain "0" as a statement.
15319 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15320 with cw.
15321
d9814526
JM
153222012-12-06 Joseph Myers <joseph@codesourcery.com>
15323
15324 * NEWS: Use sourceware.org in Bugzilla URL.
15325
7728c574
SP
153262012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15327
f16946dd
SP
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15329 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15330
5704bbcb
SP
15331 * stdio-common/tst-put-error.c (do_test): Add newline to the
15332 padded test to ensure flush.
15333
17aa0516
JL
153342012-12-05 Jeff Law <law@redhat.com>
15335
15336 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15337
363313b5
JM
153382012-12-05 Joseph Myers <joseph@codesourcery.com>
15339
effbd42a
JM
15340 * README: Don't refer to ports add-on as distributed separately.
15341 Mention AArch64 in list of systems supported in the ports add-on.
15342
87600365
JM
15343 * LICENSES: Add more non-FSF copyright and license notices.
15344
a0d7066a
JM
15345 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15346 ((unused)).
15347
66ca5a5b
JM
15348 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15349
363313b5
JM
15350 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15351 10000 as width of padded output.
15352
b37984ad
JM
153532012-12-04 Joseph Myers <joseph@codesourcery.com>
15354
9003570a
JM
15355 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15356
b37984ad
JM
15357 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15358 variable LX with __attribute__ ((unused)).
15359 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15360 Likewise.
15361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15364 with __attribute__ ((unused)).
15365
c8df52ec
DM
153662012-12-04 David S. Miller <davem@abraco.davemloft.net>
15367
15368 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15369
b3b099af
JM
153702012-12-04 Joseph Myers <joseph@codesourcery.com>
15371
c33aa6e3
JM
15372 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15373 (CFLAGS-nldbl-acos.c): New variable.
15374 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15406 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15407 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15408 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15409 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15410 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15417 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15418 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15419 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15420 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15421 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15422 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15423 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15424 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15425 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15426 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15427 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15428 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15429 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15430 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15431 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15432 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15433 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15434 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15435 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15436 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15437 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15438 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15439 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15440 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15441 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15442 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15445 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15446 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15447 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15448 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15449 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15450 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15451 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15452 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15453 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15454 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15455 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15456 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15457 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15458 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15459 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15460 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15461 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15462 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15463 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15464 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15465 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15466 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15467 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15468 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15469 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15470 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15471
20f0018d
JM
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15473 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15474
b3b099af
JM
15475 [BZ #14914]
15476 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15477 whole low double instead of just low 47 bits when splitting values
15478 into two parts.
15479
029264d1
AM
154802012-12-03 Allan McRae <allan@archlinux.org>
15481
15482 * manual/stdio.texi (Predefined Printf Handlers): Remove
15483 @hsep and @vsep usage.
15484
c9d6789e
MF
154852012-12-03 Mike Frysinger <vapier@gentoo.org>
15486
15487 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15488 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15489
4b7634a5
JL
154902012-12-03 Jeff Law <law@redhat.com>
15491
15492 * time/sys/time.h (settimeofday): Do not mark TV argument
15493 as __nonnull.
15494
eb6cbd24
MF
154952012-12-01 Mike Frysinger <vapier@gentoo.org>
15496
15497 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15498 when currently writing and seek to current position when not.
15499 * libio/Makefile (tests): Remove bug-fclose1.
15500 * libio/bug-fclose1.c: Delete.
15501
f638872a
JM
155022012-12-01 Joseph Myers <joseph@codesourcery.com>
15503
15504 * manual/arith.texi (feenableexcept): Fix typo.
15505 (fedisableexcept): Likewise.
15506
48085d14
RM
155072012-11-30 Roland McGrath <roland@hack.frob.com>
15508
15509 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15510 second, differently-typed declaration, rather than a cast.
15511
1a538b9f
SP
155122012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15513
15514 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15515 * include/rpc/svc.h: ... here.
15516
d07f2ff1 155172012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15518
15519 [BZ #13013]
15520 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15521 depending n and resplen2 to catch cases where answer
15522 equals answerp2.
15523
c93ec1f0
CD
155242012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15525
15526 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15527 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15528
37db69de
MF
155292012-11-29 Mike Frysinger <vapier@gentoo.org>
15530
15531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15532
e10c4e4f
RM
155332012-11-29 Roland McGrath <roland@hack.frob.com>
15534
15535 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15536
2af1b328
JL
155372012-11-28 Jeff Law <law@redhat.com>
15538
15539 [BZ #13761]
15540 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15541 dataset_temporary. Track alloca usage into alloca_used.
15542 If dataset is large allocate and release it via malloc/free.
15543
111db5b1
FW
155442012-06-04 Florian Weimer <fweimer@redhat.com>
15545
f06cc227 15546 [BZ #14197]
111db5b1
FW
15547 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15548
dd694abd
DM
155492012-11-28 David S. Miller <davem@davemloft.net>
15550
15551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15552
9984dd01
JM
155532012-11-28 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #14803]
15556 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15557 of pi/2 rounded to nearest to 64 bits.
15558 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15559 nearest to 64 bits.
15560 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15561 bits.
15562
14bc93a9
JL
155632012-11-28 Jeff Law <law@redhat.com>
15564 Martin Osvald <mosvald@redhat.com>
15565
15566 [BZ #14889]
15567 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15568 * sunrpc/svc.c: Include time.h.
15569 (__svc_accept_failed): New function.
15570 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15571 any reason other than EINTR, call __svc_accept_failed.
15572 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15573 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15574
e3c6aa3a
AS
155752012-11-28 Andreas Schwab <schwab@suse.de>
15576
15577 * scripts/abilist.awk: Also handle indirect functions in .opd
15578 section.
15579
1bead169
JM
155802012-11-28 Joseph Myers <joseph@codesourcery.com>
15581
15582 [BZ #13881]
15583 * sysdeps/x86/fpu/powl_helper.c: New file.
15584 * sysdeps/x86/fpu/Makefile: Likewise.
15585 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15586 (p3): New object.
15587 (__ieee754_powl): Use __powl_helper for finite arguments except
15588 integer exponents below 8.
15589 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15590 (p3): New object.
15591 (__ieee754_powl): Use __powl_helper for finite arguments except
15592 integer exponents below 8.
15593 * math/libm-test.inc (pow_test): Add more tests and enable some
15594 previously disabled tests.
15595 * sysdeps/i386/fpu/libm-test-ulps: Update.
15596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597
0817d63d
SP
155982012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15599 Carlos O'Donell <carlos_odonell@mentor.com>
15600
15601 * nss/makedb.c (is_prime): Assert that input is odd and greater
15602 than 4. Note that fact in a comment too.
15603 (next_prime): Add 4 to input.
15604
de2fd463
SP
156052012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15606
15607 [BZ #11741]
15608 * libio/Makefile (tests): Add test case tst-fwrite-error.
15609 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15610 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15611 * libio/tst-fwrite-error.c: New test case.
15612
c515fb51
L
156132012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15614
15615 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15616 before casting to void *.
15617 * include/libc-internal.h (__pointer_type): New macro.
15618 (__integer_if_pointer_type_sub): Likewise.
15619 (__integer_if_pointer_type): Likewise.
15620 (cast_to_integer): Likewise.
15621 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15622 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15623 before casting to atomic64_t.
15624 (atomic_exchange_acq): Likewise.
15625 (__arch_exchange_and_add_body): Likewise.
15626 (__arch_add_body): Likewise.
15627 (atomic_add_negative): Likewise.
15628 (atomic_add_zero): Likewise.
15629
4cf77aa9
JM
156302012-11-26 Joseph Myers <joseph@codesourcery.com>
15631
15632 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15633 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15634 (add_fdes): Likewise.
15635 (linear_search_fdes): Likewise.
15636 (binary_search_unencoded_fdes): Likewise.
15637
d260b3b4
AS
156382012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15639
15640 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15641
67060746
AC
156422012-11-24 Adam Conrad <adconrad@0c3.net>
15643
15644 * configure.in: Autodetect C++ header directories.
15645 * configure: Regenerated.
15646
800938a1
MF
156472012-11-23 Mike Frysinger <vapier@gentoo.org>
15648
15649 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15650
4e6e34e6
AS
156512012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15652
15653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15654
7c7feb47
JM
156552012-11-22 Joseph Myers <joseph@codesourcery.com>
15656
7184dcdf
JM
15657 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15658 LDBL_MANT_DIG == 106]: Disable some tests.
15659 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15660 Likewise.
15661 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15662 Likewise.
15663
0a42601f
JM
15664 [BZ #14871]
15665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15666 input for small inputs. Return +/- pi/2 for large inputs.
15667 * math/libm-test.inc (atan_test): Add more tests.
15668
79c9b9fe
JM
15669 * sysdeps/generic/unwind-dw2-fde-glibc.c
15670 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15671 __attribute__ ((unused)).
15672
c60d3bf2
JM
15673 [BZ #14645]
15674 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15675 x * y if x and y are nonzero and z is zero.
15676
ef1e0867
JM
15677 [BZ #14811]
15678 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15679 nonzero exponents with absolute value below 0x1p-117 to +/-
15680 0x1p-117.
15681
1468ded3
JM
15682 [BZ #14869]
15683 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15684 up arguments below 2**-450, not just those below 2**-500.
15685 * math/libm-test.inc (hypot_test): Add another test.
15686
8e27e3cc
JM
15687 [BZ #14868]
15688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15689 Return a+b for ratio over 2**120, not 2**60.
15690 * math/libm-test.inc (hypot_test): Add another test.
15691
c9c0279b
JM
15692 * math/libm-test.inc (clog_test): Use
15693 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15694 (clog10_test): Likewise.
15695
7c7feb47
JM
15696 [BZ #6778]
15697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15698
fff1530e
AS
156992012-11-22 Andreas Schwab <schwab@suse.de>
15700
15701 * sysdeps/i386/fpu/libm-test-ulps: Update.
15702
94558d30
PT
157032012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15704
15705 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15706 printf output with newline.
15707
7e1be741
L
157082012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15709
6bfea974
L
15710 [BZ #14865]
15711 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15712 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15713 -z nodlopen, -z initfirst and -z execstack support.
15714 * configure: Regenerated.
15715
7e1be741
L
15716 * elf/elf.h (DF_1_NODIRECT): New macro.
15717 (DF_1_IGNMULDEF): Likewise.
15718 (DF_1_NOKSYMS): Likewise.
15719 (DF_1_NOHDR): Likewise.
15720 (DF_1_EDITED): Likewise.
15721 (DF_1_NORELOC): Likewise.
15722 (DF_1_SYMINTPOSE): Likewise.
15723 (DF_1_GLOBAUDIT): Likewise.
15724 (DF_1_SINGLETON): Likewise.
15725 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15726 DT_1_SUPPORTED_MASK bits.
15727 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15728
105ce2ce
CD
157292012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15730
15731 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15732
123be9de
TS
157332012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15734
d072f3f7
TS
15735 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15736 macro.
15737
123be9de
TS
15738 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15739 (sendmmsg): Move declarations...
15740 * socket/sys/socket.h: ... here.
15741 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15742 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15743 include it from...
15744 * socket/recvmmsg.c: ... this new file.
15745 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15746 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15747 definition of __sendmmsg hidden.
15748 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15749 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15750 Move ENOSYS stub into and include it from...
15751 * socket/sendmmsg.c: ... this new file.
15752 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15753 (sysdep_routines): Move recvmmsg and sendmmsg...
15754 * socket/Makefile (routines): ... here.
15755 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15756 (GLIBC_PRIVATE): Add __sendmmsg.
15757 * include/sys/socket.h (__sendmmsg): Add declarations.
15758 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15759 sendmmsg.
15760
cf9a5d18
JM
157612012-11-20 Joseph Myers <joseph@codesourcery.com>
15762
15763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15764 variable I1 with __attribute__ ((unused)).
15765 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15766
ecd4caf9
JM
157672012-11-19 Joseph Myers <joseph@codesourcery.com>
15768
be14d48f
JM
15769 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15770 DUMMY variables with __attribute__ ((unused)).
15771
ecd4caf9
JM
15772 * bits/byteswap.h: Include <bits/types.h>.
15773 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15774
986cab95
PT
157752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15776
15777 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15778 string_t. Do not manually set errno.
15779 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15780 length with __strnlen. Make sure to both set errno and return it on
15781 failure.
15782
6d33cc9d
DM
157832012-11-19 David S. Miller <davem@davemloft.net>
15784
15785 With help from Joseph Myers.
15786 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15787 very large arguments properly.
15788 * math/libm-test.inc (atan_test): New tests.
15789 (atan2_test): New tests.
15790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15792
ee663277
JM
157932012-11-19 Joseph Myers <joseph@codesourcery.com>
15794
877f2d8e
JM
15795 [BZ #14856]
15796 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15797 Define to 3.
15798
116fc08a
JM
15799 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15800 [POSIX] (EADDRNOTAVAIL): Likewise.
15801 [POSIX] (EAFNOSUPPORT): Likewise.
15802 [POSIX] (EALREADY): Likewise.
15803 [POSIX] (ECONNABORTED): Likewise.
15804 [POSIX] (ECONNREFUSED): Likewise.
15805 [POSIX] (ECONNRESET): Likewise.
15806 [POSIX] (EDESTADDRREQ): Likewise.
15807 [POSIX] (EDQUOT): Likewise.
15808 [POSIX] (EHOSTUNREACH): Likewise.
15809 [POSIX] (EIDRM): Likewise.
15810 [POSIX] (EISCONN): Likewise.
15811 [POSIX] (ELOOP): Likewise.
15812 [POSIX] (EMULTIHOP): Likewise.
15813 [POSIX] (ENETDOWN): Likewise.
15814 [POSIX] (ENETUNREACH): Likewise.
15815 [POSIX] (ENOBUFS): Likewise.
15816 [POSIX] (ENODATA): Likewise.
15817 [POSIX] (ENOLINK): Likewise.
15818 [POSIX] (ENOMSG): Likewise.
15819 [POSIX] (ENOPROTOOPT): Likewise.
15820 [POSIX] (ENOSR): Likewise.
15821 [POSIX] (ENOSTR): Likewise.
15822 [POSIX] (ENOTCONN): Likewise.
15823 [POSIX] (ENOTSOCK): Likewise.
15824 [POSIX] (EOPNOTSUPP): Likewise.
15825 [POSIX] (EOVERFLOW): Likewise.
15826 [POSIX] (EPROTO): Likewise.
15827 [POSIX] (EPROTONOSUPPORT): Likewise.
15828 [POSIX] (EPROTOTYPE): Likewise.
15829 [POSIX] (ESTALE): Likewise.
15830 [POSIX] (ETIME): Likewise.
15831 [POSIX] (ETXTBSY): Likewise.
15832 [POSIX] (EWOULDBLOCK): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15834 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15835 [POSIX] (SEEK_CUR): Likewise.
15836 [POSIX] (SEEK_END): Likewise.
15837 [POSIX || UNIX98] (mode_t): Do not require.
15838 [POSIX] (off_t): Likewise.
15839 [POSIX] (pid_t): Likewise.
15840 [POSIX] (sys/stat.h): Do not allow header.
15841 [POSIX] (unistd.h): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15843 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15845 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15846 require.
15847 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15848 sigevent): Specify elements.
15849 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15850 entry.
15851 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15852 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15853
a483863f
JM
15854 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15855 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15856 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15857 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15858 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15859 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15860 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15861 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15863 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15864 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15865 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15866 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15867 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15868 Likewise.
15869 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15870 Likewise.
15871 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15872 Likewise.
15873 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15874 Likewise.
15875 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15876 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15877 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15878 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15880 Specify lower bound on value.
15881 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15887 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15888 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15889 value.
15890 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15891 as optional.
15892 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15908 entry.
15909 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15910 optional.
15911 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15917 Likewise.
15918 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15923 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15924 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15925 as optional.
15926 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15929 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15930 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15931 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15932 specify as optional.
15933 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15934 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15935 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15936 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15937 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15938 [XPG3] (NL_LANGMAX): Likewise.
15939 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15940 [POSIX || XPG3] (NL_NMAX): Likewise.
15941 [POSIX || XPG3] (NL_SETMAX): Likewise.
15942 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15943 [XPG3] (NZERO): Likewise.
15944 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15945 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15946 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15947 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15948 (REG_ERANGE): Expect.
15949 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15950 optional-constant.
15951 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15952 Use (void) in prototype.
15953 [POSIX] (*_t): Allow.
15954 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15955 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15956 (WRDE_BADVAL): Expect.
15957
5ba924e3
JM
15958 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15959 expect.
15960 [XPG3 || XPG4] (O_RSYNC): Likewise.
15961 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15962 Likewise.
15963 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15964 [XPG3 || XPG4] (sigqueue): Likewise.
15965 [XPG3 || XPG4] (sigtimedwait): Likewise.
15966 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15967 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15968 [XPG3 || XPG4] (vsnprintf): Likewise.
15969 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15970 Likewise.
15971 [XPG3 || XPG4] (blksize_t): Likewise.
15972 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15973 Likewise.
15974 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15975 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15976 [XPG3 || XPG4] (struct itimerspec): Likewise.
15977 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15978 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15979 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15980 [XPG3 || XPG4] (clockid_t): Likewise.
15981 [XPG3 || XPG4] (timer_t): Likewise.
15982 [XPG3 || XPG4] (clock_getres): Likewise.
15983 [XPG3 || XPG4] (clock_gettime): Likewise.
15984 [XPG3 || XPG4] (clock_settime): Likewise.
15985 [XPG3 || XPG4] (nanosleep): Likewise.
15986 [XPG3 || XPG4] (timer_create): Likewise.
15987 [XPG3 || XPG4] (timer_delete): Likewise.
15988 [XPG3 || XPG4] (timer_gettime): Likewise.
15989 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15990 [XPG3 || XPG4] (timer_settime): Likewise.
15991 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15992 [XPG3 || XPG4] (getlogin_r): Likewise.
15993 [XPG3 || XPG4] (pread): Likewise.
15994 [XPG3 || XPG4] (pthread_atfork): Likewise.
15995 [XPG3 || XPG4] (pwrite): Likewise.
15996
ee663277
JM
15997 [BZ #14835]
15998 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15999 <bits/siginfo.h>.
16000
942caa16
PT
160012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16002
e19af380
PT
16003 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16004 finalizing MALLSTREAM.
16005
942caa16
PT
16006 * sysdeps/mach/hurd/syncfs.c: New file.
16007
cfde9b46
SP
160082012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16009
16010 [BZ #14719]
16011 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16012 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16013 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16014 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16015 (_nss_dns_gethostbyname4_r): Likewise.
16016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16017 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16018
f6da27e5
PH
160192012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16020
16021 [BZ #13763]
16022 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16023
6665d4a2
SM
160242012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16025
1f51ee92
SM
16026 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16027 * elf/cache.c (print_entry): Print ",AArch64" for
16028 FLAG_AARCH64_LIB64
16029
6665d4a2
SM
16030 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16031 * elf/cache.c (print_entry): Print ",hard-float" for
16032 FLAG_ARM_LIBHF.
16033
05b227bd
DM
160342012-11-18 David S. Miller <davem@davemloft.net>
16035
16036 With help from Joseph Myers.
16037 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16038 cutoff to 2**-13.
16039 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16040 cutoff to 2**-25.
16041 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16042 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16043 small.
16044 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16045 * math/libm-test.inc (y0_test): New tests.
16046 (y1_test): New tests.
16047 * sysdeps/i386/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16050
786b0b67
AS
160512012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16054 64-bit targets.
16055 * configure: Regenerated.
16056
8e18b86d
DM
160572012-11-17 David S. Miller <davem@davemloft.net>
16058
16059 [BZ #14811]
16060 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16061 nonzero exponents with absolute value below 0x1p-128 to +/-
16062 0x1p-128.
16063
531f1ae0
JM
160642012-11-17 Joseph Myers <joseph@codesourcery.com>
16065
12df29e2
JM
16066 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16067
150dc1a0
JM
16068 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16069
531f1ae0
JM
16070 * posix/getconf-speclist.c: New file.
16071 * posix/posix-envs.def: Likewise.
16072 * posix/confstr.c (START_ENV_GROUP): New macro.
16073 (END_ENV_GROUP): Likewise.
16074 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16075 (KNOWN_PRESENT_ENV_STRING): Likewise.
16076 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16077 (UNKNOWN_ENVIRONMENT): Likewise.
16078 (confstr): Include posix-envs.def instead of handling
16079 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16080 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16081 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16082 (END_ENV_GROUP): Likewise.
16083 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16084 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16085 (UNKNOWN_ENVIRONMENT): Likewise.
16086 (__sysconf): Include posix-envs.def instead of handling associated
16087 cases directly here.
16088 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16089 preprocessing getconf-speclist.c rather than running getconf or
16090 generating empty file.
16091
a93f9cbc
PT
160922012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16093
16094 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16095
d64d9f87
AL
160962012-11-16 Andrej Lajovic <natrij@gmail.com>
16097
16098 [BZ #14672]
16099 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16100
447885eb
DM
161012012-11-16 David S. Miller <davem@davemloft.net>
16102
16103 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16104 smaller than LDBL_EPSILON/2.0L, just return xm1.
16105
bcbf9830
L
161062012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16107
16108 * elf/tst-array1.c (init): Set constructor priority to 1000.
16109 (fini): Set destructor priority to 1000.
16110 * elf/tst-array2dep.c: Likewise.
16111
2b766585
SP
161122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16113
16114 [BZ #11741]
16115 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16116 (_IO_new_file_xsputn): Also return EOF if none of the input
16117 data was written when overflow failed.
16118 * libio/iopadn.c (_IO_padn): Likewise.
16119 * libio/iowpadn.c (_IO_wpadn): Likewise.
16120 * stdio-common/tst-put-error.c: Add copyright notice.
16121 (do_test): Add case for printing padded string.
16122 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16123 _IO_padn returned error.
16124 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16125 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16126 return EOF.
16127
b1848fde
SP
161282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16129
16130 * libio/libioP.h: Add comment note that the references to C++
16131 bits are now obsolete.
16132
2fd89785
MS
161332012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16134
16135 * math/libm-test.inc (check_complex): Use asprintf.
16136
e3ea5409
JM
161372012-11-14 Joseph Myers <joseph@codesourcery.com>
16138
16139 * debug/pcprofiledump.c (print_version): Update copyright year.
16140 * malloc/memusagestat.c (print_version): Likewise.
16141
2e64d265
L
161422012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16143
16144 [BZ #14831]
16145 * elf/Makefile (tests): Add tst-audit8.
16146 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16147 ($(objpfx)tst-audit8.out): New target.
16148 (tst-audit8-ENV): New variable.
16149 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16150 audit if l_reloc_result is NULL.
16151 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16152 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16153 * elf/tst-audit8.c: New file.
16154
c485e4d2
MS
161552012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16156
16157 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16158 * misc/Makefile (CFLAGS-select.c): Define.
16159 * posix/Makefile (CFLAGS-pause.c): Define.
16160
3a0d900a
DM
161612012-11-13 David S. Miller <davem@davemloft.net>
16162
16163 * crypt/Makefile: Move test targets after toplevel Rules
16164 inclusion. Grab any necessary sysdep routines when linking.
16165 * crypt/md5.c (md5_process_block): Remove define, we will always
16166 name it __md5_process_block.
16167 (md5_finish_ctx): Update md5_process_block call.
16168 (md5_stream): Likewise.
16169 (md5_process_bytes): Likewise.
16170 (md5_process_block): Rename to __md5_process_block and move to ...
16171 * crypt/md5-block.c: ... here.
16172 * crypt/sha256.c (sha256_process_block): Move to ...
16173 * crypt/sha256-block.c: ... here.
16174 * crypt/sha512.c (sha512_process_block): Move to ...
16175 * crypt/sha512-block.c: ... here.
16176 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16177 path.
16178 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16179 * sysdeps/sparc/sparc64/multiarch/Makefile
16180 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16181 crypt subdir.
16182 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16183 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16184 multiarch changes.
16185 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16186 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16187 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16188 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16189 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16190 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16191 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16192 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16193 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16194 file.
16195 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16197 file.
16198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16199
8ca89318
JM
162002012-11-13 Joseph Myers <joseph@codesourcery.com>
16201
e27d476a
JM
16202 * timezone/tzselect.ksh: Update from tzcode git revision
16203 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16204 * timezone/zdump.c: Likewise.
16205 * timezone/zic.c: Likewise.
16206 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16207 in TZVERSION setting, not $(PKGVERSION).
16208 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16209 REPORT_BUGS_TO settings.
16210
8ca89318
JM
16211 [BZ #14838]
16212 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16213 macro.
16214
47594329
MS
162152012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16216
16217 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16218 detection to immediately after _FP_ROUND().
16219 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16220 bits are 0.
16221
640ac3f1
DM
162222012-11-11 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16225 inttypes.h
16226 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16227 __close rather than their public counterparts.
16228
3d2577bb
JM
162292012-11-10 Joseph Myers <joseph@codesourcery.com>
16230
16231 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16232 file.
16233 [UNIX98] (sem_timedwait): Do not expect.
16234 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16235 [XPG4 || UNIX98] (sockatmark): Do not expect.
16236 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16237 (clock_getcpuclockid): Do not expect.
16238 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16239 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16240 Do not expect.
16241 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16242 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16243 [UNIX98] (vwscanf): Likewise.
16244 [UNIX98] (vswscanf): Likewise.
16245
fb1ae1ee
JM
162462012-11-09 Joseph Myers <joseph@codesourcery.com>
16247
9ec6f8bd
JM
16248 * timezone/version.h: Remove file.
16249 * timezone/README: Do not refer to version.h.
16250 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16251 $(objpfx)version.h.
16252 ($(objpfx)zdump.o): Likewise.
c3f81911 16253 ($(objpfx)version.h): New target.
9ec6f8bd 16254
0aa8f8a1
JM
16255 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16256 2012i.
16257 * timezone/README: Don't mention modification to tzselect.ksh.
16258 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16259 work on unmodified tzselect.ksh. Substitute version numbers in
16260 tzselect.ksh.
16261
4e87147f
JM
16262 * Makefile (format-me): Remove.
16263 (INSTALL): Adjust indentation. Use commands directly instead of
16264 using $(format-me).
16265
8b748aed
JM
16266 * aclocal.m4 (ACX_PKGVERSION): New macro.
16267 (ACX_BUGURL): Likewise.
16268 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16269 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16270 (REPORT_BUGS_TO): Likewise.
16271 * configure: Regenerated.
16272 * config.h.in (PKGVERSION): New macro.
16273 (REPORT_BUGS_TO): Likewise.
16274 * config.make.in (PKGVERSION): New variable.
16275 (PKGVERSION_TEXI): Likewise.
16276 (REPORT_BUGS_TO): Likewise.
16277 (REPORT_BUGS_TEXI): Likewise.
16278 * Makefile (format-me): Use -I$(common-objpfx)manual.
16279 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16280 ($(common-objpfx)manual/%): New target.
16281 (manual/%): Remove target.
16282 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16283 (print_version): Use PKGVERSION.
16284 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16285 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16286 and REPORT_BUGS_TO.
16287 ($(objpfx)xtrace): Likewise.
16288 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16289 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16290 (print_version): Use PKGVERSION.
16291 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16292 (do_version): Use PKGVERSION.
16293 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16294 REPORT_BUGS_TO.
16295 (common-ldd-rewrite): Likewise.
16296 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16297 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16298 (print_version): Use PKGVERSION.
16299 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16300 * elf/pldd.c (argp_program_bug_address): Remove variable.
16301 (more_help): New function.
16302 (argp): Use more_help.
16303 (print_version): Use PKGVERSION.
16304 * elf/sln.c (main): Use PKGVERSION.
16305 (usage): Use REPORT_BUGS_TO.
16306 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16307 (top level): Use PKGVERSION.
16308 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16309 (print_version): Use PKGVERSION.
16310 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16311 (print_version): Use PKGVERSION.
16312 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16313 (print_version): Use PKGVERSION.
16314 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16315 (print_version): Use PKGVERSION.
16316 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16317 (print_version): Use PKGVERSION.
16318 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16319 (print_version): Use PKGVERSION.
16320 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16321 and BUGURL.
16322 ($(objpfx)memusage): Likewise.
16323 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16324 (do_version): Use PKGVERSION.
16325 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16326 (print_version): Use PKGVERSION.
16327 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16328 ($PKGVERSION): New variable.
16329 ($REPORT_BUGS_TO): Likewise.
16330 (usage): Use $REPORT_BUGS_TO.
16331 (top level): Use $PKGVERSION.
16332 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16333 ($(objpfx)pkgvers.texi): New rule.
16334 ($(objpfx)stamp-pkgvers): Likewise.
16335 * manual/install.texi: Include pkgvers.texi.
16336 (--with-pkgversion): Document new configure option.
16337 (--with-bugurl): Likewise.
16338 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16339 than necessarily for this particular distribution. Use
16340 REPORT_BUGS_TO for where to report bugs.
16341 * INSTALL: Regenerated.
16342 * manual/libc.texinfo: Include pkgvers.texi.
16343 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16344 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16345 (print_version): Use PKGVERSION.
16346 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16347 (print_version): Use PKGVERSION.
16348 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16349 (print_version): Use PKGVERSION.
16350 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16351 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16352 macro.
16353 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16354 (print_version): Use PKGVERSION.
16355 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16356 (print_version): Use PKGVERSION.
16357 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16358 and PKGVERSION.
16359
92e4b6a9
JM
16360 * timezone/checktab.awk: Update from tzcode 2012i.
16361 * timezone/ialloc.c: Likewise.
16362 * timezone/private.h: Likewise.
16363 * timezone/scheck.c: Likewise.
16364 * timezone/tzfile.h: Likewise.
16365 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16366 (TZVERSION): Hardcode tzcode version number.
16367 * timezone/zdump.c: Update from tzcode 2012i.
16368 * timezone/zic.c: Likewise.
16369 * timezone/version.h: New file.
16370 * timezone/README: Describe version.h. Update upstream location.
16371
9bde902c
JM
16372 [BZ #14824]
16373 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16374 (mktemp): Enable declaration.
16375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16379 Likewise.
16380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16381 Likewise.
16382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16383 Likewise.
16384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16385 Likewise.
16386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16387 Likewise.
16388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16389 Likewise.
16390
fb1ae1ee
JM
16391 [BZ #14821]
16392 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16393 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16394 for copies of such integer values.
16395 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16396 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16397
2c1adbcb
AJ
163982012-11-09 Andreas Jaeger <aj@suse.de>
16399
16400 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16401 definitions and declarations that are provided by
16402 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16403
d0f8457e
AK
164042012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16405
3a235abb 16406 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16407 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16408 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16409 definition.
16410
57241e26
MS
164112012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16412
16413 * elf/elf.h: Update comment before AArch64 relocations.
16414
60e8270d
DM
164152012-11-07 David S. Miller <davem@davemloft.net>
16416
16417 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16419 (__start_context): Declare.
16420 (__makecontext_ret): Delete.
16421 (__makecontext): Hook up __start_context instead of
16422 __makecontext_ret.
16423 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16424 (sysdep_routines): Add __start_context when in stdlib.
16425
0fbb0fbc
JM
164262012-11-07 Joseph Myers <joseph@codesourcery.com>
16427
16428 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16429 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16430 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16431 hardcoded "nm".
16432 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16433 (READELF): New variable. Use it instead of hardcoded "readelf".
16434
eb48db7e
L
164352012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16436
16437 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16438 * sysdeps/x86/Makefile: Here.
16439 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16440 * sysdeps/x86/tst-xmmymm.sh: This.
16441
05bcf62a
JM
164422012-11-07 Joseph Myers <joseph@codesourcery.com>
16443
c4b6cf53
JM
16444 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16445 expectations.
16446 [UNIX98] (pthread_barrier_t): Do not expect.
16447 [UNIX98] (pthread_barrierattr_t): Likewise.
16448 [UNIX98] (pthread_spinlock_t): Likewise.
16449 [UNIX98] (pthread_barrier_destroy): Likewise.
16450 [UNIX98] (pthread_barrier_init): Likewise.
16451 [UNIX98] (pthread_barrier_wait): Likewise.
16452 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16453 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16454 [UNIX98] (pthread_barrierattr_init): Likewise.
16455 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16456 [UNIX98] (pthread_getcpuclockid): Likewise.
16457 [UNIX98] (pthread_mutex_timedlock): Likewise.
16458 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16459 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16460 [UNIX98] (pthread_sigmask): Likewise.
16461 [UNIX98] (pthread_spin_destroy): Likewise.
16462 [UNIX98] (pthread_spin_init): Likewise.
16463 [UNIX98] (pthread_spin_lock): Likewise.
16464 [UNIX98] (pthread_spin_trylock): Likewise.
16465 [UNIX98] (pthread_spin_unlock): Likewise.
16466 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16467 Do not expect.
16468 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16470 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16471 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16472 [XPG3 || XPG4] (pthread_key_t): Likewise.
16473 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16474 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16475 [XPG3 || XPG4] (pthread_once_t): Likewise.
16476 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16477 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16479 [XPG3 || XPG4] (pthread_t): Likewise.
16480
cbe6e120
JM
16481 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16482 not expect.
16483 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16484
1b126443
JM
16485 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16486 Change function return type to int.
16487
b961a573
JM
16488 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16489 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16490 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16491 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16492 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16493 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16494 [!POSIX] (posix_madvise): Likewise.
16495 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16496 && !UNIX98].
16497 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16498 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16499 (mode_t): Likewise.
16500 (posix_mem_offset): Likewise.
16501 (posix_typed_mem_get_info): Likewise.
16502 (posix_typed_mem_open): Likewise.
16503
9e188909
JM
16504 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16505 Change condition to [XOPEN2K8].
16506
05bcf62a
JM
16507 * conform/conformtest.pl: Preprocess allow-header data with -x c
16508 instead of from stdin.
16509 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16510 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16511 [C99-based standards] (cerfc): Likewise.
16512 [C99-based standards] (cexp2): Likewise.
16513 [C99-based standards] (cexpm1): Likewise.
16514 [C99-based standards] (clog10): Likewise.
16515 [C99-based standards] (clog1p): Likewise.
16516 [C99-based standards] (clog2): Likewise.
16517 [C99-based standards] (clgamma): Likewise.
16518 [C99-based standards] (ctgamma): Likewise.
16519 [C99-based standards] (cerff): Likewise.
16520 [C99-based standards] (cerfcf): Likewise.
16521 [C99-based standards] (cexp2f): Likewise.
16522 [C99-based standards] (cexpm1f): Likewise.
16523 [C99-based standards] (clog10f): Likewise.
16524 [C99-based standards] (clog1pf): Likewise.
16525 [C99-based standards] (clog2f): Likewise.
16526 [C99-based standards] (clgammaf): Likewise.
16527 [C99-based standards] (ctgammaf): Likewise.
16528 [C99-based standards] (cerfl): Likewise.
16529 [C99-based standards] (cerfcl): Likewise.
16530 [C99-based standards] (cexp2l): Likewise.
16531 [C99-based standards] (cexpm1l): Likewise.
16532 [C99-based standards] (clog10l): Likewise.
16533 [C99-based standards] (clog1pl): Likewise.
16534 [C99-based standards] (clog2l): Likewise.
16535 [C99-based standards] (clgammal): Likewise.
16536 [C99-based standards] (ctgammal): Likewise.
16537 * conform/data/inttypes.h-data [C99-based standards]: Include
16538 stdint.h-data. Remove all expectations for stdint.h contents.
16539 [C99-based standards] (PRI*): Do not allow.
16540 [C99-based standards] (SCN*): Likewise.
16541 [C99-based standards] (*_t): Likewise.
16542 [C99-based-standards] (PRId8): Expect macro.
16543 [C99-based-standards] (PRIi8): Likewise.
16544 [C99-based-standards] (PRIo8): Likewise.
16545 [C99-based-standards] (PRIu8): Likewise.
16546 [C99-based-standards] (PRIx8): Likewise.
16547 [C99-based-standards] (PRIX8): Likewise.
16548 [C99-based-standards] (SCNd8): Likewise.
16549 [C99-based-standards] (SCNi8): Likewise.
16550 [C99-based-standards] (SCNo8): Likewise.
16551 [C99-based-standards] (SCNu8): Likewise.
16552 [C99-based-standards] (SCNx8): Likewise.
16553 [C99-based-standards] (PRIdLEAST8): Likewise.
16554 [C99-based-standards] (PRIiLEAST8): Likewise.
16555 [C99-based-standards] (PRIoLEAST8): Likewise.
16556 [C99-based-standards] (PRIuLEAST8): Likewise.
16557 [C99-based-standards] (PRIxLEAST8): Likewise.
16558 [C99-based-standards] (PRIXLEAST8): Likewise.
16559 [C99-based-standards] (SCNdLEAST8): Likewise.
16560 [C99-based-standards] (SCNiLEAST8): Likewise.
16561 [C99-based-standards] (SCNoLEAST8): Likewise.
16562 [C99-based-standards] (SCNuLEAST8): Likewise.
16563 [C99-based-standards] (SCNxLEAST8): Likewise.
16564 [C99-based-standards] (PRIdFAST8): Likewise.
16565 [C99-based-standards] (PRIiFAST8): Likewise.
16566 [C99-based-standards] (PRIoFAST8): Likewise.
16567 [C99-based-standards] (PRIuFAST8): Likewise.
16568 [C99-based-standards] (PRIxFAST8): Likewise.
16569 [C99-based-standards] (PRIXFAST8): Likewise.
16570 [C99-based-standards] (SCNdFAST8): Likewise.
16571 [C99-based-standards] (SCNiFAST8): Likewise.
16572 [C99-based-standards] (SCNoFAST8): Likewise.
16573 [C99-based-standards] (SCNuFAST8): Likewise.
16574 [C99-based-standards] (SCNxFAST8): Likewise.
16575 [C99-based-standards] (PRId16): Likewise.
16576 [C99-based-standards] (PRIi16): Likewise.
16577 [C99-based-standards] (PRIo16): Likewise.
16578 [C99-based-standards] (PRIu16): Likewise.
16579 [C99-based-standards] (PRIx16): Likewise.
16580 [C99-based-standards] (PRIX16): Likewise.
16581 [C99-based-standards] (SCNd16): Likewise.
16582 [C99-based-standards] (SCNi16): Likewise.
16583 [C99-based-standards] (SCNo16): Likewise.
16584 [C99-based-standards] (SCNu16): Likewise.
16585 [C99-based-standards] (SCNx16): Likewise.
16586 [C99-based-standards] (PRIdLEAST16): Likewise.
16587 [C99-based-standards] (PRIiLEAST16): Likewise.
16588 [C99-based-standards] (PRIoLEAST16): Likewise.
16589 [C99-based-standards] (PRIuLEAST16): Likewise.
16590 [C99-based-standards] (PRIxLEAST16): Likewise.
16591 [C99-based-standards] (PRIXLEAST16): Likewise.
16592 [C99-based-standards] (SCNdLEAST16): Likewise.
16593 [C99-based-standards] (SCNiLEAST16): Likewise.
16594 [C99-based-standards] (SCNoLEAST16): Likewise.
16595 [C99-based-standards] (SCNuLEAST16): Likewise.
16596 [C99-based-standards] (SCNxLEAST16): Likewise.
16597 [C99-based-standards] (PRIdFAST16): Likewise.
16598 [C99-based-standards] (PRIiFAST16): Likewise.
16599 [C99-based-standards] (PRIoFAST16): Likewise.
16600 [C99-based-standards] (PRIuFAST16): Likewise.
16601 [C99-based-standards] (PRIxFAST16): Likewise.
16602 [C99-based-standards] (PRIXFAST16): Likewise.
16603 [C99-based-standards] (SCNdFAST16): Likewise.
16604 [C99-based-standards] (SCNiFAST16): Likewise.
16605 [C99-based-standards] (SCNoFAST16): Likewise.
16606 [C99-based-standards] (SCNuFAST16): Likewise.
16607 [C99-based-standards] (SCNxFAST16): Likewise.
16608 [C99-based-standards] (PRId32): Likewise.
16609 [C99-based-standards] (PRIi32): Likewise.
16610 [C99-based-standards] (PRIo32): Likewise.
16611 [C99-based-standards] (PRIu32): Likewise.
16612 [C99-based-standards] (PRIx32): Likewise.
16613 [C99-based-standards] (PRIX32): Likewise.
16614 [C99-based-standards] (SCNd32): Likewise.
16615 [C99-based-standards] (SCNi32): Likewise.
16616 [C99-based-standards] (SCNo32): Likewise.
16617 [C99-based-standards] (SCNu32): Likewise.
16618 [C99-based-standards] (SCNx32): Likewise.
16619 [C99-based-standards] (PRIdLEAST32): Likewise.
16620 [C99-based-standards] (PRIiLEAST32): Likewise.
16621 [C99-based-standards] (PRIoLEAST32): Likewise.
16622 [C99-based-standards] (PRIuLEAST32): Likewise.
16623 [C99-based-standards] (PRIxLEAST32): Likewise.
16624 [C99-based-standards] (PRIXLEAST32): Likewise.
16625 [C99-based-standards] (SCNdLEAST32): Likewise.
16626 [C99-based-standards] (SCNiLEAST32): Likewise.
16627 [C99-based-standards] (SCNoLEAST32): Likewise.
16628 [C99-based-standards] (SCNuLEAST32): Likewise.
16629 [C99-based-standards] (SCNxLEAST32): Likewise.
16630 [C99-based-standards] (PRIdFAST32): Likewise.
16631 [C99-based-standards] (PRIiFAST32): Likewise.
16632 [C99-based-standards] (PRIoFAST32): Likewise.
16633 [C99-based-standards] (PRIuFAST32): Likewise.
16634 [C99-based-standards] (PRIxFAST32): Likewise.
16635 [C99-based-standards] (PRIXFAST32): Likewise.
16636 [C99-based-standards] (SCNdFAST32): Likewise.
16637 [C99-based-standards] (SCNiFAST32): Likewise.
16638 [C99-based-standards] (SCNoFAST32): Likewise.
16639 [C99-based-standards] (SCNuFAST32): Likewise.
16640 [C99-based-standards] (SCNxFAST32): Likewise.
16641 [C99-based-standards] (PRId64): Likewise.
16642 [C99-based-standards] (PRIi64): Likewise.
16643 [C99-based-standards] (PRIo64): Likewise.
16644 [C99-based-standards] (PRIu64): Likewise.
16645 [C99-based-standards] (PRIx64): Likewise.
16646 [C99-based-standards] (PRIX64): Likewise.
16647 [C99-based-standards] (SCNd64): Likewise.
16648 [C99-based-standards] (SCNi64): Likewise.
16649 [C99-based-standards] (SCNo64): Likewise.
16650 [C99-based-standards] (SCNu64): Likewise.
16651 [C99-based-standards] (SCNx64): Likewise.
16652 [C99-based-standards] (PRIdLEAST64): Likewise.
16653 [C99-based-standards] (PRIiLEAST64): Likewise.
16654 [C99-based-standards] (PRIoLEAST64): Likewise.
16655 [C99-based-standards] (PRIuLEAST64): Likewise.
16656 [C99-based-standards] (PRIxLEAST64): Likewise.
16657 [C99-based-standards] (PRIXLEAST64): Likewise.
16658 [C99-based-standards] (SCNdLEAST64): Likewise.
16659 [C99-based-standards] (SCNiLEAST64): Likewise.
16660 [C99-based-standards] (SCNoLEAST64): Likewise.
16661 [C99-based-standards] (SCNuLEAST64): Likewise.
16662 [C99-based-standards] (SCNxLEAST64): Likewise.
16663 [C99-based-standards] (PRIdFAST64): Likewise.
16664 [C99-based-standards] (PRIiFAST64): Likewise.
16665 [C99-based-standards] (PRIoFAST64): Likewise.
16666 [C99-based-standards] (PRIuFAST64): Likewise.
16667 [C99-based-standards] (PRIxFAST64): Likewise.
16668 [C99-based-standards] (PRIXFAST64): Likewise.
16669 [C99-based-standards] (SCNdFAST64): Likewise.
16670 [C99-based-standards] (SCNiFAST64): Likewise.
16671 [C99-based-standards] (SCNoFAST64): Likewise.
16672 [C99-based-standards] (SCNuFAST64): Likewise.
16673 [C99-based-standards] (SCNxFAST64): Likewise.
16674 [C99-based-standards] (PRIdMAX): Likewise.
16675 [C99-based-standards] (PRIiMAX): Likewise.
16676 [C99-based-standards] (PRIoMAX): Likewise.
16677 [C99-based-standards] (PRIuMAX): Likewise.
16678 [C99-based-standards] (PRIxMAX): Likewise.
16679 [C99-based-standards] (PRIXMAX): Likewise.
16680 [C99-based-standards] (SCNdMAX): Likewise.
16681 [C99-based-standards] (SCNiMAX): Likewise.
16682 [C99-based-standards] (SCNoMAX): Likewise.
16683 [C99-based-standards] (SCNuMAX): Likewise.
16684 [C99-based-standards] (SCNxMAX): Likewise.
16685 [C99-based-standards] (PRIdPTR): Likewise.
16686 [C99-based-standards] (PRIiPTR): Likewise.
16687 [C99-based-standards] (PRIoPTR): Likewise.
16688 [C99-based-standards] (PRIuPTR): Likewise.
16689 [C99-based-standards] (PRIxPTR): Likewise.
16690 [C99-based-standards] (PRIXPTR): Likewise.
16691 [C99-based-standards] (SCNdPTR): Likewise.
16692 [C99-based-standards] (SCNiPTR): Likewise.
16693 [C99-based-standards] (SCNoPTR): Likewise.
16694 [C99-based-standards] (SCNuPTR): Likewise.
16695 [C99-based-standards] (SCNxPTR): Likewise.
16696 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16697 allow.
16698 * conform/data/stdint.h-data: Update comments to clarify
16699 requirements.
16700 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16701 type.
16702 [C99-based standards] (INT8_MAX): Likewise.
16703 [C99-based standards] (INT16_MIN): Likewise.
16704 [C99-based standards] (INT16_MAX): Likewise.
16705 [C99-based standards] (INT32_MIN): Likewise.
16706 [C99-based standards] (INT32_MAX): Likewise.
16707 [C99-based standards] (INT64_MIN): Likewise.
16708 [C99-based standards] (INT64_MAX): Likewise.
16709 [C99-based standards] (UINT8_MAX): Likewise.
16710 [C99-based standards] (UINT16_MAX): Likewise.
16711 [C99-based standards] (UINT32_MAX): Likewise.
16712 [C99-based standards] (UINT64_MAX): Likewise.
16713 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16714 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16715 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16716 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16717 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16718 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16719 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16720 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16721 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16722 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16723 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16724 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16725 [C99-based standards] (INT_FAST8_MIN): Likewise.
16726 [C99-based standards] (INT_FAST8_MAX): Likewise.
16727 [C99-based standards] (INT_FAST16_MIN): Likewise.
16728 [C99-based standards] (INT_FAST16_MAX): Likewise.
16729 [C99-based standards] (INT_FAST32_MIN): Likewise.
16730 [C99-based standards] (INT_FAST32_MAX): Likewise.
16731 [C99-based standards] (INT_FAST64_MIN): Likewise.
16732 [C99-based standards] (INT_FAST64_MAX): Likewise.
16733 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16734 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16735 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16736 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16737 [C99-based standards] (INTPTR_MIN): Likewise.
16738 [C99-based standards] (INTPTR_MAX): Likewise.
16739 [C99-based standards] (UINTPTR_MAX): Likewise.
16740 [C99-based standards] (INTMAX_MIN): Likewise.
16741 [C99-based standards] (INTMAX_MAX): Likewise.
16742 [C99-based standards] (UINTMAX_MAX): Likewise.
16743 [C99-based standards] (PTRDIFF_MIN): Likewise.
16744 [C99-based standards] (PTRDIFF_MAX): Likewise.
16745 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16746 [C99-based standards] (SIZE_MAX): Likewise.
16747 [C99-based standards] (WCHAR_MAX): Likewise.
16748 [C99-based standards] (WINT_MAX): Likewise.
16749 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16750 constraint on value.
16751 [C99-based standards] (WCHAR_MIN): Likewise.
16752 [C99-based standards] (WINT_MIN): Likewise.
16753 [C99-based standards] (*_t): Allow.
16754 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16755 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16756 Include math.h-data and complex.h-data. Remove all expectations
16757 of math.h and complex.h contents.
16758 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16759 at end of line.
16760 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16761 (struct tm): Expect tag.
16762 [C99-based-standards] (wcstof): Expect function.
16763 [C99-based-standards] (wcstold): Likewise.
16764 [C99-based-standards] (wcstoll): Likewise.
16765 [C99-based-standards] (wcstoull): Likewise.
16766 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16767 macro-int-constant. Specify type.
16768 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16769 constraint on value.
16770 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16771 Specify type.
16772 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16773 Specify value.
16774 [ISO C standards]: Do not allow headers.
16775 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16776 wcs[abcdefghijklmnopqrstuvwxyz]*.
16777 [ISO C standards] (*_t): Do not allow.
16778 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16779 Expect function.
16780 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16781 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16782 Specify type.
16783 [ISO C standards]: Do not allow headers.
16784 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16785 is[abcdefghijklmnopqrstuvwxyz]*.
16786 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16787 to[abcdefghijklmnopqrstuvwxyz]*.
16788 [ISO C standards] (*_t): Do not allow.
16789 * conform/data/stdalign.h-data: New file.
16790 * conform/data/stdbool.h-data: Likewise.
16791 * conform/data/stdnoreturn.h-data: Likewise.
16792
7514feb8
RM
167932012-11-07 Roland McGrath <roland@hack.frob.com>
16794
16795 [BZ #14815]
16796 * manual/filesys.texi (Directory Entries): Typo fix.
16797 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16798
19b2ecfc
MS
167992012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16800
16801 * elf/elf.h (EM_AARCH64): New macro.
16802 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16803 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16804 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16805 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16806 (R_AARCH64_TLSDESC): Likewise.
16807 (NT_ARM_TLS): Likewise.
16808 (NT_ARM_HW_BREAK): Likewise.
16809 (NT_ARM_HW_WATCH): Likewise.
16810
60e235ee
JM
168112012-11-07 Joseph Myers <joseph@codesourcery.com>
16812
16813 [BZ #14811]
16814 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16815 (__ieee754_powl): Saturate nonzero exponents with absolute value
16816 below 0x1p-79 to +/- 0x1p-79.
16817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16818 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16819 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16820 nonzero exponents with absolute value below 0x1p-32 to +/-
16821 0x1p-32.
16822 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16823 (__ieee754_powl): Saturate nonzero exponents with absolute value
16824 below 0x1p-79 to +/- 0x1p-79.
16825 * math/libm-test.inc (pow_test): Add more tests.
16826
0ab234b7
AK
168272012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16828
16829 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16830 _dl_s390_cap_flags with kernel. Increase string length.
16831 (_dl_s390_platforms): Add z196 and zEC12.
16832
45832f74
JM
168332012-11-07 Joseph Myers <joseph@codesourcery.com>
16834
16835 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16836 Change XOPEN21K to XOPEN2K.
16837
19218757
MK
168382012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16839
16840 * string/memmove.c: Use memcpy when possible.
16841
c5f45721
AJ
168422012-11-06 Andreas Jaeger <aj@suse.de>
16843
16844 * po/eo.po: Update from translation team.
16845
82477c28
JM
168462012-11-06 Joseph Myers <joseph@codesourcery.com>
16847
16848 [BZ #14793]
16849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16850 exponent and small x and y exponents, scale x or y up. Increase
16851 by 2 the exponent used in scaling up.
16852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16854 * math/libm-test.inc (fma_test): Add more tests.
16855 (fma_test_towardzero): Likewise.
16856 (fma_test_downward): Likewise.
16857 (fma_test_upward): Likewise.
16858
99252c8c
JM
168592012-11-05 Joseph Myers <joseph@codesourcery.com>
16860
acfa885f
JM
16861 [BZ #14805]
16862 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16863 fenv_t *.
16864
99252c8c
JM
16865 [BZ #14801]
16866 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16867 namespace for names of struct fields.
16868 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16869 fenv_t fields.
16870 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16871 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16872
d6d98dea
ST
168732012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16874
16875 [BZ #3665]
16876 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16877
e10bb107
TS
168782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16879
16880 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16881 PTR_DEMANGLE.
16882
16883 [BZ #5246]
16884 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16885 PTR_DEMANGLE.
16886
a0c2940d
JM
168872012-11-04 Joseph Myers <joseph@codesourcery.com>
16888
16889 [BZ #14797]
16890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16891 definitely overflow as x * y not x * y + z.
16892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16894 * math/libm-test.inc (fma_test): Add more tests.
16895 (fma_test_towardzero): Likewise.
16896 (fma_test_downward): Likewise.
16897 (fma_test_upward): Likewise.
16898
b830319d
TS
168992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16900
16901 [BZ #157]
16902
16903 * include/stub-tag.h: Remove file.
16904 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16905 '#include' of it.
16906 * manual/maint.texi (Porting): Don't reference it.
16907 * Makerules ($(objpfx)stubs): Likewise.
16908 * dirent/closedir.c: Don't include <stub-tag.h>.
16909 * dirent/dirfd.c: Likewise.
16910 * dirent/fdopendir.c: Likewise.
16911 * dirent/getdents.c: Likewise.
16912 * dirent/getdents64.c: Likewise.
16913 * dirent/opendir.c: Likewise.
16914 * dirent/readdir.c: Likewise.
16915 * dirent/readdir64.c: Likewise.
16916 * dirent/readdir64_r.c: Likewise.
16917 * dirent/readdir_r.c: Likewise.
16918 * dirent/rewinddir.c: Likewise.
16919 * dirent/seekdir.c: Likewise.
16920 * dirent/telldir.c: Likewise.
16921 * gmon/profil.c: Likewise.
16922 * grp/setgroups.c: Likewise.
16923 * inet/if_index.c: Likewise.
16924 * io/access.c: Likewise.
16925 * io/chdir.c: Likewise.
16926 * io/chmod.c: Likewise.
16927 * io/chown.c: Likewise.
16928 * io/close.c: Likewise.
16929 * io/dup.c: Likewise.
16930 * io/dup2.c: Likewise.
16931 * io/dup3.c: Likewise.
16932 * io/euidaccess.c: Likewise.
16933 * io/faccessat.c: Likewise.
16934 * io/fchdir.c: Likewise.
16935 * io/fchmod.c: Likewise.
16936 * io/fchmodat.c: Likewise.
16937 * io/fchown.c: Likewise.
16938 * io/fchownat.c: Likewise.
16939 * io/fcntl.c: Likewise.
16940 * io/flock.c: Likewise.
16941 * io/fstatfs.c: Likewise.
16942 * io/fstatfs64.c: Likewise.
16943 * io/fstatvfs.c: Likewise.
16944 * io/fstatvfs64.c: Likewise.
16945 * io/futimens.c: Likewise.
16946 * io/fxstat.c: Likewise.
16947 * io/fxstat64.c: Likewise.
16948 * io/fxstatat.c: Likewise.
16949 * io/fxstatat64.c: Likewise.
16950 * io/getcwd.c: Likewise.
16951 * io/isatty.c: Likewise.
16952 * io/lchmod.c: Likewise.
16953 * io/lchown.c: Likewise.
16954 * io/link.c: Likewise.
16955 * io/linkat.c: Likewise.
16956 * io/lseek.c: Likewise.
16957 * io/lseek64.c: Likewise.
16958 * io/lxstat64.c: Likewise.
16959 * io/mkdir.c: Likewise.
16960 * io/mkdirat.c: Likewise.
16961 * io/mkfifo.c: Likewise.
16962 * io/mkfifoat.c: Likewise.
16963 * io/open.c: Likewise.
16964 * io/open64.c: Likewise.
16965 * io/openat.c: Likewise.
16966 * io/openat64.c: Likewise.
16967 * io/pipe.c: Likewise.
16968 * io/pipe2.c: Likewise.
16969 * io/poll.c: Likewise.
16970 * io/posix_fadvise.c: Likewise.
16971 * io/posix_fadvise64.c: Likewise.
16972 * io/posix_fallocate.c: Likewise.
16973 * io/posix_fallocate64.c: Likewise.
16974 * io/read.c: Likewise.
16975 * io/readlink.c: Likewise.
16976 * io/readlinkat.c: Likewise.
16977 * io/rmdir.c: Likewise.
16978 * io/sendfile.c: Likewise.
16979 * io/sendfile64.c: Likewise.
16980 * io/statfs.c: Likewise.
16981 * io/statfs64.c: Likewise.
16982 * io/statvfs.c: Likewise.
16983 * io/statvfs64.c: Likewise.
16984 * io/symlink.c: Likewise.
16985 * io/symlinkat.c: Likewise.
16986 * io/ttyname.c: Likewise.
16987 * io/ttyname_r.c: Likewise.
16988 * io/umask.c: Likewise.
16989 * io/unlink.c: Likewise.
16990 * io/unlinkat.c: Likewise.
16991 * io/utime.c: Likewise.
16992 * io/utimensat.c: Likewise.
16993 * io/write.c: Likewise.
16994 * io/xmknod.c: Likewise.
16995 * io/xmknodat.c: Likewise.
16996 * io/xstat.c: Likewise.
16997 * io/xstat64.c: Likewise.
16998 * login/getpt.c: Likewise.
16999 * login/grantpt.c: Likewise.
17000 * login/unlockpt.c: Likewise.
17001 * math/e_acoshl.c: Likewise.
17002 * math/e_acosl.c: Likewise.
17003 * math/e_asinl.c: Likewise.
17004 * math/e_atan2l.c: Likewise.
17005 * math/e_atanhl.c: Likewise.
17006 * math/e_coshl.c: Likewise.
17007 * math/e_expl.c: Likewise.
17008 * math/e_fmodl.c: Likewise.
17009 * math/e_gammal_r.c: Likewise.
17010 * math/e_hypotl.c: Likewise.
17011 * math/e_j0l.c: Likewise.
17012 * math/e_j1l.c: Likewise.
17013 * math/e_jnl.c: Likewise.
17014 * math/e_lgammal_r.c: Likewise.
17015 * math/e_log10l.c: Likewise.
17016 * math/e_log2l.c: Likewise.
17017 * math/e_logl.c: Likewise.
17018 * math/e_powl.c: Likewise.
17019 * math/e_rem_pio2l.c: Likewise.
17020 * math/e_sinhl.c: Likewise.
17021 * math/e_sqrtl.c: Likewise.
17022 * math/fclrexcpt.c: Likewise.
17023 * math/fedisblxcpt.c: Likewise.
17024 * math/feenablxcpt.c: Likewise.
17025 * math/fegetenv.c: Likewise.
17026 * math/fegetexcept.c: Likewise.
17027 * math/fegetround.c: Likewise.
17028 * math/feholdexcpt.c: Likewise.
17029 * math/fesetenv.c: Likewise.
17030 * math/fesetround.c: Likewise.
17031 * math/feupdateenv.c: Likewise.
17032 * math/fgetexcptflg.c: Likewise.
17033 * math/fraiseexcpt.c: Likewise.
17034 * math/fsetexcptflg.c: Likewise.
17035 * math/ftestexcept.c: Likewise.
17036 * math/k_cosl.c: Likewise.
17037 * math/k_rem_pio2l.c: Likewise.
17038 * math/k_sinl.c: Likewise.
17039 * math/k_tanl.c: Likewise.
17040 * math/s_asinhl.c: Likewise.
17041 * math/s_atanl.c: Likewise.
17042 * math/s_cbrtl.c: Likewise.
17043 * math/s_erfl.c: Likewise.
17044 * math/s_expm1l.c: Likewise.
17045 * math/s_log1pl.c: Likewise.
17046 * math/s_tanhl.c: Likewise.
17047 * misc/acct.c: Likewise.
17048 * misc/brk.c: Likewise.
17049 * misc/chflags.c: Likewise.
17050 * misc/chroot.c: Likewise.
17051 * misc/fchflags.c: Likewise.
17052 * misc/fgetxattr.c: Likewise.
17053 * misc/flistxattr.c: Likewise.
17054 * misc/fremovexattr.c: Likewise.
17055 * misc/fsetxattr.c: Likewise.
17056 * misc/fsync.c: Likewise.
17057 * misc/ftruncate.c: Likewise.
17058 * misc/futimes.c: Likewise.
17059 * misc/futimesat.c: Likewise.
17060 * misc/getdomain.c: Likewise.
17061 * misc/getdtsz.c: Likewise.
17062 * misc/gethostid.c: Likewise.
17063 * misc/gethostname.c: Likewise.
17064 * misc/getloadavg.c: Likewise.
17065 * misc/getpagesize.c: Likewise.
17066 * misc/getsysstats.c: Likewise.
17067 * misc/getxattr.c: Likewise.
17068 * misc/gtty.c: Likewise.
17069 * misc/ioctl.c: Likewise.
17070 * misc/lgetxattr.c: Likewise.
17071 * misc/listxattr.c: Likewise.
17072 * misc/llistxattr.c: Likewise.
17073 * misc/lremovexattr.c: Likewise.
17074 * misc/lsetxattr.c: Likewise.
17075 * misc/lutimes.c: Likewise.
17076 * misc/madvise.c: Likewise.
17077 * misc/mincore.c: Likewise.
17078 * misc/mlock.c: Likewise.
17079 * misc/mlockall.c: Likewise.
17080 * misc/mmap.c: Likewise.
17081 * misc/mprotect.c: Likewise.
17082 * misc/msync.c: Likewise.
17083 * misc/munlock.c: Likewise.
17084 * misc/munlockall.c: Likewise.
17085 * misc/munmap.c: Likewise.
17086 * misc/preadv.c: Likewise.
17087 * misc/preadv64.c: Likewise.
17088 * misc/ptrace.c: Likewise.
17089 * misc/pwritev.c: Likewise.
17090 * misc/pwritev64.c: Likewise.
17091 * misc/readv.c: Likewise.
17092 * misc/reboot.c: Likewise.
17093 * misc/remap_file_pages.c: Likewise.
17094 * misc/removexattr.c: Likewise.
17095 * misc/revoke.c: Likewise.
17096 * misc/select.c: Likewise.
17097 * misc/setdomain.c: Likewise.
17098 * misc/setegid.c: Likewise.
17099 * misc/seteuid.c: Likewise.
17100 * misc/sethostid.c: Likewise.
17101 * misc/sethostname.c: Likewise.
17102 * misc/setregid.c: Likewise.
17103 * misc/setreuid.c: Likewise.
17104 * misc/setxattr.c: Likewise.
17105 * misc/sstk.c: Likewise.
17106 * misc/stty.c: Likewise.
17107 * misc/swapoff.c: Likewise.
17108 * misc/swapon.c: Likewise.
17109 * misc/sync.c: Likewise.
17110 * misc/syncfs.c: Likewise.
17111 * misc/syscall.c: Likewise.
17112 * misc/truncate.c: Likewise.
17113 * misc/ualarm.c: Likewise.
17114 * misc/usleep.c: Likewise.
17115 * misc/ustat.c: Likewise.
17116 * misc/utimes.c: Likewise.
17117 * misc/vhangup.c: Likewise.
17118 * misc/writev.c: Likewise.
17119 * posix/_exit.c: Likewise.
17120 * posix/alarm.c: Likewise.
17121 * posix/execve.c: Likewise.
17122 * posix/fexecve.c: Likewise.
17123 * posix/fork.c: Likewise.
17124 * posix/fpathconf.c: Likewise.
17125 * posix/getaddrinfo.c: Likewise.
17126 * posix/getegid.c: Likewise.
17127 * posix/geteuid.c: Likewise.
17128 * posix/getgid.c: Likewise.
17129 * posix/getgroups.c: Likewise.
17130 * posix/getlogin.c: Likewise.
17131 * posix/getlogin_r.c: Likewise.
17132 * posix/getpgid.c: Likewise.
17133 * posix/getpid.c: Likewise.
17134 * posix/getppid.c: Likewise.
17135 * posix/getresgid.c: Likewise.
17136 * posix/getresuid.c: Likewise.
17137 * posix/getsid.c: Likewise.
17138 * posix/getuid.c: Likewise.
17139 * posix/glob64.c: Likewise.
17140 * posix/nanosleep.c: Likewise.
17141 * posix/pathconf.c: Likewise.
17142 * posix/pause.c: Likewise.
17143 * posix/posix_madvise.c: Likewise.
17144 * posix/pread.c: Likewise.
17145 * posix/pread64.c: Likewise.
17146 * posix/pwrite.c: Likewise.
17147 * posix/pwrite64.c: Likewise.
17148 * posix/sched_getaffinity.c: Likewise.
17149 * posix/sched_getp.c: Likewise.
17150 * posix/sched_gets.c: Likewise.
17151 * posix/sched_primax.c: Likewise.
17152 * posix/sched_primin.c: Likewise.
17153 * posix/sched_rr_gi.c: Likewise.
17154 * posix/sched_setaffinity.c: Likewise.
17155 * posix/sched_setp.c: Likewise.
17156 * posix/sched_sets.c: Likewise.
17157 * posix/sched_yield.c: Likewise.
17158 * posix/setgid.c: Likewise.
17159 * posix/setlogin.c: Likewise.
17160 * posix/setpgid.c: Likewise.
17161 * posix/setresgid.c: Likewise.
17162 * posix/setresuid.c: Likewise.
17163 * posix/setsid.c: Likewise.
17164 * posix/setuid.c: Likewise.
17165 * posix/sleep.c: Likewise.
17166 * posix/spawni.c: Likewise.
17167 * posix/sysconf.c: Likewise.
17168 * posix/times.c: Likewise.
17169 * posix/wait.c: Likewise.
17170 * posix/wait3.c: Likewise.
17171 * posix/wait4.c: Likewise.
17172 * posix/waitpid.c: Likewise.
17173 * resolv/gai_sigqueue.c: Likewise.
17174 * resource/getpriority.c: Likewise.
17175 * resource/getrlimit.c: Likewise.
17176 * resource/getrusage.c: Likewise.
17177 * resource/nice.c: Likewise.
17178 * resource/setpriority.c: Likewise.
17179 * resource/setrlimit.c: Likewise.
17180 * resource/ulimit.c: Likewise.
17181 * rt/aio_cancel.c: Likewise.
17182 * rt/aio_fsync.c: Likewise.
17183 * rt/aio_read.c: Likewise.
17184 * rt/aio_sigqueue.c: Likewise.
17185 * rt/aio_suspend.c: Likewise.
17186 * rt/aio_write.c: Likewise.
17187 * rt/clock_getres.c: Likewise.
17188 * rt/clock_gettime.c: Likewise.
17189 * rt/clock_nanosleep.c: Likewise.
17190 * rt/clock_settime.c: Likewise.
17191 * rt/lio_listio.c: Likewise.
17192 * rt/mq_close.c: Likewise.
17193 * rt/mq_getattr.c: Likewise.
17194 * rt/mq_notify.c: Likewise.
17195 * rt/mq_open.c: Likewise.
17196 * rt/mq_receive.c: Likewise.
17197 * rt/mq_send.c: Likewise.
17198 * rt/mq_setattr.c: Likewise.
17199 * rt/mq_timedreceive.c: Likewise.
17200 * rt/mq_timedsend.c: Likewise.
17201 * rt/mq_unlink.c: Likewise.
17202 * rt/shm_open.c: Likewise.
17203 * rt/shm_unlink.c: Likewise.
17204 * rt/timer_create.c: Likewise.
17205 * rt/timer_delete.c: Likewise.
17206 * rt/timer_getoverr.c: Likewise.
17207 * rt/timer_gettime.c: Likewise.
17208 * rt/timer_settime.c: Likewise.
17209 * setjmp/__longjmp.c: Likewise.
17210 * setjmp/setjmp.c: Likewise.
17211 * signal/kill.c: Likewise.
17212 * signal/killpg.c: Likewise.
17213 * signal/raise.c: Likewise.
17214 * signal/sigaction.c: Likewise.
17215 * signal/sigaltstack.c: Likewise.
17216 * signal/sigblock.c: Likewise.
17217 * signal/sigignore.c: Likewise.
17218 * signal/sigintr.c: Likewise.
17219 * signal/signal.c: Likewise.
17220 * signal/sigpause.c: Likewise.
17221 * signal/sigpending.c: Likewise.
17222 * signal/sigqueue.c: Likewise.
17223 * signal/sigreturn.c: Likewise.
17224 * signal/sigset.c: Likewise.
17225 * signal/sigsetmask.c: Likewise.
17226 * signal/sigstack.c: Likewise.
17227 * signal/sigsuspend.c: Likewise.
17228 * signal/sigtimedwait.c: Likewise.
17229 * signal/sigvec.c: Likewise.
17230 * signal/sigwait.c: Likewise.
17231 * signal/sigwaitinfo.c: Likewise.
17232 * signal/sysv_signal.c: Likewise.
17233 * socket/accept.c: Likewise.
17234 * socket/accept4.c: Likewise.
17235 * socket/bind.c: Likewise.
17236 * socket/connect.c: Likewise.
17237 * socket/getpeername.c: Likewise.
17238 * socket/getsockname.c: Likewise.
17239 * socket/getsockopt.c: Likewise.
17240 * socket/isfdtype.c: Likewise.
17241 * socket/listen.c: Likewise.
17242 * socket/recv.c: Likewise.
17243 * socket/recvfrom.c: Likewise.
17244 * socket/recvmsg.c: Likewise.
17245 * socket/send.c: Likewise.
17246 * socket/sendmsg.c: Likewise.
17247 * socket/sendto.c: Likewise.
17248 * socket/setsockopt.c: Likewise.
17249 * socket/shutdown.c: Likewise.
17250 * socket/sockatmark.c: Likewise.
17251 * socket/socket.c: Likewise.
17252 * socket/socketpair.c: Likewise.
17253 * stdio-common/ctermid.c: Likewise.
17254 * stdio-common/cuserid.c: Likewise.
17255 * stdio-common/remove.c: Likewise.
17256 * stdio-common/rename.c: Likewise.
17257 * stdio-common/renameat.c: Likewise.
17258 * stdio-common/tempname.c: Likewise.
17259 * stdlib/getcontext.c: Likewise.
17260 * stdlib/makecontext.c: Likewise.
17261 * stdlib/setcontext.c: Likewise.
17262 * stdlib/swapcontext.c: Likewise.
17263 * stdlib/system.c: Likewise.
17264 * streams/fattach.c: Likewise.
17265 * streams/fdetach.c: Likewise.
17266 * streams/getmsg.c: Likewise.
17267 * streams/getpmsg.c: Likewise.
17268 * streams/putmsg.c: Likewise.
17269 * streams/putpmsg.c: Likewise.
17270 * sysdeps/unix/bsd/getpt.c: Likewise.
17271 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17272 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17273 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17275 Likewise.
17276 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17277 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17278 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17279 * sysvipc/msgctl.c: Likewise.
17280 * sysvipc/msgget.c: Likewise.
17281 * sysvipc/msgrcv.c: Likewise.
17282 * sysvipc/msgsnd.c: Likewise.
17283 * sysvipc/semctl.c: Likewise.
17284 * sysvipc/semget.c: Likewise.
17285 * sysvipc/semop.c: Likewise.
17286 * sysvipc/semtimedop.c: Likewise.
17287 * sysvipc/shmat.c: Likewise.
17288 * sysvipc/shmctl.c: Likewise.
17289 * sysvipc/shmdt.c: Likewise.
17290 * sysvipc/shmget.c: Likewise.
17291 * termios/tcdrain.c: Likewise.
17292 * termios/tcflow.c: Likewise.
17293 * termios/tcflush.c: Likewise.
17294 * termios/tcgetattr.c: Likewise.
17295 * termios/tcgetpgrp.c: Likewise.
17296 * termios/tcsendbrk.c: Likewise.
17297 * termios/tcsetattr.c: Likewise.
17298 * termios/tcsetpgrp.c: Likewise.
17299 * time/adjtime.c: Likewise.
17300 * time/clock.c: Likewise.
17301 * time/getitimer.c: Likewise.
17302 * time/gettimeofday.c: Likewise.
17303 * time/setitimer.c: Likewise.
17304 * time/settimeofday.c: Likewise.
17305 * time/stime.c: Likewise.
17306 * time/time.c: Likewise.
17307
173082012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17309
a20492cf
PT
17310 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17311 /usr/old/bin.
17312
72e182e3
PT
17313 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17314 instead of spaces.
17315 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17316
fbeafede
JM
173172012-11-03 Joseph Myers <joseph@codesourcery.com>
17318
5b5b04d6
JM
17319 [BZ #14796]
17320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17321 FE_TONEAREST before applying Dekker multiplication and Knuth
17322 addition. Clear inexact exceptions and check for exact zero
17323 results afterwards.
17324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17325 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17327 * math/libm-test.inc (fma_test): Add more tests.
17328 (fma_test_towardzero): Likewise.
17329 (fma_test_downward): Likewise.
17330 (fma_test_upward): Likewise.
17331 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17332 function.
17333 (libc_fesetround): New macro.
17334 (libc_fesetroundf): Likewise.
17335 (libc_fesetroundl): Likewise.
17336 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17337 function.
17338 (libc_fesetround_387): Likewise.
17339 (libc_fesetroundf): New macro.
17340 (libc_fesetround): Likewise.
17341 (libc_fesetroundl): Likewise.
17342 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17343 function.
17344 (libc_fesetroundf): New macro.
17345 (libc_fesetround): Likewise.
17346 (libc_fesetroundl): Likewise.
17347 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17348 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17349 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17350 libm_hidden_ver.
17351 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17352 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17353 libm_hidden_def.
17354 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17355 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17356 libm_hidden_ver.
17357 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17358 libm_hidden_def.
17359
fbeafede
JM
17360 [BZ #3439]
17361 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17362 integer constant usable in #if and use that to give value to enum
17363 constant.
17364 (FE_DIVBYZERO): Likewise.
17365 (FE_UNDERFLOW): Likewise.
17366 (FE_OVERFLOW): Likewise.
17367 (FE_INVALID): Likewise.
17368 (FE_INVALID_SNAN): Likewise.
17369 (FE_INVALID_ISI): Likewise.
17370 (FE_INVALID_IDI): Likewise.
17371 (FE_INVALID_ZDZ): Likewise.
17372 (FE_INVALID_IMZ): Likewise.
17373 (FE_INVALID_COMPARE): Likewise.
17374 (FE_INVALID_SOFTWARE): Likewise.
17375 (FE_INVALID_SQRT): Likewise.
17376 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17377 (FE_TONEAREST): Likewise.
17378 (FE_TOWARDZERO): Likewise.
17379 (FE_UPWARD): Likewise.
17380 (FE_DOWNWARD): Likewise.
17381 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17382 (FE_DIVBYZERO): Likewise.
17383 (FE_OVERFLOW): Likewise.
17384 (FE_UNDERFLOW): Likewise.
17385 (FE_INEXACT): Likewise.
17386 (FE_TONEAREST): Likewise.
17387 (FE_DOWNWARD): Likewise.
17388 (FE_UPWARD): Likewise.
17389 (FE_TOWARDZERO): Likewise.
17390 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17391 (FE_UNDERFLOW): Likewise.
17392 (FE_OVERFLOW): Likewise.
17393 (FE_DIVBYZERO): Likewise.
17394 (FE_INVALID): Likewise.
17395 (FE_TONEAREST): Likewise.
17396 (FE_TOWARDZERO): Likewise.
17397 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17398 (FE_OVERFLOW): Likewise.
17399 (FE_UNDERFLOW): Likewise.
17400 (FE_DIVBYZERO): Likewise.
17401 (FE_INEXACT): Likewise.
17402 (FE_TONEAREST): Likewise.
17403 (FE_TOWARDZERO): Likewise.
17404 (FE_UPWARD): Likewise.
17405 (FE_DOWNWARD): Likewise.
17406 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17407 (FE_DIVBYZERO): Likewise.
17408 (FE_OVERFLOW): Likewise.
17409 (FE_UNDERFLOW): Likewise.
17410 (FE_INEXACT): Likewise.
17411 (FE_TONEAREST): Likewise.
17412 (FE_DOWNWARD): Likewise.
17413 (FE_UPWARD): Likewise.
17414 (FE_TOWARDZERO): Likewise.
17415
105ca950
CM
174162012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17417
17418 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17419
a542b389
AS
174202012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17421
17422 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17423 commands. Quote $PWD.
17424 (blacklist_exports): Don't use remove_newlines. Replace "declare
17425 -x" by "export".
17426 (remove_newlines): Remove.
17427
f62c8abc
L
174282012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17431 * stdlib/stdlib.h (atof): Moved to ...
17432 * include/bits/stdlib-float.h: Here. New file.
17433 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17434 * stdlib/bits/stdlib-float.h: New file.
17435 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17436 -mno-sse -mno-mmx.
17437 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17438 <xmmintrin.h>.
17439
0155d5b2
JM
174402012-11-02 Joseph Myers <joseph@codesourcery.com>
17441
a68d0680
JM
17442 * conform/conformtest.pl (@headers): Add fenv.h.
17443 * conform/data/fenv.h-data: New file.
17444 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17445 include of <math/fenv.h>.
17446
caf7f573
JM
17447 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17448 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17449 && !UNIX98]. Enables tests for XOPEN2K8.
17450 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17451 POSIX2008]: Likewise.
17452
6c073ad6
JM
17453 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17454 (struct rusage): Do not expect type or its members.
17455
0155d5b2
JM
17456 [BZ #3439]
17457 * math/math.h (FP_NAN): Define macro to integer constant usable in
17458 #if and use that to give value to enum constant.
17459 (FP_INFINITE): Likewise.
17460 (FP_ZERO): Likewise.
17461 (FP_SUBNORMAL): Likewise.
17462 (FP_NORMAL): Likewise.
17463
b5dcacb4
AS
174642012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17465
17466 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17467 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17468 arguments.
17469
f7934be8
RM
174702012-11-02 Roland McGrath <roland@hack.frob.com>
17471
17472 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17473 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17474 autoconf-time if not.
17475 * configure.in: Remove AC_PREREQ.
17476
d7d08bde
TMQMF
174772012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17478
17479 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17480 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17481 of the internal implementation.
17482
dcdae19a
JM
174832012-11-02 Joseph Myers <joseph@codesourcery.com>
17484
17485 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17486 except include of <misc/sys/syslog.h>.
17487
d6cffd3e
AS
174882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17489
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17491 function returns with a NULL context exit with zero.
17492
b3563932
TMQMF
174932012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17494
17495 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17496
b288a93d
L
174972012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17500 (run_program_cmd): This.
17501 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17502 (tst_langinfo): New variable. Use it.
17503
a2421a68
SAS
175042012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17505
17506 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17507 floating point opcodes.
17508
6f796e1b
TS
175092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17510
7402596b
TS
17511 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17512 variable.
17513
d0d4f868
TS
17514 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17515
6f796e1b
TS
17516 * sysdeps/mach/hurd/powerpc: Remove directory.
17517 * sysdeps/mach/powerpc: Likewise.
17518
4da224a2
AS
175192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17520
17521 * scripts/check-local-headers.sh: Ignore c++ headers.
17522
341dd673
TS
175232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17524
17525 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17526 __libc_cleanup_region_start argument.
17527
473611b2
JM
175282012-11-01 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #14784]
17531 [BZ #14785]
17532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17533 x * y using scaling, not as x * y + z.
17534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17536 * math/libm-test.inc (fma_test): Add more tests.
17537 (fma_test_towardzero): Likewise.
17538 (fma_test_downward): Likewise.
17539 (fma_test_upward): Likewise.
17540
4078da3d
TS
175412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17542
17543 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17544
903252aa
JM
175452012-10-31 Joseph Myers <joseph@codesourcery.com>
17546
17547 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17548 New variable.
17549
cbc818d0
TS
175502012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17551
17552 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17553
5a03cb1e
AS
175542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17555
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17557 Fix sort order.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17559 Likewise.
17560
90aff2ff
TMQMF
175612012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17562
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17564 Fix the order of the list for glibc 2.17.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17566 Likewise.
17567
1818fcb7
AS
175682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17569
17570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17571
ef82f4da
JM
175722012-10-31 Joseph Myers <joseph@codesourcery.com>
17573
16a0e2ec
JM
17574 [BZ #14610]
17575 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17576 for low part of x being zero before using __atanl (y).
17577 * math/libm-test.inc (atan2_test): Add another test.
17578
0eb69512
JM
17579 * manual/install.texi (Configuring and compiling): Document
17580 general use of test-wrapper and test-wrapper-env.
17581 * INSTALL: Regenerated.
17582
ef82f4da
JM
17583 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17584 (__fma): Do not extract and scale down low bits on after-rounding
17585 systems when result rounded to normal precision would have normal
17586 exponent.
17587 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17588 (__fmal): Do not extract and scale down low bits on after-rounding
17589 systems when result rounded to normal precision would have normal
17590 exponent.
17591 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17592 (__fmal): Do not extract and scale down low bits on after-rounding
17593 systems when result rounded to normal precision would have normal
17594 exponent.
17595 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17596 macro.
17597 (fma_test): Add more tests.
17598 (fma_test_towardzero): Likewise.
17599 (fma_test_downward): Likewise.
17600 (fma_test_upward): Likewise.
17601
954ef0d9
L
176022012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 * sysdeps/i386/tininess.h: Renamed to ...
17605 * sysdeps/x86/tininess.h: This.
17606 * sysdeps/x86_64/tininess.h: Removed.
17607
df61ffb2
JM
176082012-10-30 Joseph Myers <joseph@codesourcery.com>
17609
17610 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17611 input. Use $(build-program-cmd).
17612 ($(objpfx)tst-array1-static.out): Likewise.
17613 ($(objpfx)tst-array2.out): Likewise.
17614 ($(objpfx)tst-array3.out): Likewise.
17615 ($(objpfx)tst-array4.out): Likewise.
17616 ($(objpfx)tst-array5.out): Likewise.
17617 ($(objpfx)tst-array5-static.out): Likewise.
17618
01767843
CM
176192012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17620
47cc1490
CM
17621 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17622 if defined.
17623
01767843
CM
17624 * nss/nsswitch.h (nss_interface_function): Provide new
17625 macro for use with NSS functions.
17626 * grp/initgroups.c: Use new macro.
17627 * nss/getXXbyYY.c: Likewise.
17628 * nss/getXXbyYY_r.c: Likewise.
17629 * nss/getXXent.c: Likewise.
17630 * nss/getXXent_r.c: Likewise.
17631 * sysdeps/posix/getaddrinfo.c: Likewise.
17632
8321aa97
AJ
176332012-10-30 Andreas Jaeger <aj@suse.de>
17634
17635 * po/ru.po: Update Russion translation from translation project.
17636
2a27fd6d
JM
176372012-10-30 Joseph Myers <joseph@codesourcery.com>
17638
8627a232
JM
17639 [BZ #14152]
17640 [BZ #14783]
17641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17642 result and shift together with sticky bit instead of replicating
17643 round-to-nearest rounding.
17644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17646 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17647 missing underflow exceptions.
17648 (fma_test_towardzero): Add more tests.
17649 (fma_test_downward): Likewise.
17650 (fma_test_upward): Likewise.
17651
2a27fd6d
JM
17652 [BZ #14047]
17653 * sysdeps/generic/tininess.h: New file.
17654 * sysdeps/i386/tininess.h: Likewise.
17655 * sysdeps/sh/tininess.h: Likewise.
17656 * sysdeps/x86_64/tininess.h: Likewise.
17657 * stdlib/tst-strtod-underflow.c: Likewise.
17658 * stdlib/tst-tininess.c: Likewise.
17659 * stdlib/strtod_l.c: Include <tininess.h>.
17660 (round_and_return): Do not set errno for exact underflow cases.
17661 Force an underflow exception when setting errno for underflow.
17662 Determine underflow based on rounding to normal precision if
17663 TININESS_AFTER_ROUNDING.
17664 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17665 ERANGE for exact underflow cases.
17666 * stdlib/Makefile (tests): Add tst-tininess and
17667 tst-strtod-underflow.
17668 ($(objpfx)tst-tininess): Use $(link-libm).
17669 ($(objpfx)tst-strtod-underflow): Likewise.
17670
e7170363
AJ
176712012-10-30 Andreas Jaeger <aj@suse.de>
17672
e5088dc6
AJ
17673 [BZ#14767]
17674 * elf/Makefile (tests): Remove conditional for have-initfini-array
17675 since this is now always required and the variable does not exist
17676 anymore.
17677 (tests-static): Likewise.
17678 (modules-names): Likewise.
17679
e7170363 17680 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17681
17682 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17683 merged with constructor/destructor.
17684 (init_array): Likewise.
17685 * elf/tst-array2dep.c (fini_array): Likewise.
17686 (init_array): Likewise.
17687
60457d8a
MF
176882012-10-29 Mike Frysinger <vapier@gentoo.org>
17689
17690 * manual/message.texi: Delete @cartouche tags.
17691
8bece752
PT
176922012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17693
94ce799f
PT
17694 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17695 EOPNOTSUPP.
17696 * sysdeps/mach/hurd/fsync.c: Likewise.
17697
8bece752
PT
17698 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17699 [_POSIX_REALTIME_SIGNALS]: Change condition to
17700 [_POSIX_REALTIME_SIGNALS > 0].
17701
86ebe6b1
AJ
177022012-10-27 Andreas Jaeger <aj@suse.de>
17703
17704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17705 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17707 [__WORDSIZE != 64]: Likewise.
17708
54399c08
L
177092012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * iconvdata/tst-table.sh: Remove ${SHELL}.
17712 * iconvdata/tst-tables.sh: Likewise.
17713
e2211bed
DM
177142012-10-25 David S. Miller <davem@davemloft.net>
17715
17716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17717 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17718 of strtoull.
17719
f303f97c
DM
17720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17721 ifunc-impl-list.c
17722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17723 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17724 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17725 file.
17726
1e9d84cd
RM
177272012-10-25 Roland McGrath <roland@hack.frob.com>
17728
17729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17730 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17731 __getdirentries.
17732
df381762
JM
177332012-10-25 Joseph Myers <joseph@codesourcery.com>
17734 Jim Blandy <jimb@codesourcery.com>
17735
17736 * scripts/cross-test-ssh.sh: New file.
17737 * manual/install.texi (Configuring and compiling): Document use of
17738 cross-test-ssh.sh.
17739 * INSTALL: Regenerated.
17740
bff64913
PT
177412012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17742
17743 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17744 EOPNOTSUPP.
17745
25fe8932
JM
177462012-10-25 Joseph Myers <joseph@codesourcery.com>
17747
17748 * Makeconfig (run-program-prefix): Fix comment.
17749
cc1290d0
JM
177502012-10-24 Joseph Myers <joseph@codesourcery.com>
17751 Jim Blandy <jimb@codesourcery.com>
17752
17753 * Makeconfig (test-wrapper): New variable,
17754 (test-wrapper-env): Likewise.
17755 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17756 (run-built-tests): Define to yes.
17757 (run-program-prefix): Use $(test-wrapper).
17758 (built-program-cmd): Likewise.
17759 * Rules (make-test-out): Use $(test-wrapper-env) and
17760 $(host-built-program-cmd).
17761 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17762 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17763 tst-pathopt.sh.
17764 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17765 $(test-wrapper-env) to tst-rtld-load-self.sh.
17766 ($(objpfx)order2.out): Use $(test-wrapper).
17767 ($(objpfx)tst-initorder.out): Likewise.
17768 ($(objpfx)tst-initorder2.out): Likewise.
17769 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17770 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17771 (test_wrapper_env): New variable. Use it to run ld.so.
17772 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17773 Use it to run ld.so.
17774 (test_wrapper_env): Likewise.
17775 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17776 $(test-wrapper) to run-iconv-test.sh.
17777 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17778 (ICONV): Use $test_wrapper.
17779 * posix/Makefile ($(objpfx)globtest.out): Pass
17780 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17781 globtest.sh, not $(run-program-prefix).
17782 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17783 (test_wrapper): Likewise.
17784 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17785 set together with run_via_rtld_prefix.
17786 (run_program_prefix): Define in terms of test_wrapper and
17787 run_via_rtld_prefix.
17788
6e6249d0
RM
177892012-10-24 Roland McGrath <roland@hack.frob.com>
17790
17791 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17792 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17793 Targets removed.
17794
17795 [BZ #14743]
17796 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17797 Declare __clock_getres, __clock_gettime, __clock_settime,
17798 __clock_nanosleep, and __clock_getcpuclockid.
17799 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17800 Remove librt_hidden_def (clock_gettime).
17801 * sysdeps/unix/clock_gettime.c: Likewise.
17802 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17804 * rt/clock_getres.c: Define __clock_getres as an alias.
17805 * sysdeps/posix/clock_getres.c: Likewise.
17806 * rt/clock_settime.c: Define __clock_settime as an alias.
17807 * sysdeps/unix/clock_settime.c: Likewise.
17808 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17809 * sysdeps/unix/clock_nanosleep.c: Likewise.
17810 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17811 * rt/clock-compat.c: New file.
17812 * rt/Makefile (librt-routines): Add clock-compat and move
17813 $(clock-routines) to ...
17814 (routines): ... here, new variable.
17815 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17816 Don't add get_clockfreq here.
17817 * rt/Versions (libc: GLIBC_2.17): New version set.
17818 Add clock_* symbols here.
17819 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17821 (GLIBC_2.17): Add clock_* symbols.
17822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17826 Likewise.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17828 Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17833 * NEWS: Mention the move.
17834
17835 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17836 Use __open, __read, __close rather than their public counterparts.
17837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17838 (__get_clockfreq_via_cpuinfo): Likewise.
17839 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17840 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17841
17842 * config.h.in (HAVE_IFUNC): New #undef.
17843 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17844 was successful.
17845 * configure: Regenerated.
17846
0cae3f4b
MF
178472012-10-24 Mike Frysinger <vapier@gentoo.org>
17848
17849 * configure.in: Move READELF check to start of file.
17850 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17851 libc_cv_asm_gnu_indirect_function in the process.
17852 * configure: Regenerated.
17853
8175a253
MF
178542012-10-24 Mike Frysinger <vapier@gentoo.org>
17855
17856 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17857 send the output to /dev/null.
17858 (libc_cv_cc_with_libunwind): Likewise.
17859 (libc_cv_as_noexecstack): Likewise.
17860 * configure: Regenerate.
17861
0708a7d1
JM
178622012-10-24 Joseph Myers <joseph@codesourcery.com>
17863
10b40d85
JM
17864 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17865
0708a7d1
JM
17866 * posix/globtest.sh (TMPDIR): Do not set.
17867 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17868 (testout): Likewise.
17869
9fddec1a
AJ
178702012-10-24 Andreas Jaeger <aj@suse.de>
17871
3a8db22f
AJ
17872 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17873 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17874 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17875 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17876 posix_fadvise64, posix_fallocate64.
17877
9fddec1a
AJ
17878 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17879 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17880 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17881 Likewise.
17882 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17883 Likewise.
17884 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17885
17886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17887 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17888 <bits/fcntl-linux.h>.
17889 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17890
17891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17892 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17893 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17894 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17895 [__WORDSIZE != 64]: Likewise.
17896
ebfd1bbd
JM
178972012-10-23 Joseph Myers <joseph@codesourcery.com>
17898
03ac099f
JM
17899 * Makeconfig (run-built-tests): New variable.
17900 * Rules [$(cross-compiling) = yes]: Change condition to
17901 [$(run-built-tests) = no].
17902 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17903 to [$(run-built-tests) = yes].
17904 * elf/Makefile [$(cross-compiling) = no]: Likewise
17905 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17906 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17907 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17908 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17909 * io/Makefile [$(cross-compiling) = no]: Likewise.
17910 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17911 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17912 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17913 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17914 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17915 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17916 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17917 * string/Makefile [$(cross-compiling) = no]: Likewise.
17918
ebfd1bbd
JM
17919 * posix/Makefile ($(objpfx)globtest.out): Pass
17920 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17921 $(rtld-installed-name).
17922 * posix/globtest.sh (elf_objpfx): Remove variable.
17923 (rtld_installed_name): Likewise.
17924 (library_path): Likewise.
17925 (run_program_prefix): New variable. Use for running globtest
17926 binary.
17927
166bca24
JB
179282012-10-23 Jim Blandy <jimb@codesourcery.com>
17929 Joseph Myers <joseph@codesourcery.com>
17930
17931 * Makeconfig (host-built-program-cmd): New variable.
17932 * elf/Makefile (tst-stackguard1-ARGS): Use
17933 $(host-built-program-cmd).
17934 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17935 (tst-spawn-ARGS): Likewise.
17936 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17937
88866099
JM
179382012-10-23 Joseph Myers <joseph@codesourcery.com>
17939 Jim Blandy <jimb@codesourcery.com>
17940
17941 * Makeconfig (run-via-rtld-prefix): New variable.
17942 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17943 (built-program-cmd): Likewise.
17944
b4b4c296
AJ
179452012-10-22 Andreas Jaeger <aj@suse.de>
17946
17947 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17948 __O_RSYNC if it exists, otherwise to O_SYNC.
17949
6fb54a22
JB
179502012-10-22 Jim Blandy <jimb@codesourcery.com>
17951 Joseph Myers <joseph@codesourcery.com>
17952
17953 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17954 /dev/null.
17955 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17956 from /dev/null
17957 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17958 /dev/null.
17959
481b90b9
AJ
179602012-10-22 Andreas Jaeger <aj@suse.de>
17961
2a0e2669
AJ
17962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17963 Define always.
17964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17965
76e38f9a
AJ
17966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17967 bits/fcntl-linux.h.
17968
7cd37b43
AJ
17969 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17970 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17971
481b90b9
AJ
17972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17973 to __O_LARGEFILE.
17974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17975 to __O_LARGEFILE.
17976
aba75984
JB
179772012-10-21 Jim Blandy <jimb@codesourcery.com>
17978 Joseph Myers <joseph@codesourcery.com>
17979
17980 * config.make.in (NM): New variable.
17981
88d4247f
AJ
179822012-10-21 Andreas Jaeger <aj@suse.de>
17983
17984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17985 definitions and declarations that are provided by
17986 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17987
f2eed205
L
179882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17989
17990 [BZ #14683]
17991 * elf/Makefile (tests-static): Add tst-leaks1-static.
17992 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17993 ($(objpfx)tst-leaks1-static): New rule.
17994 ($(objpfx)tst-leaks1-static-mem): Likewise.
17995 (tst-leaks1-static-ENV): New macro.
17996 * elf/dl-open.c (dl_open_worker): Check the main application
17997 only if SHARED is defined.
17998 * elf/tst-leaks1-static.c: New file.
17999
335e6931
AJ
180002012-10-20 Andreas Jaeger <aj@suse.de>
18001
18002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18003 generic values for Linux.
18004 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18005 and declarations that are provided by <bits/fcntl-linux.h> and
18006 include <bits/fcntl-linux.h>.
18007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18009
ac5c94d3
RM
180102012-10-20 Roland McGrath <roland@hack.frob.com>
18011
18012 * io/fcntl.h: Move include of <bits/types.h> to the top and
18013 include it unconditionally.
18014
de54b33a
L
180152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18016
228cfb01
L
18017 * wcsmbs/Makefile (tests-ifunc): New variable.
18018 (tests): Add $(tests-ifunc).
18019 * wcsmbs/test-wcschr-ifunc.c: New file.
18020 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18021 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18022 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18023 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18024 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18025
69f07e5f
L
18026 * string/Makefile (tests-ifunc): New variable.
18027 (tests): Add $(tests-ifunc).
18028 * string/test-memccpy.c (TEST_NAME): New macro.
18029 * string/test-memchr.c (TEST_NAME): Likewise.
18030 * string/test-memcmp.c (TEST_NAME): Likewise.
18031 * string/test-memcpy.c (TEST_NAME): Likewise.
18032 * string/test-memmem.c (TEST_NAME): Likewise.
18033 * string/test-memmove.c (TEST_NAME): Likewise.
18034 * string/test-memset.c (TEST_NAME): Likewise.
18035 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18036 * string/test-stpcpy.c (TEST_NAME): Likewise.
18037 * string/test-stpncpy.c (TEST_NAME): Likewise.
18038 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18039 * string/test-strcasestr.c (TEST_NAME): Likewise.
18040 * string/test-strcat.c (TEST_NAME): Likewise.
18041 * string/test-strchr.c (TEST_NAME): Likewise.
18042 * string/test-strcmp.c(TEST_NAME): Likewise.
18043 * string/test-strcpy.c (TEST_NAME): Likewise.
18044 * string/test-strcspn.c (TEST_NAME): Likewise.
18045 * string/test-strlen.c (TEST_NAME): Likewise.
18046 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18047 * string/test-strncmp.c (TEST_NAME): Likewise.
18048 * string/test-strncpy.c (TEST_NAME): Likewise.
18049 * string/test-strnlen.c (TEST_NAME): Likewise.
18050 * string/test-strpbrk.c (TEST_NAME): Likewise.
18051 * string/test-strrchr.c (TEST_NAME): Likewise.
18052 * string/test-strspn.c (TEST_NAME): Likewise.
18053 * string/test-strstr.c (TEST_NAME): Likewise.
18054 * string/test-bcopy-ifunc.c: New file.
18055 * string/test-bzero-ifunc.c: Likewise.
18056 * string/test-memccpy-ifunc.c: Likewise.
18057 * string/test-memchr-ifunc.c: Likewise.
18058 * string/test-memcmp-ifunc.c: Likewise.
18059 * string/test-memcpy-ifunc.c: Likewise.
18060 * string/test-memmem-ifunc.c: Likewise.
18061 * string/test-memmove-ifunc.c: Likewise.
18062 * string/test-mempcpy-ifunc.c: Likewise.
18063 * string/test-memset-ifunc.c: Likewise.
18064 * string/test-rawmemchr-ifunc.c: Likewise.
18065 * string/test-stpcpy-ifunc.c: Likewise.
18066 * string/test-stpncpy-ifunc.c: Likewise.
18067 * string/test-strcasecmp-ifunc.c: Likewise.
18068 * string/test-strcasestr-ifunc.c: Likewise.
18069 * string/test-strcat-ifunc.c: Likewise.
18070 * string/test-strchr-ifunc.c: Likewise.
18071 * string/test-strchrnul-ifunc.c: Likewise.
18072 * string/test-strcmp-ifunc.c: Likewise.
18073 * string/test-strcpy-ifunc.c: Likewise.
18074 * string/test-strcspn-ifunc.c: Likewise.
18075 * string/test-strlen-ifunc.c: Likewise.
18076 * string/test-strncasecmp-ifunc.c: Likewise.
18077 * string/test-strncat-ifunc.c: Likewise.
18078 * string/test-strncmp-ifunc.c: Likewise.
18079 * string/test-strncpy-ifunc.c: Likewise.
18080 * string/test-strnlen-ifunc.c: Likewise.
18081 * string/test-strpbrk-ifunc.c: Likewise.
18082 * string/test-strrchr-ifunc.c: Likewise.
18083 * string/test-strspn-ifunc.c: Likewise.
18084 * string/test-strstr-ifunc.c: Likewise.
18085
de54b33a
L
18086 * debug/Makefile (tests-ifunc): New variable.
18087 (tests): Add $(tests-ifunc).
18088 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18089 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18090 * debug/test-stpcpy_chk-ifunc.c: New file.
18091 * debug/test-strcpy_chk-ifunc.c: Likewise.
18092
88481c16
SP
180932012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18094
18095 [BZ #13601]
18096 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18097 header is not read in.
18098
135948bd
JM
180992012-10-19 Joseph Myers <joseph@codesourcery.com>
18100
89f1c388
JM
18101 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18102 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18103 directly. Pass built executable to script as
18104 $(built-program-cmd).
18105 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18106 $testprogram without using LD_LIBRARY_PATH and $ldso.
18107
e40a0d21
JM
18108 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18109 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18110 $(rtld-installed-name).
18111 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18112 (rtld_installed_name): Likewise.
18113 (library_path): Likewise.
18114 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18115 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18116 $(run-program-prefix) to tst-tables.sh.
18117 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18118 it to run tst-table-from and tst-table-to.
18119 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18120 Pass it to tst-table.sh.
18121 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18122 $(run-program-prefix) to tst-gettext.sh.
18123 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18124 tst-translit.sh.
18125 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18126 tst-gettext2.sh.
18127 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18128 to run tst-gettext.
18129 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18130 to run tst-gettext2.
18131 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18132 to run tst-translit.
18133 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18134 $(run-program-prefix) to tst-mtrace.sh.
18135 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18136 to run tst-mtrace.
18137 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18138 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18139 $(rtld-installed-name).
18140 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18141 (rtld_installed_name): Likewise.
18142 (run_program_prefix): New variable. Use it to run wordexp-test.
18143
728e272a
JM
18144 * Makeconfig (ARCH): Remove all definitions.
18145 (machine): Likewise.
18146 [ARCH]: Remove conditional code.
18147 [!objdir]: Give error.
18148 [!objdir] (objpfx): Remove.
18149 [!objdir] (common-objpfx): Likewise.
18150 [!objdir] (common-objdir): Likewise.
18151 * configure.in (config_makefile): Remove. Hardcode Makefile in
18152 AC_CONFIG_FILES call.
18153 * configure: Regenerated.
18154
d528cdcf
JM
18155 [BZ #13888]
18156 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18157 or TMPDIR.
18158 (testout): Likewise.
18159
135948bd
JM
18160 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18161 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18162 $(rtld-installed-name).
18163 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18164 (rtld_installed_name): Likwise.
18165 (runit): Remove function.
18166 (run_getconf): New variable, Use it for running getconf binary.
18167
38c78296
L
181682012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 [BZ #14716]
18171 * string/test-memmem.c (check_result): New function.
18172 (do_one_test): Use it.
18173 (check1): New function.
18174 (test_main): Use it.
18175
d077f65f
MT
181762012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18177
18178 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18179
ced52c71
JM
181802012-10-18 Joseph Myers <joseph@codesourcery.com>
18181
18182 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18183 (_G_LSEEK64): Likewise.
18184 (_G_MMAP64): Likewise.
18185 (_G_FSTAT64): Likewise.
18186 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18187 (_G_LSEEK64): Likewise.
18188 (_G_MMAP64): Likewise.
18189 (_G_FSTAT64): Likewise.
18190 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18191 unconditional. Call __mmap64 directly.
18192 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18193 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18194 __lseek64 directly.
18195 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18196 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18197 __mmap64 directly.
18198 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18199 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18200 __lseek64 directly.
18201 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18202 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18203 __lseek64 directly.
18204 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18205 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18206 __lseek64 directly.
18207 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18208 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18209 __fxstat64 directly.
18210 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18211 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18212 unconditional.
18213 (freopen64) [!_G_OPEN64]: Remove conditional code.
18214 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18215 unconditional.
18216 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18217 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18218 unconditional.
18219 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18220 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18221 unconditional.
18222 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18223 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18224 unconditional.
18225 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18226 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18227 unconditional.
18228 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18229 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18230 unconditional.
18231 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18232 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18233 unconditional.
18234 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18235
b741de23
SP
182362012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18237
18238 [BZ #12140]
18239 * manual/memory.texi (Malloc Tunable Parameters): Add note
18240 about free list pointers overwriting some perturb bytes.
18241 Wording suggested by Roland McGrath.
18242
f9b9d9c9
JM
182432012-10-17 Joseph Myers <joseph@codesourcery.com>
18244
18245 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18246 (lgamma_test): Likewise.
18247 (tgamma_test): Likewise.
18248
172a631a
FW
182492012-10-16 Florian Weimer <fweimer@redhat.com>
18250
18251 [BZ #14700]
18252 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18253 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18254
e9f37252
MK
182552012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18256
18257 * NEWS: Mention BZ #14716.
18258 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18259 when removing AVAILABLE1_USES_J macro.
18260
d394eb74
L
182612012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18262
18263 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18264 (__bswap_64): __uint64_t for unsigned 64-bit int.
18265
ca38dc17
AS
182662012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18267
18268 * include/string.h (memmem): Declare libc hidden alias.
18269 * string/memmem.c (memmem): Define libc hidden alias.
18270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18271 __read, __close instead of open, read, close.
18272
9a387d1f
L
182732012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18274
ac49ecaf
L
18275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18276 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18277 global and hidden.
18278 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18279 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18280 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18281 Likewise.
18282 (__rawmemchr_sse2): Likewise.
18283 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18284 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18285 (__strchr_sse2): Likewise.
18286 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18287 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18288 (__strcasecmp_sse2): Likewise.
18289 (__strncasecmp_sse2): Likewise.
18290 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18291 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18292 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18293 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18294 (__strrchr_sse2): Likewise.
18295 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18296 ifunc-impl-list.c.
18297 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18298 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18299 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18301 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18302 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18303 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18304 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18305 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18306 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18307 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18308 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18309 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18310 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18311 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18312 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18313 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18314 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18315 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18316 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18317 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18318 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18319 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18320 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18321 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18322 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18323 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18324 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18325 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18326 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18327
b090e8ea
L
18328 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18329 global and hidden.
18330 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18331 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18332 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18333 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18334 Likewise.
18335 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18336 Likewise.
18337 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18338 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18339 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18340 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18341 ifunc-impl-list.c.
18342 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18343 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18344 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18345 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18346 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18347 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18348 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18349 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18350 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18355 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18357 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18359 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18360 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18367 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18368 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18369 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18370 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18372 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18373 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18374 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18375 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18376 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18377 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18378 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18379 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18380 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18381 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18382 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18383
11dd4af6
L
18384 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18385 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18386 * include/ifunc-impl-list.h: New file.
18387 * misc/ifunc-impl-list.c: Likewise.
18388 * misc/Makefile (routines): Add ifunc-impl-list.
18389 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18390 * string/test-string.h: Include <ifunc-impl-list.h>.
18391 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18392 impl_array): New variables.
18393 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18394 are defined.
18395 (test_init): Call __libc_ifunc_impl_list to initialize
18396 func_list if TEST_IFUNC and TEST_NAME are defined.
18397
9a387d1f
L
18398 * string/Makefile (strop-tests): Add bcopy and bzero.
18399 * string/test-bcopy.c: New file.
18400 * string/test-bzero.c: Likewise.
18401 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18402 defined.
18403 * string/test-memset.c: Support bzero test if TEST_BZERO is
18404 defined.
18405 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18406 __libc_memmove.
18407 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18408 __libc_memset.
18409 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18410 of memset.
18411
472371b9
JM
184122012-10-10 Joseph Myers <joseph@codesourcery.com>
18413
1e4a9536
JM
18414 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18415 * configure: Regenerated.
18416
d173d12e
JM
18417 * Makeconfig (+link-static-before-libc): Don't include
18418 $(link-static-libc).
18419
472371b9
JM
18420 * libio/libio.h (_IO_pos_t): Remove.
18421
89a3ad0b
AO
184222012-10-10 Alexandre Oliva <aoliva@redhat.com>
18423
18424 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18425 McGrath.
18426
e7451425
AO
184272012-10-10 Alexandre Oliva <aoliva@redhat.com>
18428
18429 * crypt/crypt-entry.c: Include fips-private.h.
18430 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18431 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18432 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18433 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18434
4ba74a35
AO
184352012-10-10 Alexandre Oliva <aoliva@redhat.com>
18436
18437 * crypt/crypt-private.h: Include stdbool.h.
18438 (_ufc_setup_salt_r): Return bool.
18439 * crypt/crypt-entry.c: Include errno.h.
18440 (__crypt_r): Return NULL with EINVAL for bad salt.
18441 * crypt/crypt_util.c (bad_for_salt): New.
18442 (_ufc_setup_salt_r): Check that salt is long enough and within
18443 the specified alphabet.
18444 * crypt/badsalttest.c: New file.
18445 * crypt/Makefile (tests): Add it.
18446 ($(objpfx)badsalttest): New.
18447
f96f1242
MK
184482012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18449
18450 * NEWS: Add entry for BZ #14602.
18451
0e8e0c1c
JM
184522012-10-09 Joseph Myers <joseph@codesourcery.com>
18453
18454 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18455 type-generic.
18456 * math/libm-test.inc: Update comment listing what functions and
18457 macros are tested.
18458 (isgreater_test): New function.
18459 (isgreaterequal_test): Likewise.
18460 (isless_test): Likewise.
18461 (islessequal_test): Likewise.
18462 (islessgreater_test): Likewise.
18463 (isunordered_test): Likewise.
18464 (main): Call the new functions.
18465
273edc5e
RM
184662012-10-09 Roland McGrath <roland@hack.frob.com>
18467
b8493de0
RM
18468 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18469 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18470 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18471 * sysdeps/i386/configure: Regenerated.
18472 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18473 * sysdeps/mach/configure: Regenerated.
18474 * sysdeps/mach/hurd/configure: Regenerated.
18475 * sysdeps/powerpc/configure: Regenerated.
18476 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18477 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18478 * sysdeps/s390/s390-32/configure: Regenerated.
18479 * sysdeps/s390/s390-64/configure: Regenerated.
18480 * sysdeps/sh/configure: Regenerated.
18481 * sysdeps/sparc/configure: Regenerated.
18482 * sysdeps/unix/sysv/linux/configure: Regenerated.
18483 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18484 * sysdeps/x86_64/configure: Regenerated.
18485
273edc5e
RM
18486 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18487 defined. Don't check if MAP is NULL.
18488
c8450f70
JM
184892012-10-09 Joseph Myers <joseph@codesourcery.com>
18490
18491 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18492 (_G_stat64): Likewise.
18493 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18494 (_G_stat64): Likewise.
18495 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18496 instead of struct _G_stat64.
18497 * libio/fileops.c (mmap_remap_check): Likewise.
18498 (decide_maybe_mmap): Likewise.
18499 (_IO_new_file_seekoff): Likewise.
18500 (_IO_file_stat): Likewise.
18501 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18502 _G_off64_t.
18503 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18504 instead of struct _G_stat64.
18505 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18506
57e605ba
MK
185072012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18508
18509 [BZ #14602]
18510 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18511 Replace with ...
18512 (CHECK_EOL): New macro.
18513 (two_way_short_needle): Check beginning of haystack for EOL. Use
18514 CHECK_EOL.
18515 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18516 Replace with CHECK_EOL.
18517 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18518 Replace with CHECK_EOL.
18519
ef1bb361
JM
185202012-10-08 Joseph Myers <joseph@codesourcery.com>
18521
18522 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18523 type-generic.
18524 * math/libm-test.inc: Update comment listing what functions and
18525 macros are tested.
18526 (finite_test): New function.
18527 (isinf_test): Likewise.
18528 (isnan_test): Likewise.
18529 (fpclassify_test): Test subnormal input.
18530 (isfinite_test): Likewise.
18531 (isnormal_test): Likewise.
18532 (main): Call the new functions.
18533
55f11534
JN
185342012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18535
18536 [BZ #14660]
18537 * Makerules (%.dynsym): Force C locale when running
18538 $(OBJDUMP) --dynamic-syms.
18539
1ab29350
AS
185402012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18541
18542 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18543 <stdint.h>.
18544
f1ecb7ef
DM
185452012-10-06 David S. Miller <davem@davemloft.net>
18546
18547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18548 upper 32-bits of the length value in %o2 since we use branch-on-register
18549 tests which consider the entire 64-bit register.
18550
5d41d91a
L
185512012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18552
18553 * string/test-strstr.c (check2): Add a test for page boundary.
18554
3baddb72
DM
185552012-10-05 David S. Miller <davem@davemloft.net>
18556
18557 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18558 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18559 file.
18560 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18561 sysdep_routines.
18562 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18563 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18564 and bzero when HWCAP_SPARC_CRYPTO is present.
18565
9cee5585
L
185662012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18567
d7e0dab9
L
18568 [BZ #14602]
18569 * string/test-strstr.c (check2): New function.
18570 (test_main): Call check2.
18571
03759f47
L
18572 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18573 and bug-strchr1.
18574 * string/bug-strcasestr1.c (do_test): Moved to ...
18575 * string/test-strcasestr.c (check1): Here. New function.
18576 (do_one_test): Break out result checking code into ...
18577 (check_result): This. New function.
18578 (do_one_test): Call check_result.
18579 (test_main): Call check1.
18580 * string/bug-strchr1.c (do_test): Moved to ...
18581 * string/test-strchr.c (check1): Here. New function.
18582 (do_one_test): Break out result checking code into ...
18583 (check_result): This. New function.
18584 (do_one_test): Call check_result.
18585 (test_main): Call check1.
18586 * string/bug-strstr1.c (main): Moved to ...
046f153e 18587 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18588 (do_one_test): Break out result checking code into ...
18589 (check_result): This. New function.
18590 (do_one_test): Call check_result.
18591 (test_main): Call check1.
18592 * string/bug-strcasestr1.c: Removed.
18593 * string/bug-strchr1.c: Likewise.
18594 * string/bug-strstr1.c: Likewise.
18595
53cea63e
L
18596 * elf/Makefile (dl-routines): Add hwcaps.
18597 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18598 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18599 (_dl_important_hwcaps): Moved to ...
18600 * elf/dl-hwcaps.c: Here. New file.
18601 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18602
9cee5585 18603 [BZ #14557]
bb859b06
L
18604 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18605 if IS_IN_rtld isn't defined.
18606
9cee5585
L
18607 * elf/dl-support.c (_dl_sysinfo_map): New.
18608 Include "get-dynamic-info.h" and "setup-vdso.h".
18609 (_dl_non_dynamic_init): Call setup_vdso.
18610 * elf/dynamic-link.h: Don't include <assert.h>.
18611 (elf_get_dynamic_info): Moved to ...
18612 * elf/get-dynamic-info.h: Here. New file.
18613 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18614 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18615 * elf/setup-vdso.h: Here. New file.
18616 * elf/rtld.c: Include "setup-vdso.h".
18617 (dl_main): Call setup_vdso.
18618
23c31b76
JM
186192012-10-05 Joseph Myers <joseph@codesourcery.com>
18620
28234b07
JM
18621 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18622 creal in comment listing functions tested. List finite, isinf,
18623 isnan, isless, islessequal, isgreater, isgreaterequal,
18624 islessgreater, isunordered, lgamma_r and pow10 as functions and
18625 macros not tested. Mention which functions not tested are aliases
18626 for other functions. Fix typo. Note that signs of NaNs are not
18627 tested.
18628
23c31b76
JM
18629 * scripts/config.guess: Update from config.git.
18630 * scripts/config.sub: Likewise.
18631
9043e228
RM
186322012-10-04 Roland McGrath <roland@hack.frob.com>
18633
18634 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18635 * misc/madvise.c (madvise): Renamed to __madvise.
18636 Make madvise a weak alias.
18637 * include/sys/mman.h: Declare __madvise.
18638 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18639 * sysdeps/unix/syscalls.list
18640 (madvise): Make __madvise the strong name, and madvise a weak alias.
18641 * sysdeps/unix/sysv/linux/syscalls.list
18642 (madvise, mmap): Remove redundant entries.
18643 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18644 * malloc/malloc.c (mtrim): Likewise.
18645 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18646
f57f8055
RM
186472012-10-03 Roland McGrath <roland@hack.frob.com>
18648
18649 * sysdeps/mach/hurd/dl-cache.c: File removed.
18650 * config.h.in (USE_LDCONFIG): New #undef.
18651 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18652 * configure: Regenerated.
18653 * elf/Makefile (dl-routines): Add dl-cache only under
18654 [$(use-ldconfig) = yes].
18655 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18656 cache on [USE_LDCONFIG].
18657 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18658 [USE_LDCONFIG].
18659 * elf/rtld.c (dl_main): Likewise.
18660
5bb0c10a
PT
186612012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18662
18663 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18664 _SC_LEVEL4_CACHE_LINESIZE.
18665
010188c6
RM
186662012-10-03 Roland McGrath <roland@hack.frob.com>
18667
18668 * sysdeps/unix/bsd/confstr.h: File removed.
18669
b6c5ec07
AO
186702012-10-02 Alexandre Oliva <aoliva@redhat.com>
18671
18672 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18673 sys/sdt-config.h.
18674
408223d4
RM
186752012-10-02 Roland McGrath <roland@hack.frob.com>
18676
18677 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18678 Make 'mapoff' field ElfW(Off) rather than off_t.
18679
bb9510dc
DL
186802012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18681
fc997c6e
DL
18682 * nscd/Makefile: Remove nscd-cflags and all its users.
18683 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18684 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18685
bb9510dc
DL
18686 [BZ #10631]
18687 * malloc.c (malloc_printerr): Clarify error message.
18688
05699367
L
186892012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18690
18691 [BZ #14648]
18692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18693 Set bit_FMA_Usable if FMA is supported.
18694 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18695 macro.
18696 (bit_FMA4_Usable): Updated.
18697 (index_FMA_Usable): New macro.
18698 (CPUID_FMA): Likewise
18699 (HAS_FMA): Defined with bit_FMA_Usable.
18700
51367701
RM
187012012-10-01 Roland McGrath <roland@hack.frob.com>
18702
18703 * bits/types.h (__swblk_t): Type removed.
18704 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18705 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18707 (__SWBLK_T_TYPE): Likewise.
18708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18709 (__SWBLK_T_TYPE): Likewise.
18710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18711 (__SWBLK_T_TYPE): Likewise.
18712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18713 (__SWBLK_T_TYPE): Likewise.
18714
4d57bf63 187152012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18716 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18717
18718 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18719 (xdr_mapname): Use YPMAXMAP as maxsize.
18720 (xdr_peername): Use YPMAXPEER as maxsize.
18721 (xdr_keydat): Use YPAXRECORD as maxsize.
18722 (xdr_valdat): Use YPMAXRECORD as maxsize.
18723
93c65d43
RM
187242012-10-01 Roland McGrath <roland@hack.frob.com>
18725
497a03d6
RM
18726 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18727
93c65d43
RM
18728 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18729 * csu/init-first.c: ... here.
18730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18731 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18732 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18733 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18734 * sysdeps/i386/init-first.c: File removed.
18735 * sysdeps/sh/init-first.c: File removed.
18736
bec749fd
JM
187372012-10-01 Joseph Myers <joseph@codesourcery.com>
18738
18739 [BZ #14645]
18740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18741 if x * y might underflow to zero and z is zero.
18742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18744 * math/libm-test.inc (min_subnorm_value): New variable.
18745 (fma_test): Add more tests.
18746 (fma_test_towardzero): Likewise.
18747 (fma_test_downward): Likewise
18748 (fma_test_upward): Likewise.
18749 (initialize): Set min_subnorm_value.
18750
8ec5b013
JM
187512012-09-29 Joseph Myers <joseph@codesourcery.com>
18752
18753 [BZ #14638]
18754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18755 0 + 0.
18756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18757 mode for addition resulting in exact zero.
18758 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18760 exact 0 + 0.
18761 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18763 * math/libm-test.inc (fma_test): Add more tests.
18764 (fma_test_towardzero): New function.
18765 (fma_test_downward): Likewise.
18766 (fma_test_upward): Likewise.
18767 (main): Call the new functions.
18768
b1fa802e
DM
187692012-09-28 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18772
d3b9fd9e
RM
187732012-09-28 Roland McGrath <roland@hack.frob.com>
18774
ea4d37b3
RM
18775 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18776 instead of SIGALRM.
18777
ac51c949
RM
18778 * sysdeps/gnu/_G_config.h: Moved to ...
18779 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18780 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18781 * sysdeps/generic/_G_config.h: ... here.
18782
28c195f7
RM
18783 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18784
848917f9
RM
18785 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18786
6bacf05b
RM
18787 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18788 Conditionalize target on [libnss_test1.so-version].
18789
91363dbb
RM
18790 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18791
cc87f7d8
RM
18792 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18793 (elfobjdir): Move out of conditionals.
18794
b1c608fe
RM
18795 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18796 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18797 (__nss_lookup_function): Conditionalize label remove_from_tree on
18798 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18799
1d9a6d96
DM
188002012-09-28 David S. Miller <davem@davemloft.net>
18801
18802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18803 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18804 file.
18805 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18806 sysdep_routines.
18807 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18809 when HWCAP_SPARC_CRYPTO is present.
18810
72581615
PT
188112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18812
18813 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18814
715a900c
JL
188152012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18816
18817 [BZ #6530]
18818 * stdio-common/vfprintf.c (process_string_arg): Revert
18819 2000-07-22 change.
18820
188212011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18822
18823 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18824 for testcase.
18825 * stdio-common/tst-sprintf.c: Include <locale.h>
18826 (main): Test sprintf's handling of incomplete multibyte
18827 characters.
18828
9bac1d86
L
188292012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18830
18831 * elf/dl-runtime.c (VERSYMIDX): Removed.
18832 * elf/dl-version.c (VERSYMIDX): Likewise.
18833 * elf/do-rel.h (VERSYMIDX): Likewise.
18834 (VALIDX): Likewise.
18835 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18836 * elf/rtld.c (VALIDX): Likewise.
18837 (ADDRIDX): Likewise.
9bac1d86
L
18838 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18839 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18840 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18841 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18842 (VALIDX): Likewise.
18843 (ADDRIDX): Likewise.
9bac1d86 18844
b31606c0
PT
188452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18846
18847 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18848
11541177
JL
188492012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18850
18851 [BZ #11438]
18852 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18853 to global scope.
18854 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18855 addresses are in the same scope as 192.0.2/24.
18856 * posix/gai.conf: Document new scope table defaults.
18857
adb26fae
SP
188582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18859
18860 [BZ #5298]
18861 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18862 for ftell. Compute offsets from write pointers instead.
18863 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18864
4573c6b0
SP
188652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18866
18867 [BZ #14543]
18868 * libio/Makefile (tests): New test case tst-fseek.
18869 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18870 combination works in wide mode.
18871 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18872 state when the external buffer state changes.
18873
aa9bbfe6
DM
188742012-09-27 David S. Miller <davem@davemloft.net>
18875
18876 [BZ #14376]
18877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18878 pass reloc->r_addend in as the 'high' argument to
18879 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18880
784421e7
DM
18881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18882
c39bc8b8
PT
188832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18884
18885 * rt/tst-aio2.c: Include <pthread.h>.
18886 * rt/tst-aio3.c: Likewise.
18887
1ccc2399
SE
188882012-09-27 Steve Ellcey <sellcey@mips.com>
18889
18890 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18891
31ed4153
L
188922012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18893
25f5f885
L
18894 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18895 contents on [SHARED].
31ed4153 18896
b7bfe116
MP
188972012-09-26 Marek Polacek <polacek@redhat.com>
18898
18899 [BZ #14530]
18900 [BZ #13741]
18901 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18902 for C++ and GCC <4.3 as well as for non GCC compilers.
18903
43c4edba
MT
189042012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18905
18906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18907
6a1bf82f
RM
189082012-09-25 Roland McGrath <roland@hack.frob.com>
18909
18910 * Makefile.in (all, install): Declare with .PHONY.
18911 Reported by Michael Hope <michael.hope@linaro.org>.
18912
8ad11b9a
TMQMF
189132012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18914
18915 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18916 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18917 system header.
18918 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18919 Likewise.
18920 (sydep_routines): Add the new and the internal functions.
18921 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18922 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18924 (GLIBC_2.17): Add the new function.
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18926 (GLIBC_2.17): Likewise.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18928 (GLIBC_2.17): Likewise.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18930 (GLIBC_2.17): Likewise.
18931 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18932
7e2fca8d
AM
189332012-09-25 Alan Modra <amodra@gmail.com>
18934
18935 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18936 Add release barrier before setting once_control to say
18937 initialisation is done. Add hints on lwarx. Use macro in
18938 place of isync.
18939 (clear_once_control): Add release barrier.
18940
b87c4b24
JM
189412012-09-25 Joseph Myers <joseph@codesourcery.com>
18942
d032e0d2
JM
18943 [BZ #13629]
18944 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18945 specially.
18946 * math/s_clog10.c (__clog10): Likewise.
18947 * math/s_clog10f.c (__clog10f): Likewise.
18948 * math/s_clog10l.c (__clog10l): Likewise.
18949 * math/s_clogf.c (__clogf): Likewise.
18950 * math/s_clogl.c (__clogl): Likewise.
18951 * math/Makefile (libm-calls): Add x2y2m1.
18952 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18953 (__x2y2m1): Likewise.
18954 (__x2y2m1l): Likewise.
18955 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18956 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18959 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18960 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18961 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18962 * sysdeps/i386/fpu/libm-test-ulps: Update.
18963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18964
b87c4b24
JM
18965 [BZ #14621]
18966 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18967 int as type of variable DEPTH.
18968 (glob): Use size_t instead of int as type of variables NEWCOUNT
18969 and OLD_PATHC.
18970
6d3bf199
LD
189712012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18972
22bf5c17
LD
18973 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18974 Add s_sincosf-sse2.
18975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18976 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18977 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18978 macros for using routine as __sincosf_ia32.
18979 Use macro for function declaration and weak_alias.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981
18982 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18984
18985 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18986 subnormal argument.
18987 * math/s_cexpf.c (__cexpf): Likewise.
18988 * math/s_csinf.c (__csinf): Likewise.
18989 * math/s_csinhf.c (__csinhf): Likewise.
18990 * math/s_ctanf.c (__ctanf): Likewise.
18991 * math/s_ctanhf.c (__ctanhf): Likewise.
18992 * math/s_ccosh.c (__ccoshf): Likewise.
18993 * math/s_cexp.c (__cexpl): Likewise.
18994 * math/s_csin.c (__csin): Likewise.
18995 * math/s_csinh.c (__csinh): Likewise.
18996 * math/s_ctan.c (__ctan): Likewise.
18997 * math/s_ctanh.c (ctanh): Likewise.
18998 * math/s_ccoshl.c (__ccoshl): Likewise.
18999 * math/s_cexpl.c (__cexpl): Likewise.
19000 * math/s_csinl.c (__csinl): Likewise.
19001 * math/s_csinhl.c (__csinhl): Likewise.
19002 * math/s_ctanl.c (__ctanl): Likewise.
19003 * math/s_ctanhl.c (__ctanhl): Likewise.
19004
203e5603
JM
190052012-09-25 Joseph Myers <joseph@codesourcery.com>
19006
19007 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19008 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19009 (_IO_off_t): Define to __off_t, not _G_off_t.
19010 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19011 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19012 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19013 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19014 type of __dummy and __dummy2 fields.
19015 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19016 (_G_ssize_t): Likewise.
19017 (_G_off_t): Likewise.
19018 (_G_pid_t): Likewise.
19019 (_G_uid_t): Likewise.
19020 (_G_wchar_t): Likewise.
19021 (_G_wint_t): Likewise.
19022 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19023 (_G_ssize_t): Likewise.
19024 (_G_off_t): Likewise.
19025 (_G_pid_t): Likewise.
19026 (_G_uid_t): Likewise.
19027 (_G_wchar_t): Likewise.
19028 (_G_wint_t): Likewise.
19029 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19030 (_G_ssize_t): Likewise.
19031 (_G_off_t): Likewise.
19032 (_G_pid_t): Likewise.
19033 (_G_uid_t): Likewise.
19034 (_G_wchar_t): Likewise.
19035 (_G_wint_t): Likewise.
19036
9fab36eb
SP
190372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19038
19039 * malloc/arena.c: Include malloc-sysdep.h.
19040 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19041 is sufficient to shrink the heap or an unmap is needed.
19042 * sysdeps/generic/malloc-sysdep.h: New file. Define
19043 new function check_may_shrink_heap.
19044 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19045 new function check_may_shrink_heap.
19046
2b4f00d1
SP
190472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19048
19049 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19050 comments.
19051
9a9028b1
DL
190522012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19053
57c69bef
DL
19054 * catgets/test-gencat.sh: Add "set -e".
19055 * elf/tst-pathopt.sh: Likewise.
19056 * grp/tst_fgetgrent.sh: Likewise.
19057 * iconvdata/run-iconv-test.sh: Likewise.
19058 * intl/tst-gettext.sh: Likewise.
19059 * intl/tst-gettext2.sh: Likewise.
19060 * intl/tst-gettext4.sh: Likewise.
19061 * intl/tst-gettext6.sh: Likewise.
19062 * intl/tst-translit.sh: Likewise.
19063 * io/ftwtest-sh: Likewise.
19064 * libio/test-freopen.sh: Likewise.
19065 * malloc/tst-mtrace.sh: Likewise.
19066 * posix/globtest.sh: Likewise.
19067 * posix/tst-getconf.sh: Likewise.
19068 * posix/wordexp-tst.sh: Likewise.
19069 * stdio-common/tst-printf.sh: Likewise.
19070 * stdio-common/tst-unbputc.sh: Likewise.
19071 * stdlib/tst-fmtmsg.sh: Likewise.
19072 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19073 * catgets/Makefile: Do not specify -e option when running
19074 testsuite shell scripts.
19075 * elf/Makefile: Likewise.
19076 * grp/Makefile: Likewise.
19077 * iconvdata/Makefile: Likewise.
19078 * intl/Makefile: Likewise.
19079 * io/Makefile: Likewise.
19080 * libio/Makefile: Likewise.
19081 * malloc/Makefile: Likewise.
19082 * posix/Makefile: Likewise.
19083 * stdio-common/Makefile: Likewise.
19084 * stdlib/Makefile: Likewise.
19085 * sysdeps/x86_64/Makefile: Likewise.
19086
9a9028b1
DL
19087 * io/ftwtest-sh: Add copyright header.
19088 * posix/globtest.sh: Likewise.
19089 * posix/tst-getconf.sh: Likewise.
19090 * posix/wordexp-tst.sh: Likewise.
19091 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19092
ced6f16e
L
190932012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19094
94b32c39
L
19095 [BZ #13679]
19096 * Makeconfig (+link): Defined as $(+link-static) if
19097 $(build-shared) isn't yes.
19098 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19099 isn't yes.
19100 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19101
189e935b
L
19102 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19103
ced6f16e
L
19104 [BZ #14562]
19105 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19106 new chunk size with MALLOC_ALIGN_MASK.
19107
a9f8e53a
JM
191082012-09-24 Joseph Myers <joseph@codesourcery.com>
19109
19110 [BZ #5044]
19111 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19112 <rounding-mode.h>.
19113 (__printf_fphex): Determine rounding using get_rounding_mode and
19114 round_away.
19115 * stdio-common/tst-printf-round.c (struct hex_test): New
19116 structure.
19117 (hex_tests): New variable.
19118 (test_hex_in_one_mode): New function.
19119 (do_test): Also run tests for hex float output.
19120
43153109
JM
191212012-09-21 Joseph Myers <joseph@codesourcery.com>
19122
19123 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19124 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19125 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19126 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19128 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19129 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19131
8a26625d
JM
191322012-09-20 Joseph Myers <joseph@codesourcery.com>
19133
19134 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19135 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19136 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19137 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19138
f3fd569c
DL
191392012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19140
19141 [BZ #14579]
19142 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19143 mode only.
19144 * elf/tst-rtld-load-self.sh: New test.
19145 * elf/Makefile: Run it.
19146
63bbedd4
JM
191472012-09-18 Joseph Myers <joseph@codesourcery.com>
19148
19149 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19150 (tst-writev-ENV): Remove.
19151 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19152
626f8b6a
CM
191532012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19154
19155 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19156
b7aaa4d6
JM
191572012-09-17 Joseph Myers <joseph@codesourcery.com>
19158
19159 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19160 unconditional.
19161 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19162 Likewise.
19163 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19164 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19165 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19166 Likewise.
19167
65513990
L
191682012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 [BZ #14587]
19171 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19172 * config.make.in (have-cpp-asm-debuginfo): Removed.
19173 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19174 * configure: Regenerated.
19175
784761be
JM
191762012-09-14 Joseph Myers <joseph@codesourcery.com>
19177
19178 [BZ #5044]
19179 * stdio-common/printf_fp.c: Include <stdbool.h> and
19180 <rounding-mode.h>.
19181 (___printf_fp): Determine rounding using get_rounding_mode and
19182 round_away.
19183 * stdio-common/tst-printf-round.c: New file.
19184 * stdio-common/Makefile (tests): Add tst-printf-round.
19185 (link-libm): New variable.
19186 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19187
9503345f
L
191882012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 [BZ #14576]
19191 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19192 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19193 Likewise.
19194 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19195 Likewise.
19196
ad35fc00
JM
191972012-09-13 Joseph Myers <joseph@codesourcery.com>
19198
19199 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19200 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19201 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19202 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19203
6c9b0f68
JM
192042012-09-12 Joseph Myers <joseph@codesourcery.com>
19205
19206 [BZ #14518]
19207 * include/rounding-mode.h: New file.
19208 * sysdeps/generic/get-rounding-mode.h: Likewise.
19209 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19210 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19211 (MAX_VALUE): New macro.
19212 (MIN_VALUE): Likewise.
19213 (overflow_value): New function.
19214 (underflow_value): Likewise.
19215 (round_and_return): Use overflow_value and underflow_value to
19216 determine return values in overflow and underflow cases. Use
19217 round_away to determine rounding depending on rounding mode.
19218 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19219 determine return values in overflow and underflow cases.
19220 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19221 (struct test_results): New structure.
19222 (struct test): Use struct test_results to store expected results
19223 for all rounding modes.
19224 (TEST): Include expected results for all rounding modes.
19225 (test_in_one_mode): New function.
19226 (do_test): Use test_in_one_mode to compute and check results.
19227 Check results for all rounding modes.
19228 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19229 $(link-libm).
19230
19fcedd5
AM
192312012-12-09 Allan McRae <allan@archlinux.org>
19232
1e9d84cd 19233 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19234
8bbfd2f1
JM
192352012-09-11 Joseph Myers <joseph@codesourcery.com>
19236
19237 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19238 (_G_int32_t): Likewise.
19239 (_G_uint16_t): Likewise.
19240 (_G_uint32_t): Likewise.
19241 (_G_HAVE_BOOL): Likewise.
19242 (_G_HAVE_ATEXIT): Likewise.
19243 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19244 (_G_HAVE_IO_FILE_OPEN): Likewise.
19245 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19246 (_G_int32_t): Likewise.
19247 (_G_uint16_t): Likewise.
19248 (_G_uint32_t): Likewise.
19249 (_G_HAVE_BOOL): Likewise.
19250 (_G_HAVE_ATEXIT): Likewise.
19251 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19252 (_G_HAVE_IO_FILE_OPEN): Likewise.
19253 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19254 (_G_int32_t): Likewise.
19255 (_G_uint16_t): Likewise.
19256 (_G_uint32_t): Likewise.
19257 (_G_HAVE_BOOL): Likewise.
19258 (_G_HAVE_ATEXIT): Likewise.
19259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19260 (_G_HAVE_IO_FILE_OPEN): Likewise.
19261
b1dc5912
L
192622012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19263
19264 * csu/libc-tls.c: Update copyright years.
19265
0e886ef9
JM
192662012-09-10 Joseph Myers <joseph@codesourcery.com>
19267
28361c5e
JM
19268 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19269 [!_G_USING_THUNKS]: Remove conditional code.
19270 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19271 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19272
0e886ef9
JM
19273 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19274 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19275 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19276 (_G_VTABLE_LABEL_PREFIX): Likewise.
19277 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19278 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19279 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19280 (_G_VTABLE_LABEL_PREFIX): Likewise.
19281 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19282 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19283 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19284 (_G_VTABLE_LABEL_PREFIX): Likewise.
19285 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19286
bcba7aa2
L
192872012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19288
19289 * libio/Makefile: Include ../Makeconfig before tests.
19290 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19291 only if $(build-shared) is yes.
19292
06585ee8
L
19293 * iconv/gconv_db.c: Update copyright years.
19294
80ccd52c
LD
192952012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19296
19297 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19298 unwind info if defined PIC. Fix special cases description.
19299 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19300
19301 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19302 DP_HI_MASK entry.
19303 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19304
691bc9c1
L
193052012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19306
3d9b46b3
L
19307 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19308
de2139a9
L
19309 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19310 is NULL.
19311
5ca78dd0
L
19312 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19313 (LDLIBS-tst-chk4): This.
19314 (LDFLAGS-tst-chk5): Renamed to ...
19315 (LDLIBS-tst-chk5): This.
19316 (LDFLAGS-tst-chk6): Renamed to ...
19317 (LDLIBS-tst-chk6): This.
19318 (LDFLAGS-tst-lfschk4): Renamed to ...
19319 (LDLIBS-tst-lfschk4): This.
19320 (LDFLAGS-tst-lfschk5): Renamed to ...
19321 (LDLIBS-tst-lfschk5): This.
19322 (LDFLAGS-tst-lfschk6): Renamed to ...
19323 (LDLIBS-tst-lfschk6): This.
19324
691bc9c1
L
19325 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19326 on $(common-objpfx)soversions.mk.
19327
65cafb1c
JM
193282012-09-07 Joseph Myers <joseph@codesourcery.com>
19329
19330 [BZ #10014]
19331 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19332 example host name.
19333
c78ab094
SP
193342012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
19336 * malloc/arena.c (arena_get_retry): New function that gets
19337 another arena for the caller to try its request on.
19338 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19339 current arena cannot fulfill the request.
19340 (__libc_memalign): Likewise.
19341 (__libc_memalign): Likewise.
19342 (__libc_pvalloc): Likewise.
19343 (__libc_calloc): Likewise.
19344
01f49f59
JT
193452012-09-05 John Tobey <john.tobey@gmail.com>
19346
19347 [BZ #13542]
19348 * manual/arith.texi (Operations on Complex): Fix description
19349 of carg branch cut.
19350
4c23fed5
JM
193512012-09-06 Joseph Myers <joseph@codesourcery.com>
19352
1d3c8572
JM
19353 [BZ #10014]
19354 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19355 host name.
19356
4c23fed5
JM
19357 [BZ #10038]
19358 * manual/memory.texi (Memory): Make order of menu items match
19359 order of sections.
19360
04570aaa
L
193612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19364 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19365 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19366
b80af2f4
L
193672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19368
19369 * csu/libc-tls.c (static_dtv): Renamed to ...
19370 (_dl_static_dtv): This. Make it global.
19371 (_dl_initial_dtv): Removed.
19372 (__libc_setup_tls): Updated.
19373 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19374 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19375 DL_INITIAL_DTV.
19376
2abe9f15
PM
193772012-09-06 Petr Machata <pmachata@redhat.com>
19378
19379 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19380 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19381 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19382 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19383
0948c3af
L
193842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 [BZ #14545]
19387 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19388 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19389 freeing dtv[-1].
19390
a5055ad1
L
193912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19392
19393 [BZ #14544]
19394 * Makeconfig (link-static-before-libc): Replace $(+prector)
19395 with $(+prectorT).
19396 (link-static-after-libc): Replace $(+postctor) with
19397 $(+postctorT).
19398 (link-bounded): Replace $(+prector)/$(+postctor) with
19399 $(+prectorT)/$(+postctorT).
19400 (+prectorT): New macro.
19401 (+postctorT): Likewise.
19402
ed8c2ecd
JM
194032012-09-06 Joseph Myers <joseph@codesourcery.com>
19404
19405 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19406 (round_str): Handle values above the maximum for IBM long double
19407 as inexact.
19408 * stdlib/tst-strtod-round.c (tests): Regenerated.
19409
14c996c8
AK
194102012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19411
19412 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19413 assembler flag.
19414 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19415 zarch_nohighgprs around the zarch optimized routines.
19416 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19417 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19418 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19419 for zarch.
19420
430d6ce6
DM
194212012-09-05 David S. Miller <davem@davemloft.net>
19422
19423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19424
ff04dda4
DM
19425 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19426 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19427 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19428 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19429 entries.
19430
24d4e01b
AO
194312012-09-05 Alexandre Oliva <aoliva@redhat.com>
19432
19433 * malloc/arena.c: Fold copyright years.
19434 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19435
61d58174
AO
194362012-09-05 Alexandre Oliva <aoliva@redhat.com>
19437
19438 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19439
20196a5e
AO
194402012-09-05 Alexandre Oliva <aoliva@redhat.com>
19441
19442 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19443
5c447383
AO
194442012-09-05 Alexandre Oliva <aoliva@redhat.com>
19445
19446 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19447 change internal state upon failure.
19448
fad64255
AO
194492012-09-05 Alexandre Oliva <aoliva@redhat.com>
19450
19451 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19452 * malloc/memusage.c (mmap): Likewise.
19453 (mmap64, mremap): Likewise. Adjust name in comment.
19454
1ffb8c90
SP
194552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19456
19457 * libio/fileops.c: Fix typos in comments.
19458 * libio/oldfileops.c: Likewise.
19459 * libio/wfileops.c: Likewise.
19460
6ef9cc37
SP
194612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19462
19463 [BZ #1349]
19464 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19465 (tst-malloc-usable-ENV): Set environment for test case.
19466 * malloc/hooks.c (malloc_check_get_size): New function to get
19467 requested size.
19468 * malloc/malloc.c (musable): Use malloc_check_get_size.
19469 * malloc/tst-malloc-usable.c: New test case.
19470
4d038ae3
AS
194712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19472
19473 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19474
c4e85184
AM
194752012-09-05 Allan McRae <allan@archlinux.org>
19476
b9dafc56 19477 [BZ #13966]
c4e85184
AM
19478 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19479 determine header location.
19480 * configure: Regenerated.
19481
e1343020
AS
194822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19483
19484 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19485 float format.
19486 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19487 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19488 format.
e1343020
AS
19489 (test): Regenerate.
19490
0a9f1987
DM
194912012-09-04 David S. Miller <davem@davemloft.net>
19492
19493 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19494 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19496
29237804
FW
194972012-09-04 Florian Weimer <fweimer@redhat.com>
19498
19499 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19500 failures.
19501
edb3cb88
FW
19502 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19503
60160d83
JM
195042012-09-04 Joseph Myers <joseph@codesourcery.com>
19505
19506 [BZ #9914]
19507 * libio/iogetdelim.c: Include <limits.h>.
19508 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19509 + len + 1 would overflow.
19510
bcd6c8dc
AJ
195112012-09-03 Andreas Jaeger <aj@suse.de>
19512
19513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19514 * sysdeps/i386/fpu/libm-test-ulps: Update.
19515
4ffffbd2
LD
195162012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19517
19518 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19519 Add s_sinf-sse2, s_conf-sse2.
19520
19521 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19522 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19523 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19524 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19525
19526 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19527 for using routine as __sinf_ia32.
19528 Use macro for function declaration and weak_alias.
19529 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19530 for using routine as __cosf_ia32.
19531 Use macro for function declaration and weak_alias.
19532
19533 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19534 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19535
19536 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19537 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19539
19540 * math/libm-test.inc (cos_test): Add more test cases.
19541 (sin_test): Likewise.
19542 (sincos_test): Likewise.
19543
511fa286
AK
195442012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19545
19546 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19547 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19548 hidden.
19549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19550
5f30cfec
L
195512012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19552
19553 [BZ #14538]
19554 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19555 first element of the GOT.
19556 (elf_machine_load_address): Return the difference between
19557 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19558
0786794f
AM
195592012-09-01 Allan McRae <allan@archlinux.org>
19560
5f30cfec
L
19561 [BZ #13412]
19562 * configure.in (AWK): Require gawk version 3.0 or later.
19563 * configure: Regenerated.
0786794f 19564
26889eac
JM
195652012-09-01 Joseph Myers <joseph@codesourcery.com>
19566
19567 * sysdeps/unix/sysv/linux/kernel-features.h
19568 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19570 [__NR_clock_getres]: Make code unconditional.
19571 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19572 (clock_getcpuclockid): Remove code left unreachable by removal of
19573 conditionals.
19574 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19575 code unconditional.
19576 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19577 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19578 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19579 Make code unconditional.
19580 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19581 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19582 * sysdeps/unix/sysv/linux/clock_settime.c
19583 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19584 conditional code.
19585 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19587
d22e28b0
L
195882012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19589
19590 [BZ #14476]
19591 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19592 scripts/test-installation.pl.
19593
19594 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19595 and $ld_so_version if it is set.
19596
050af9c4
SP
195972012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19598
19599 [BZ #14516]
19600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19601 failure if reading from procfs failed.
19602 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19603
ad845c0b
JM
196042012-08-27 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/unix/sysv/linux/kernel-features.h
19607 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19608 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19609 Remove conditional code.
19610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19611 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19612 Remove conditional code.
19613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19614 * sysdeps/unix/sysv/linux/i386/fxstat.c
19615 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19617 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19620 * sysdeps/unix/sysv/linux/i386/lxstat.c
19621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19623 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19624 Remove conditional code.
19625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19626 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19627 Remove conditional code.
19628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19629 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19630 <kernel-features.h>.
19631 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19632 Remove.
19633 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19634 Remove conditional code.
19635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19636 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19637 Remove conditional.
19638
5dbf56af
MF
196392012-08-27 Mike Frysinger <vapier@gentoo.org>
19640
19641 [BZ #5400]
19642 * NEWS: Add fixed bug number.
19643
d6e70f43
JM
196442012-08-27 Joseph Myers <joseph@codesourcery.com>
19645
7efb4737
JM
19646 [BZ #14519]
19647 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19648 underflowing exponent in case of negative sign.
19649 * stdlib/tst-strtod-round-data: Add more tests.
19650 * stdlib/tst-strtod-round.c (tests): Regenerated.
19651
af92131a
JM
19652 [BZ #3479]
19653 * stdlib/strtod_l.c (NDIG): Remove.
19654 (HEXNDIG): Likewise.
19655 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19656 smallest representable value.
19657 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19658 lie within an exact representation of 1/2 ulp of the result.
19659 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19660 unconditionally.
19661 (TENS_P9_IDX): Define unconditionally.
19662 (TENS_P9_SIZE): Likewise.
19663 (TENS_P10_IDX): Likewise.
19664 (TENS_P10_SIZE): Likewise.
19665 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19666 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19667 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19668 entries for 10^2^13 and 10^2^14.
19669 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19670 (TENS_P13_IDX): Define.
19671 (TENS_P13_SIZE): Likewise.
19672 (TENS_P14_IDX): Likewise.
19673 (TENS_P14_SIZE): Likewise.
19674 (_fpioconst_pow10): Change array size to
19675 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19676 unconditional.
19677 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19678 1024]: Add entries for 10^2^13 and 10^2^14.
19679 [LAST_POW10 > _LAST_POW10]: Remove #error.
19680 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19681 (_fpioconst_pow10): Change array size to
19682 FPIOCONST_POW10_ARRAY_SIZE.
19683 * stdlib/gen-fpioconst.c: New file.
19684 * stdlib/gen-tst-strtod-round.c: Likewise.
19685 * stdlib/tst-strtod-round-data: Likewise.
19686 * stdlib/tst-strtod-round.c: Likewise.
19687 * stdlib/Makefile (tests): Add tst-strtod-round.
19688
d6e70f43
JM
19689 [BZ #14459]
19690 * stdlib/strtod_l.c: Include <stdint.h>.
19691 (NDEBUG): Do not define.
19692 (round_and_return): Change EXPONENT parameter to type intmax_t.
19693 Rearrange calculations to avoid internal overflow possibilities.
19694 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19695 Rearrange calculations to avoid internal overflow possibilities.
19696 Assert that number fits inside MPNSIZE limbs.
19697 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19698 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19699 calculations and add assertions to avoid internal overflow
19700 possibilities. Add casts to avoid signed/unsigned operations.
19701 * stdlib/tst-strtod-overflow.c: New file.
19702 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19703
1f529f7d
MP
197042012-08-25 Marek Polacek <polacek@redhat.com>
19705
19706 * time/time.h: Fix some typos in comments.
19707
59a629f1
RM
197082012-08-23 Roland McGrath <roland@hack.frob.com>
19709
19710 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19711 * posix/tst-rfc3484-2.c: Likewise.
19712 * posix/tst-rfc3484-3.c: Likewise.
19713
d3bafbc9
SM
197142012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19715
19716 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19717 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19718
4efcc022
JM
197192012-08-23 Joseph Myers <joseph@codesourcery.com>
19720
19721 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19722 #include of fxstatat64.c.
19723
3cc3ef96
RM
197242012-08-22 Roland McGrath <roland@hack.frob.com>
19725
f04e2132
RM
19726 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19727 * shadow/getspent_r.c: Likewise.
19728 * shadow/getspnam.c: Likewise.
19729 * shadow/getspnam_r.c: Likewise.
19730 * gshadow/getsgent.c: Likewise.
19731 * gshadow/getsgent_r.c: Likewise.
19732 * gshadow/getsgnam.c: Likewise.
19733 * gshadow/getsgnam_r.c: Likewise.
19734 * inet/getnetbyad.c: Likewise.
19735 * inet/getnetbyad_r.c: Likewise.
19736 * inet/getnetbynm.c: Likewise.
19737 * inet/getnetbynm_r.c: Likewise.
19738 * inet/getnetent.c: Likewise.
19739 * inet/getnetent_r.c: Likewise.
19740 * inet/getproto.c: Likewise.
19741 * inet/getproto_r.c: Likewise.
19742 * inet/getprtent.c: Likewise.
19743 * inet/getprtent_r.c: Likewise.
19744 * inet/getprtname.c: Likewise.
19745 * inet/getprtname_r.c: Likewise.
19746 * inet/getrpcbyname.c: Likewise.
19747 * inet/getrpcbyname_r.c: Likewise.
19748 * inet/getrpcbynumber.c: Likewise.
19749 * inet/getrpcbynumber_r.c: Likewise.
19750 * inet/getrpcent.c: Likewise.
19751 * inet/getrpcent_r.c: Likewise.
19752 * inet/getaliasent.c: Likewise.
19753 * inet/getaliasent_r.c: Likewise.
19754 * inet/getaliasname.c: Likewise.
19755 * inet/getaliasname_r.c: Likewise.
19756 * nscd/getgrgid_r.c: Likewise.
19757 * nscd/getgrnam_r.c: Likewise.
19758 * nscd/gethstbyad_r.c: Likewise.
19759 * nscd/gethstbynm3_r.c: Likewise.
19760 * nscd/getpwnam_r.c: Likewise.
19761 * nscd/getpwuid_r.c: Likewise.
19762 * nscd/getsrvbynm_r.c: Likewise.
19763 * nscd/getsrvbypt_r.c: Likewise.
19764 * nscd/gai.c: Likewise.
19765
c53d909c
RM
19766 * configure.in (build_nscd): New substituted variable, set
19767 by --disable-build-nscd and defaults to $use_nscd.
19768 * configure: Regenerated.
19769 * config.make.in (build-nscd): New substituted variable.
19770 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19771 Change conditional to require [$(build-nscd) = yes] as well.
19772 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19773
3cc3ef96
RM
19774 [BZ# 13696]
19775 * configure.in (use_nscd): New substituted variable, set by
19776 --disable-nscd. If enabled, define USE_NSCD.
19777 * configure: Regenerated.
19778 * config.h.in: Add USE_NSCD.
19779 * config.make.in (use-nscd): New substituted variable.
19780 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19781 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19782 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19783 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19784 (CFLAGS-getgrnam_r.c): Likewise.
19785 (CFLAGS-initgroups.c): Likewise.
19786 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19787 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19788 Variables removed.
19789 * inet/getnetgrent_r.c
19790 (nscd_setnetgrent): New function, broken out of ...
19791 (setnetgrent): ... here. Call it.
19792 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19793 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19794 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19795 * nscd/Makefile (routines, aux): Move definitions after include of
19796 Makeconfig. Conditionalize on [$(use-nscd) != no].
19797 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19798 Conditionalize on [USE_NSCD].
19799 (is_nscd, nscd_init_cb): Likewise.
19800 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19801 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19802 * nss/nss_db/db-init.c: Likewise.
19803 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19804 [USE_NSCD].
19805 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19806 (make_request): Use it.
19807 (cache_valid_p): New function.
19808 (__check_pf): Use it.
19809 * NEWS: Add item for --disable-nscd.
19810
07e51550
DL
198112012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19812
19813 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19814 to support sed >= 4.2.1-20-ga9bf076.
19815 * configure: Regenerated.
19816
35a5b08b
RM
198172012-08-22 Roland McGrath <roland@hack.frob.com>
19818
19819 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19820 Conditionalize whole body on [IREL].
19821
8479f23a
JL
198222012-08-22 Jeff Law <law@redhat.com>
19823
19824 [BZ #14505]
19825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19826 if the family is PF_UNSPEC.
19827
48da0b21
MF
198282012-08-22 Mike Frysinger <vapier@gentoo.org>
19829
19830 * Makerules (lib-version): Rename from V.
19831 (install-lib-nosubdir): Change V to lib-version.
19832
15d0da8c
WS
198332012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19834
19835 [BZ #14252]
19836 * powerpc32/power6/wcschr.c: New file.
19837 * powerpc32/power6/wcscpy.c: New file.
19838 * powerpc32/power6/wcsrchr.c: New file.
19839 * powerpc64/power6/wcschr.c: New file.
19840 * powerpc64/power6/wcscpy.c: New file.
19841 * powerpc64/power6/wcsrchr.c: New file.
19842
bcca0895
MK
198432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19844
19845 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19846 (two_way_short_needle): Use it.
5a4aaa33
RM
19847 * string/strstr.c (AVAILABLE1_USES_J): Define.
19848 * string/strcasestr.c: Likewise.
99677e57
MK
19849
19850 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19851 array references.
19852 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19853
400726de
MK
19854 [BZ #11607]
19855 * NEWS: Add an entry.
19856 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19857 define their defaults.
19858 (two_way_short_needle): Detect end-of-string on-the-fly.
19859 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19860 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19861 * string/bug-strcasestr1.c: New test.
19862 * string/Makefile: Run it.
19863
20a71f2c
MK
198642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19865
19866 [BZ #11607]
19867 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19868 the first character.
19869
21ad0558
RM
198702012-08-21 Roland McGrath <roland@hack.frob.com>
19871
19872 * csu/elf-init.c (__libc_csu_irel): Function removed.
19873 * csu/libc-start.c (apply_irel): New function.
19874 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19875
0e1d9911
JM
198762012-08-21 Joseph Myers <joseph@codesourcery.com>
19877
19878 * sysdeps/unix/sysv/linux/kernel-features.h
19879 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19880 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19881 <kernel-features.h>.
19882 [__NR_fadvise64_64]: Make code unconditional.
19883 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19884 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19885 !__NR_fadvise64_64)]: Likewise.
19886 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19887 !__NR_fadvise64_64))]: Likewise.
19888 [__NR_fadvise64]: Make code unconditional.
19889 [!__NR_fadvise64]: Remove conditional code.
19890 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19891 <kernel-features.h>.
19892 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19893 unconditional.
19894 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19895 conditional code.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19897 not include <kernel-features.h>.
19898 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19899 unconditional.
19900 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19901 conditional code.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19903 include <kernel-features.h>.
19904 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19905 unconditional.
19906 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19907 conditional code.
19908
14a50c9d
WS
199092012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19910
19911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19912 slight instruction rearrangements per scrollpipe analysis.
19913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19914
c0f4faf0
RM
199152012-08-20 Roland McGrath <roland@hack.frob.com>
19916
696da859
RM
19917 * manual/syslog.texi (syslog; vsyslog, closelog):
19918 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19919 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19920
c0f4faf0
RM
19921 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19922 DSOCAPS to match condition on defining it.
19923
348363b2
JM
199242012-08-20 Joseph Myers <joseph@codesourcery.com>
19925
a35cbf28
JM
19926 * sysdeps/unix/sysv/linux/kernel-features.h
19927 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19929 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19930 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19937
445f7ecd
JM
19938 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19939 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19940
348363b2
JM
19941 * sysdeps/unix/sysv/linux/kernel-features.h
19942 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19943 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19944 unconditional.
19945 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19946 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19947 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19948 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19949 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19950 Make code unconditional.
19951 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19952 (__mmap64) [!__NR_mmap2]: Likewise.
19953 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19954 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19955 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19957 [__NR_mmap2]: Make code unconditional.
19958 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19959 (__mmap64) [!__NR_mmap2]: Likewise.
19960
bc5bc0e5
AK
199612012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19962
19963 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19964
88d506de
AJ
199652012-08-18 Andreas Jaeger <aj@suse.de>
19966
19967 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19968
493387d2
MF
199692012-08-18 Mike Frysinger <vapier@gentoo.org>
19970
19971 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19972 * include/unistd.h (__have_sock_cloexec): Likewise.
19973 (__have_pipe2): Likewise.
19974 (__have_dup3): Likewise.
19975
a277af22
MF
199762012-08-18 Mike Frysinger <vapier@gentoo.org>
19977
19978 [BZ #9685]
19979 * include/unistd.h (__have_pipe2): Change define into an extern int.
19980 (__have_dup3): Likewise.
19981 * socket/have_sock_cloexec.c: Include fcntl.h.
19982 (__have_pipe2): New variable.
19983 (__have_dup3): Likewise.
19984
fdab8fd3
MF
199852012-08-17 Mike Frysinger <vapier@gentoo.org>
19986
19987 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19988
31035e80
MP
199892012-08-17 Marek Polacek <polacek@redhat.com>
19990
19991 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19992 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19993
3bd9e993
RM
199942012-08-17 Roland McGrath <roland@hack.frob.com>
19995
c91c505f
RM
19996 * configure.in: Add AC_SUBST for sysheaders.
19997 * configure: Regenerated.
19998 * config.make.in (sysheaders): New substituted variable.
19999
7c6f9d53
RM
20000 * sysdeps/unix/mkfifo.c: Moved ...
20001 * sysdeps/posix/mkfifo.c: ... here.
20002 * sysdeps/unix/mkfifoat.c: Moved ...
20003 * sysdeps/posix/mkfifoat.c: ... here.
20004
20005 * sysdeps/unix/utime.c: Moved ...
20006 * sysdeps/posix/utime.c: ... here.
20007
20008 * sysdeps/unix/time.c: Moved ...
20009 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20010 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20011 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20012
20013 * sysdeps/unix/nice.c: Moved ...
20014 * sysdeps/posix/nice.c: ... here.
20015
20016 * sysdeps/unix/alarm.c: Moved ...
20017 * sysdeps/posix/alarm.c: ... here.
20018
3bd9e993
RM
20019 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20020
d1f09384
JL
200212012-08-17 Jeff Law <law@redhat.com>
20022
20023 * intl/Makefile (codeset_mo): New variable.
20024 ($(codeset_mo)): New target.
20025 (tst-codeset.out): Depend on that. Remove explicit rule.
20026 (tst-gettext3.out, tst-gettext5.out): Likewise.
20027 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20028 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20029 * intl/tst-codeset.sh: Remove.
20030 * intl/tst-gettext3.sh: Likewise.
20031 * intl/tst-gettext5.sh: Likewise.
20032
2ae1ae5c
RM
200332012-08-17 Roland McGrath <roland@hack.frob.com>
20034
c31fdb83
RM
20035 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20036 * sysdeps/unix/syscalls.list: ... here.
20037
a0844057
RM
20038 * sysdeps/posix/getaddrinfo.c
20039 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20040 (gaiconf_init, gaiconf_reload): Use them.
20041 [!_STATBUF_ST_NSEC]
20042 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20043 Define using time_t rather than struct timespec.
20044
750c1f2a
RM
20045 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20046 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20047 Macros removed.
20048 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20049 [!NO_THREADS].
20050 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20051 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20052 Likewise.
20053
2ae1ae5c
RM
20054 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20055 __libc_cleanup_push argument.
20056
e66a42f5
RM
20057 * bits/param.h: New file.
20058 * misc/sys/param.h: New file.
20059 * include/sys/param.h: New file.
20060 * misc/Makefile (headers): Add bits/param.h.
20061 * sysdeps/generic/sys/param.h: File removed.
20062 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20063 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20064 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20065 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20066
b7c08a66
RM
20067 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20068 last change.
20069
b2e1c562
RM
20070 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20071 [_IO_MTSAFE_IO].
20072 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20073 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20074 New macros.
20075
c75ccd4c
RM
20076 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20077 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20078 rather than -D_IO_MTSAFE_IO conditionally.
20079 * stdio-common/Makefile (CPPFLAGS): Likewise.
20080 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20081 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20082 Use $(libio-mtsafe).
20083 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20084 of -D_IO_MTSAFE_IO.
20085 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20086 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20087 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20088 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20089 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20090 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20091 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20092 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20093 (CFLAGS-fread_u_chk.c): Likewise.
20094 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20095 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20096 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20097 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20098 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20099 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20100 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20101 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20102 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20103
20104 * libio/Makefile: Test [$(libc-reentrant) = yes]
20105 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20106
20107 * Makeconfig
20108 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20109 * sysdeps/pthread/configure: File removed.
20110 * sysdeps/pthread/Makeconfig: New file.
20111 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20112 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20113
d9195db8
GB
201142012-08-16 Gary Benson <gbenson@redhat.com>
20115
20116 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20117 unmapping the first object in a namespace.
20118
86466cd9
RM
201192012-08-16 Roland McGrath <roland@hack.frob.com>
20120
20121 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20122 (__internal_setnetgrent): ... this. Add internal_function to
20123 definition. Add libc_hidden_def.
20124 (setnetgrent): Update caller.
20125 (internal_endnetgrent): Renamed to ...
20126 (__internal_endnetgrent): ... this. Add internal_function to
20127 definition. Add libc_hidden_def.
20128 (endnetgrent): Update caller.
20129 (internal_getnetgrent_r): Renamed to ...
20130 (__internal_getnetgrent_r): ... this. Add internal_function to
20131 definition. Add libc_hidden_def.
20132 (__getnetgrent_r): Update caller.
20133 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20134
c3c8283c
JM
201352012-08-16 Joseph Myers <joseph@codesourcery.com>
20136
20137 * stdlib/longlong.h: Update from GCC.
20138
db1ee0a8
RM
201392012-08-16 Roland McGrath <roland@hack.frob.com>
20140
20141 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20142 on _QL, which is set by umul_ppmm but never used.
20143 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20144 variables, which are set by GMP macros but never used.
20145 * stdio-common/_itowa.c (_itowa): Likewise.
20146 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20147 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20148
30f69637
CD
201492012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20150
20151 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20152 struct La_sh_regs is not constant.
20153 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20154 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20155 and struct La_sparc64_regs are not constant.
20156
93a78ac4
JM
201572012-08-16 Joseph Myers <joseph@codesourcery.com>
20158
20159 * sysdeps/unix/sysv/linux/kernel-features.h
20160 (__ASSUME_POSIX_TIMERS): Remove.
20161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20162 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20163 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20164 Make code unconditional.
20165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20166 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20167 Make code unconditional.
20168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20169 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20170 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20172 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20173 Make code unconditional.
20174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20175 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20176 (__libc_missing_posix_timers): Remove.
20177
dd924cd7
RM
201782012-08-15 Roland McGrath <roland@hack.frob.com>
20179
4b4f2771
RM
20180 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20181 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20182
601c888b
RM
20183 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20184
176790a7
RM
20185 * elf/dl-sym.c: Include <stdlib.h>.
20186
329bc018
RM
20187 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20188 constants, which avoids warnings in 32-bit builds.
20189
e04e272d
RM
20190 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20191 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20192
952bf94a
RM
20193 * misc/lseek.c: File moved to ...
20194 * io/lseek.c: ... here.
20195
7c99b50a
RM
20196 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20197
dd924cd7
RM
20198 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20199 shifting LEN more than 31 bits at once.
20200
b3f479a8
LD
202012012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20202
20203 [BZ #14195]
8c4ae0d4
RM
20204 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20205 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20206 * string/test-strncasecmp.c (check1): Renamed to...
20207 (bz12205): ...this.
20208 (bz14195): Add new testcase for two empty input strings and N > 0.
20209 (test_main): Call new testcase, adapt for renamed function.
20210
9c55864e
AJ
202112012-08-15 Andreas Jaeger <aj@suse.de>
20212
20213 [BZ #14090]
20214 * crypt/md5test2.c: New test, based on test supplied by Serge
20215 Belyshev <belyshev@depni.sinp.msu.ru>.
20216 * crypt/Makefile (xtests): Add md5test-giant..
20217 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20218
02dcb6c5
PE
202192012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20220
20221 [BZ #14090]
20222 * crypt/md5.c (md5_process_block): Don't assume the buffer
20223 length is less than 2**32.
20224 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20225 length is less than 2**64.
20226
a3f95dcc
RM
202272012-08-15 Roland McGrath <roland@hack.frob.com>
20228
be75d758
RM
20229 * string/str-two-way.h: Include <sys/param.h>.
20230 (MAX): Macro removed.
20231
7312ca90
RM
20232 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20233 Move #define and #undef of memmove to just before and after
20234 including <string.h>.
20235
9a0a5486
RM
20236 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20237 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20238 and after including <string.h>. Move declarations of
20239 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20240 to before #include "string/memmove.c".
20241
67cc348d
RM
20242 * include/dirent.h: Declare __getdirentries.
20243
a3f95dcc
RM
20244 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20245 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20246
ca98e171
MF
202472012-08-14 Mike Frysinger <vapier@gentoo.org>
20248
20249 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20250 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20251 * sysdeps/i386/configure: Regenerated.
20252 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20253 STABS_CURRENT_FILE, and STABS_FUN.
20254 (END): Remove call to STABS_FUN_END.
20255 (STABS_CURRENT_FILE1): Delete.
20256 (STABS_CURRENT_FILE): Likewise.
20257 (STABS_FUN): Likewise.
20258 (STABS_FUN_END): Likewise.
20259 (STABS_FUN2): Likewise.
20260 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20261 * sysdeps/x86_64/configure: Regenerated.
20262
5908bf46
RM
202632012-08-14 Roland McGrath <roland@hack.frob.com>
20264
20265 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20266 * elf/dl-lookup.c: Likewise.
5908bf46 20267
f2c05b9e
JM
202682012-08-14 Joseph Myers <joseph@codesourcery.com>
20269
20270 * sysdeps/unix/sysv/linux/kernel-features.h
20271 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20272 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20273 unconditionally.
20274 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20275 unconditionally.
20276 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20277 condition on __ASSUME_CLONE_THREAD_FLAGS.
20278
e11f5155
AJ
202792012-08-14 Andreas Jaeger <aj@suse.de>
20280
20281 * sysdeps/i386/fpu/libm-test-ulps: Update.
20282
51a9ba86
MK
202832012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20284
2fdd4f78
AJ
20285 * include/atomic.h (atomic_exchange_and_add): Split into ...
20286 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20287 New atomic macros.
51a9ba86 20288
ba6cba9e
MT
202892012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20290
20291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20292
42443a47
JL
202932012-08-13 Jeff Law <law@redhat.com>
20294
20295 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20296 null byte in the output string.
20297
121dce05
JM
202982012-08-10 Joseph Myers <joseph@codesourcery.com>
20299
20300 * sysdeps/unix/sysv/linux/kernel-features.h
20301 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20302 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20303 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20305 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20306 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20307 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20308
bf51f568
JL
203092012-08-09 Jeff Law <law@redhat.com>
20310
20311 [BZ #13939]
20312 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20313 When avoid_arena is set, don't retry in the that arena. Pick the
20314 next one, whatever it might be.
20315 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20316 (arena_lock): Pass in new parameter to arena_get2.
20317 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20318 arena_get2.
20319 (__libc_malloc): Unify retrying after main arena failure with
20320 __libc_memalign version.
20321 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20322
f85fa270
L
203232012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 [BZ #14166]
20326 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20327 to __redirect_strstr.
20328 (__strstr_sse42): Use typeof __redirect_strstr.
20329 (__strstr_ia32): Likewise.
20330 (__libc_strstr): New prototype.
20331 (strstr): Renamed to ...
20332 (__libc_strstr): This.
20333 (strstr): New strong alias of __libc_strstr.
20334 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20335 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20336 __redirect_time.
20337 Include <time.h>.
20338 (__libc_time): New prototype.
20339 (time_ifunc): Replace time with __libc_time.
20340 (time): New strong alias and hidden definition of __libc_time.
20341 (__GI_time): Remove strong alias.
20342 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20343 Include <stddef.h>.
20344 (memmove): Redefined to __redirect_memmove.
20345 (__memmove_sse2): Use typeof __redirect_memmove.
20346 (__memmove_ssse3): Likewise.
20347 (__memmove_ssse3_back): Likewise.
20348 (__libc_memmove): New prototype.
20349 (memmove): Renamed to ...
20350 (__libc_memmove): This.
20351 (memmove): New strong alias of __libc_memmove.
20352
33b4a91e
MS
203532012-08-08 Mark Salter <msalter@redhat.com>
20354
20355 * elf/elf.h
20356 (R_MN10300_TLS_GD): Define.
20357 (R_MN10300_TLS_LD): Likewise.
20358 (R_MN10300_TLS_LDO): Likewise.
20359 (R_MN10300_TLS_GOTIE): Likewise.
20360 (R_MN10300_TLS_IE): Likewise.
20361 (R_MN10300_TLS_LE): Likewise.
20362 (R_MN10300_TLS_DTPMOD): Likewise.
20363 (R_MN10300_TLS_DTPOFF): Likewise.
20364 (R_MN10300_TLS_TPOFF): Likewise.
20365 (R_MN10300_SYM_DIFF): Likewise.
20366 (R_MN10300_ALIGN): Likewise.
20367 (R_MN10300_NUM): Update.
20368
b36137f1
JM
203692012-08-08 Joseph Myers <joseph@codesourcery.com>
20370
20371 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20372 Remove.
20373
cdd915fd
RM
203742012-08-08 Roland McGrath <roland@hack.frob.com>
20375
a2433aac
RM
20376 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20377
cdd915fd
RM
20378 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20379 sysdeps/unix -> sysdeps/posix move.
20380 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20381
bf9b740a
AM
203822012-08-07 Allan McRae <allan@archlinux.org>
20383
20384 [BZ #14303]
20385 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20386 (SUNOS_CPP): Likewise.
20387 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20388 not found.
20389 (open_input): Call CPP using execvp.
20390
93df14ee
JM
203912012-08-07 Joseph Myers <joseph@codesourcery.com>
20392
20393 * sysdeps/unix/sysv/linux/kernel-features.h
20394 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20395 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20396 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20397 (__ASSUME_WAITID_SYSCALL): Likewise.
20398 * sysdeps/unix/sysv/linux/dl-execstack.c
20399 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20400 code unconditional.
20401 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20402 conditional code.
20403 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20404 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20405 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20406 code.
20407 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20408 unconditional.
20409 [__ASSUME_WAITID_SYSCALL]: Likewise.
20410 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20411
d34689de
RM
204122012-08-07 Roland McGrath <roland@hack.frob.com>
20413
a281decc
RM
20414 * sysdeps/unix/closedir.c: Renamed to ...
20415 * sysdeps/posix/closedir.c: ... here.
20416 * sysdeps/unix/dirfd.c: Renamed to ...
20417 * sysdeps/posix/dirfd.c: ... here.
20418 * sysdeps/unix/dirstream.h: Renamed to ...
20419 * sysdeps/posix/dirstream.h: ... here.
20420 * sysdeps/unix/fdopendir.c: Renamed to ...
20421 * sysdeps/posix/fdopendir.c: ... here.
20422 * sysdeps/unix/opendir.c: Renamed to ...
20423 * sysdeps/posix/opendir.c: ... here.
20424 * sysdeps/unix/readdir.c: Renamed to ...
20425 * sysdeps/posix/readdir.c: ... here.
20426 * sysdeps/unix/readdir_r.c: Renamed to ...
20427 * sysdeps/posix/readdir_r.c: ... here.
20428 * sysdeps/unix/rewinddir.c: Renamed to ...
20429 * sysdeps/posix/rewinddir.c: ... here.
20430 * sysdeps/unix/seekdir.c: Renamed to ...
20431 * sysdeps/posix/seekdir.c: ... here.
20432 * sysdeps/unix/telldir.c: Renamed to ...
20433 * sysdeps/posix/telldir.c: ... here.
20434 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20435 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20436 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20437 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20438
22895b47
RM
20439 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20440 * bits/fcntl.h: ... here.
20441
707a53b6
RM
20442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20443 not 0.
20444 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20445 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20446 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20447 (struct flock): Move l_start, l_len to the beginning.
20448 Use __pid_t for l_pid.
20449 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20450 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20451 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20452 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20453 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20454 [__USE_LARGEFILE64] (struct flock64): New type.
20455 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20456
f0bd3e25
RM
20457 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20458 * bits/dirent.h: ... here.
20459
d34689de
RM
20460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20461 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20462
6dad2c06
JM
204632012-08-07 Joseph Myers <joseph@codesourcery.com>
20464
20465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20466 Change from 2.6.0 to 2.6.16.
20467 * sysdeps/unix/sysv/linux/configure: Regenerated.
20468 * sysdeps/unix/sysv/linux/kernel-features.h
20469 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20470 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20471 version.
20472 (__ASSUME_UTIMES): Likewise.
20473 (__ASSUME_CLONE_STOPPED): Remove.
20474 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20475 architectures, not kernel version.
20476 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20477 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20478 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20479 (__ASSUME_WAITID_SYSCALL): Likewise.
20480 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20481 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20482 * README: State 2.6.16 as minimum Linux kernel version. Do not
20483 refer to older versions.
20484
03af9520
RM
204852012-08-06 Roland McGrath <roland@hack.frob.com>
20486
8e49df1d
RM
20487 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20488 Define alphasort64 as an alias.
20489 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20490 Define versionsort64 as an alias.
20491 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20492 Define scandir64 as an alias.
20493 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20494 Define scandirat64 as an alias.
20495 * dirent/alphasort64.c (alphasort64):
20496 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20497 * dirent/versionsort64.c: Likewise.
20498 * dirent/scandir64.c: Likewise.
20499 * dirent/scandirat64.c: Likewise.
20500 * sysdeps/wordsize-64/alphasort.c: File removed.
20501 * sysdeps/wordsize-64/alphasort64.c: File removed.
20502 * sysdeps/wordsize-64/scandir.c: File removed.
20503 * sysdeps/wordsize-64/scandir64.c: File removed.
20504 * sysdeps/wordsize-64/scandirat.c: File removed.
20505 * sysdeps/wordsize-64/scandirat64.c: File removed.
20506 * sysdeps/wordsize-64/versionsort.c: File removed.
20507 * sysdeps/wordsize-64/versionsort64.c: File removed.
20508 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20510 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20511 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20512 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20513 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20516
20517 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20519 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20521 [defined __arch64__ || defined __sparcv9]
20522 (__INO_T_MATCHES_INO64_T): New macro.
20523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20524 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20525 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20526 * sysdeps/unix/sysv/linux/bits/dirent.h
20527 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20528 (_DIRENT_MATCHES_DIRENT64): New macro.
20529
03af9520
RM
20530 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20531 Define lockf64 as an alias.
20532 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20533 Define fseeko64 as an alias.
20534 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20535 Define ftello64 as an alias.
20536 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20537 Define _IO_fgetpos64 and fgetpos64 as aliases.
20538 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20539 Define _IO_fsetpos64 and fsetpos64 as aliases.
20540 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20541 Conditionalize body on this.
20542 * libio/fseeko64.c: Likewise.
20543 * libio/ftello64.c: Likewise.
20544 * libio/iofgetpos64.c: Likewise.
20545 * libio/iofsetpos64.c: Likewise.
20546 * sysdeps/wordsize-64/lockf.c: File removed.
20547 * sysdeps/wordsize-64/lockf64.c: File removed.
20548 * sysdeps/wordsize-64/fseeko.c: File removed.
20549 * sysdeps/wordsize-64/fseeko64.c: File removed.
20550 * sysdeps/wordsize-64/ftello.c: File removed.
20551 * sysdeps/wordsize-64/ftello64.c: File removed.
20552 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20553 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20554 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20555 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20556 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20557 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20558 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20559 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20566
20567 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20569 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20571 [defined __arch64__ || defined __sparcv9]
20572 (__OFF_T_MATCHES_OFF64_T): New macro.
20573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20574 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20576 (__OFF_T_MATCHES_OFF64_T): New macro.
20577
c5757acd
L
205782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20579
20580 * stdlib/secure-getenv.c (__secure_getenv): Replace
20581 GLIBC_2_16 with GLIBC_2_17.
20582
3a31811e
L
205832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20584
20585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20587
faa2bccb
DM
205882012-08-03 David S. Miller <davem@davemloft.net>
20589
20590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20591
85fe1997
JM
205922012-08-03 Joseph Myers <joseph@codesourcery.com>
20593
20594 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20595 Remove.
20596 (__ASSUME_CORRECT_SI_PID): Likewise.
20597 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20598 (__ASSUME_TMPFS_NAME): Likewise.
20599 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20600 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20601 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20602 (HAVE_AUX_SECURE): Make definition unconditional.
20603 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20604 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20605
4f75b7a0
RM
206062012-08-03 Roland McGrath <roland@hack.frob.com>
20607
20608 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20609 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20610 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20611 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20612 __eloop_threshold instead of SYMLOOP_MAX.
20613
20614 * sysdeps/generic/eloop-threshold.h: New file.
20615 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20616 of MAXSYMLINKS.
20617 * elf/chroot_canon.c (chroot_canon): Likewise.
20618
7aab07e4
JM
206192012-08-03 Joseph Myers <joseph@codesourcery.com>
20620
20621 [BZ #13717]
20622 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20623 Change to 2.6.0 everywhere.
20624 * sysdeps/unix/sysv/linux/configure: Regenerated.
20625 * sysdeps/unix/sysv/linux/kernel-features.h
20626 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20627 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20628 kernel versions.
20629 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20630 (__ASSUME_FUTEX_REQUEUE): Remove.
20631 (__ASSUME_STATFS64): Define unconditionally.
20632 (__ASSUME_AT_SECURE): Likewise.
20633 (__ASSUME_CORRECT_SI_PID): Likewise.
20634 (__ASSUME_TGKILL): Define without depending on kernel version for
20635 i386.
20636 (__ASSUME_UTIMES): Likewise.
20637 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20638 kernel version.
20639 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20640 (__ASSUME_TMPFS_NAME): Likewise.
20641 * README: Update reference to Linux kernel versions.
20642
b67e9372
MP
206432012-08-02 Marek Polacek <polacek@redhat.com>
20644
1f529f7d 20645 [BZ# 14150]
b67e9372
MP
20646 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20647 libc_cv_asm_type_prefix with %.
20648 * configure: Regenerated.
d2441631
RM
20649 * include/libc-symbols.h: Remove comment about
20650 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20651 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20652 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20653 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20654 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20655 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20656 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20657 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20658 * elf/tst-unique2mod1.c: Likewise.
20659 * elf/tst-unique1mod2.c: Likewise.
20660 * elf/tst-unique1mod1.c: Likewise.
20661 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20662 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20663 Replace ASM_TYPE_DIRECTIVE with .type.
20664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20665 * sysdeps/i386/sysdep.h: Likewise.
20666 * sysdeps/x86_64/sysdep.h: Likewise.
20667 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20669 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20670 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20671 * sysdeps/powerpc/powerpc32/sysdep.h:
20672 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20673 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20674 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20675 * sysdeps/i386/fpu/e_powf.S: Likewise.
20676 * sysdeps/i386/fpu/e_expl.S: Likewise.
20677 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20678 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20679 * sysdeps/i386/fpu/e_pow.S: Likewise.
20680 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20681 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20682 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20683 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20684 * sysdeps/i386/fpu/e_log2.S: Likewise.
20685 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20686 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20687 * sysdeps/i386/fpu/e_powl.S: Likewise.
20688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20690 * sysdeps/i386/fpu/e_logl.S: Likewise.
20691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20692 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20693 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20694 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20695 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20696 * sysdeps/i386/fpu/e_log.S: Likewise.
20697 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20698 * sysdeps/i386/fpu/e_logf.S: Likewise.
20699 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20700 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20702 * sysdeps/i386/fpu/e_log10.S: Likewise.
20703 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20704 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20705 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20706 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20707 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20708 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20710 * sysdeps/i386/i686/strtok.S: Likewise.
20711 * sysdeps/i386/i386-mcount.S: Likewise.
20712 * sysdeps/i386/strtok.S: Likewise.
20713 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20714 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20716 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20717 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20718 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20719 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20720 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20721 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20722 * sysdeps/x86_64/_mcount.S: Likewise.
20723 * sysdeps/x86_64/strtok.S: Likewise.
20724 * sysdeps/sh/_mcount.S: Likewise.
20725
2747bf9a
RM
207262012-08-01 Roland McGrath <roland@hack.frob.com>
20727
20728 * libio/iofopen.c: Include <fcntl.h>.
20729 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20730 (_IO_fopen64, fopen64): Define as aliases.
20731 * libio/iofopen64.c: Include <fcntl.h>.
20732 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20733 Conditionalize body on this.
20734 * sysdeps/wordsize-64/iofopen.c: File removed.
20735 * sysdeps/wordsize-64/iofopen64.c: File removed.
20736
3fb791b8
MP
207372012-08-01 Marek Polacek <polacek@redhat.com>
20738
20739 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20740 Use dlfcn directly instead of a variable.
20741 (binfmt-subdir): Do not define.
20742 (dlfcn): Likewise.
20743
a9f1039f
JM
207442012-08-01 Joseph Myers <joseph@codesourcery.com>
20745
23bddc06
JM
20746 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20747 Remove all definitions.
20748 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20749 <kernel-features.h>.
20750 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20751 (miss_F_GETOWN_EX): Remove all definitions.
20752 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20753 macro definition.
20754 [!__ASSUME_FCNTL64]: Remove conditional code.
20755 [__ASSUME_FCNTL64]: Make code unconditional.
20756 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20757 <kernel-features.h>.
20758 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20759 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20760 (lockf64) [__NR_fcntl64]: Make code unconditional.
20761 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20762
a9f1039f
JM
20763 * sysdeps/unix/sysv/linux/kernel-features.h
20764 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20765 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20766 Make code unconditional.
20767 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20768 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20770 [__NR_vfork]: Make code unconditional.
20771 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20772 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20774 [__NR_vfork]: Make code unconditional.
20775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20777
09c0ee5f
RM
207782012-08-01 Roland McGrath <roland@hack.frob.com>
20779
48aec5b9
RM
20780 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20781 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20782
cd97c966
RM
20783 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20784 Define mkstemp64 as an alias.
3f55550c
RM
20785 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20786 Define mkstemps64 as an alias.
cd97c966
RM
20787 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20788 Define mkostemp64 as an alias.
b8625cfc
RM
20789 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20790 Define mkostemps64 as an alias.
cd97c966
RM
20791 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20792 Conditionalize body on this.
20793 * misc/mkostemp64.c: Likewise.
b8625cfc 20794 * misc/mkostemps64.c: Likewise.
3f55550c 20795 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20796 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20797 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20798 * sysdeps/wordsize-64/mkostemp.c: File removed.
20799 * sysdeps/wordsize-64/mkstemp.c: File removed.
20800 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20801 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20804
09c0ee5f
RM
20805 [BZ #14138]
20806 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20807 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20808 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20809 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20810
20811 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20812 compat_symbol macros from <shlib-compat.h> rather than the underlying
20813 default_symbol_version and symbol_version macros, so that DEFAULT
20814 lines in shlib-versions are respected.
20815 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20816
7e66ee51
FW
208172012-08-01 Florian Weimer <fweimer@redhat.com>
20818
20819 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20820 Declare with warn_unused_result.
20821 (setgid, setregid, setegid, setresgid): Likewise.
20822 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20823 Likewise.
20824 * WUR-REPORT: Remove set*id functions.
20825
d2a54255
PT
208262012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20827
20828 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20829
7ecdb005
RM
208302012-07-31 Roland McGrath <roland@hack.frob.com>
20831
b4180a5e 20832 [BZ #10191]
789bd351
RM
20833 * include/sys/socket.h (__libc_accept, __libc_accept4):
20834 Add attribute_hidden.
20835 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20836
40ce302d
RM
20837 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20838 use of PTR_MANGLE.
20839 * inet/getnetgrent_r.c (setup): Likewise.
20840
7ecdb005
RM
20841 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20842
e2eabb2c
DM
208432012-07-31 David S. Miller <davem@davemloft.net>
20844
20845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20846
d0419dbf
JM
208472012-07-31 Joseph Myers <joseph@codesourcery.com>
20848
20849 [BZ #13629]
20850 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20851 value between 1.0 and 2.0 and smaller part has absolute value less
20852 than 1.0.
20853 * math/s_clog10.c (__clog10): Likewise.
20854 * math/s_clog10f.c (__clog10f): Likewise.
20855 * math/s_clog10l.c (__clog10l): Likewise.
20856 * math/s_clogf.c (__clogf): Likewise.
20857 * math/s_clogl.c (__clogl): Likewise.
20858 * math/libm-test.inc (clog_test): Add more tests.
20859 (clog10_test): Likewise.
20860 * sysdeps/i386/fpu/libm-test-ulps: Update.
20861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20862
2bc13872
FW
208632012-07-31 Florian Weimer <fweimer@redhat.com>
20864
20865 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20866 Exit with zero in case no suitable GID is found, and write a
20867 message to standard error.
20868
bea9b193
RM
208692012-07-30 Roland McGrath <roland@hack.frob.com>
20870
20871 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20872 rather than to 1.
20873 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20874 (MAXPATHLEN): Removed.
20875 (NOGROUP, NODEV): New macros.
20876 (setbit, clrbit, isset, isclr): New macros.
20877 (howmany, roundup, powerof2): New macros.
20878 (DEV_BSIZE): New macro.
20879
20880 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20881 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20882
20883 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20884 definition on [!__NO_LONG_DOUBLE_MATH].
20885
20886 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20887 PTR_MANGLE and PTR_DEMANGLE.
20888
20889 * socket/accept4.c (accept4): Rename to __libc_accept4.
20890 Define accept4 as a weak alias.
20891
20892 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20893 on [_DIRENT_HAVE_D_TYPE].
20894 * io/ftw.c (ftw_dir): Likewise.
20895
20896 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20897
20898 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20899
20900 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20901 Use the BSD numbers rather than the arbitrary ones we had.
20902 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20903 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20904 (SIGXCPU, SIGXFSZ): New macros.
20905 (_NSIG): Now 32.
20906
20907 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20908 initializer on [_LIBC_REENTRANT].
20909
20910 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20911 definitions inside [_POSIX_MAPPED_FILES].
20912
20913 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20914
20915 * dirent/opendir.c: Include <fcntl.h>.
20916
20917 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20918 (__libc_getspecific): Likewise.
20919 (__libc_key_create): Likewise.
20920
20921 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20922 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20923 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20924 (tmpfile64): Define as alias.
20925 * sysdeps/wordsize-64/tmpfile.c: File removed.
20926 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20929
20930 * stdio-common/vfscanf.c: Include <stdbool.h>.
20931 * nss/makedb.c: Likewise.
20932 * stdio-common/_i18n_number.h: Likewise.
20933 * argp/argp-help.c: Likewise.
20934 * posix/wordexp.c: Likewise.
20935 * sysdeps/posix/spawni.c: Likewise.
20936 * nss/nss_files/files-initgroups.c: Likewise.
20937 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20938 * nss/nss_files/files-initgroups.c: Likewise.
20939 * nss/nss_db/db-netgrp.c: Likewise.
20940 * nss/nss_db/db-initgroups.c: Likewise.
20941 * io/fchmodat.c: Include <sys/stat.h>.
20942
20943 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20944 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20945
20946 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20947 [HAVE_MMAP].
20948
20949 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20950 Add multiple inclusion protection.
20951
e5abc686
DM
209522012-07-27 David S. Miller <davem@davemloft.net>
20953
20954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20955
815e6fa3
GB
209562012-07-27 Gary Benson <gbenson@redhat.com>
20957
20958 [BZ #14298]
20959 * elf/rtld.c: Include <stap-probe.h>.
20960 (dl_main): Added static probes "init_start" and "init_complete".
20961 * elf/dl-load.c: Include <stap-probe.h>.
20962 (lose): Take new parameter "nsid".
20963 Added static probe "map_failed".
20964 (_dl_map_object_from_fd): Pass namespace id to lose.
20965 Added static probe "map_start".
20966 (open_verify): Pass namespace id to lose.
20967 * elf/dl-open.c: Include <stap-probe.h>.
20968 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20969 and "reloc_complete".
20970 * elf/dl-close.c: Include <stap-probe.h>.
20971 (_dl_close_worker): Added static probes "unmap_start" and
20972 "unmap_complete".
20973 * elf/rtld-debugger-interface.txt: New file documenting the above.
20974
9f98c16c
RM
209752012-07-26 Roland McGrath <roland@hack.frob.com>
20976
20977 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20978 rather than a string variable.
20979 * sunrpc/rpc_main.c (h_output): Likewise.
20980 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20981
f3c22df3
PT
209822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20983
20984 * inet/check_native.c: New file.
20985
3129cfc6
JM
209862012-07-26 Joseph Myers <joseph@codesourcery.com>
20987
da865e95
JM
20988 [BZ #13629]
20989 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20990 if larger part has absolute value 1.0.
20991 * math/s_clog10.c (__clog10): Likewise.
20992 * math/s_clog10f.c (__clog10f): Likewise.
20993 * math/s_clog10l.c (__clog10l): Likewise.
20994 * math/s_clogf.c (__clogf): Likewise.
20995 * math/s_clogl.c (__clogl): Likewise.
20996 * math/libm-test.inc (clog_test): Add more tests.
20997 (clog10_test): Likewise.
20998 * sysdeps/i386/fpu/libm-test-ulps: Update.
20999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21000
3129cfc6
JM
21001 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21002 (pltexit): Likewise.
21003 (La_regs): Likewise.
21004 (La_retval): Likewise.
21005 (int_retval): Likewise.
21006 Update #error for removed macros to refer only to definitions in
21007 tst-audit.h.
21008 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21009 macro.
21010 (pltexit): Likewise.
21011 (La_regs): Likewise.
21012 (La_retval): Likewise.
21013 (int_retval): Likewise.
21014 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21015 macro.
21016 (pltexit): Likewise.
21017 (La_regs): Likewise.
21018 (La_retval): Likewise.
21019 (int_retval): Likewise.
21020 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21021 macro.
21022 (pltexit): Likewise.
21023 (La_regs): Likewise.
21024 (La_retval): Likewise.
21025 (int_retval): Likewise.
21026 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21027 macro.
21028 (pltexit): Likewise.
21029 (La_regs): Likewise.
21030 (La_retval): Likewise.
21031 (int_retval): Likewise.
21032 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21033 macro.
21034 (pltexit): Likewise.
21035 (La_regs): Likewise.
21036 (La_retval): Likewise.
21037 (int_retval): Likewise.
21038 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21039 macro.
21040 (pltexit): Likewise.
21041 (La_regs): Likewise.
21042 (La_retval): Likewise.
21043 (int_retval): Likewise.
21044 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21045 macro definitions in tst-audit.h.
21046 * sysdeps/i386/tst-audit.h: New file.
21047 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21048 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21049 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21050 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21051 * sysdeps/sh/tst-audit.h: Likewise.
21052 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21053 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21054 * sysdeps/x86_64/tst-audit.h: Likewise.
21055
bfc07087
AJ
210562012-07-26 Andreas Jaeger <aj@suse.de>
21057
b1b2aaf8
AJ
21058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21059 ptrace.
21060
21061 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21062 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21063 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21064 PTRACE_O_MASK.
21065 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21066 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21067 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21068
bfc07087
AJ
21069 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21070 value.
21071
21072 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21073 _sigsys.
21074 (si_call_addr, si_syscall, si_arch): Define new macro.
21075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21076 _sigsys.
21077 (si_call_addr, si_syscall, si_arch): Define new marcro.
21078 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21079 _sigsys.
21080 (si_call_addr, si_syscall, si_arch): Define new macro.
21081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21082 _sigsys.
21083 (si_call_addr, si_syscall, si_arch): Define new macro.
21084
89b4b02f
JM
210852012-07-25 Joseph Myers <joseph@codesourcery.com>
21086
21087 [BZ #13717]
21088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21089 Change to 2.4.21 where previously 2.4.1.
21090 * sysdeps/unix/sysv/linux/configure: Regenerated.
21091 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21092 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21093 Linux kernel version.
21094 (__ASSUME_STD_AUXV): Remove.
21095 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21096 kernel version.
21097 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21098 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21099 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21100 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21101 (__ASSUME_NETLINK_SUPPORT): Likewise.
21102 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21103 (__no_netlink_support): Remove conditional definition.
21104 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21105 Remove.
21106 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21107 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21108 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21109 (if_nameindex_ioctl): Remove.
21110 (if_nameindex_netlink): Do not handle __no_netlink_support.
21111 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21112 code.
21113 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21114 Remove conditional code.
21115 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21116 code.
21117 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21118 unconditional.
21119 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21120 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21121 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21122 Remove.
21123 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21124 [!__ASSUME_STD_AUXV]: Remove conditional code.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21126 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21127 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21129 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21130 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21131 code.
21132 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21135 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21136 conditional code.
21137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21139 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21140 code.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21142 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21143 conditional code.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21145 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21146 code unconditional.
21147 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21148 conditional code.
21149 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21150 unconditional.
21151 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21152 conditional code.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21154 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21155 unconditional.
21156 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21157 conditional code.
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21159 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21160 code unconditional.
21161 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21162 conditional code.
21163 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21164 unconditional.
21165 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21166 conditional code.
21167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21168 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21169 code unconditional.
21170 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21171 conditional code.
21172 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21173 unconditional.
21174 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21175 conditional code.
21176
842a39cd
AS
211772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21178
21179 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21180 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21181 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21182 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21183 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21184 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21186 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21187 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21188 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21189 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21190 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21191 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21192 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21193 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21195 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21196 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21197 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21199 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21200 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21201 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21202
84b3fd84
FW
212032012-07-25 Florian Weimer <fweimer@redhat.com>
21204
21205 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21206 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21207 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21208 Introduce __libc_secure_getenv.
0c7936d5
FW
21209 * stdlib/Versions (2.17): Add secure_getenv
21210 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21211 * stdlib/secure-getenv.c: Rename __secure_getenv to
21212 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21213 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21214 * stdlib/tst-secure-getenv.c: New.
21215 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21216 * manual/startup.texi (Environment Access): Document
21217 secure_getenv.
84b3fd84
FW
21218 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21219 __libc_secure_getenv.
21220 * inet/ruserpass.c (ruserpass): Likewise.
21221 * malloc/mtrace.c (mtrace): Likewise.
21222 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21223 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21224 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21225 * sysdeps/posix/tempname.c: Likewise. Evaluate
21226 HAVE_SECURE_GETENV.
21227 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21228 __secure_getenv to __libc_secure_getenv.
84b3fd84 21229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21231 Likewise.
21232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21233 Likewise.
21234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21241
56e49b71
JM
212422012-07-25 Joseph Myers <joseph@codesourcery.com>
21243
21244 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21245 (struct La_i86_retval): Likewise.
21246 (struct La_x86_64_regs): Likewise.
21247 (struct La_x86_64_retval): Likewise.
21248 (struct La_x32_regs): Likewise.
21249 (struct La_x32_retval): Likewise.
21250 (struct La_ppc32_regs): Likewise.
21251 (struct La_ppc32_retval): Likewise.
21252 (struct La_ppc64_regs): Likewise.
21253 (struct La_ppc64_retval): Likewise.
21254 (struct La_sh_regs): Likewise.
21255 (struct La_sh_retval): Likewise.
21256 (struct La_s390_32_regs): Likewise.
21257 (struct La_s390_32_retval): Likewise.
21258 (struct La_s390_64_regs): Likewise.
21259 (struct La_s390_64_retval): Likewise.
21260 (struct La_sparc32_regs): Likewise.
21261 (struct La_sparc32_retval): Likewise.
21262 (struct La_sparc64_regs): Likewise.
21263 (struct La_sparc64_retval): Likewise.
21264 (struct audit_ifaces): Remove architecture-specific pltenter and
21265 pltexit members.
21266 * sysdeps/i386/ldsodefs.h: New file.
21267 * sysdeps/powerpc/ldsodefs.h: Likewise.
21268 * sysdeps/s390/ldsodefs.h: Likewise.
21269 * sysdeps/sh/ldsodefs.h: Likewise.
21270 * sysdeps/sparc/ldsodefs.h: Likewise.
21271 * sysdeps/x86_64/ldsodefs.h: Likewise.
21272
354691b7
MP
212732012-07-25 Marek Polacek <polacek@redhat.com>
21274
21275 [BZ #6808]
21276 * math/libm-test.inc (yn_test): Add another test.
21277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21278 to ERANGE when the result is +-Inf.
21279 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21280 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21281 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21282 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21283
bf9e2071
JM
212842012-07-24 Joseph Myers <joseph@codesourcery.com>
21285
21286 * conform/data/time.h-data (NULL): Use macro-constant. Require
21287 equal to 0.
21288 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21289 clock_t.
21290 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21291
57633811
TS
212922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21293
21294 * configure.in <sysdeps resolving>: Correct printing
21295 Implies_before.
21296 * configure: Regenerate.
21297
c23c33b0
TS
212982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21299
21300 * math/w_ilogb.c: Include <limits.h>.
21301 * math/w_ilogbl.c: Likewise.
21302
b5982523
JM
213032012-07-20 Joseph Myers <joseph@codesourcery.com>
21304
21305 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21306 va_copy. Document allowing for unavailable va_copy only as
21307 pre-C99 compatibility.
21308 * manual/string.texi (Copying and Concatenation): Use va_copy
21309 instead of __va_copy in concat example.
21310
ac4ea442
PT
213112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21312
21313 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21314 (__sendto): Use create_address_port. Initialize APORT and deallocate
21315 it if not null.
21316
f98eafbd
PT
21317 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21318 with O_NOLINK passed to __file_name_lookup.
21319
898c7aab
PT
21320 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21321 with O_NOLINK passed to __file_name_lookup.
21322
0ced335a
PT
21323 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21324 negative N or less than NGIDS.
21325
b3404dbd
PT
21326 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21327 type to string_t. Set ERANGE as errno and return it if NAME is not big
21328 enough. Use memcpy instead of strncpy.
21329
0f48659e
JM
213302012-07-20 Joseph Myers <joseph@codesourcery.com>
21331
21332 * elf/Makefile (check-data): Remove.
21333 (localplt.data): New vpath directive.
21334 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21335 instead of $(check-data).
21336 * scripts/data/localplt-generic.data: Move to ...
21337 * sysdeps/generic/localplt.data: ... here.
21338 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21339 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21340 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21342 ... here.
21343 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21345 ... here.
21346 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21348 ... here.
21349 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21351 ... here.
21352 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21354 ... here.
21355 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21357 ... here.
21358
d37cbdaa
AZ
213592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21360
21361 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21362 PPC32 and PPC64 files.
21363 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21364 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21365
46f85fc2
AK
213662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21367
21368 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21369 __makecontext_ret to ...
21370 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21371 ... here and call exit if uc_link is NULL. New file.
21372 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21373 __makecontext_ret.S.
21374 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21375 __makecontext_ret to ...
21376 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21377 ... here and call exit if uc_link is NULL. New file.
21378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21379 __makecontext_ret.S.
21380
08f43f9b
AK
213812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21382
21383 * elf/elf.h (R_390_IRELATIVE): New definition.
21384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21385 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21386 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21388 (elf_machine_lazy_rel): Likewise.
21389 * sysdeps/s390/dl-irel.h: New file.
21390 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21391 * sysdeps/s390/s390-64/memset.S: New asm code.
21392 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21393 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21394 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21395 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21396 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21397 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21398 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21399 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21400 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21401 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21402 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21403 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21404 * sysdeps/s390/s390-32/memset.S: New asm code.
21405 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21406
3b05db33
MP
214072012-07-17 Marek Polacek <polacek@redhat.com>
21408
21409 [BZ #14349]
21410 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21411 * sysdeps/s390/s390-64/configure.in: Likewise.
21412 * sysdeps/sparc/configure.in: Likewise.
21413 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21414 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21415 * sysdeps/i386/configure.in: Likewise.
21416 * sysdeps/x86_64/configure.in: Likewise.
21417 * sysdeps/sh/configure.in: Likewise.
21418 * sysdeps/s390/s390-32/configure: Regenerated.
21419 * sysdeps/s390/s390-64/configure: Likewise.
21420 * sysdeps/x86_64/configure: Likewise.
21421 * sysdeps/sh/configure: Likewise.
21422 * sysdeps/powerpc/powerpc64/configure: Likewise.
21423 * sysdeps/powerpc/powerpc32/configure: Likewise.
21424 * sysdeps/sparc/configure: Likwise.
21425 * sysdeps/i386/configure: Likewise.
21426
a66877c6
MP
21427 * elf/dl-open.c: Comment fixes.
21428
cfc82fd8
JM
214292012-07-17 Joseph Myers <joseph@codesourcery.com>
21430
bd29910a
JM
21431 * Makefile [CXX] (check-data): Remove.
21432 [CXX] (c++-types.data): New vpath directive.
21433 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21434 vpath. Do not allow for C++ type data being missing.
21435 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21436 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21437 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21438 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21439 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21440 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21441 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21443 ... here.
21444 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21446 ... here.
21447 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21449 ... here.
21450 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21452 ... here.
21453 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21455 ... here.
21456 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21458 ... here.
21459 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21461 ... here.
21462 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21464
cfc82fd8
JM
21465 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21466 definitions to architecture-specific files.
21467 (TLS_IE): Likewise.
21468 (TLS_LD): Likewise.
21469 (TLS_GD): Likewise.
21470 * sysdeps/i386/tls-macros.h: New file.
21471 * sysdeps/powerpc/tls-macros.h: Likewise.
21472 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21473 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21474 * sysdeps/sh/tls-macros.h: Likewise.
21475 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21476 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21477 * sysdeps/x86_64/tls-macros.h: Likewise.
21478
f7db3170
TS
214792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21480
07cbfc23
TS
21481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21482 zero value for regular exit case.
21483
f7db3170
TS
21484 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21485 (__start_context): Preserve zero value for regular exit case.
21486
dc97c227
TS
214872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21488 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21489
21490 * manual/setjmp.texi (setcontext): Clarify normal process
21491 termination when uc_link is the null pointer.
21492 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21493 exit call.
21494
d0cd7d02
AS
214952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21496
21497 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21498 preprocessor. Test for each exception mask separately.
21499
dd318934
AJ
215002012-07-16 Andreas Jaeger <aj@suse.de>
21501
21502 * po/ru.po: Update from translation team.
21503
8048311a
JM
215042012-07-15 Joseph Myers <joseph@codesourcery.com>
21505
21506 * conform/data/string.h-data (NULL): Use macro-constant. Require
21507 equal to 0.
21508 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21509 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21510 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21511 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21513
b637d46e
AJ
215142012-07-13 Andreas Jaeger <aj@suse.de>
21515
21516 * po/fr.po: Update from translation team.
21517
541428fe
MP
215182012-07-12 Marek Polacek <polacek@redhat.com>
21519
21520 [BZ #14173]
21521 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21522 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21523 loop condition.
21524
ec332e94
JM
215252012-07-12 Joseph Myers <joseph@codesourcery.com>
21526
21527 [BZ #13717]
21528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21529 Change to 2.4.1 where previously 2.4.0.
21530 * sysdeps/unix/sysv/linux/configure: Regenerated.
21531 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21532 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21533 version.
21534 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21535 (__ASSUME_AT_CLKTCK): Remove.
21536 (__ASSUME_AT_PAGESIZE): Likewise.
21537 (__ASSUME_AT_XID): Likewise.
21538 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21539 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21540 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21541 unconditionally.
21542 (HAVE_AUX_PAGESIZE): Likewise.
21543 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21544 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21545 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21546
7b6e99be
JB
215472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21548
21549 [BZ #14307]
21550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21551 the temporary buffer used to invoke __gethostbyname2_r,
21552 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21553 host_data / struct gaih_addrtuple.
21554 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21555 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21556 header file nss/nsswitch.h.
21557 * nss/nsswitch.h (global scope): Add definition of implementation
21558 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21559 resolv/nss_dns/dns-host.c).
21560
608404eb
AJ
215612012-07-11 Andreas Jaeger <aj@suse.de>
21562
21563 * po/fr.po: Update from translation team.
21564
71220aca
AJ
21565 * po/sv.po: Update from translation team
21566 * po/fr.po: Another update from translation team.
21567
28cfe843
AZ
215682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21569
21570 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21571 for subnormals or multiply small sinh result by itself.
21572 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21574
6b90f981
DM
215752012-07-11 David S. Miller <davem@davemloft.net>
21576
21577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21578
c6825772
AS
215792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21580
21581 [BZ #14347]
21582 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21583 (INTERNAL_MARK): Shift it here.
21584
7b8e0d49
MP
215852012-07-10 Marek Polacek <polacek@redhat.com>
21586
21587 [BZ #14151]
21588 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21589 libc_cv_asm_global_directive with .globl.
21590 * configure: Regenerated.
21591 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21592 with .globl.
21593 * sysdeps/i386/configure: Regenerated.
21594 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21595 with .globl.
21596 * sysdeps/x86_64/configure: Regenerated.
21597 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21598 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21599 * elf/tst-unique2mod2.c: Likewise.
21600 * elf/tst-unique2mod1.c: Likewise.
21601 * elf/tst-unique1mod2.c: Likewise.
21602 * elf/tst-unique1mod1.c: Likewise.
21603 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21604 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21607 * sysdeps/mach/sysdep.h: Likewise.
21608 * sysdeps/i386/sysdep.h: Likewise.
21609 * sysdeps/i386/i386-mcount.S: Likewise.
21610 * sysdeps/x86_64/_mcount.S: Likewise.
21611 * sysdeps/x86_64/sysdep.h: Likewise.
21612 * sysdeps/sh/_mcount.S: Likewise.
21613 * sysdeps/sh/sysdep.h: Likewise.
21614 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21615 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21616 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21617 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21618 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21619 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21620 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21621 * locale/localeinfo.h: Likewise.
21622 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21623 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21624
6c55cda3
RM
216252012-07-09 Roland McGrath <roland@hack.frob.com>
21626
21627 [BZ #14336]
21628 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21629 system".
21630 * manual/message.texi (The Uniforum approach): Likewise.
21631 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21632 (glibc iconv Implementation): Likewise.
21633
638a572e
JM
216342012-07-09 Joseph Myers <joseph@codesourcery.com>
21635
21636 [BZ #14337]
21637 * math/s_clog.c (__clog): Avoid scaling a value down where that
21638 could result in underflow.
21639 * math/s_clog10.c (__clog10): Likewise.
21640 * math/s_clog10f.c (__clog10f): Likewise.
21641 * math/s_clog10l.c (__clog10l): Likewise.
21642 * math/s_clogf.c (__clogf): Likewise.
21643 * math/s_clogl.c (__clogl): Likewise.
21644 * math/libm-test.inc (clog_test): Add more tests.
21645 (clog10_test): Likewise.
21646 * sysdeps/i386/fpu/libm-test-ulps: Update.
21647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648
261f4859
AS
216492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21650
0abaf3e4
AS
21651 [BZ #14283]
21652 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21653 by 7 not 8 to examine high bit of fractional part.
21654
261f4859
AS
21655 [BZ #14042]
21656 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21657 for call to __mcount_internal.
21658 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21659 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21660 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21661
f17ac40d
JM
216622012-07-06 Joseph Myers <joseph@codesourcery.com>
21663
9ad63c23
JM
21664 [BZ #14154]
21665 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21666 approximation for values within 0x1p-13f of an odd multiple of
21667 pi/4.
21668 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21669 exception. Add more tests.
21670 * sysdeps/i386/fpu/libm-test-ulps: Update.
21671
f17ac40d
JM
21672 [BZ #6778]
21673 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21674 inputs and return -1 for them. Do not check for +Inf in case not
21675 reachable for +Inf.
21676 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21677 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21679 and return -1 for them. Do not check for +Inf in case not
21680 reachable for +Inf.
21681 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21682 define.
21683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21684 and return -1 for them. Do not check for +Inf in case not
21685 reachable for +Inf.
21686 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21687 spurious underflow.
21688 * sysdeps/i386/fpu/libm-test-ulps: Update.
21689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690
fb21f89b
MF
216912012-07-06 Mike Frysinger <vapier@gentoo.org>
21692
21693 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21694
cdfe2c5e
JM
216952012-07-05 Joseph Myers <joseph@codesourcery.com>
21696
21697 [BZ #14157]
21698 [BZ #14331]
21699 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21700 could result in spurious underflow. Scale down values above
21701 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21702 * math/s_csqrtf.c (__csqrtf): Likewise.
21703 * math/s_csqrtl.c (__csqrtl): Likewise.
21704 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21705 spurious underflow.
21706 * sysdeps/i386/fpu/libm-test-ulps: Update.
21707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708
70d35b67
AS
217092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21710
704bc459
AS
21711 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21712 xopen-msg.sed.
21713 * catgets/xopen-msg.awk: New file.
21714 * catgets/xopen-msg.sed: Removed.
21715
70d35b67
AS
21716 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21717 po2text.sed.
21718 * intl/po2test.awk: New file.
21719 * intl/po2test.sed: Removed.
21720
ca61cf32
JM
217212012-07-04 Joseph Myers <joseph@codesourcery.com>
21722
21723 [BZ #14328]
21724 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21725 or multiply small sinh result by itself.
21726 * math/s_ctanf.c (__ctanf): Likewise.
21727 * math/s_ctanh.c (__ctanh): Likewise.
21728 * math/s_ctanhf.c (__ctanhf): Likewise.
21729 * math/s_ctanhl.c (__ctanhl): Likewise.
21730 * math/s_ctanl.c (__ctanl): Likewise.
21731 * math/libm-test.inc (ctan_test_tonearest): New function.
21732 (ctan_test_towardzero): Likewise.
21733 (ctan_test_downward): Likewise.
21734 (ctan_test_upward): Likewise.
21735 (ctanh_test_tonearest): Likewise.
21736 (ctanh_test_towardzero): Likewise.
21737 (ctanh_test_downward): Likewise.
21738 (ctanh_test_upward): Likewise.
21739 (main): Call these new functions.
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742
ca48a46a
MF
217432012-07-03 Mike Frysinger <vapier@gentoo.org>
21744
21745 * .gitignore: Delete /ports entry.
21746
9d63d37d
AJ
217472012-07-03 Andreas Jaeger <aj@suse.de>
21748
21749 * po/bg.po: Update from translation team.
21750 * po/cs.po: Likewise.
21751 * po/de.po: Likewise.
21752 * po/hr.po: Likewise.
21753 * po/nl.pl: Likewise.
21754 * po/pl.po: Likewise.
21755 * po/vi.po: Likewise.
21756
370ca3d2
JM
217572012-07-03 Joseph Myers <joseph@codesourcery.com>
21758
95f5a9a8
JM
21759 * Makeconfig [!+link] (+link-before-libc): New variable.
21760 [!+link] (+link-after-libc): Likewise.
21761 [!+link] (+link-tests): Likewise.
21762 [!+link] (+link): Define in terms of $(+link-before-libc) and
21763 $(+link-after-libc).
21764 [!+link-static] (+link-static-before-libc): New variable.
21765 [!+link-static] (+link-static-after-libc): Likewise.
21766 [!+link-static] (+link-static-tests): Likewise.
21767 [!+link-static] (+link-static): Define in terms of
21768 $(+link-static-before-libc) and $(+link-static-after-libc).
21769 [build-shared] (link-libc-before-gnulib): New variable.
21770 [build-shared] (link-libc-tests): Likewise.
21771 [build-shared] (link-libc): Define in terms of
21772 $(link-libc-before-gnulib).
21773 [!build-shared] (link-libc-tests): New variable.
21774 (link-libc-static-tests): New variable.
21775 [!gnulib] (gnulib-arch): New variable.
21776 [!gnulib] (gnulib-tests): Likewise.
21777 [!gnulib] (static-gnulib-arch): Likewise.
21778 [!gnulib] (static-gnulib-tests): Likewise.
21779 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21780 Define with "=" instead of ":=".
21781 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21782 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21783 * Rules (binaries-all-notests): New variable.
21784 (binaries-all-tests): Likewise.
21785 (binaries-static-notests): Likewise.
21786 (binaries-static-tests): Likewise.
21787 (binaries-all): Define using $(binaries-all-notests) and
21788 $(binaries-all-tests).
21789 (binaries-static): Define using $(binaries-static-notests) and
21790 $(binaries-static-tests).
21791 (binaries-shared-tests): New variable.
21792 (binaries-shared-notests): Likewise.
21793 (binaries-shared): Remove variable.
21794 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21795 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21796 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21797 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21798 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21799 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21800 * elf/Makefile (sln-modules): New variable.
21801 (extra-objs): Add $(sln-modules:=.o).
21802 (ldconfig-modules): Add static-stubs.
21803 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21804 * elf/static-stubs.c: New file.
21805
7a845b2c
JM
21806 [BZ #14283]
21807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21808 by 7 not 8 to examine high bit of fractional part. Use volatile
21809 variables when splitting into final array of floats if
21810 __FLT_EVAL_METHOD__ != 0.
21811 * math/libm-test.inc (cos_test): Add another test.
21812 (sin_test): Likewise.
21813 * sysdeps/i386/fpu/libm-test-ulps: Update.
21814
e2283f38
JM
21815 [BZ #14273]
21816 * math/libm-test.inc (cosh_test): Add more tests.
21817
370ca3d2
JM
21818 * version.h (RELEASE): Set to "development".
21819 (VERSION): Set to "2.16.90".
21820
ee9247c3
CD
218212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21822
21823 * NEWS: Update copyright. Remove last-updated date.
21824 Mention math library bug fixes and timezone data changes.
21825 * README: Mention GNU/Hurd, x32, and HPPA support status.
21826
4648c381
TS
218272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21828
21829 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21830
aac78a43
AJ
218312012-06-27 Andreas Jaeger <aj@suse.de>
21832
21833 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21834
ed3dbfad
AJ
218352012-06-25 Andreas Jaeger <aj@suse.de>
21836
21837 * sysdeps/s390/fpu/libm-test-ulps: Update.
21838
4d0ee855
AS
218392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21840 Thomas Schwinge <thomas@codesourcery.com>
21841
21842 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21843 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21845 fanotify_mark.
21846
af1bce34
TS
218472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21848
a9fa33ba
TS
21849 * sysdeps/mach/start.c: Remove file.
21850 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21851 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21852 * sysdeps/sh/init-first.c: Likewise.
21853
58f902b8
TS
21854 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21855 registers for frame unwinding purposes, add CFI directives.
21856 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21857 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21858 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21859 Likewise.
21860
1518f58b
TS
21861 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21862 __fortify_fail returning.
21863 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21864
db9b5059
TS
21865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21866 sysdeps/sh/____longjmp_chk.S.
21867 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21868 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21869 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21870 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21871
967705fe
TS
21872 * sysdeps/sh/abort-instr.h: New file.
21873 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21874 process in case exit returns.
21875
a9def8c4
TS
21876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21877 initialize the GOT register before use.
21878
2a649725
TS
21879 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21880 calculation of ARGC > 4.
21881
af1bce34
TS
21882 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21883 meaningful names to some local labels.
21884
d230f50a
KK
218852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21886 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21887
21888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21889 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21890 (__arch_compare_and_exchange_val_16_acq): Likewise.
21891 (__arch_compare_and_exchange_val_32_acq): Likewise.
21892 (atomic_exchange_and_add): Fix gUSA sequence.
21893 (atomic_add): Likewise.
21894 (atomic_add_negative): Likewise.
21895 (atomic_add_zero): Likewise.
21896 (atomic_bit_test_set): Likewise.
21897
0479b305
AS
218982012-06-22 Andreas Schwab <schwab@redhat.com>
21899
21900 [BZ #13579]
21901 * include/link.h (struct link_map): Add l_free_initfini.
21902 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21903 l_initfini.
21904 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21905 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21906 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21907 set.
21908
0e3933b9
CD
219092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21910
21911 * configure.in: Use AC_LANG_SOURCE.
21912 * configure: Regenerate.
21913
4248b1b1
RM
219142012-06-22 Roland McGrath <roland@hack.frob.com>
21915
21916 * configure.in (libc_cv_localstatedir): New substituted variable.
21917 * configure: Regenerated.
21918 * config.make.in (localstatedir): New variable, substituted from
21919 libc_cv_localstatedir.
21920 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21921 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21922 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21923 * sysdeps/gnu/configure: Regenerated.
21924
006dd861
JL
219252012-06-21 Jeff Law <law@redhat.com>
21926
21927 [BZ #14277]
21928 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21929 free. Simplify list management for _LIBC case.
21930
79662d42
JM
219312012-06-21 Joseph Myers <joseph@codesourcery.com>
21932
b7abb4bf
JM
21933 [BZ #14273]
21934 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21935 Clear sign bit of 64-bit integer value before comparing against
21936 overflow value.
21937
79662d42
JM
21938 * sysdeps/mach/configure: Regenerated.
21939
1f150908
L
219402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 [BZ #14278]
21943 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21944
28363bbf
JL
219452012-06-21 Jeff Law <law@redhat.com>
21946
21947 [BZ #13882]
21948 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21949 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21951 * elf/dl-open.c (dl_open_worker): Likewise.
21952
09615db4
CD
219532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21954
21955 * scripts/list-sources.sh: Scan PORTS for translations.
21956 * po/libc.pot: Regenerated.
21957
2174c6dd
AJ
219582012-06-21 Andreas Jaeger <aj@suse.de>
21959
21960 [BZ #12194]
21961 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21962 warning.
21963 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21964 * bits/byteswap-16.h (__bswap_16): Likewise.
21965 * bits/byteswap.h (__bswap_constant_16): Likewise.
21966
3ee947b1
L
219672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21968
21969 [BZ #14117]
a2f34833
L
21970 * sysdeps/i386/fpu_control.h: Removed.
21971 * sysdeps/x86_64/fpu_control.h: Moved to ...
21972 * sysdeps/x86/fpu_control.h: Here.
21973
3ee947b1
L
21974 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21975 (_FPU_SETCW): Likewise.
21976
ed1825f8
L
219772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21978
25f1282a
L
21979 [BZ #14117]
21980 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21981 * sysdeps/x86/fpu/bits/mathinline.h: This.
21982 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21983
ed1825f8
L
21984 [BZ #14050]
21985 [BZ #14117]
21986 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21987 functions if __x86_64__ is defined.
21988
36d54b74
CLT
219892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21990
21991 * string/endian.h: Add !__ASSEMBLER__ condition for including
21992 conversion interfaces.
21993
10285c21
JM
219942012-06-15 Joseph Myers <joseph@codesourcery.com>
21995
21996 [BZ #14241]
21997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21998 of ABS(x) in calculating zero to negative powers other than odd
21999 integers.
22000 * math/libm-test.inc (pow_test): Add more tests.
22001
06c5abbd
AJ
220022012-06-15 Andreas Jaeger <aj@suse.de>
22003
22004 * manual/contrib.texi (Contributors): Update entry of Liubov
22005 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22006 Machado Filho.
22007
a3aeac40
CH
220082012-06-15 Cyril Hrubis <metan@ucw.cz>
22009
22010 * string/string.h: Add __wur to GNU version of strerror_r.
22011
49bdf4c1
L
220122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 [BZ #14229]
22015 * string/Makefile (tests): Add tst-strtok_r.
22016 * string/tst-strtok_r.c: New file.
22017 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22018 RAX_LP/RDX_LP on SAVE_PTR.
22019
834f9b8d
RM
220202012-06-14 Roland McGrath <roland@hack.frob.com>
22021
22022 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22023
75fa1921
JM
220242012-06-14 Joseph Myers <joseph@codesourcery.com>
22025
22026 * libm_test.inc (csqrt_test): Allow more spurious underflow
22027 exceptions.
22028 (j0_test): Likewise.
22029 (j1_test): Likewise.
22030 (y0_test): Likewise.
22031 (y1_test): Likewise.
22032
771766df
CD
220332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22034
22035 * po/Makefile (libc.pot): Use UTF-8 charset.
22036
ceb9e56b
PP
220372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22038
22039 [BZ #14210]
22040 Suppress sign-conversion warning from FD_SET.
22041 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22042 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22043 not unsigned long int.
22044 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22045
ddb28975
L
220462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22047
22048 [BZ #14050]
22049 [BZ #14117]
22050 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22051 __extern_always_inline instead of __extern_inline.
22052 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22053 (__signbit): Likewise.
22054 (__signbitl): Support C++ namespace.
22055 (lrintf): New inline function.
22056 (lrint): Likewise.
22057 (llrintf): Likewise.
22058 (llrint): Likewise.
22059 (fmaxf): Likewise.
22060 (fmax): Likewise.
22061 (fminf): Likewise.
22062 (fmin): Likewise.
22063 (rint): Likewise.
22064 (rintf): Likewise.
22065 (ceil): Likewise.
22066 (ceilf): Likewise.
22067 (floor): Likewise.
22068 (floorf): Likewise.
22069 (nearbyint): Likewise.
22070 (nearbyintf): Likewise.
22071
d7b4fb26
TS
220722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22073
22074 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22075 non-default versions.
22076
eb55f5c2
RM
220772012-06-11 Roland McGrath <roland@hack.frob.com>
22078
22079 [BZ #14218]
22080 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22081
366af02c
TS
220822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22083
99ff6e5c
TS
22084 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22085 (FE_UPWARD, FE_DOWNWARD): Don't define.
22086 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22087 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22088
366af02c
TS
22089 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22090 reading it.
22091 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22092 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22093
793ea851
KK
220942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22095
22096 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22100
a728a38f
L
221012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22102
22103 [BZ #14117]
c08010c7
L
22104 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22105 * sysdeps/i386/fpu/Implies: New file.
22106 * sysdeps/x86_64/fpu/Implies: Likewise.
22107 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22108 * sysdeps/x86/fpu/bits/fenv.h: This.
22109
a728a38f
L
22110 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22111 __SSE_MATH__.
22112
6e230d11
SP
221132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22114
22115 [BZ #14134]
22116 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22117 character 0xffff that matches the last element of the
22118 conversion table.
22119
1b671feb
AZ
221202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22121
22122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22123 fmodl commit.
22124
6043738b
AZ
221252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22126
22127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22128 values higher than 25.6283.
22129
34ae0b32
AZ
221302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22131
22132 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22133 subnormal exponent extraction and add some __builtin_expect.
22134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22135 Fix for subnormal mantissa calculation.
22136
1214ec8f
MF
221372012-06-04 Mike Frysinger <vapier@gentoo.org>
22138
22139 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22140 cpu2 is -1 and errno is not ENOSYS.
22141
f3d1f93c
L
221422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22143
22144 [BZ #14117]
0e4a3cd7
L
22145 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22146 * sysdeps/x86/bits/string.h: This.
22147 * sysdeps/x86_64/bits/string.h: Removed.
22148
6704c645
L
22149 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22150 if not compiling for x86-64, but compiling for >= i486.
22151
48495318
L
22152 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22153 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22154
14adcbfc
L
22155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22156 New macro from Linux kernel 3.4.0.
22157 (FP_XSTATE_MAGIC2): Likewise.
22158 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22159 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22160 (struct _fpx_sw_bytes): New struct.
22161 (struct _xsave_hdr): Likewise.
22162 (struct _ymmh_state): Likewise.
22163 (struct _xstate): Likewise.
22164
68e408ab
L
22165 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22166 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22167 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22168 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22169 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22170 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22171
f3d1f93c
L
22172 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22173 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22174 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22175 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22176 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22177 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22178
d9dc34cd
TMQMF
221792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22180
22181 [BZ #13743]
22182 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22183 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22184 (sysdep_headers): Include sys/platform/ppc.h.
22185 * sysdeps/powerpc/test-gettimebase.c: Test for
22186 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22187 * manual/Makefile (appendices): Include platform.texi.
22188 * manual/contrib.texi (Contributors): Update @node pointers.
22189 * manual/maint.texi (Maintenance): Likewise.
22190 (Platform): New node.
22191 * manual/platform.texi: New file. Document the new features.
22192
4af3879c
SP
221932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22194 Jakub Jelinek <jakub@redhat.com>
22195
22196 [BZ #14188]
22197 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22198 where __builtin_expect is unavailable.
22199
2fd6ff13
DM
222002012-06-03 David S. Miller <davem@davemloft.net>
22201
22202 * stdlib/longlong.h: Updated from GCC.
22203
173f7220
AS
222042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22205
22206 [BZ #14042]
22207 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22208 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22209 __mcount_internal.
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22211 (GLIBC_2.16): Likewise.
22212
f34a1c6f
L
222132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22214
22215 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22216
88a4576f
JM
222172012-06-01 Joseph Myers <joseph@codesourcery.com>
22218
ea32bcdd
JM
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22220 (default-abi): New variable.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22222 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22223 variable.
22224 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22225 Likewise.
22226 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22227 Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22229 Likewise.
22230
88a4576f
JM
22231 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22232 definition. Document in comment.
22233
402fe938
DM
222342012-06-01 David S. Miller <davem@davemloft.net>
22235
22236 * stdlib/longlong.h: Updated from GCC.
22237
3553723f
L
222382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 [BZ #14117]
3bd872c4
L
22241 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22242 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22243 sys/debugreg.h sys/io.h here.
22244 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22245 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22246 sys/io.h.
22247 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22248 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22250 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22252 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22253
3553723f
L
22254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22255 Define only if __x86_64__ is defined.
22256
4842e4fe
JM
222572012-06-01 Joseph Myers <joseph@codesourcery.com>
22258
c5bfe3d5
JM
22259 [BZ #14048]
22260 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22261 Use int64_t for variable i.
22262 * math/libm-test.inc (fmod_test): Add more tests.
22263
4842e4fe
JM
22264 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22265 z computation is not scheduled after fetestexcept.
22266 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22267 Use math_force_eval instead of asm to ensure calculation scheduled
22268 before exception test.
22269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22270 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22271
efb73488
AJ
222722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22273
22274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22275 computation is not scheduled after fetestexcept.
22276
29bcce7c
L
222772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 [BZ #14117]
22280 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22281 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22282
73a68f94
AZ
222832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22284
22285 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22286 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22287
67b6df78
L
222882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22289
edf2933a 22290 [BZ #14117]
ebc64a18
L
22291 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22292 <bits/wordsize.h>.
22293 (__WCHAR_MIN): Support __WORDSIZE == 64.
22294 (__WCHAR_MAX): Likewise.
22295
edf2933a
L
22296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22298
57c6cf40
L
22299 [BZ #14183]
22300 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22301 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22302
67b6df78 22303 [BZ #14117]
8eb6281e
L
22304 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22306
aac639f4
L
22307 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22308 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22309
67b6df78
L
22310 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22311 Defined to 1 if __x86_64__ isn't defined.
22312 (_STAT_VER_LINUX_OLD): New.
22313 (st_atime): Remove duplicate.
22314 (st_mtime): Likewise.
22315 (st_ctime): Likewise.
22316
1c2cfe81
DM
223172012-05-31 David S. Miller <davem@davemloft.net>
22318
22319 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22320 entries.
22321
5be8418c
AS
223222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22323
e7725326
AS
22324 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22325 gen-libm-test.pl.
22326
5be8418c
AS
22327 [BZ #14132]
22328 * elf/dl-reloc.c: Include <_itoa.h>.
22329 (_dl_reloc_bad_type): Remove use of INTUSE.
22330 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22331 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22332 * stdio-common/psiginfo.c (psiginfo): Likewise.
22333 * stdio-common/psignal.c (psignal): Likewise.
22334 * string/strsignal.c (strsignal): Likewise.
22335 * include/signal.h (_sys_siglist): Declare hidden proto.
22336 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22337 INTVARDEF with libc_hidden_data_def.
22338 * stdio-common/itoa-udigits.c: Likewise.
22339 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22340 (_itoa_lower_digits_internal): Remove declaration.
22341 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22342 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22343 (_sys_sigabbrev_internal): Remove aliases.
22344 (_sys_siglist): Define hidden alias.
22345
507352f1
MT
223462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22347
22348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22349 bits/sysctl.h.
22350
42bbb1c3
L
223512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 [BZ #14117]
6bd784b6
L
22354 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22355 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22356
8bca20f0
L
22357 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22358 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22359 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22360 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22362 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22363
f9e890a9
L
22364 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22365 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22366 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22367
471101a1
L
22368 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22369 with __addr.
22370 (insw): Likewise.
22371 (insl): Likewise.
22372 (outsb): Likewise.
22373 (outsw): Likewise.
22374 (outsl): Likewise.
22375
6451c862
L
22376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22379
a254b8c9
L
22380 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22381 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22382 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22383 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22384 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22385 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22386
b8dfdd92
L
22387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22388 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22389
578cd270
L
22390 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22391 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22392
de662f5f
L
22393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22396
25653439
L
22397 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22398 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22399 to ...
22400 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22401
6bad24a0
L
22402 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22403 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22404 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22405
42bbb1c3
L
22406 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22407 for x86-64.
22408 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22409
2d10d547
JM
224102012-05-31 Joseph Myers <joseph@codesourcery.com>
22411
22412 * math/math.h (M_El): Use two more decimal places.
22413 (M_LOG2El): Likewise.
22414 (M_LOG10El): Likewise.
22415 (M_LN2l): Likewise.
22416 (M_LN10l): Likewise.
22417 (M_PIl): Likewise.
22418 (M_PI_2l): Likewise.
22419 (M_PI_4l): Likewise.
22420 (M_1_PIl): Likewise.
22421 (M_2_PIl): Likewise.
22422 (M_2_SQRTPIl): Likewise.
22423 (M_SQRT2l): Likewise.
22424 (M_SQRT1_2l): Likewise.
22425
f230c29b
DM
224262012-05-31 David S. Miller <davem@davemloft.net>
22427
22428 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22429 values between float registers.
22430 * sysdeps/sparc/sparc64/memset.S: Likewise.
22431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22432
fed806c3
MF
224332012-05-31 Mike Frysinger <vapier@gentoo.org>
22434
22435 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22436 -D_FORTIFY_SOURCE=1.
22437 (CPPFLAGS-tst-longjmp_chk.c): Define.
22438 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22439 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22440 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22441 CFLAGS-tst-wchar-h.c.
22442
30917259
MP
224432012-05-31 Marek Polacek <polacek@redhat.com>
22444
22445 [BZ #14132]
22446 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22447 __endmntent_internal): Remove declaration.
22448 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22449 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22450 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22451
1c58d5dc
DM
224522012-05-30 David S. Miller <davem@davemloft.net>
22453
22454 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22455 (___Q_simulate_exceptions): Use real FP ops rather than writing
22456 into the %fsr.
22457 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22458 Likewise.
22459
7dc00e0d
L
224602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 [BZ #14117]
0bd53985
L
22463 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22464 * sysdeps/x86/bits/xtitypes.h: This.
22465
3a257e66
L
22466 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22467 * sysdeps/x86/bits/wordsize.h: This.
22468
62f62904
L
22469 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22470 * sysdeps/x86/bits/huge_vall.h: This.
22471
404fe9d9
L
22472 * sysdeps/i386/bits/select.h: Removed.
22473 * sysdeps/x86_64/bits/select.h: Renamed to ...
22474 * sysdeps/x86/bits/select.h: This.
22475
d48d0446
L
22476 * sysdeps/i386/bits/setjmp.h: Removed.
22477 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22478 * sysdeps/x86/bits/setjmp.h: This.
22479
7dc00e0d
L
22480 * sysdeps/i386/bits/mathdef.h: Removed.
22481 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22482 * sysdeps/x86/bits/mathdef.h: This.
22483
03277f8f
AS
224842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22485
22486 [BZ #14132]
22487 * include/sys/socket.h (__connect_internal)
22488 (__libc_sa_len_internal): Remove declaration.
22489 (__connect, __libc_sa_len): Declare hidden_proto.
22490 (SA_LEN): Remove use of INTUSE.
22491 * socket/connect.c: Add libc_hidden_def.
22492 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22493 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22494 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22495 alias.
22496 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22498 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22499 of adding _internal alias.
22500
13764867
L
225012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 [BZ #14117]
6bd97696
L
22504 * sysdeps/i386/bits/link.h: Removed.
22505 * sysdeps/i386/bits/linkmap.h: Likewise.
22506 * sysdeps/x86_64/bits/link.h: Renamed to ...
22507 * sysdeps/x86/bits/link.h: This.
22508 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22509 * sysdeps/x86/bits/linkmap.h: This.
22510
f726f0bb
L
22511 * sysdeps/i386/bits/endian.h: Removed.
22512 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22513 * sysdeps/x86/bits/endian.h: This.
22514
13764867
L
22515 * sysdeps/i386/bits/byteswap.h: Removed.
22516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22517 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22518 * sysdeps/x86/bits/byteswap.h: This.
22519 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22520 * sysdeps/x86/bits/byteswap-16.h: This.
22521 * sysdeps/i386/Implies: Add x86.
22522 * sysdeps/x86_64/Implies: Likewise.
22523
ae251b0b
DM
225242012-05-30 David S. Miller <davem@davemloft.net>
22525
22526 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22527 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22528 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22529 (FP_TRAPPING_EXCEPTIONS): Define.
22530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22531 (FP_TRAPPING_EXCEPTIONS): Define.
22532 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22533 subnormals only when inexact has been signalled or underflow
22534 exceptions are enabled.
22535 (_FP_PACK_CANONICAL): Likewise.
22536
d5c90867
L
225372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 [BZ #14183]
22540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22541 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22542
63f1549e
RH
225432012-05-30 Richard Henderson <rth@twiddle.net>
22544
8d8f2279
RH
22545 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22546 with #ifndef NOT_IN_libc.
22547
63f1549e
RH
22548 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22549 marked to avoid plt entry.
22550
0ab0291b
L
225512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22552
22553 [BZ #14112]
22554 * Makeconfig (default-abi): New macro.
22555 (abi-includes): Likewise.
22556 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22557 $(abi-$(default-abi)-lib-soname) for soname if defined.
22558 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22559 abi-variants.
22560 * Makefile (installed-stubs): Likewise.
22561 * include/stubs-biarch.h: Removed.
22562 * scripts/lib-names.awk: Only handle one library at a time.
22563 * scripts/soversions.awk: Remove WORDSIZE support.
22564 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22565 entries.
22566 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22567 Removed.
22568 (syscall-list-default-condition): Likewise.
22569 (syscall-list-default-condition): Likewise.
22570 (syscall-list-includes): Likewise.
22571 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22572 syscall-list-* with abi-*. Handle undefined abi-variants.
22573 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22574 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22575 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22576 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22577 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22578 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22579 Removed.
22580 (syscall-list-32-options): Likewise.
22581 (syscall-list-32-condition): Likewise.
22582 (syscall-list-64-options): Likewise.
22583 (syscall-list-64-condition): Likewise.
22584 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22585 macro.
22586 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22587 Renamed to ...
22588 (abi-*): This.
22589 (abi-64-ld-soname): New macro.
22590 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22591 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22592 Renamed to ...
22593 (abi-*): This.
22594 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22595 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22596
4da0431d
JM
225972012-05-30 Joseph Myers <joseph@codesourcery.com>
22598
3a85279c
JM
22599 * sysdeps/unix/sysv/linux/kernel-features.h
22600 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22601 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22602 include <kernel-features.h>.
22603 [!__NR_ftruncate64]: Remove conditional code.
22604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22605 [__NR_ftruncate64]: Make code unconditional.
22606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22607 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22608 include <kernel-features.h>.
22609 [!__NR_ftruncate64]: Remove conditional code.
22610 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22611 [__NR_ftruncate64]: Make code unconditional.
22612 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22614 include <kernel-features.h>.
22615 [!__NR_ftruncate64]: Remove conditional code.
22616 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22617 [__NR_ftruncate64]: Make code unconditional.
22618 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22620 include <kernel-features.h>.
22621 [!__NR_ftruncate64]: Remove conditional code.
22622 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22623 [__NR_ftruncate64]: Make code unconditional.
22624 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22625
4da0431d
JM
22626 * configure.in (libc_cv_fpie): Weaken to a compile test using
22627 LIBC_TRY_CC_OPTION.
22628 * configure: Regenerated.
22629
11ef492c
AK
226302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22631
22632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22636 Refreshed.
22637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22643 Refreshed.
22644
d66ef399
DM
226452012-05-27 David S. Miller <davem@davemloft.net>
22646
22647 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22648 (___Q_zero): New.
22649 (__Q_simulate_exceptions): Return void. Change to simulate
22650 exceptions by writing into the %fsr.
22651 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22652 (__Qp_handle_exceptions): Likewise.
22653 (numbers): Delete.
22654 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22655 __Qp_handle_exceptions.
22656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22657 __Qp_handle_exceptions.
22658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22659 as unused and give dummy FP_RND_NEAREST initializer.
22660 (FP_INHIBIT_RESULTS): Define.
22661 (___Q_simulate_exceptions): Update declaration.
22662 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22663 formatting.
22664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22665 as unused and give dummy FP_RND_NEAREST initializer.
22666 (__Qp_handle_exceptions): Update declaration.
22667 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22668 formatting.
22669
04fb54b5
TS
226702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22671
22672 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22673 the temporary FPU control word.
22674 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22675 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22677 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22678 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22679 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22680 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22681 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22682 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22683 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22685
3f99608f
KK
226862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22687
22688 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22689 fields.
22690
65a4de4e
CLT
226912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22692
22693 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22694 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22695 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22696 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22697 Likewise.
22698 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22699 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22700 Likewise.
22701
15749d40
UD
227022012-05-27 Ulrich Drepper <drepper@gmail.com>
22703
22704 * po/h.po: Update from translation team.
22705
25dbcb27
AS
227062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22707
3d3f8e55
AS
22708 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22709
25dbcb27
AS
22710 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22711 handling of denormals.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22713 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22714 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22719 Likewise.
22720
7ad47a80 227212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22722
22723 [BZ #14152]
22724 * math/libm-test.inc (fma_test): Don't always expect underflow
22725 exception.
22726
9c6ea9fa
SP
227272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22728
22729 [BZ #12416]
22730 * elf/tst-execstack.c: Include stackinfo.h.
22731 (do_test): Adjust test case to ensure that pthread_getattr_np
22732 behaviour remains the same after marking stack executable.
22733
a8239222
JM
227342012-05-25 Joseph Myers <joseph@codesourcery.com>
22735
22736 * sysdeps/unix/sysv/linux/kernel-features.h
22737 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22738 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22739 kernel-features.h.
22740 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22741 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22742 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22743 kernel-features.h.
22744 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22745 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22746
918b5606
L
227472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * configure.in: Define the default includes to being none.
22750 * configure: Regenerated.
22751
3a097cc7
RM
227522012-05-25 Roland McGrath <roland@hack.frob.com>
22753
8422c9a5
RM
22754 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22755 * sysdeps/x86_64/setjmp.S: Likewise.
22756 * sysdeps/i386/bsd-setjmp.S: Likewise.
22757 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22758 * sysdeps/i386/setjmp.S: Likewise.
22759 * sysdeps/i386/__longjmp.S: Likewise.
22760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22761 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22762
3a097cc7
RM
22763 * include/stap-probe.h: New file.
22764 * configure.in: Handle --enable-systemtap.
22765 * configure: Regenerated.
22766 * config.h.in (USE_STAP_PROBE): New #undef.
22767 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22768 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22769 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22770
21708942
JM
227712012-05-25 Joseph Myers <joseph@codesourcery.com>
22772
22773 [BZ #13717]
22774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22775 to 2.4.0 where earlier.
22776 * sysdeps/unix/sysv/linux/configure: Regenerated.
22777 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22778 <kernel-features.h>.
22779 [__ASSUME_32BITUIDS]: Make code unconditional.
22780 [!__ASSUME_32BITUIDS]: Remove conditional code.
22781 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22782 <kernel-features.h>.
22783 [__ASSUME_32BITUIDS]: Make code unconditional.
22784 [!__ASSUME_32BITUIDS]: Remove conditional code.
22785 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22786 [__ASSUME_32BITUIDS]: Make code unconditional.
22787 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22788 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22789 <kernel-features.h>.
22790 [__ASSUME_32BITUIDS]: Make code unconditional.
22791 [!__ASSUME_32BITUIDS]: Remove conditional code.
22792 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22793 <kernel-features.h>.
22794 [__ASSUME_32BITUIDS]: Make code unconditional.
22795 [!__ASSUME_32BITUIDS]: Remove conditional code.
22796 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22797 <kernel-features.h>.
22798 [__ASSUME_32BITUIDS]: Make code unconditional.
22799 [!__ASSUME_32BITUIDS]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22801 <kernel-features.h>.
22802 [__ASSUME_32BITUIDS]: Make code unconditional.
22803 [!__ASSUME_32BITUIDS]: Remove conditional code.
22804 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22805 <kernel-features.h>.
22806 [__ASSUME_32BITUIDS]: Make code unconditional.
22807 [!__ASSUME_32BITUIDS]: Remove conditional code.
22808 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22809 <kernel-features.h>.
22810 [__ASSUME_32BITUIDS]: Make code unconditional.
22811 [!__ASSUME_32BITUIDS]: Remove conditional code.
22812 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22813 <kernel-features.h>.
22814 [__ASSUME_32BITUIDS]: Make code unconditional.
22815 [!__ASSUME_32BITUIDS]: Remove conditional code.
22816 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22817 <kernel-features.h>.
22818 [__ASSUME_32BITUIDS]: Make code unconditional.
22819 [!__ASSUME_32BITUIDS]: Remove conditional code.
22820 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22821 <kernel-features.h>.
22822 [__ASSUME_32BITUIDS]: Make code unconditional.
22823 [!__ASSUME_32BITUIDS]: Remove conditional code.
22824 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22825 <kernel-features.h>.
22826 [__ASSUME_32BITUIDS]: Make code unconditional.
22827 [!__ASSUME_32BITUIDS]: Remove conditional code.
22828 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22829 <kernel-features.h>.
22830 [__NR_setresgid] (__setresgid): Do not declare.
22831 [__ASSUME_32BITUIDS]: Make code unconditional.
22832 [!__ASSUME_32BITUIDS]: Remove conditional code.
22833 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22834 <kernel-features.h>.
22835 [__NR_setresuid] (__setresuid): Do not declare.
22836 [__ASSUME_32BITUIDS]: Make code unconditional.
22837 [!__ASSUME_32BITUIDS]: Remove conditional code.
22838 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22839 <kernel-features.h>.
22840 [__ASSUME_32BITUIDS]: Make code unconditional.
22841 [!__ASSUME_32BITUIDS]: Remove conditional code.
22842 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22843 <kernel-features.h>.
22844 [__ASSUME_32BITUIDS]: Make code unconditional.
22845 [!__ASSUME_32BITUIDS]: Remove conditional code.
22846 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22847 <kernel-features.h>.
22848 [__ASSUME_32BITUIDS]: Make code unconditional.
22849 [!__ASSUME_32BITUIDS]: Remove conditional code.
22850 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22851 <kernel-features.h>.
22852 [__ASSUME_32BITUIDS]: Make code unconditional.
22853 [!__ASSUME_32BITUIDS]: Remove conditional code.
22854 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22855 <kernel-features.h>.
22856 [__ASSUME_32BITUIDS]: Make code unconditional.
22857 [!__ASSUME_32BITUIDS]: Remove conditional code.
22858 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22859 <kernel-features.h>.
22860 [__ASSUME_32BITUIDS]: Make code unconditional.
22861 [!__ASSUME_32BITUIDS]: Remove conditional code.
22862 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22863 <kernel-features.h>.
22864 [__ASSUME_32BITUIDS]: Make code unconditional.
22865 [!__ASSUME_32BITUIDS]: Remove conditional code.
22866 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22867 <kernel-features.h>.
22868 [__ASSUME_32BITUIDS]: Make code unconditional.
22869 [!__ASSUME_32BITUIDS]: Remove conditional code.
22870 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22871 <kernel-features.h>.
22872 [__ASSUME_32BITUIDS]: Make code unconditional.
22873 [!__ASSUME_32BITUIDS]: Remove conditional code.
22874 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22875 <kernel-features.h>.
22876 [__ASSUME_32BITUIDS]: Make code unconditional.
22877 [!__ASSUME_32BITUIDS]: Remove conditional code.
22878 * sysdeps/unix/sysv/linux/kernel-features.h
22879 (__ASSUME_SETRESUID_SYSCALL): Remove.
22880 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22881 (__ASSUME_32BITUIDS): Likewise.
22882 (__ASSUME_LDT_WORKS): Likewise.
22883 (__ASSUME_O_DIRECTORY): Likewise.
22884 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22885 architecture but not kernel version.
22886 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22887 (__ASSUME_MMAP2_SYSCALL): Likewise.
22888 (__ASSUME_STAT64_SYSCALL): Likewise.
22889 (__ASSUME_IPC64): Likewise.
22890 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22891 <kernel-features.h>.
22892 [__ASSUME_32BITUIDS]: Make code unconditional.
22893 [!__ASSUME_32BITUIDS]: Remove conditional code.
22894 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22895 <kernel-features.h>.
22896 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22897 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22898 132096]: Remove conditional code.
22899 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22900 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22901 <kernel-features.h>.
22902 [__ASSUME_32BITUIDS]: Make code unconditional.
22903 [!__ASSUME_32BITUIDS]: Remove conditional code.
22904 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22905 <kernel-features.h>.
22906 [__ASSUME_32BITUIDS]: Make code unconditional.
22907 [!__ASSUME_32BITUIDS]: Remove conditional code.
22908 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22909 <kernel-features.h>.
22910 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22911 unconditional.
22912 (__setresgid): Do not declare.
22913 [__ASSUME_32BITUIDS]: Make code unconditional.
22914 [!__ASSUME_32BITUIDS]: Remove conditional code.
22915 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22916 <kernel-features.h>.
22917 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22918 unconditional.
22919 (__setresuid): Do not declare.
22920 [__ASSUME_32BITUIDS]: Make code unconditional.
22921 [!__ASSUME_32BITUIDS]: Remove conditional code.
22922 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22923 <kernel-features.h>.
22924 [__ASSUME_32BITUIDS]: Make code unconditional.
22925 [!__ASSUME_32BITUIDS]: Remove conditional code.
22926 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22927 <kernel-features.h>.
22928 [__ASSUME_32BITUIDS]: Make code unconditional.
22929 [!__ASSUME_32BITUIDS]: Remove conditional code.
22930
a386f1cc
RH
229312012-05-25 Richard Henderson <rth@twiddle.net>
22932
22933 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22934 dl_hwcap to ifunc resolver.
22935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22936 elf_ifunc_invoke.
22937 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22938 dl_hwcap to ifunc resolver.
22939 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22940
b6550497
JM
229412012-05-24 Joseph Myers <joseph@codesourcery.com>
22942
22943 [BZ #14153]
22944 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22945 for |x| <= 2**-26, not 2**-57.
22946 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22947 exception.
22948
b0bc23a1
JL
229492012-05-24 Jeff Law <law@redhat.com>
22950
22951 * stdio-common/Makefile (tests): Add bug25.
22952 * stdio-common/bug25.c: New test.
22953
347c92e9
L
229542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22955
22956 [BZ #13576]
22957 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22958 multiple of MALLOC_ALIGNMENT in size.
22959 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22960
6bcc8b3f
JM
229612012-05-24 Joseph Myers <joseph@codesourcery.com>
22962
22963 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22964 Require >= 256.
22965 (FILENAME_MAX): Use macro-int-constant.
22966 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22967 (_IOFBF): Use macro-int-constant.
22968 (_IOLBF): Likewise.
22969 (_IONBF): Likewise.
22970 (SEEK_CUR): Likewise.
22971 (SEEK_END): Likewise.
22972 (SEEK_SET): Likewise.
22973 (TMP_MAX): Likewise.
22974 (EOF): Use macro-int-constant. Require < 0.
22975 (NULL): Use macro-constant. Require == 0.
22976 (stdin): Require type to be FILE *.
22977 (stdout): Likewise.
22978 (stderr): Likewise.
22979 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22980 macro-int-constant.
22981 (EXIT_SUCCESS): Likewise.
22982 (NULL): Use macro-constant. Require == 0.
22983 (RAND_MAX): Use macro-int-constant.
22984 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22985 [C99-based standards] (strtof): Require function.
22986 [C99-based standards] (strtold): Likewise.
22987 [C99-based standards] (strtoll): Likewise.
22988 [C99-based standards] (strtoull): Likewise.
22989 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22990 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22991 [ISO || ISO99 || ISO11] (math.h): Likewise.
22992 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22993 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22995
d18ea0c5
AS
229962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22997
22998 [BZ #14132]
56d25bb8
AS
22999 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23000 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23001 * intl/dgettext.c (DCGETTEXT): Likewise.
23002 * intl/gettext.c (DCGETTEXT): Likewise.
23003 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23004 * posix/regex_internal.h (gettext): Likewise.
23005 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23006 Remove declaration.
23007 * include/argz.h (__argz_count_internal)
23008 (__argz_stringify_internal): Remove declaration.
23009 (__argz_count, __argz_stringify): Declare hidden proto.
23010 * intl/dcgettext.c: Remove use of INTDEF.
23011 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23012 * string/argz-stringify.c: Likewise.
23013 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23014 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23015 Declare hidden proto.
d18ea0c5
AS
23016 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23017 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23018 Declare hidden proto.
23019 * include/stdio.h (__asprintf_internal): Don't declare.
23020 (__asprintf): Don't define as macro. Declare hidden proto.
23021 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23022 (__fsetlocking): Declare hidden proto.
23023 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23024 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23025 hidden proto.
23026 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23027 (_IO_setlinebuf): Remove use of INTUSE.
23028 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23029 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23030 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23031 Remove declaration.
23032 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23033 (_IO_do_flush): Remove use of INTUSE.
23034 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23035 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23036 (_IO_adjust_column, _IO_least_wmarker)
23037 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23038 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23039 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23040 (_IO_default_doallocate, _IO_wdefault_doallocate)
23041 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23042 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23043 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23044 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23045 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23046 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23047 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23048 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23049 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23050 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23051 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23052 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23053 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23054 proto.
23055 (_IO_flush_all_internal, _IO_adjust_column_internal)
23056 (_IO_default_uflow_internal, _IO_default_finish_internal)
23057 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23058 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23059 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23060 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23061 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23062 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23063 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23064 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23065 (_IO_file_close_internal, _IO_file_close_it_internal)
23066 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23067 (_IO_file_init_internal, _IO_file_attach_internal)
23068 (_IO_file_fopen_internal, _IO_file_read_internal)
23069 (_IO_file_sync_internal, _IO_file_seek_internal)
23070 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23071 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23072 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23073 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23074 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23075 (_IO_list_all_internal, _IO_link_in_internal)
23076 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23077 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23078 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23079 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23080 (_IO_do_write_internal, _IO_padn_internal)
23081 (_IO_getline_info_internal, _IO_getline_internal)
23082 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23083 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23084 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23085 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23086 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23087 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23088 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23089 with libc_hidden_ver, remove use of INTUSE.
23090 * libio/genops.c: Likewise.
23091 * libio/freopen.c: Likewise.
23092 * libio/freopen64.c: Likewise.
23093 * libio/iofclose.c: Likewise.
23094 * libio/iofdopen.c: Likewise.
23095 * libio/iofflush.c: Likewise.
23096 * libio/iofflush_u.c: Likewise.
23097 * libio/iofgets.c: Likewise.
23098 * libio/iofgets_u.c: Likewise.
23099 * libio/iofopen.c: Likewise.
23100 * libio/iofopncook.c: Likewise.
23101 * libio/iofread.c: Likewise.
23102 * libio/iofread_u.c: Likewise.
23103 * libio/ioftell.c: Likewise.
23104 * libio/iofwrite.c: Likewise.
23105 * libio/iogetline.c: Likewise.
23106 * libio/iogets.c: Likewise.
23107 * libio/iogetwline.c: Likewise.
23108 * libio/iopadn.c: Likewise.
23109 * libio/iopopen.c: Likewise.
23110 * libio/ioseekoff.c: Likewise.
23111 * libio/ioseekpos.c: Likewise.
23112 * libio/iosetbuffer.c: Likewise.
23113 * libio/iosetvbuf.c: Likewise.
23114 * libio/ioungetc.c: Likewise.
23115 * libio/ioungetwc.c: Likewise.
23116 * libio/iovdprintf.c: Likewise.
23117 * libio/iovsprintf.c: Likewise.
23118 * libio/iovsscanf.c: Likewise.
23119 * libio/memstream.c: Likewise.
23120 * libio/obprintf.c: Likewise.
23121 * libio/oldfileops.c: Likewise.
23122 * libio/oldiofclose.c: Likewise.
23123 * libio/oldiofdopen.c: Likewise.
23124 * libio/oldiofopen.c: Likewise.
23125 * libio/oldiopopen.c: Likewise.
23126 * libio/oldstdfiles.c: Likewise.
23127 * libio/putc.c: Likewise.
23128 * libio/setbuf.c: Likewise.
23129 * libio/setlinebuf.c: Likewise.
23130 * libio/stdfiles.c: Likewise.
23131 * libio/strops.c: Likewise.
23132 * libio/vasprintf.c: Likewise.
23133 * libio/vscanf.c: Likewise.
23134 * libio/vsnprintf.c: Likewise.
23135 * libio/vswprintf.c: Likewise.
23136 * libio/wfiledoalloc.c: Likewise.
23137 * libio/wfileops.c: Likewise.
23138 * libio/wgenops.c: Likewise.
23139 * libio/wmemstream.c: Likewise.
23140 * libio/wstrops.c: Likewise.
23141 * libio/__fpurge.c: Likewise.
23142 * libio/__fsetlocking.c: Likewise.
23143 * assert/assert.c: Likewise.
23144 * debug/fgets_chk.c: Likewise.
23145 * debug/fgets_u_chk.c: Likewise.
23146 * debug/fread_chk.c: Likewise.
23147 * debug/fread_u_chk.c: Likewise.
23148 * debug/gets_chk.c: Likewise.
23149 * debug/obprintf_chk.c: Likewise.
23150 * debug/vasprintf_chk.c: Likewise.
23151 * debug/vdprintf_chk.c: Likewise.
23152 * debug/vsnprintf_chk.c: Likewise.
23153 * debug/vsprintf_chk.c: Likewise.
23154 * malloc/mtrace.c: Likewise.
23155 * misc/error.c: Likewise.
23156 * misc/syslog.c: Likewise.
23157 * stdio-common/asprintf.c: Likewise.
23158 * stdio-common/fxprintf.c: Likewise.
23159 * stdio-common/getw.c: Likewise.
23160 * stdio-common/isoc99_fscanf.c: Likewise.
23161 * stdio-common/isoc99_scanf.c: Likewise.
23162 * stdio-common/isoc99_vfscanf.c: Likewise.
23163 * stdio-common/isoc99_vscanf.c: Likewise.
23164 * stdio-common/isoc99_vsscanf.c: Likewise.
23165 * stdio-common/printf-prs.c: Likewise.
23166 * stdio-common/printf_fp.c: Likewise.
23167 * stdio-common/printf_fphex.c: Likewise.
23168 * stdio-common/printf_size.c: Likewise.
23169 * stdio-common/putw.c: Likewise.
23170 * stdio-common/scanf.c: Likewise.
23171 * stdio-common/sprintf.c: Likewise.
23172 * stdio-common/tmpfile.c: Likewise.
23173 * stdio-common/vfprintf.c: Likewise.
23174 * stdio-common/vfscanf.c: Likewise.
23175 * stdlib/strfmon_l.c: Likewise.
23176 * sunrpc/openchild.c: Likewise.
23177 * sunrpc/xdr_stdio.c: Likewise.
23178 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23179 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23180
d6c33fda
RM
231812012-05-24 Roland McGrath <roland@hack.frob.com>
23182
c1487492
RM
23183 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23184
23185 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23186 in the third column, to generate for the shared library an IFUNC
23187 that uses _dl_vdso_vsym.
23188 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23189 * Makeconfig (object-suffixes-noshared): New variable.
23190
23191 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23192 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23193 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23194 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23195
d6c33fda
RM
23196 [BZ #14132]
23197 * include/sys/time.h (__gettimeofday): Remove macro.
23198 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23199 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23200 Remove INTDEF.
23201 (__gettimeofday): Add libc_hidden_def.
23202 (gettimeofday): Add libc_hidden_weak.
23203 * sysdeps/mach/gettimeofday.c: Likewise.
23204 * sysdeps/posix/gettimeofday.c: Likewise.
23205 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23206 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23208 (__gettimeofday_internal): Remove strong_alias.
23209 (__gettimeofday): Add libc_hidden_def.
23210 (gettimeofday): Add libc_hidden_weak.
23211 * sysdeps/unix/syscalls.list (gettimeofday):
23212 Remove __gettimeofday_internal alias.
23213
b5a2bbe6
L
232142012-05-24 Daniel Jacobowitz <drow@false.org>
23215 H.J. Lu <hongjiu.lu@intel.com>
23216
23217 [BZ #12495]
23218 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23219 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23220 (largebin_index_32_big): New.
23221 (largebin_index): Use it for 16-byte alignment.
23222 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23223 correction with front_misalign.
23224
cfba4fda
L
232252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23226
7f907421
L
23227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23229 Likewise.
23230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23231 Likewise.
23232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23233 Likewise.
23234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23235 Likewise.
23236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23237 Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23239 Likewise.
23240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23241 Likewise.
23242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23243 Likewise.
23244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23245 Likewise.
23246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23247 Likewise.
23248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23249 Likewise.
23250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23251 Likewise.
23252
cfba4fda
L
23253 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23254 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23255
80bad0cc
JM
232562012-05-24 Joseph Myers <joseph@codesourcery.com>
23257
7a25eb06
JM
23258 [BZ #10846]
23259 [BZ #14036]
23260 * math/libm-test.inc (exp_test): Add test from bug 14036.
23261 (pow_test): Add test from bug 10846.
23262
795405f9
JM
23263 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23264 and other flags.
23265 (special_function): Do not include flags in test name.
23266 (parse_args): Likewise.
23267 * sysdeps/i386/fpu/libm-test-ulps: Update.
23268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23270 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23272
80bad0cc
JM
23273 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23274 exceptions.
23275 * math/libm-test.inc ("Philosophy"): Update comment about
23276 exception testing.
23277 (UNDERFLOW_EXCEPTION): New macro.
23278 (UNDERFLOW_EXCEPTION_OK): Likewise.
23279 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23280 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23281 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23282 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23283 (INVALID_EXCEPTION_OK): Update value.
23284 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23285 (OVERFLOW_EXCEPTION_OK): Likewise.
23286 (IGNORE_ZERO_INF_SIGN): Likewise.
23287 (test_exceptions): Handle underflow exceptions.
23288 (acos_test): Update for underflow exception expectations.
23289 (cexp_test): Likewise.
23290 (clog_test): Likewise.
23291 (clog10_test): Likewise.
23292 (csqrt_test): Likewise.
23293 (ctan_test): Likewise.
23294 (ctanh_test): Likewise.
23295 (exp_test): Likewise.
23296 (exp10_test): Likewise.
23297 (exp2_test): Likewise.
23298 (expm1_test): Likewise.
23299 (fma_test): Likewise.
23300 (j0_test): Likewise.
23301 (jn_test): Likewise.
23302 (nexttoward_test): Likewise.
23303 (pow_test): Likewise.
23304 (scalbn_test): Likewise.
23305 (scalbln_test): Likewise.
23306 (tan_test): Likewise.
23307 (y1_test): Likewise.
23308 * sysdeps/i386/fpu/libm-test-ulps: Update.
23309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23310
9e0e3d0b
DM
233112012-05-23 David S. Miller <davem@davemloft.net>
23312
23313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23314 (__libc_sigaction): Remove unused local variables.
23315
ccd0a08f
L
233162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23317
23318 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23319
62bdf9a6
PE
233202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23321
f8591f80
PE
23322 mktime: avoid signed integer overflow
23323 * time/mktime.c (__mktime_internal): Do not mishandle the case
23324 where diff == INT_MIN.
23325
94c7d826
PE
23326 mktime: simplify computation of average
23327 * time/mktime.c (ranged_convert): Use new time_t_avg function
23328 instead of rolling our own (probably-slower) code.
23329
ce73d683
PE
23330 mktime: do not assume signed right shift propagates sign bit
23331 * time/mktime.c (isdst_differ): New static function.
23332 (__mktime_internal): No need to normalize tm_isdst now.
23333 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23334 tm_isdst values.
23335
72a22e59
PE
23336 mktime: merge another wrapv change from gnulib
23337 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23338 from some compilers.
23339
68605433
PE
23340 mktime: remove incorrect attempt at unusual arithmetics
23341 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23342 The code didn't really work on such machines anyway.
23343 (TYPE_MINIMUM): Assume two's complement.
23344 (twos_complement_arithmetic): Verify that long_int and time_t
23345 are two's complement (or unsigned, in the latter case).
23346
03cf7fe3
PE
23347 mktime: check signed shifts on long_int and time_t, too
23348 * time/mktime.c (SHR): Check that shifts work as desired
23349 on the types long_int and time_t too, as SHR is used on
23350 such types.
23351
f04dfbc2
PE
23352 mktime: do not assume 'long' is wide enough
23353 * time/mktime.c (verify): Move decl up.
23354 (long_int): New type.
23355 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23356 to remove assumption in the code that 'long' is wide enough to
23357 store year values. This assumption is not true on x32 and on
23358 some non-glibc platforms.
23359
62bdf9a6
PE
23360 mktime: merge wrapv change from gnulib
23361 * time/mktime.c (WRAPV): New macro.
23362 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23363 (guess_time_tm, __mktime_internal): Do not assume that signed
23364 integer overflow wraps around; modern compilers generate code
23365 where this assumption is no longer valid.
23366
5e292e4f
L
233672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23370 Replace "jmp L(pseudo_end)" with "ret".
23371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23372 Likewise.
23373
8caf8c87
AJ
233742012-05-23 Andreas Jaeger <aj@suse.de>
23375
23376 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23377 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23378
1a09dc56
AJ
233792012-05-23 Andreas Jaeger <aj@suse.de>
23380 Maximilian Attems <max@stro.at>
23381
23382 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23383 New macros.
23384
1c87aba0
L
233852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23386
23387 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23388 code so that pseudo_end is just ret and the stack pointer is
23389 correct also for static library in error case.
23390
40e45bd5
JM
233912012-05-23 Joseph Myers <joseph@codesourcery.com>
23392
c2670533
JM
23393 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23394 move to syscalls.list.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23399
40e45bd5
JM
23400 * manual/install.texi (Running make install): Do not mention Linux
23401 kernel version for which pt_chown is not needed.
23402 (Linux): Do not mention problems with nscd with 2.0 kernels.
23403 * INSTALL: Regenerated.
23404
be08eda5
AJ
234052012-05-23 Andreas Jaeger <aj@suse.de>
23406
23407 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23408 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23409 macro.
23410 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23411 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23412 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23414 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23418 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23420 * sysdeps/unix/sysv/linux/bits/in.h
23421 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23422
a6a056bb
RM
234232012-05-22 Roland McGrath <roland@hack.frob.com>
23424
23425 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23426 (PREPARE_VERSION): Just use assert instead, it will be elided
23427 under [NDEBUG] anyway.
23428
c9009328
L
234292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23430
23431 * sysdeps/unix/sysv/linux/Makefile: Include
23432 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23433 (sysdep_routines): Remove sysctl.
c9009328
L
23434 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23435 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23436 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23438 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23439
73338355
AJ
234402012-05-22 Andreas Jaeger <aj@suse.de>
23441
23442 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23443 that pseudo_end is just ret and the stack pointer is correct also
23444 for static library in error case.
23445
d44638b0
PP
234462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23447
23448 [BZ #14122]
23449 * nss/nsswitch.c (defconfig_entries): New variable.
23450 (__nss_database_lookup): Don't leak defconfig entries.
23451 (nss_parse_service_list): Don't leak on error paths.
23452 (free_database_entries): New function.
23453 (free_defconfig): New function.
23454 (free_mem): Move common code to free_database_entries.
23455
31a39bd8
L
234562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23457
da0331a8
L
23458 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23459 Add arch_prctl.
23460 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23461
31a39bd8
L
23462 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23463 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23465 New macro.
23466 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23467 (INTERNAL_SYSCALL_TYPES): Likewise.
23468 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23469 (LOAD_REGS_TYPES_[1-6]): Likewise.
23470 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23471 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23472
45470df3
AZ
234732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474
23475 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23476 copysignl for GLIBC_2_0.
23477 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23478 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23480 logbl for GLIBC_2_0.
23481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23483
98a61bcb
L
234842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23485
a4f6e481
L
23486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23487 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23488
f63d5db6
L
23489 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23490 Use "neg %eax".
23491
98a61bcb
L
23492 * time/mktime.c: Update copyright years.
23493
95770f14
PE
234942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23495
6226efbd
PE
23496 mktime: merge comment-quoting-style change from gnulib
23497 * time/mktime.c: Quote 'like this' in comments.
23498 The GNU coding standards suggest that we no longer quote `like this',
23499 as "`" and "'" are typically rendered asymmetrically nowadays.
23500 The typical gnulib style is to quote 'like this' when quoting
23501 code, and "like this" when quoting English.
23502
b99e4f78
PE
23503 * time/mktime.c (compile-command): Add "-I.".
23504
643e01e6
PE
23505 mktime: merge mktime-internal.h change from gnulib
23506 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23507
2554247d
PE
23508 mktime: merge time_r change from gnulib
23509 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23510
826dd0ab
PE
23511 mktime: merge DEBUG change from gnulib
23512 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23513 case system <time.h> has a #define.
23514
bd83aabe
PE
23515 mktime: merge <sys/types.h> change from gnulib
23516 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23517 since <time.t> is now guaranteed to define time_t.
23518
95770f14
PE
23519 mktime: merge HAVE_CONFIG_H change from gnulib
23520 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23521
5e1a27a9
L
235222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23523
0e44a77e
L
23524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23525 Use "neg %eax".
23526
5e1a27a9
L
23527 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23528 __rlim_t cast.
23529 (struct rusage): Use anonymous union to pad each field to
23530 __syscall_slong_t.
23531
46259bec
DM
235322012-05-21 David S. Miller <davem@davemloft.net>
23533
23534 * Makefules (o-iterator): Remove .s cases.
23535 (compile-command.s): Delete.
23536 (COMPILE.s): Delete.
23537 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23538
59f0c22e
JM
235392012-05-21 Joseph Myers <joseph@codesourcery.com>
23540
23541 * configure.in (libc_cv_predef_stack_protector): Only consider
23542 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23543 * configure: Regenerated.
23544
20c07380
L
235452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23546
bbb3154b
L
23547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23548 New macro. Use R*LP on int and pointer.
23549 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23550 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23551 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23552 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23553
20c07380
L
23554 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23555 [__WORDSIZE_TIME64_COMPAT32] instead of
23556 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23557 (struct utmp): Likewise.
23558 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23559 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23560 Renamed to ...
23561 (__WORDSIZE_TIME64_COMPAT32): This.
23562 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23563 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23564 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23565 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23566 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23567 (__WORDSIZE_TIME64_COMPAT32): New macro.
23568
d8d1017e
AJ
235692012-05-21 Andreas Jaeger <aj@suse.de>
23570
23571 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23572 only if [SHARED]. Add prototype for __wcschr_ia32.
23573
6c7fb145
RM
235742012-05-21 Roland McGrath <roland@hack.frob.com>
23575
23576 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23577 of %rbp unmolested in the jmp_buf while mangling the low bits.
23578 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23579 unmolested high bits of %rbp while demangling the low bits.
23580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23581
66274218
AJ
235822012-05-21 Andreas Jaeger <aj@suse.de>
23583
07c58f8f
AJ
23584 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23585 * sunrpc/svc_simple.c: Use it for registerrpc.
23586 * sunrpc/xcrypt.c: Use it for passwd2des.
23587
66274218
AJ
23588 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23589
61f65140
L
235902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23591
23592 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23593 Don't define if [__SYSCALL_WORDSIZE != 32].
23594 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23595 New macro.
23596
5fefb436
AJ
235972012-05-21 Bruno Haible <bruno@clisp.org>
23598 Andreas Jaeger <aj@suse.de>
23599
23600 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23601 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23602 inptr and inend for must_buffer_ch.
23603 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23604 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23605 * stdio-common/Makefile (tests): Remove bug15.
23606 (bug15-ENV): Remove macro.
23607 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23608 anymore.
23609
d8e272ab
AJ
236102012-05-19 Andreas Jaeger <aj@suse.de>
23611 Roland McGrath <roland@hack.frob.com>
23612
23613 * manual/contrib.texi: Completely rewritten. It contains now an
23614 alphabetical list of contributors and their contributions.
23615
4a56a162
RH
236162012-05-21 Richard Henderson <rth@twiddle.net>
23617
23618 * misc/getauxval.c (__getauxval): Use unsigned long int.
23619 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23620 (getauxval): Use unsigned long int.
23621
d024d23c
L
236222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23625
cbc00a03
RM
236262012-05-21 Roland McGrath <roland@hack.frob.com>
23627
23628 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23629 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23630 __alignof__ (long double).
23631
478143fa
AZ
236322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23633
23634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23635
c7683a6d
RH
236362012-05-20 Richard Henderson <rth@twiddle.net>
23637
23638 * misc/getauxval.c: New file.
23639 * misc/sys/auxv.h: New file.
23640 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23641 (routines): Add getauxval.
23642 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23643 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23644 * elf/dl-sysdep.c (_dl_auxv): Remove.
23645 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23646 * elf/dl-support.c (_dl_auxv): New variable.
23647 (_dl_aux_init): Initialize it.
23648 * manual/startup.texi (Auxiliary Vector): New node.
23649 * sysdeps/generic/bits/hwcap.h: New file.
23650 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23651 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23652 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23653 * sysdeps/sparc/sysdep.h: ... here. Include it.
23654 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23657 Update.
c7683a6d
RH
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23666
a6f1845d
AZ
236672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23668
23669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23670
cbcbe830
DM
236712012-05-19 David S. Miller <davem@davemloft.net>
23672
23673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23674
e0b16cc2
JM
236752012-05-19 Joseph Myers <joseph@codesourcery.com>
23676
23677 [BZ #14123]
23678 * math/s_ccosh.c: Include <float.h>
23679 (__ccosh): Avoid internal overflow calculating sinh and cosh
23680 values before multiplying by sin and cos values.
23681 * math/s_ccoshf.c: Likewise.
23682 * math/s_ccoshl.c: Likewise.
23683 * math/s_csin.c: Likewise.
23684 * math/s_csinf.c: Likewise.
23685 * math/s_csinl.c: Likewise.
23686 * math/s_csinh.c: Likewise.
23687 * math/s_csinhf.c: Likewise.
23688 * math/s_csinhl.c: Likewise.
23689 * math/libm-test.inc (ccos_test): Add more tests.
23690 (ccosh_test): Likewise.
23691 (csin_test): Likewise.
23692 (csinh_test): Likewise.
23693 * sysdeps/i386/fpu/libm-test-ulps: Update.
23694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23695
6ad13e08
L
236962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23697
f66f0ce8
L
23698 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23699 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23700
6ad13e08
L
23701 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23702
b1d072a7
JM
237032012-05-19 Joseph Myers <joseph@codesourcery.com>
23704
23705 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23706 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23707 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23708 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23709 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23710 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23711 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23712 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23713 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23714 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23715 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23716 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23717 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23718 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23719 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23720 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23721 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23722 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23723 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23724 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23725 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23726 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23727 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23728 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23729 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23730 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23731 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23732 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23733 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23734 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23735 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23736
9eae47cb
AJ
237372012-05-18 Andreas Jaeger <aj@suse.de>
23738
23739 * csu/.gitignore: Delete.
23740
bb07f69f
L
237412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23742
23743 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23744 (timex): Use __syscall_slong_t.
23745
e6bdb741
AJ
237462012-05-18 Andreas Jaeger <aj@suse.de>
23747 Carlos O'Donell <carlos_odonell@mentor.com>
23748
23749 * manual/install.texi (Configuring and compiling): Update
23750 description about files modified in the source directory.
d6c33fda 23751 * INSTALL: Regenerated.
e6bdb741 23752
1b74487e
L
237532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23756 value. Use "or" to set return value to -1.
23757 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23758 negate return value.
23759
a88b64b9
TMQMF
237602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23761
23762 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23763 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23764 failure if the compiler has Graphite support disabled.
23765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23766 Likewise.
23767 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23768 CFLAGS-memmove.c): Likewise.
23769 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23770 Likewise.
23771
3707636e
L
237722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23773
610b8622
L
23774 * sysdeps/x86_64/x32/_itoa.h: New file.
23775
7cd195df
L
23776 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23777 getdents system call only if kernel and user dirents have the
23778 same d_ino and d_off.
23779
94b07d20
L
23780 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23781 LLONG_MAX != LONG_MAX.
23782 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23783 (_fitoa_word): Likewise.
23784
18298070
L
23785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23786 years.
23787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23789 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23790
553c7ea4
L
23791 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23792 include <bits/wordsize.h>. Check __x86_64__ instead of
23793 __WORDSIZE.
23794 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23795 if __x86_64__ is defined. Use anonymous union on fpstate.
23796
3707636e
L
23797 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23798 anonymous union.
23799
b53ef01a
AS
238002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23801
37fb1dc0
AS
23802 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23803 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23804 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23805 Refer to _rtld_local_ro instead of _rtld_global_ro.
23806 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23807 Likewise.
23808 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23809 Likewise.
23810 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23811 Likewise.
23812 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23813 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23814 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23815
b53ef01a
AS
23816 * sysdeps/powerpc/powerpc32/dl-machine.c
23817 (__elf_machine_runtime_setup) [PROF]: Don't reference
23818 _dl_prof_resolve.
23819
7a185db2
AJ
238202012-05-18 Andreas Jaeger <aj@suse.de>
23821
23822 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23823 function only available for GCCs before 3.4 since GCC 3.4
23824 introduced a builtin.
23825 (lrint): Likewise.
23826 (llrintf): Likewise.
23827 (llrint): Likewise.
23828 (fmaxf): Likewise.
23829 (fmax): Likewise.
23830 (fminf): Likewise.
23831 (fmin): Likewise.
23832 (rint): Likewise.
23833 (rintf): Likewise.
23834 (nearbyint): Likewise.
23835 (nearbyintf): Likewise.
23836 (ceil): Likewise.
23837 (ceilf): Likewise.
23838 (floor): Likewise.
23839 (floorf): Likewise.
23840
3e5aef87
L
238412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23842
428bd707
L
23843 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23844 on both fields and cast pointer to __syscall_ulong_t.
23845
3e5aef87
L
23846 * bits/types.h (__fsword_t): New type.
23847 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23848 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23850 (__FSWORD_T_TYPE): Likewise.
23851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23852 (__FSWORD_T_TYPE): Likewise.
23853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23854 (__FSWORD_T_TYPE): Likewise.
23855 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23856 (__FSWORD_T_TYPE): Likewise.
23857 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23858 __SWORD_TYPE with __fsword_t.
23859 (statfs64): Likewise.
23860
1ba7c3dc
DM
238612012-05-17 David S. Miller <davem@davemloft.net>
23862
23863 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23864
59910343
AJ
238652012-05-17 Andreas Jaeger <aj@suse.de>
23866
23867 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23868 warning.
23869
2e4c1e9e
L
238702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23873
de7f5ce7
AJ
238742012-05-17 Andreas Jaeger <aj@suse.de>
23875
23876 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23877 when it is used.
23878
286abc3d
CM
238792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23880
23881 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23882
477cc68e
L
238832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23884
23885 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23886 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23887
1a0994f5
CD
238882012-05-17 Andreas Jaeger <aj@suse.de>
23889 Carlos O'Donell <carlos_odonell@mentor.com>
23890
23891 [BZ #14059]
23892 * sysdeps/x86_64/multiarch/init-arch.h
23893 (bit_YMM_Usable): Rename to...
23894 (bit_AVX_Usable): ... this.
23895 (bit_FMA4_Usable): New macro.
23896 (bit_XMM_state): New macro.
23897 (bit_YMM_state): New macro.
23898 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23899 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23900 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23901 (CPUID_OSXSAVE): New macro.
23902 (CPUID_AVX): New macro.
23903 (CPUID_FMA4): New macro.
23904 (index_YMM_Usable): Rename to...
23905 (index_AVX_Usable): ... this.
23906 (HAS_AVX): Use HAS_ARCH_FEATURE.
23907 (HAS_FMA4): Likewise.
23908 (HAS_YMM_USABLE): Remove.
23909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23910 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23911 are present.
23912 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23913 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23914 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23915 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23916 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23917
0af797de
CM
239182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23919
23920 * math/libm-test.c: Support platforms without multiple rounding modes.
23921 * math/bug-nextafter.c: Support platforms without FP exceptions.
23922 * math/bug-nexttoward.c: Likewise.
23923 * math/test-fenv.c: Likewise.
23924 * math/test-misc.c: Likewise.
23925 * stdlib/bug-getcontext.c: Likewise.
23926
e39745ff
AJ
239272012-05-17 Andreas Jaeger <aj@suse.de>
23928
23929 * manual/examples/search.c (critter_cmp): Change signature to
23930 avoid warnings.
23931 * manual/string.texi (Collation Functions): Likewise.
23932
48970aba
L
239332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * bits/types.h: Fold copyright years.
23936 * bits/typesizes.h: Likewise.
23937 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23941 * time/time.h: Likewise.
23942
bedee953
PP
239432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23944
23945 [BZ #208]
23946 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23947 in instead of returning them. Return void.
23948 (__libc_mallinfo): Accumulate over all arenas.
23949 (__malloc_stats): Adjust for change in int_mallinfo interface.
23950
61653dfb
RM
239512012-05-16 Roland McGrath <roland@hack.frob.com>
23952
30b99d79
RM
23953 [BZ #10375]
23954 * configure.in (NM): Add AC_CHECK_TOOL for it.
23955 (libc_extra_cflags): New substituted variable.
23956 Check for -fstack-protector being used implicitly.
23957 * configure: Regenerated.
23958 * config.make.in (config-extra-cflags): New variable,
23959 gets @libc_extra_cflags@.
23960 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23961
61653dfb
RM
23962 [BZ #10375]
23963 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23964 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23965 * configure: Regenerated.
23966 * config.make.in (CPPUNDEFS): New substituted variable.
23967 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23968 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23969 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23970
661768bb
L
239712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23972
23973 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23974 (mq_attr): Use __syscall_slong_t.
23975
d4261567
L
239762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23977
23978 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23979 Check __x86_64__ instead of __WORDSIZE.
23980 (_STAT_VER_LINUX): Likewise.
23981 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23982 __syscall_ulong_t and __syscall_slong_t.
23983 (stat64): Likewise.
23984
cf3ff365
L
239852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23986
23987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23988
76cf3e4d
L
239892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23990
23991 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23992
a637753a
L
239932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23996 __syscall_ulong_t.
23997
d5e05119
L
23998 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23999 include <bits/wordsize.h>. Check __x86_64__ instead of
24000 __WORDSIZE.
24001 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24002 defined.
24003 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24004
f62ee380
L
24005 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24006 include <bits/wordsize.h>. Check __x86_64__ instead of
24007 __WORDSIZE.
24008 (user_regs_struct): Use "__extension__ unsigned long long"
24009 instead of "unsigned long" if __x86_64__ is defined.
24010 (user): Likewise. Pad after pointer field if __ILP32__ is
24011 defined.
24012
4e124ced
JM
240132012-05-16 Joseph Myers <joseph@codesourcery.com>
24014
6a3951a0
JM
24015 * configure.in (makeinfo): Require version 4.5 or later. Allow
24016 versions 5 to 9.
24017 * configure: Regenerated.
24018 * manual/install.texi (texinfo): Increase version requirement to
24019 4.5 or later.
24020 * INSTALL: Regenerated.
24021
4e124ced
JM
24022 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24023
953ca31a
L
240242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24025
24026 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24027
617aca05
L
24028 * sysdeps/x86_64/x32/ffs.c: New file.
24029
5762f7ae
L
24030 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24031 __syscall_ulong_t.
24032 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24033 defined. Use __syscall_ulong_t.
24034 (shminfo): Use __syscall_ulong_t.
24035 (shm_info): Likewise.
24036
a26b6856
L
24037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24038 __syscall_ulong_t.
24039
cb2b9ef7
L
24040 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24041 <bits/wordsize.h>.
24042 (msgqnum_t): Use __syscall_ulong_t.
24043 (msglen_t): Likewise.
24044 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24045 __syscall_ulong_t.
24046
34683bb0
L
24047 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24048 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24049
84a68786
L
24050 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24051
48baa5f1
L
24052 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24053 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24054
180be88b
L
24055 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24056 __syscall_slong_t.
24057
5e90c8ad
L
24058 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24059 include <bits/wordsize.h>. Check __x86_64__ instead of
24060 __WORDSIZE.
24061
23dfb58b
L
24062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24063 "unsigned long long int" if __x86_64__ is defined.
24064 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24065
ce5d54b0
L
24066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24068 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24069
13dc9eac
L
24070 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24071 <stdint.h>.
24072 (GET_PC): Cast to uintptr_t first.
24073 (GET_FRAME): Likewise.
24074 (GET_STACK): Likewise.
24075
a7895d15
L
24076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24079 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24081 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24083 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24084 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24086 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24088 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24090 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24104 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24105
656416c9
AS
241062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24107
5bd66283
AS
24108 * Makerules (+depfiles): Also collect depfiles from .oS in
24109 $(extra-objs).
24110 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24111 .oS, $(libnldbl-routines)).
24112
656416c9
AS
24113 * Makerules (native-compile-mkdep-flags): Define.
24114 * sunrpc/Makefile (extra-objs): Add $(addprefix
24115 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24116 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24117 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24118 calling $(make-target-directory).
24119
a46f2169
L
241202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 * bits/types.h (__snseconds_t): Removed.
24123 * time/time.h (struct timespec): Replace __snseconds_t with
24124 __syscall_slong_t.
24125 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24126 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24127 Likewise.
24128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24129 (__SNSECONDS_T_TYPE): Likewise.
24130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24131 (__SNSECONDS_T_TYPE): Likewise.
24132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24133 (__SNSECONDS_T_TYPE): Likewise.
24134
6af6528b
L
241352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 * sysdeps/mach/hurd/bits/typesizes.h
24138 (__SYSCALL_SLONG_TYPE): New macro.
24139 (__SYSCALL_ULONG_TYPE): Likewise.
24140
de986b56
L
241412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24142
24143 * bits/types.h (__syscall_slong_t): New type.
24144 (__syscall_ulong_t): Likewise.
24145
24146 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24147 (__SYSCALL_ULONG_TYPE): Likewise.
24148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24149 (__SYSCALL_SLONG_TYPE): Likewise.
24150 (__SYSCALL_ULONG_TYPE): Likewise.
24151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24152 (__SYSCALL_SLONG_TYPE): Likewise.
24153 (__SYSCALL_ULONG_TYPE): Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24155 (__SYSCALL_SLONG_TYPE): Likewise.
24156 (__SYSCALL_ULONG_TYPE): Likewise.
24157
85736dc7
L
241582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24159
24160 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24161 Add sigaltstack-offsets.sym.
24162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24163 <sigaltstack-offsets.h>.
24164 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24165 longjmp_msg pointer.
24166 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24167 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24168 signal stack.
24169 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24170
cc03b296
JM
241712012-05-15 Joseph Myers <joseph@codesourcery.com>
24172
a9538892
JM
24173 * elf/stackguard-macros.h: Remove file.
24174 * sysdeps/generic/stackguard-macros.h: New file.
24175 * sysdeps/i386/stackguard-macros.h: Likewise.
24176 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24177 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24178 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24179 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24180 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24181 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24182 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24183 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24184 <elf/stackguard-macros.h>.
24185
cc03b296
JM
24186 [BZ #14109]
24187 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24188 __aligned__ in attribute.
24189 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24190 (gregset_t): Likewise.
24191
93171016
L
241922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24193
24194 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24195 * sysdeps/x86_64/64/Implies-after: Here. New file.
24196 * sysdeps/x86_64/x32/Implies-after: New file.
24197
d86813a0
L
241982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24201 and access return value for _dl_profile_fixup. Use R10_LP to
24202 load frame size.
24203
2953ec75
L
242042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24205
24206 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24207
3b550e9e
L
242082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24211 * sysdeps/x86_64/x32/sysdep.h: New file.
24212
eda41706
L
242132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24216 * sysdeps/x86_64/setjmp.S: Likewise.
24217
9ea01d93
AZ
242182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24219
24220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24222 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24224 remove unused global constant.
24225
02a91938
CM
242262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24227
24228 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24229 include of <not-cancel.h>.
24230
6540185f
RM
242312012-05-15 Roland McGrath <roland@hack.frob.com>
24232
24233 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24234
509072a0
AJ
242352012-05-15 Jeff Law <law@redhat.com>
24236 Andreas Jaeger <aj@suse.de>
24237
24238 [BZ #13594]
24239 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24240 out from...
24241 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24242 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24243 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24244 code changing __hst_map_handle.map.
24245
ba75122d
RM
242462012-05-15 Roland McGrath <roland@hack.frob.com>
24247
24248 * configure.in (sysnames): Look for Implies-before and Implies-after
24249 files.
24250 * configure: Regenerated.
24251
890d8bd8
L
242522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24253
24254 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24255 8-byte data alignment with LP_SIZE alignment.
24256
f6ee6623
L
242572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24258
24259 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24260 into R10_LP.
24261
ea2626f6
L
242622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24263
24264 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24265
085f715e
L
242662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24269 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24271 Likewise.
24272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24273
be8498fc
L
242742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24277 (stackinfo_sub_sp): Likewise.
24278
70bc83b9
L
242792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24280
24281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24282 RAX_LP.
24283
9bc0b730
L
242842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24285
24286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24287 into R*_LP.
24288
6d2850e7
L
242892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24290
24291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24292 sizes into R*_LP.
24293
3cb84561
L
242942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24295
24296 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24297
54e2ed81
L
242982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24301 into R11_LP and load __x86_64_shared_cache_size_half into
24302 R8_LP.
24303
8a17f349
L
243042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24307 R8_LP.
24308
777b1eea
AZ
243092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24310
24311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24312 logb for POWER7.
24313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24314 logbf for POWER7.
24315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24316 logbl for POWER7.
24317 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24318 powerpc32/power7/fpu/s_logb.c via #include.
24319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24320 powerpc32/power7/fpu/s_logbf.c via #include.
24321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24322 powerpc32/power7/fpu/s_logbl.c via #include.
24323
d20d4ac2
JM
243242012-05-15 Joseph Myers <joseph@codesourcery.com>
24325
24326 * README.libm: Remove file.
24327
6cdef1ab
L
243282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24331 count for x32. Use R*_LP and omit operand-size suffix.
24332
0b254d8f
L
243332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24334
24335 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24336 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24337 * sysdeps/x86_64/x32/shlib-versions: New file.
24338
ceb809dc
RM
243392012-05-14 Roland McGrath <roland@hack.frob.com>
24340
24341 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24342 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24343 Use _dl_fatal_printf instead.
24344
37f1abd4
JM
243452012-05-14 Joseph Myers <joseph@codesourcery.com>
24346
24347 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24348 set if not set by the user. Do not allow for being unset.
24349 * sysdeps/unix/sysv/linux/configure: Regenerated.
24350
11de3a33
L
243512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24352
24353 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24354 the `q' suffix from lea and replace .quad with ASM_ADDR.
24355
e02f153a
L
243562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24357
24358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24359 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24360 instead of $17.
24361 (PTR_DEMANGLE): Likewise.
24362
520ae0fd
L
243632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24366 (LP_OP): Likewise.
24367 (ASM_ADDR): Likewise.
24368 (RAX_LP): Likewise.
24369 (RBP_LP): Likewise.
24370 (RBX_LP): Likewise.
24371 (RCX_LP): Likewise.
24372 (RDI_LP): Likewise.
24373 (RSI_LP): Likewise.
24374 (RSP_LP): Likewise.
24375 (R8_LP): Likewise.
24376 (R9_LP): Likewise.
24377 (R10_LP): Likewise.
24378 (R10_LP): Likewise.
24379 (R11_LP): Likewise.
24380 (R12_LP): Likewise.
24381 (R13_LP): Likewise.
24382 (R14_LP): Likewise.
24383 (R15_LP): Likewise.
24384
b985be81
L
243852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * sysdeps/x86_64/x32/dl-machine.h: New file.
24388
6a4888ff
AJ
243892012-05-14 Andreas Jaeger <aj@suse.de>
24390
24391 * manual/Makefile (subdir): Remove export of subdir.
24392 (all): Remove target.
24393 (.PHONY): Remove all from list.
24394 (mkinstalldirs): Remove.
24395 (.PHONY): Remove installdirs from list.
24396 ($(inst_infodir)/libc.info): Use make-target-directory.
24397 (installdirs): Remove.
24398 (subdir_%): Remove.
24399 (glibc-targets): Remove.
24400 (lib): Remove.
24401 (stubs): Remove.
24402 ($(objpfx)stubs ../po/manual.pot): Remove.
24403 ($(objpfx)stamp%): Remove.
24404 (make-target-directory): Remove.
24405 (subdir_install): Remove.
24406 (routines): Remove.
24407 (aux): Remove.
24408 (sources): Remove.
24409 (objects): Remove.
24410 (headers): Remove.
24411
24412 [BZ #13750]
24413 * manual/.gitignore: Remove, it's not needed anymore.
24414 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24415 all files in it.
24416 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24417 directory.
24418 (texis): Renamed to $(objpfx)texis.
24419 (texis-path): New, contains path to generated files.
24420 (chapters.%): Use texis-path for complete path, add extra argument
24421 libc-texinfo.sh.
24422 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24423 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24424 (summary,texi, stamp-summary): Use complete path of
24425 files. Generate files in build dir.
24426 (dir-add.texi): Build in build dir.
24427 (libm-err.texi,stamp-libm-err): Likewise.
24428 (version.texi, stamp-version): Likewise.
24429 (.%c.texi): Likewise.
24430 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24431 (mostlyclean): Remove target.
24432 (realclean): Remove target.
24433 (generated): Add new variable with contents from mostlyclean and
24434 realclean, remove entries duplicated in common-mostlyclean, add
24435 stamp-libm-err and stamp-version.
24436 (generated-dirs): Add libc directory.
24437 ($(inst_infodir)/libc.info): Install files from build dir.
24438
24439 * manual/install.texi (Configuring and compiling): Adjust since
24440 the info files are not part of the tar ball anymore.
24441
7ac77294
AJ
244422012-05-14 Andreas Jaeger <aj@suse.de>
24443
24444 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24445 variable.
24446
ffb7875d
JM
244472012-05-14 Joseph Myers <joseph@codesourcery.com>
24448
24449 [BZ #13717]
24450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24451 to 2.2.0 where earlier.
24452 * sysdeps/unix/sysv/linux/configure: Regenerated.
24453 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24454 Remove conditional code.
24455 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24457 Remove conditional code.
24458 [!__NR_lchown]: Likewise.
24459 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24460 [__NR_lchown]: Likewise.
24461 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24462 comment referencing __ASSUME_LCHOWN_SYSCALL.
24463 * sysdeps/unix/sysv/linux/i386/sigaction.c
24464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24466 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24467 Remove conditional code.
24468 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24469 (__protocol_available): Remove #if 0 code.
24470 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24471 conditional code.
24472 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24473 * sysdeps/unix/sysv/linux/kernel-features.h
24474 (__ASSUME_GETCWD_SYSCALL): Don't define.
24475 (__ASSUME_REALTIME_SIGNALS): Likewise.
24476 (__ASSUME_PREAD_SYSCALL): Likewise.
24477 (__ASSUME_PWRITE_SYSCALL): Likewise.
24478 (__ASSUME_POLL_SYSCALL): Likewise.
24479 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24480 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24481 non-SPARC.
24482 (__ASSUME_SIOCGIFNAME): Don't define.
24483 (__ASSUME_MSG_NOSIGNAL): Likewise.
24484 (__ASSUME_SENDFILE): Define unconditionally.
24485 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24486 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24487 conditional code.
24488 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24489 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24490 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24491 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24492 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24493 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24494 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24496 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24508 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24514 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24519 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24520 Remove conditional code.
24521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24522 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24523 Remove conditional code.
24524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24526 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24527 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24528 Remove conditional code.
24529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24530 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24531 Remove conditional code.
24532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24533 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24534 Remove conditional code.
24535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24536 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24537 Remove conditional code.
24538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24539 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24540 Remove conditional code.
24541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24542 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24545 * sysdeps/unix/sysv/linux/sigaction.c
24546 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24547 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24548 * sysdeps/unix/sysv/linux/sigpending.c
24549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24551 * sysdeps/unix/sysv/linux/sigprocmask.c
24552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24554 * sysdeps/unix/sysv/linux/sigsuspend.c
24555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24558 (__libc_missing_rt_sigs): Remove.
24559 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24560 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24561 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24562 Remove conditional code.
24563 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24564 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24565 return 1.
24566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24567 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24568 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24570
1bfb7291
AJ
245712012-05-14 Andreas Jaeger <aj@suse.de>
24572
caae5a81
AJ
24573 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24574 it's not used in glibc.
24575 (__coshm1): Likewise.
24576 (__acosh1p): Likewise.
24577 (__sgn): Likewise.
24578
1bfb7291
AJ
24579 * manual/string.texi (Copying and Concatenation): Add missing
24580 variable in concat example.
24581 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24582
c044d724
L
245832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24584
144c5467 24585 [BZ #14103]
c044d724
L
24586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24587 __builtin_clzl with __builtin_clzll.
24588
2523c62b
L
245892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24590
24591 [BZ #14104]
24592 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24593 libc_freeres_ptr.
24594
d7bb4c42
LD
245952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24596
24597 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24598 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24599 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24601
9dc4e1fb
MF
246022012-05-14 Mike Frysinger <vapier@gentoo.org>
24603
24604 * NEWS: Update ia64 info.
24605
c7df0112
AS
246062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24607
24608 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24609 used as bcopy.
24610
dc70356c
TS
246112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24612
24613 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24614 * sysdeps/unix/syscalls.list (dup3): Likewise.
24615 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24616 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24617
9fb1a21f
L
246182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24619
24620 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24621 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24622
4822a2a5
L
246232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24624
24625 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24626 thread pointer.
24627 (TLS_IE): Use mov/add instead of movq/addq to load thread
24628 pointer.
24629 (TLS_GD_PREFIX): New.
24630 (TLS_GD): Use it.
24631
842b81d6
DM
246322012-05-11 David S. Miller <davem@davemloft.net>
24633
24634 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24635 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24636 (_FPU_SETCW): Likewise.
24637
1cf463cd
L
246382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24641 is 32-byte aligned.
24642
60cc4a18
AS
246432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24644
24645 [BZ #11837]
24646 * iconvdata/gb18030.c: Update tables.
24647 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24648 characters specially.
24649 (BODY for TO_LOOP): Add encoding of missing ranges.
24650
febb44a4
TS
246512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24652
24653 [BZ #13673]
24654 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24655 * sysdeps/mach/hurd/dup3.c: Likewise.
24656 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24657 * sysdeps/powerpc/memmove.c:: Likewise.
24658
0a10fb9e
L
246592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24660
24661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24662 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24663
df8a552f
L
246642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24665
24666 * elf/elf.h (R_X86_64_RELATIVE64): New.
24667 (R_X86_64_NUM): Updated.
24668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24669 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24670 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24671 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24672 tst-quad1pie tst-quad2pie
24673 (modules-names): Add tst-quadmod1 tst-quadmod2.
24674 ($(objpfx)tst-quad1): New dependency.
24675 ($(objpfx)tst-quad2): Likewise.
24676 ($(objpfx)tst-quad1pie): Likewise.
24677 ($(objpfx)tst-quad2pie): Likewise.
24678 * sysdeps/x86_64/tst-quad1.c: New file.
24679 * sysdeps/x86_64/tst-quad1pie.c: New file.
24680 * sysdeps/x86_64/tst-quad2.c: Likewise.
24681 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24682 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24683 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24684 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24685 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24686
f34d6f84
ST
246872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24688
f42d41d1
ST
24689 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24690 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24691 * streams/stropts.h (t_scalar_t): Define type.
24692
3c3571fc
ST
24693 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24694 (_PATH_PRESERVE): Set to "/var/lib".
24695 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24696
61f06bd3
ST
24697 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24698 instead of int.
24699
918d4d71
ST
24700 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24701 if __dir_mkfile succeeded.
24702
f34d6f84
ST
24703 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24704 checking for _hurd_dtablesize. Unlock it right after having
24705 finished _hurd_dtable allocation.
24706
10589b4a
TS
247072012-05-10 Thomas Schwinge <thomas@schwinge.name>
24708
674cdbc7
TS
24709 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24710 * sysdeps/mach/hurd/configure: Regenerated.
24711 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24712 special-casing to...
24713 * sysdeps/gnu/configure.in: ... this new file.
24714 * sysdeps/unix/sysv/linux/configure: Regenerated.
24715 * sysdeps/gnu/configure: New generated file.
24716
8e41b99f
TS
24717 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24718 for Linux: use nsec instead of usec, as well as:
24719 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24720 members of type struct timespec.
24721 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24722 New macros.
24723 (struct stat64): Likewise.
24724 (_STATBUF_ST_NSEC): New macro.
24725 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24726
10589b4a
TS
24727 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24728 __strtoul_internal rather than strtoul.
24729
63643c85
PT
247302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24731
24732 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24733 and reject them.
24734
3faebe6a
ST
247352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24736
24737 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24738 which preserves existing values.
24739 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24740
c6474b07
PT
247412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24742
24743 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24744 TIMEOUT values. Return EINVAL for NFDS values either negative or
24745 greater than FD_SETSIZE.
24746
1043890b
ST
247472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24748
24749 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24750 allocated, call __vm_protect to finish enabling the existing space, and
24751 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24752 allocate the remainder.
24753
37ed8b9b
PT
247542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24755
24756 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24757 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24758
db653660
ST
247592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24760
37ed8b9b
PT
24761 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24762 sysdeps/mach/hurd/readlink.c.
b29d4053 24763
db653660
ST
24764 * posix/tst-sysconf.c (posix_options): Only use
24765 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24766 _POSIX_SYNCHRONIZED_IO when they are defined
24767 * sysdeps/mach/hurd/bits/posix_opt.h:
24768 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24769 (_XOPEN_REALTIME): Undefine macro.
24770 (_XOPEN_REALTIME_THREADS): Undefine macro.
24771 (_XOPEN_SHM): Undefine macro.
24772 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24773 macro to -1.
24774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24775 macro to -1.
24776 (_POSIX_ASYNC_IO): Undefine macro.
24777 (_POSIX_PRIORITIZED_IO): Undefine macro.
24778 (_POSIX_SPIN_LOCKS): Define macro to -1.
24779
ee16e894
ST
24780 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24781 SA_NODEFER, SA_RESETHAND.
24782 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24783 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24784 F_DUPFD_CLOEXEC.
24785
6103ae3b
TS
247862012-05-10 Thomas Schwinge <thomas@schwinge.name>
24787
24788 * elf/Makefile (pldd-modules): Define unconditionally.
24789
80b4e5f3
TS
247902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24791
24792 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24793
edadcbd6
ST
247942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24795
24796 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24797 Return ENOENT when name is empty.
24798 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24799
80694780
TS
248002012-05-10 Thomas Schwinge <thomas@schwinge.name>
24801
1792c087
TS
24802 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24803
80694780
TS
24804 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24805
6b645f0d
ST
248062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24807
80694780
TS
24808 Fix mlock in all cases except non-readable pages.
24809 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24810 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24811
6b645f0d
ST
24812 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24813 (__mkdir): When path is `/', just fail with EEXIST.
24814 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24815
e468f8a3
TS
248162012-05-10 Thomas Schwinge <thomas@schwinge.name>
24817
24818 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24819 <sys/uio.h> (for writev).
24820 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24821 and <sys/param.h> (for MIN).
24822
a4186cff
PT
248232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24824
24825 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24826 REQUESTED_TIME. Properly set the remaining time and return EINTR
24827 if interrupted.
24828
510bbf14
TS
248292012-05-10 Thomas Schwinge <thomas@schwinge.name>
24830
24831 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24832 Depend on against $(link-rpcuserlibs).
24833
5d5722e8
ST
248342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24835
a4186cff
PT
24836 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24837 (__libc_stack_end): Do not use attribute_relro.
24838 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24839 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24840 to libthread-provided value.
a4186cff
PT
24841 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24842 attribute_relro.
5d5722e8 24843
37233df9
TS
248442012-05-10 Thomas Schwinge <thomas@schwinge.name>
24845
be971a2b
TS
24846 [BZ #3748]
24847 * bits/libc-lock.h (__libc_once_get): New macro.
24848 * sysdeps/mach/bits/libc-lock.h: Likewise.
24849 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24851 instead of using implementation details.
24852
37233df9
TS
24853 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24854 * libio/freopen.c: Likewise.
24855 * libio/freopen64.c: Likewise.
24856 * misc/syslog.c: Likewise.
24857 * nscd/connections.c: Likewise.
24858 * nscd/netgroupcache.c: Likewise.
24859 * sysdeps/posix/getcwd.c: Likewise.
24860
38de94a5
RM
248612012-05-10 Roland McGrath <roland@hack.frob.com>
24862
24863 * math/w_ilogbf.c: Add #include <limits.h>.
24864
67530489
ST
248652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24866
a4186cff 24867 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24868 path instead of returning without unlocking.
24869
67530489
ST
24870 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24871 immediate-write ioctls.
24872 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24873
5aa3a74a
TS
248742012-05-10 Thomas Schwinge <thomas@schwinge.name>
24875
18bad2ae
TS
24876 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24877 __builtin_frame_address instead of making assumptions about the
24878 location of the return address relative to DATA. Force early load of
24879 the return address.
24880 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24881 __builtin_frame_address.
24882
5aa3a74a
TS
24883 dup3 for GNU Hurd.
24884 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24885 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24886 implement dup3 and do some further code clean-ups.
24887 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24888 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24889
ecd0de9a
ST
248902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24891
cd9fa985
ST
24892 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24893
a4186cff
PT
24894 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24895 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24896 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24897 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24898 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24899 d->port.lock.
802ca5a5 24900
a4186cff
PT
24901 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24902 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24903 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24904
bcf55240
TS
249052012-05-10 Thomas Schwinge <thomas@schwinge.name>
24906
6960eb42
TS
24907 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24908 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24909 definitions.
24910
eb43375f
TS
24911 accept4 for GNU Hurd.
24912 * include/sys/socket.h (__libc_accept4): New prototype.
24913 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24914 to implement __libc_accept4.
24915 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24916 __libc_accept4.
24917 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24918
bcf55240
TS
24919 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24920 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24921 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24922 signal-defines.sym.
24923
6178c55b
ST
249242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24925
a4186cff 24926 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24927
6f080c2f
TS
249282012-05-10 Thomas Schwinge <thomas@schwinge.name>
24929
24930 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24931 assertion on O_CLOEXEC flag.
24932 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24933 * hurd/intern-fd.c: Likewise.
24934 * hurd/port2fd.c: Likewise.
24935
bcfe3a54
ST
249362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24937
24938 [BZ #3906]
24939 * bits/in.h (IPV6_PKTINFO): Define new macro.
24940 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24941
89c9aa49
AZ
249422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24943
24944 [BZ #13954]
24945 [BZ #13955]
24946 [BZ #13956]
24947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24949 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24950 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24952 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24953 * math/libm-test.inc (logb_test) : Additional logb tests.
24954
021db4be
AJ
249552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24956 Andreas Jaeger <aj@suse.de>
24957
24958 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24959 * configure: Regenerated.
24960 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24961 * config.make.in (link-obsolete-rpc): New substituted variable.
24962 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24963 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24964 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24965 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24966 so that libc.a contains the symbols.
24967 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24968 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24969 * sunrpc/auth_none.c: Likewise.
24970 * sunrpc/auth_unix.c: Likewise.
24971 * sunrpc/authdes_prot.c: Likewise.
24972 * sunrpc/authuxprot.c: Likewise.
24973 * sunrpc/clnt_gen.c: Likewise.
24974 * sunrpc/clnt_perr.c: Likewise.
24975 * sunrpc/clnt_raw.c: Likewise.
24976 * sunrpc/clnt_simp.c: Likewise.
24977 * sunrpc/clnt_tcp.c: Likewise.
24978 * sunrpc/clnt_udp.c: Likewise.
24979 * sunrpc/clnt_unix.c: Likewise.
24980 * sunrpc/des_crypt.c: Likewise.
24981 * sunrpc/des_soft.c: Likewise.
24982 * sunrpc/get_myaddr.c: Likewise.
24983 * sunrpc/key_call.c: Likewise.
24984 * sunrpc/key_prot.c: Likewise.
24985 * sunrpc/netname.c: Likewise.
24986 * sunrpc/pm_getmaps.c: Likewise.
24987 * sunrpc/pm_getport.c: Likewise.
24988 * sunrpc/pmap_clnt.c: Likewise.
24989 * sunrpc/pmap_prot.c: Likewise.
24990 * sunrpc/pmap_prot2.c: Likewise.
24991 * sunrpc/pmap_rmt.c: Likewise.
24992 * sunrpc/publickey.c: Likewise.
24993 * sunrpc/rpc_cmsg.c: Likewise.
24994 * sunrpc/rpc_common.c: Likewise.
24995 * sunrpc/rpc_dtable.c: Likewise.
24996 * sunrpc/rpc_prot.c: Likewise.
24997 * sunrpc/rpc_thread.c: Likewise.
24998 * sunrpc/rtime.c: Likewise.
24999 * sunrpc/svc.c: Likewise.
25000 * sunrpc/svc_auth.c: Likewise.
25001 * sunrpc/svc_raw.c: Likewise.
25002 * sunrpc/svc_run.c: Likewise.
25003 * sunrpc/svc_tcp.c: Likewise.
25004 * sunrpc/svc_udp.c: Likewise.
25005 * sunrpc/svc_unix.c: Likewise.
25006 * sunrpc/svcauth_des.c: Likewise.
25007 * sunrpc/xcrypt.c: Likewise.
25008 * sunrpc/xdr.c: Likewise.
25009 * sunrpc/xdr_array.c: Likewise.
25010 * sunrpc/xdr_float.c: Likewise.
25011 * sunrpc/xdr_intXX_t.c: Likewise.
25012 * sunrpc/xdr_mem.c: Likewise.
25013 * sunrpc/xdr_rec.c: Likewise.
25014 * sunrpc/xdr_ref.c: Likewise.
25015 * sunrpc/xdr_sizeof.c: Likewise.
25016 * sunrpc/xdr_stdio.c: Likewise.
25017
b5c086a2
RM
250182012-05-10 Roland McGrath <roland@hack.frob.com>
25019
25020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25021 change. Update copyright years.
25022
6d74dd09
JM
250232012-05-10 Joseph Myers <joseph@codesourcery.com>
25024
25025 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25026
28e72501
MK
250272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25028 Joseph Myers <joseph@codesourcery.com>
25029 Paul Pluzhnikov <ppluzhnikov@google.com>
25030
25031 [BZ #14012]
25032 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25033 requiring rpcgen.
25034 [cross-compiling] (extra-libs): Likewise.
25035 [cross-compiling] (extra-libs-others): Likewise.
25036 [cross-compiling] (librpcsvc-routines): Likewise.
25037 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25038 [cross-compiling] (omit-deps): Likewise.
25039 (sunrpc-CPPFLAGS): New variable.
25040 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25041 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25042 (cross-rpcgen-objs): New variable.
25043 (extra-objs): Append $(cross-rpcgen-objs).
25044 ($(cross-rpcgen-objs)): New rule.
25045 ($(objpfx)cross-rpcgen): Likewise.
25046 (rpcgen-cmd): Define to use $(built-program-file). Expand
25047 comment.
25048 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25049 ($(objpfx)x%.stmp): Likewise.
25050 * sunrpc/proto.h [IS_IN_build] (_): Define.
25051 [IS_IN_build] (_libc_intl_domainname): Likewise.
25052
c8c59454
L
250532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25054
25055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25056 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25057 and R_X86_64_TPOFF64.
25058
6f27cd16
JM
250592012-05-10 Joseph Myers <joseph@codesourcery.com>
25060
25061 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25062 sysdeps/unix/sysv/syscalls.list.
25063 (stime): Likewise.
25064 (utime): Likewise.
25065 * sysdeps/unix/sysv/syscalls.list: Remove file.
25066
02467e1c
PE
250672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25068
25069 [BZ #3440]
25070 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25071 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25072 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25073 (__LC_IDENTIFICATION): Make these macros useful in #if
25074 expressions, as required by C99.
25075
da392631
AS
250762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25077
25078 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25079 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25080 after this.
25081
8115f29b
L
250822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25083
25084 * stdlib/longlong.h: Updated from GCC.
25085
bdd74070
AJ
250862012-05-09 Andreas Jaeger <aj@suse.de>
25087
edfe0dbe
AJ
25088 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25089 default is first entry.
25090 (run_mode): Set type.
25091 (main): Remove informal message about syslog.
25092 (options): Fix typo.
25093
bcfe3a54
ST
25094 [BZ #14053]
25095 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25096 to asm.
bcfe3a54
ST
25097 (lrint): Likewise.
25098 (llrintf): Likewise.
25099 (llrint): Likewise.
25100 (rint): Likewise.
25101 (rintf): Likewise.
25102 (nearbyint): Likewise.
25103 (nearbyintf): Likewise.
bdd74070 25104
91d8d69e
AJ
251052012-05-09 Andreas Jaeger <aj@suse.de>
25106 Pedro Alves <palves@redhat.com>
25107
25108 * nscd/nscd.c (run_mode): Use enum.
25109 (main): Cleanup coding style issue.
25110
bb90b80b
AJ
251112012-05-09 Alexandre Oliva <aoliva@redhat.com>
25112 Andreas Jaeger <aj@suse.de>
25113
bcfe3a54
ST
25114 * nscd/nscd.c (go_background): Replaced with...
25115 (run_mode): ... this.
bb90b80b 25116 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25117 (options): Add -F --foreground.
25118 (main): Implement it.
25119 (parse_opt): Parse it.
bb90b80b 25120
1a4b75a1
AJ
251212012-05-09 Andreas Jaeger <aj@suse.de>
25122
25123 [BZ #14083]
25124 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25125 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25126 -Wconversion warning.
25127 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25128 Likewise.
25129
b1cc2472
JM
251302012-05-09 Joseph Myers <joseph@codesourcery.com>
25131
25132 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25133 == 0.
25134 (LC_ALL): Use macro-int-constant.
25135 (LC_COLLATE): Likewise.
25136 (LC_CTYPE): Likewise.
25137 (LC_MESSAGES): Likewise.
25138 (LC_MONETARY): Likewise.
25139 (LC_NUMERIC): Likewise.
25140 (LC_TIME): Likewise.
25141 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25142 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25144 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25145 Specify type.
25146 [C99-based standards] (float_t): Expect type.
25147 [C99-based standards] (double_t): Expect type.
25148 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25149 type.
25150 [C99-based standards] (HUGE_VALL): Likewise.
25151 [C99-based standards] (INFINITY): Likewise.
25152 [C99-based standards] (NAN): Likewise.
25153 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25154 [C99-based standards] (FP_NAN): Likewise.
25155 [C99-based standards] (FP_NORMAL): Likewise.
25156 [C99-based standards] (FP_SUBNORMAL): Likewise.
25157 [C99-based standards] (FP_ZERO): Likewise.
25158 [C99-based standards] (FP_FAST_FMA): Use
25159 optional-macro-int-constant. Specify type. Require == 1.
25160 [C99-based standards] (FP_FAST_FMAF): Likewise.
25161 [C99-based standards] (FP_FAST_FMAL): Likewise.
25162 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25163 [C99-based standards] (FP_ILOGBNAN): Likewise.
25164 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25165 Specify type.
25166 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25167 [C99-based standards] (math_errhandling): Specify type.
25168 [ISO99 || ISO11] (signgam): Do not allow.
25169 [non-C99-based standards] (copysignf): Do not allow.
25170 [non-C99-based standards] (exp2f): Likewise.
25171 [non-C99-based standards] (log2f): Likewise.
25172 [non-C99-based standards] (modff): Allow.
25173 [non-C99-based standards] (erff): Do not allow.
25174 [non-C99-based standards] (erfcf): Likewise.
25175 [non-C99-based standards] (gammaf): Likewise.
25176 [non-C99-based standards] (hypotf): Likewise.
25177 [non-C99-based standards] (j0f): Likewise.
25178 [non-C99-based standards] (j1f): Likewise.
25179 [non-C99-based standards] (jnf): Likewise.
25180 [non-C99-based standards] (lgammaf): Likewise.
25181 [non-C99-based standards] (tgammaf): Likewise.
25182 [non-C99-based standards] (y0f): Likewise.
25183 [non-C99-based standards] (y1f): Likewise.
25184 [non-C99-based standards] (ynf): Likewise.
25185 [non-C99-based standards] (isnanf): Likewise.
25186 [non-C99-based standards] (acoshf): Likewise.
25187 [non-C99-based standards] (asinhf): Likewise.
25188 [non-C99-based standards] (atanhf): Likewise.
25189 [non-C99-based standards] (cbrtf): Likewise.
25190 [non-C99-based standards] (expm1f): Likewise.
25191 [non-C99-based standards] (ilogbf): Likewise.
25192 [non-C99-based standards] (log1pf): Likewise.
25193 [non-C99-based standards] (logbf): Likewise.
25194 [non-C99-based standards] (nextafterf): Likewise.
25195 [non-C99-based standards] (remainderf): Likewise.
25196 [non-C99-based standards] (rintf): Likewise.
25197 [non-C99-based standards] (scalbf): Likewise.
25198 [non-C99-based standards] (copysignl): Likewise.
25199 [non-C99-based standards] (exp2l): Likewise.
25200 [non-C99-based standards] (log2l): Likewise.
25201 [non-C99-based standards] (modfl): Allow.
25202 [non-C99-based standards] (erfl): Do not allow.
25203 [non-C99-based standards] (erfcl): Likewise.
25204 [non-C99-based standards] (gammal): Likewise.
25205 [non-C99-based standards] (hypotl): Likewise.
25206 [non-C99-based standards] (j0l): Likewise.
25207 [non-C99-based standards] (j1l): Likewise.
25208 [non-C99-based standards] (jnl): Likewise.
25209 [non-C99-based standards] (lgammal): Likewise.
25210 [non-C99-based standards] (tgammal): Likewise.
25211 [non-C99-based standards] (y0l): Likewise.
25212 [non-C99-based standards] (y1l): Likewise.
25213 [non-C99-based standards] (ynl): Likewise.
25214 [non-C99-based standards] (isnanl): Likewise.
25215 [non-C99-based standards] (acoshl): Likewise.
25216 [non-C99-based standards] (asinhl): Likewise.
25217 [non-C99-based standards] (atanhl): Likewise.
25218 [non-C99-based standards] (cbrtl): Likewise.
25219 [non-C99-based standards] (expm1l): Likewise.
25220 [non-C99-based standards] (ilogbl): Likewise.
25221 [non-C99-based standards] (log1pl): Likewise.
25222 [non-C99-based standards] (logbl): Likewise.
25223 [non-C99-based standards] (nextafterl): Likewise.
25224 [non-C99-based standards] (remainderl): Likewise.
25225 [non-C99-based standards] (rintl): Likewise.
25226 [non-C99-based standards] (scalbl): Likewise.
25227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25228 [non-C99-based standards] (FP_*): Do not allow.
25229 [C99-based standards] (FP_*): Change to
25230 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25231 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25232 allow.
25233 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25234 (SIG_ERR): Likewise.
25235 [X/Open-based standards] (SIG_HOLD): Likewise.
25236 (SIG_IGN): Likewise.
25237 (SIGABRT): Use macro-int-constant. Specify type. Require
25238 positive value.
25239 (SIGFPE): Likewise.
25240 (SIGILL): Likewise.
25241 (SIGINT): Likewise.
25242 (SIGSEGV): Likewise.
25243 (SIGTER): Likewise.
25244 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25245 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25246 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25247 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25248 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25249 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25250 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25251 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25252 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25253 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25254 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25255 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25256 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25257 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25258 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25259 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25260 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25261 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25262 [X/Open-based standards] (SIGTRAP): Likewise.
25263 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25264 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25265 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25266 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25267 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25268 allow.
25269
b9f1922d
IW
252702012-05-08 Ian Wienand <ianw@vmware.com>
25271
25272 [BZ #14080]
25273 * time/tzset.c (__tzset_parse_tz): Update default rules for
25274 daylight time changes in the Energy Policy Act of 2005.
25275
1db86e88
AJ
252762012-05-09 Andreas Jaeger <aj@suse.de>
25277
25278 [BZ #13983]
25279 * elf/ldconfig.c (parse_conf): Change string to make clear that
25280 ldconfig only issued a warning if ld.so.conf does not exist.
25281
dee4a4e3
DM
252822012-05-08 David S. Miller <davem@davemloft.net>
25283
ee0db190
DM
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25285 movxtod instead of popping the value on the stack.
25286
dee4a4e3
DM
25287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25288
6a43ec98
CD
252892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25290
25291 * config.h.in: Add HAVE_ARM_PCS_VFP.
25292
05c2c961
RMG
252932012-05-08 Roland Mc Grath <roland@hack.frob.com>
25294
bcfe3a54
ST
25295 [BZ #13979]
25296 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25297 checking but the checks are disabled for any reason.
05c2c961 25298
4b30f61a
L
252992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25300
25301 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25302 and ELF64_R_TYPE with ELFW(R_TYPE).
25303
eee2bc67
JM
253042012-05-08 Joseph Myers <joseph@codesourcery.com>
25305
7ea5391a
JM
25306 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25307 (ulimit): Likewise.
25308
eee2bc67
JM
25309 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25310 (settimeofday): Likewise.
25311
abb66a67
MF
253122012-05-08 Mike Frysinger <vapier@gentoo.org>
25313
25314 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25315 a struct th_u2 inside the union, and move tu_block/tu_code into
25316 a new th_u3 union of tu_block/tu_code inside of that. Move
25317 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25318 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25319 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25320 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25321 (th_stuff): Change to th_u1.tu_stuff.
25322 (th_data): Define.
25323 (th_msg): Change to th_u1.th_u2.tu_data.
25324
7f18b530
DM
253252012-05-07 David S. Miller <davem@davemloft.net>
25326
05760585
DM
25327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25328
7f18b530
DM
25329 [BZ #14074]
25330 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25331 (SETUP_PIC_REG): Use it.
25332 (SETUP_PIC_REG_LEAF): Use it.
25333
495fd99f
JM
253342012-05-07 Joseph Myers <joseph@codesourcery.com>
25335
25336 [BZ #13885]
25337 [BZ #13923]
25338 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25339 USE_AS_EXPM1L.
25340 (EXPL_FINITE): Likewise.
25341 (FLDLOG): Likewise.
25342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25343 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25344 e_expl.S.
25345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25346 USE_AS_EXPM1L.
25347 (EXPL_FINITE): Likewise.
25348 (FLDLOG): Likewise.
25349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25350 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25351 e_expl.S.
25352 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25353 test of -max_value argument for long double.
25354 * sysdeps/i386/fpu/libm-test-ulps: Update.
25355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25356
6693d694
DM
253572012-05-06 David S. Miller <davem@davemloft.net>
25358
25359 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25360 quad soft-float symbols whose references which are compiler
25361 generated.
25362 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25363
6c23e11c
JM
253642012-05-06 Joseph Myers <joseph@codesourcery.com>
25365
d8b82cad
JM
25366 [BZ #13884]
25367 [BZ #13914]
25368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25369 USE_AS_EXP10L.
25370 (EXPL_FINITE): Likewise.
25371 (FLDLOG): Likewise.
25372 (c0): Likewise.
25373 (c1): Likewise.
25374 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25375 Adjust comments for base varying.
25376 (__expl_finite): Change alias to EXPL_FINITE.
25377 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25378 e_expl.S.
25379 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25380 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25382 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25384 USE_AS_EXP10L.
25385 (EXPL_FINITE): Likewise.
25386 (FLDLOG): Likewise.
25387 (c0): Likewise.
25388 (c1): Likewise.
25389 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25390 Adjust comments for base varying.
25391 (__expl_finite): Change alias to EXPL_FINITE.
25392 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25393 tests for bugs.
25394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25395
6c23e11c
JM
25396 [BZ #14064]
25397 * math/libm-test.inc (check_float_internal): Correct ulp
25398 calculation for subnormal expected results.
25399
29ba805c
AJ
254002012-05-06 Andreas Jaeger <aj@suse.de>
25401
25402 * Makeconfig (+math-flags): New, set to -frounding-math.
25403 (+cflags): Add +math-flags so that all of glibc gets compiled with
25404 it.
25405
25406 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25407
7b17aeda
JM
254082012-05-05 Joseph Myers <joseph@codesourcery.com>
25409
5779f134
JM
25410 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25411 Disable one test.
25412
41498f4d
JM
25413 [BZ #13787]
25414 [BZ #13922]
25415 [BZ #14036]
25416 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25417 (__ieee754_expl): Allow for and saturate large arguments.
25418 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25419 (u_threshold): Likewise.
25420 (__exp): Call __ieee754_exp before checking for overflow and
25421 underflow.
25422 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25423 (u_threshold): Likewise.
25424 (__expf): Call __ieee754_expf before checking for overflow and
25425 underflow.
25426 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25427 (u_threshold): Likewise.
25428 (__expl): Call __ieee754_expl before checking for overflow and
25429 underflow.
25430 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25431 (__ieee754_expl): Allow for and saturate large arguments.
25432 * math/libm-test.inc (exp_test): Add another test. Do not allow
25433 missing overflow exception on overflow.
25434 (expm1_test): Do not allow missing overflow exception on overflow.
25435
6698b8bf
JM
25436 * sysdeps/i386/fpu/e_expl.c: Move to ...
25437 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25438 rather than using inline asm.
25439 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25440 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25441 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25442
7b17aeda
JM
25443 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25444 (nice): Likewise.
25445 (poll): Likewise.
25446 (signal): Likewise.
25447 (time): Likewise.
25448 (times): Likewise.
25449
f7c85819
JM
254502012-05-04 Joseph Myers <joseph@codesourcery.com>
25451
25452 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25453 sysdeps/unix/common/syscalls.list.
25454 (fchmod): Likewise.
25455 (fchown): Likewise.
25456 (ftruncate): Likewise.
25457 (getrusage): Likewise.
25458 (gettimeofday): Likewise.
25459 (setpgid): Likewise.
25460 (setregid): Likewise.
25461 (setreuid): Likewise.
25462 (sigaction): Likewise.
25463 (truncate): Likewise.
25464 (vhangup): Likewise.
25465 * sysdeps/unix/common/syscalls.list: Remove file.
25466 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25467 * sysdeps/unix/sysv/linux/Implies: Likewise.
25468
336270d0
L
254692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25470
25471 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25473 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25474 Moved to ...
25475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25476 Here.
25477 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25478 to ...
25479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25480 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25481 to ...
25482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25483 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25484 to ...
25485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25486 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25487 to ...
25488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25489 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25490 to ...
25491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25492 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25493 to ...
25494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25495 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25496 to ...
25497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25498 Here.
25499 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25500 to ...
25501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25502 Here.
25503 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25504 to ...
25505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25507 Moved to ...
25508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25509 Here.
25510 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25511 to ...
25512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25513
d128e450
JM
255142012-05-04 Joseph Myers <joseph@codesourcery.com>
25515
fa8ee516
JM
25516 * sysdeps/unix/common/bits/dirent.h: Remove file.
25517 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25518
d128e450
JM
25519 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25520 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25521 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25522 * sysdeps/unix/bsd/isatty.c: Likewise.
25523 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25524 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25525 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25526
ff8faaf0 255272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25528
62881be4 25529 [BZ #13563]
31dc8730
AZ
25530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25531 long double comparison inaccuracies.
25532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25534
6fef930c
AS
255352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25536
25537 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25538 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25539
8f203e6c
JM
255402012-05-04 Joseph Myers <joseph@codesourcery.com>
25541
25542 [BZ #14049]
25543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25544 nonzero digits before rounding a hex value.
25545 * stdlib/tst-strtod.c (tests): Add another test.
25546
5197d9c2
AK
255472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25548
25549 * sysdeps/s390/fpu/libm-test-ulps: Update.
25550
f0c1dedf
AJ
255512012-05-03 Andreas Jaeger <aj@suse.de>
25552
25553 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25554 does not get optimized out.
25555 (malloc_opt_barrier): New.
25556
a65ef2ae 255572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25558 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25559
2b942cb7 25560 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25561 intermediate file deletion.
2b942cb7 25562 (generated): Add .symlist files.
a65ef2ae 25563
54b71e02
JM
255642012-05-03 Joseph Myers <joseph@codesourcery.com>
25565
25566 [BZ #13775]
25567 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25568 Redirect under this condition.
25569 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25570 [__USE_GNU] (__dprintf_chk): Not under this condition.
25571 [__USE_GNU] (__vdprintf_chk): Likewise.
25572 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25573 under this condition.
25574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25575 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25576 [__USE_XOPEN2K8] (vdprintf): Likewise.
25577 [__USE_GNU] (__dprintf_chk): Not under this condition.
25578 [__USE_GNU] (__vdprintf_chk): Likewise.
25579 [__USE_GNU] (dprintf): Likewise.
25580 [__USE_GNU] (vdprintf): Likewise.
25581
d3dfcc41
RM
255822012-05-03 Roland McGrath <roland@hack.frob.com>
25583
25584 * elf/Makefile (common-generated): Set this instead of generated for
25585 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25586 $(all-built-dso)-derived lists.
25587
7ac30cc5
AJ
255882012-05-03 Andreas Jaeger <aj@suse.de>
25589
0c51e550
AJ
25590 * sysdeps/i386/fpu/libm-test-ulps: Update.
25591
7ac30cc5
AJ
25592 * FAQ: Removed.
25593 * FAQ.in: Likewise.
25594 * scripts/gen-FAQ.pl: Likewise.
25595 * manual/install.texi (Installation): Point to online location of
25596 FAQ.
25597 * Makefile (files-for-dist): Remove FAQ.
25598 (FAQ): Remove.
25599
d4c2917f
AM
256002012-05-02 Allan McRae <allan@archlinux.org>
25601
25602 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25603 (LDFLAGS-reldepmod5.so): Likewise.
25604 (LDFLAGS-reldep6mod1.so): Likewise.
25605 (LDFLAGS-reldep6mod4.so): Likewise.
25606 (LDFLAGS-reldep8mod3.so): Likewise.
25607 (LDFLAGS-unload4mod1.so): Likewise.
25608 (LDFLAGS-unload4mod2.so): Likewise.
25609 (LDFLAGS-tst-initorder): Likewise.
25610 (LDFLAGS-tst-initordera2.so): Likewise.
25611 (LDFLAGS-tst-initordera3.so): Likewise.
25612 (LDFLAGS-tst-initordera4.so): Likewise.
25613 (LDFLAGS-tst-initorderb2.so): Likewise.
25614 (LDFLAGS-noload): Likewise.
25615 (LDFLAGS-next): Likewise.
25616 (LDFLAGS-order2mod1.so): Likewise.
25617 (LDFLAGS-order2mod2.so): Likewise.
25618 (LDFLAGS-tst-initorder2): Likewise.
25619 (LDFLAGS-tst-initorder2a.so): Likewise.
25620 (LDFLAGS-tst-initorder2b.so): Likewise.
25621 (LDFLAGS-tst-initorder2c.so): Likewise.
25622 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25623
d77f993f
DM
256242012-05-02 David S. Miller <davem@davemloft.net>
25625
25626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25627
171a70b4
PP
256282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25629
25630 [BZ #14055]
25631 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25632
0be196ad
AJ
256332012-05-02 Andreas Jaeger <aj@suse.de>
25634
25635 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25636 since we manipulate rounding mode.
25637 (CPPFLAGS-test-idouble.c): Likewise.
25638 (CPPFLAGS-test-ifloat.c): Likewise.
25639 (CFLAGS-test-ldouble.c): Likewise.
25640 (CFLAGS-test-double.c): Likewise.
25641 (CFLAGS-test-float.c): Likewise.
25642 (CFLAGS-test-misc.c): Likewise.
25643 (CFLAGS-test-test-fenv.c): Likewise.
25644
4f9d04aa
AZ
256452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25646
2b942cb7
RM
25647 [BZ #2550]
25648 [BZ #2570]
25649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25650 comparisons to determine direction to adjust input.
4f9d04aa 25651
82a79e7d
RM
256522012-05-01 Roland McGrath <roland@hack.frob.com>
25653
f5a01ca9
RM
25654 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25655 output to the target.
25656
90fe4186
RM
25657 * scripts/localplt.awk: New file.
25658 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25659 (check-localplt-CFLAGS): Variable removed.
25660 ($(all-built-dso:=.jmprel)): New static pattern rule.
25661 (generated): Add those targets.
25662 (localplt-built-dso): New variable.
25663 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25664
25665 * elf/check-localplt.c: File removed.
25666
82397ed6
RM
25667 * scripts/check-execstack.awk: New file.
25668 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25669 (check-execstack-CFLAGS): Variable removed.
25670 ($(objpfx)check-execstack.h): Target removed.
25671 ($(objpfx)execstack-default): New target.
25672 (generated): Add that instead of check-execstack.h.
25673 ($(all-built-dso:=.phdr)): New static pattern rule.
25674 (generated): Add those targets.
25675 * elf/check-execstack.c: File removed.
25676
82a79e7d
RM
25677 * scripts/check-textrel.awk: New file.
25678 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25679 (check-textrel-CFLAGS): Variable removed.
25680 (all-built-dso): Use := to define.o
25681 ($(all-built-dso:=.dyn)): New static pattern rule.
25682 (generated): Add those targets.
25683 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25684 * config.make.in (READELF): New substituted variable.
25685 * elf/check-textrel.c: File removed.
25686
62fde54f 256872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25688
615605c9
JM
25689 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25690 allow.
25691 * conform/data/ctype.h-data [C99-based standards] (isblank):
25692 Expect function.
25693 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25694 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25696 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25697 Specify type. Require positive value.
25698 (EILSEQ): Likewise.
25699 (ERANGE): Likewise.
25700 [ISO || POSIX] (EILSEQ): Do not expect.
25701 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25702 Specify type. Require positive value.
25703 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25731 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25753 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25757 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25758 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25759 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25760 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25761 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25762 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25763 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25764 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25765 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25766 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25767 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25768 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25769 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25770 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25771 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25772 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25773 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25775 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25776 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25777 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25778 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25779 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25780 Require >= 2.
25781 (FLT_ROUNDS): Expect as macro, not constant.
25782 (FLT_MANT_DIG): Use macro-int-constant.
25783 (DBL_MANT_DIG): Likewise.
25784 (LDBL_MANT_DIG): Likewise.
25785 (FLT_DIG): Likewise.
25786 (DBL_DIG): Likewise.
25787 (LDBL_DIG): Likewise.
25788 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25789 (DBL_MIN_EXP): Likewise.
25790 (LDBL_MIN_EXP): Likewise.
25791 (FLT_MAX_EXP): Use macro-int-constant.
25792 (DBL_MAX_EXP): Likewise.
25793 (LDBL_MAX_EXP): Likewise.
25794 (FLT_MAX_10_EXP): Likewise.
25795 (DBL_MAX_10_EXP): Likewise.
25796 (LDBL_MAX_10_EXP): Likewise.
25797 (FLT_MAX): Use macro-constant.
25798 (DBL_MAX): Likewise.
25799 (LDBL_MAX): Likewise.
25800 (FLT_EPSILON): Use macro-constant. Give upper bound.
25801 (DBL_EPSILON): Likewise.
25802 (LDBL_EPSILON): Likewise.
25803 (FLT_MIN): Likewise.
25804 (DBL_MIN): Likewise.
25805 (LDBL_MIN): Likewise.
25806 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25807 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25808 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25809 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25810 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25811 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25812 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25813 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25814 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25815 [ISO11] (FLT_TRUE_MIN): Likewise.
25816 [ISO11] (LDBL_TRUE_MIN): Likewise.
25817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25818 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25819 (SCHAR_MIN): Use macro-int-constant. Specify type.
25820 (SCHAR_MAX): Likewise.
25821 (UCHAR_MAX): Likewise.
25822 (CHAR_MIN): Likewise.
25823 (CHAR_MAX): Likewise.
25824 (MB_LEN_MAX): Use macro-int-constant.
25825 (SHRT_MIN): Use macro-int-constant. Specify type.
25826 (SHRT_MAX): Likewise.
25827 (USHRT_MAX): Likewise.
25828 (INT_MAX): Likewise.
25829 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25830 bound negative.
25831 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25832 bound with "U".
25833 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25834 bound with "L".
25835 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25836 bound negative. Suffix upper bound with "L".
25837 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25838 bound with "UL".
25839 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25840 Specify type.
25841 [C99-based standards] (LLONG_MAX): Likewise.
25842 [C99-based standards] (ULLONG_MAX): Likewise.
25843 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25844 == 0.
25845 [ISO11] (max_align_t): Require type.
25846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25847
c9140a62
JM
25848 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25849 from $CFLAGS, without defining away __attribute__ calls.
25850 (checknamespace): Use $CFLAGS_namespace.
25851
9af0bf29
JM
25852 * conform/conformtest.pl (@keywords): Only include C99 keywords
25853 for standards based on C99 or C11.
25854
343222a2
JM
25855 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25856 Disable tests.
25857 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25858 UNIX98]: Likewise.
25859
661f8cf0
JM
25860 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25861 usability of symbols in #if.
25862
ee74b9cb
JM
25863 * conform/conformtest.pl: If macro or constant types start
25864 "promoted:", expect the symbol to be of the following type
25865 promoted by the integer promotions.
62fde54f 25866
aafc49b3
JM
25867 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25868 in one place. Also handle "macro-constant".
25869
fefdf574
JM
25870 * conform/conformtest.pl: Only accept expected macro values with
25871 "==". Parse all "macro" lines in one place.
25872 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25873
f2d922fe
JM
25874 * conform/conformtest.pl: Handle braced types on "constant" lines
25875 instead of handling "typed-constant".
25876 * conform/data/signal.h-data: Use "constant" instead of
25877 "typed-constant".
25878
d22956c9
JM
25879 * conform/conformtest.pl: Handle "optional-" at start of lines in
25880 one place rather than duplicating several cases. Handle each
25881 format of "macro" line with initial "optional-".
25882
028e2e38
JM
25883 * conform/conformtest.pl: Only accept expected constant or
25884 optional-constant values with "==". Parse all "constant" lines in
25885 one place. Parse all "optional-constant" lines in one place.
25886 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25887 * conform/data/fmtmsg.h-data: Likewise.
25888 * conform/data/netinet/in.h-data: Likewise.
25889 * conform/data/tar.h-data: Likewise.
25890 * conform/data/limits.h-data: Use "==" form on "constant" and
25891 "optional-constant" lines.
25892
1b8f2850
JM
25893 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25894 Use -std=c99 for XOPEN2K.
25895 (@knownproblems): Remove.
25896 (newtoken): Don't check %isknown.
25897
a05a144b
JM
25898 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25899 Do not expect macro.
25900 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25912 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25913 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25930 [XPG3] (acosh): Likewise.
25931 [XPG3] (asinh): Likewise.
25932 [XPG3] (atanh): Likewise.
25933 [XPG3] (cbrt): Likewise.
25934 [XPG3] (expm1): Likewise.
25935 [XPG3] (ilogb): Likewise.
25936 [XPG3] (log1p): Likewise.
25937 [XPG3] (logb): Likewise.
25938 [XPG3] (nextafter): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25941 [XPG3] (remainder): Likewise.
25942 [XPG3] (rint): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25950 [UNIX98 || XOPEN2K] (scalb): Expect.
25951 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25952 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26084 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26087 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26088
73c5ebe3
JM
26089 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26090 _XOPEN_SOURCE_EXTENDED for XPG4.
26091
39c33b6c
JM
26092 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26093
62fde54f
JM
26094 * Makeconfig (localtime): Remove variable.
26095 (inst_localtime-file): Likewise.
26096
0741d64c
AS
260972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26098
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26100 Update.
26101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26102 Update.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26104 Update.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26106 Update.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26108 Update.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26110 Update.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26112 Update.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26114 Update.
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26116 Update.
26117
7cb029ee
JM
261182012-05-01 Joseph Myers <joseph@codesourcery.com>
26119
26120 [BZ #2550]
26121 [BZ #2570]
26122 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26123 comparisons to determine direction to adjust input.
26124 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26125 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26126 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26127 Likewise.
26128 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26129 Likewise.
26130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26131 Likewise.
26132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26134 Likewise.
26135 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26136 Likewise.
26137 * math/libm-test.inc (nexttoward_test): Add more tests.
26138
412bd966
AS
261392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26140
26141 [BZ #14040]
26142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26143 in version GLIBC_2.1, not GLIBC_2.0.
26144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26145 Likewise.
26146
9568c0c2
JM
261472012-04-30 Joseph Myers <joseph@codesourcery.com>
26148
adfbc8ac
JM
26149 [BZ #13942]
26150 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26151 (1 - x) * (1 + x).
26152 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26153 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26154 * math/libm-test.inc (acos_test): Add more tests.
26155 (asin_test): Likewise.
26156 * sysdeps/i386/fpu/libm-test-ulps: Update.
26157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26158
5ba3cc69
JM
26159 [BZ #14034]
26160 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26161 of square root.
26162 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26163 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26164 * math/libm-test.inc (acos_test_tonearest): New function.
26165 (acos_test_towardzero): Likewise.
26166 (acos_test_downward): Likewise.
26167 (acos_test_upward): Likewise.
26168 (asin_test_tonearest): Likewise.
26169 (asin_test_towardzero): Likewise.
26170 (asin_test_downward): Likewise.
26171 (asin_test_upward): Likewise.
26172 (main): Call the new functions.
26173 * sysdeps/i386/fpu/libm-test-ulps: Update.
26174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26175
9568c0c2
JM
26176 [BZ #13884]
26177 [BZ #13924]
26178 * math/e_exp10.c: Include <float.h>.
26179 (__ieee754_exp10): Handle underflow here rather than multiplying
26180 large negative argument by M_LN10.
26181 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26182 of __ieee754_expf.
26183 * math/e_exp10l.c: Include <float.h>.
26184 (__ieee754_exp10l): Handle underflow here rather than multiplying
26185 large negative argument by M_LN10l.
26186 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26187 spurious overflow exception on underflow.
26188
5ac3ea17
MP
261892012-04-29 Marek Polacek <polacek@redhat.com>
26190
26191 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26192 (__fortify_function): New macro.
26193 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26194 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26195 __extern_always_inline.
26196 * libio/bits/stdio2.h: Likewise.
26197 * libio/bits/stdio.h: Likewise.
26198 * string/string.h: Likewise.
26199 * string/bits/string3.h: Likewise.
26200 * include/stdio.h: Likewise.
26201 * stdlib/bits/stdlib.h: Likewise.
26202 * stdlib/stdlib.h: Likewise.
26203 * rt/bits/mqueue2.h: Likewise.
26204 * rt/mqueue.h: Likewise.
26205 * posix/bits/unistd.h: Likewise.
26206 * posix/unistd.h: Likewise.
26207 * io/bits/poll2.h: Likewise.
26208 * io/bits/fcntl2.h: Likewise.
26209 * io/fcntl.h: Likewise.
26210 * io/sys/poll.h: Likewise.
26211 * misc/bits/syslog.h: Likewise.
26212 * misc/bits/syslog-ldbl.h: Likewise.
26213 * misc/sys/syslog.h: Likewise.
26214 * socket/bits/socket2.h: Likewise.
26215 * socket/sys/socket.h: Likewise.
26216 * debug/tst-chk1.c: Likewise.
26217 * wcsmbs/bits/wchar2.h: Likewise.
26218 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26219 * wcsmbs/wchar.h: Likewise.
26220
ecf0ebfb
AJ
262212012-04-29 Andreas Jaeger <aj@suse.de>
26222
26223 * Makerules (tests): Remove enable-check-abi protection.
26224 (check-abi-warn): Remove.
26225 (check-abi-%): Remove check-abi-warn usage.
26226
26227 * configure.in: Remove check-abi configure option.
26228 * configure: Regenerated.
26229 * config.make.in (enable-check-abi): Remove.
26230
6d5c57fa
AS
262312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26232
24c5d07e 26233 [BZ #14033]
ded5180a
AS
26234 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26235 double functions to double *_finite functions.
26236
7e0d315d
AS
26237 [BZ #13941]
26238 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26239 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26240 LDBL_MIN_EXP.
26241 * stdio-common/Makefile (tests): Add tst-sprintf3.
26242 * stdio-common/tst-sprintf3.c: New file.
26243
6d5c57fa
AS
26244 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26245 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26246
0749ff8b
JM
262472012-04-28 Joseph Myers <joseph@codesourcery.com>
26248
26249 * conform/conformtest.pl: Remove duplicate typed-constant
26250 handling.
26251
8dbd5d7b
DM
262522012-04-28 David S. Miller <davem@davemloft.net>
26253
26254 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26255 (check-abi-%): Remove AWK script prerequisite and explicit
26256 abilist directory.
26257 (check-abi): Rewrite to just diff the symlist with the abilist.
26258 (config-tls, config-abi-config): Delete, no longer used.
26259 (update-abi-%): Remove AWK script and explicit abilist directory.
26260 (update-abi): Rewrite to simply compare and conditionally copy the
26261 symlist and the sysdep abilist file. Remove update-abi-config
26262 checks.
26263 * abilist/ld.abilist: Remove.
26264 * abilist/libBrokenLocale.abilist: Remove.
26265 * abilist/libanl.abilist: Remove.
26266 * abilist/libcrypt.abilist: Remove.
26267 * abilist/libdl.abilist: Remove.
26268 * abilist/librt.abilist: Remove.
26269 * abilist/libthread_db.abilist: Remove.
26270 * abilist/libutil.abilist: Remove.
26271 * scripts/extract-abilist.awk: Remove.
26272 * scripts/merge-abilist.awk: Remove.
26273 * sysdeps/generic/libcidn.abilist: New file.
26274 * sysdeps/generic/libnss_compat.abilist: New file.
26275 * sysdeps/generic/libnss_db.abilist: New file.
26276 * sysdeps/generic/libnss_dns.abilist: New file.
26277 * sysdeps/generic/libnss_files.abilist: New file.
26278 * sysdeps/generic/libnss_hesiod.abilist: New file.
26279 * sysdeps/generic/libnss_nis.abilist: New file.
26280 * sysdeps/generic/libnss_nisplus.abilist: New file.
26281 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26282 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26283 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26284 file.
26285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26286 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26287 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26288 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26289 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26290 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26291 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26292 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26293 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26294 file.
26295 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26296 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26297 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26298 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26299 file.
26300 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26301 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26302 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26303 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26304 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26305 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26306 file.
26307 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26308 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26309 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26310 file.
26311 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26313 New file.
26314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26315 New file.
26316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26317 New file.
26318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26319 New file.
26320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26321 New file.
26322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26323 New file.
26324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26325 New file.
26326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26327 New file.
26328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26329 New file.
26330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26331 New file.
26332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26333 New file.
26334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26335 New file.
26336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26337 New file.
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26339 file.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26341 New file.
26342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26343 New file.
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26345 file.
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26347 New file.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26349 New file.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26351 file.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26353 New file.
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26355 New file.
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26357 New file.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26359 New file.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26361 New file.
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26363 New file.
26364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26366 file.
26367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26368 New file.
26369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26370 file.
26371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26372 file.
26373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26374 file.
26375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26376 file.
26377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26378 file.
26379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26380 New file.
26381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26382 file.
26383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26384 file.
26385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26386 New file.
26387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26388 file.
26389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26391 file.
26392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26393 New file.
26394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26395 file.
26396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26397 file.
26398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26399 file.
26400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26401 file.
26402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26403 file.
26404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26405 New file.
26406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26407 file.
26408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26409 file.
26410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26411 New file.
26412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26413 file.
26414 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26415 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26416 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26417 file.
26418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26419 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26420 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26421 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26422 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26423 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26424 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26425 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26426 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26427 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26430 file.
26431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26432 New file.
26433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26434 file.
26435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26436 file.
26437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26438 file.
26439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26440 file.
26441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26442 file.
26443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26444 New file.
26445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26446 New file.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26448 file.
26449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26450 New file.
26451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26452 file.
26453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26455 file.
26456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26457 New file.
26458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26459 file.
26460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26461 file.
26462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26463 file.
26464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26465 file.
26466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26467 file.
26468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26469 New file.
26470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26471 New file.
26472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26473 file.
26474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26475 New file.
26476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26477 file.
26478
41d73a1b
JM
264792012-04-28 Joseph Myers <joseph@codesourcery.com>
26480
26481 * conform/conformtest.pl: Fix typo in handling typed-constant from
26482 allow-header.
26483
28aeeda4
JM
264842012-04-27 Joseph Myers <joseph@codesourcery.com>
26485
adae8f5e
JM
26486 * README: Cut down references to pre-2.6 Linux kernels and
26487 Linuxthreads. Update lists of configurations in libc and ports
26488 and sort alphabetically. Say "or newer" with Linux kernel version
26489 requirements.
26490
28aeeda4
JM
26491 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26492
a462cb63
RA
264932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26494
26495 [BZ #887]
26496 * math/libm-test.inc (logb_test_downward): New test to expose
26497 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26498 rounding mode.
26499
6ad3493e
JM
265002012-04-27 Joseph Myers <joseph@codesourcery.com>
26501
26502 [BZ #14027]
26503 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26504 to be done.
26505 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26506 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26507
2ce4f015
JM
265082012-04-26 Joseph Myers <joseph@codesourcery.com>
26509
5aeb141a
JM
26510 * sysdeps/unix/i386/brk.S: Remove file.
26511 * sysdeps/unix/i386/dl-brk.S: Likewise.
26512 * sysdeps/unix/i386/pipe.S: Likewise.
26513 * sysdeps/unix/i386/sigreturn.S: Likewise.
26514 * sysdeps/unix/i386/syscall.S: Likewise.
26515 * sysdeps/unix/i386/vfork.S: Likewise.
26516 * sysdeps/unix/i386/wait.S: Likewise.
26517
7143acae
JM
26518 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26519 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26520
2ce4f015
JM
26521 * configure.in (arm*-none*): Do not allow without
26522 --enable-hacker-mode.
26523 (netbsd*): Remove case setting base_os.
26524 (386bsd*): Likewise.
26525 (freebsd*): Likewise.
26526 (bsdi*): Likewise.
26527 (osf*): Likewise.
26528 (sunos*): Likewise.
26529 (ultrix*): Likewise.
26530 (newsos*): Likewise.
26531 (dynix*): Likewise.
26532 (*bsd*): Likewise.
26533 (sysv*): Likewise.
26534 (isc*): Likewise.
26535 (esix*): Likewise.
26536 (sco*): Likewise.
26537 (minix*): Likewise.
26538 (irix4*): Likewise.
26539 (irix6*): Likewise.
26540 (solaris[2-9]*): Likewise.
26541 (none): Likewise.
26542 * configure: Regenerated.
26543
0ac229c8
AZ
265442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26545
26546 [BZ #11521]
26547 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26548 overflow or cancellation in calculating denominator.
26549 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26551 down expression to avoid unexpected rounding in newer GCCs.
26552 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26553
33f244f4
DM
265542012-04-26 David S. Miller <davem@davemloft.net>
26555
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26557 long-double compat symbols.
26558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26571
cfa1f3e8
DM
265722012-04-25 David S. Miller <davem@davemloft.net>
26573
26574 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26575 HWCAP_* values only after the memory barriers have been defined.
26576 (atomic_full_barrier): Define.
26577 (atomic_read_barrier): Define.
26578 (atomic_write_barrier): Define.
26579
6e236b92
SP
265802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26581
26582 * shlib-versions: Add libgcc_s version information.
26583 * sysdeps/generic/libgcc_s.h: Remove.
26584 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26585 libgcc_s.h.
26586 * sysdeps/gnu/unwind-resume.c: Likewise.
26587 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26588
aab39a09
DM
265892012-04-25 David S. Miller <davem@davemloft.net>
26590
26591 * sysdeps/unix/sparc/brk.S: Delete.
26592 * sysdeps/unix/sparc/dl-brk.S: Delete.
26593 * sysdeps/unix/sparc/pipe.S: Delete.
26594 * sysdeps/unix/sparc/sysdep.S: Delete.
26595 * sysdeps/unix/sparc/sysdep.h: Delete.
26596 * sysdeps/unix/sparc/vfork.S: Delete.
26597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26598 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26600 ret_ERRVAL, r0, r1, MOVE): Define.
26601 (JUMPTARGET): Remove.
26602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26603 sysdeps/unix/sparc/sysdep.h
26604 (ENTRY, END): Remove.
26605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26606
a3cc4f48
JM
266072012-04-25 Joseph Myers <joseph@codesourcery.com>
26608
2ed8cda2
JM
26609 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26610 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26611 -DIS_IN_build.
26612
35d76d59
JM
26613 * timezone/README: Update upstream location and email address for
26614 tzcode and tzdata.
26615 * timezone/zdump.c: Update from tzcode 2012b.
26616 * timezone/zic.c: Likewise.
26617
a3cc4f48
JM
26618 * configure.in (libc_cv_as_needed): Remove test.
26619 * configure: Regenerated.
26620 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26621 conditional definition.
26622 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26623 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26624 * config.make.in (have-as-needed): Remove variable.
26625
ceab42c3
SP
266262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26627 Paul Pluzhnikov <ppluzhnikov@google.com>
26628
26629 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26630 strings correctly.
26631
3ce2865f
CLT
266322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26633
26634 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26635 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26636 * sysdeps/sh/strlen.S: Likewise.
26637
f37e0d68
JM
266382012-04-24 Joseph Myers <joseph@codesourcery.com>
26639
ae186e9a
JM
26640 * sysdeps/unix/fork.S: Remove file.
26641 * sysdeps/unix/i386/fork.S: Likewise.
26642 * sysdeps/unix/sparc/fork.S: Likewise.
26643
b96914af
JM
26644 * sysdeps/unix/system.c: Remove file.
26645 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26646
f37e0d68
JM
26647 * sysdeps/unix/getegid.S: Remove file.
26648 * sysdeps/unix/geteuid.S: Likewise.
26649
87ef29ca
RM
266502012-04-24 Roland McGrath <roland@hack.frob.com>
26651
83bcd236
RM
26652 * scripts/check-localplt.awk: New file.
26653 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26654 of diff.
26655 * scripts/data/localplt-generic.data: Add a comment.
26656
87ef29ca
RM
26657 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26658 NODE when __dir_mkfile failed.
26659 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26660 Reported by Ludovic Courtès <ludo@gnu.org>.
26661
e5a6e567
AJ
266622012-04-24 Andreas Jaeger <aj@suse.de>
26663
26664 * Makerules (common-clean): Also remove gen-as-const-headers
26665 files.
26666
c1820385
JM
266672012-04-24 Joseph Myers <joseph@codesourcery.com>
26668
26669 * Makerules (native-compile): Do not change working directory for
26670 build. Use $(OUTPUT_OPTION) in command.
26671 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26672
94e02fc4
AZ
266732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26674
26675 [BZ #13886]
26676 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26677 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26678 * math/libm-test.inc (floor_test): Add more tests.
26679 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26680
3a533ca3
JM
266812012-04-24 Joseph Myers <joseph@codesourcery.com>
26682
940ab4b3
JM
26683 * sysdeps/unix/getdents.c: Remove file.
26684 * sysdeps/unix/sysv/getdents.c: Likewise.
26685 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26686
90e037bd
JM
26687 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26688 sysdeps/unix/mman/syscalls.list.
26689 (mmap): Likewise.
26690 (mprotect): Likewise.
26691 (msync): Likewise.
26692 (munmap): Likewise.
26693 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26694 * sysdeps/unix/mman/syscalls.list: Remove.
26695 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26696
3a533ca3
JM
26697 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26698 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26699 * configure: Regenerated.
26700 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26701 $(libgcc_s_suffix).
26702 * config.make.in (libgcc_s_suffix): Remove variable.
26703
1ad743de
JM
267042012-04-23 Joseph Myers <joseph@codesourcery.com>
26705
4ad451e2
JM
26706 * sysdeps/unix/sysv/gethostname.c: Move to ...
26707 * sysdeps/posix/gethostname.c: ... here.
26708
5e37ce39
JM
26709 * sysdeps/unix/execve.S: Remove file.
26710
1ad743de
JM
26711 * sysdeps/unix/_exit.S: Remove file.
26712
4e681b5b
AJ
267132012-04-23 Andreas Jaeger <aj@suse.de>
26714
26715 [BZ #13739]
26716 * manual/Makefile: Remove make dist support, there's no
26717 need for a stand-alone documentation tar ball.
26718 (TEXI2DVI): Define always, it's not in Makeconfig.
26719 (dist): Removed.
26720 (tar-it): Removed.
26721 (edition): Removed.
26722 (glibc-doc-$(edition).tar): Removed
26723 (%.Z): Removed.
26724 (%.gz): Removed.
26725 (%.uu): Removed.
26726 (ETAGS): Remove, it's in Makeconfig.
26727 (move-if-change): Remove, it's in Makeconfig.
26728
38686a03 267292012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26730
26731 [BZ #13970]
26732 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26733 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26734 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26735 (strtod_l, strtof_l, strtold_l): Remove __wur.
26736 It is not necessarily an error to ignore strtol's return value.
26737 One can reliably look at the stored endptr to decide whether
26738 the number had valid syntax.
26739
7c0616fa
AJ
267402012-04-21 Andreas Jaeger <aj@suse.de>
26741
803cb6b7 26742 [BZ #13739]
7c0616fa
AJ
26743 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26744
b0fe253f
JM
267452012-04-21 Joseph Myers <joseph@codesourcery.com>
26746
26747 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26748 * sysdeps/unix/sysv/Versions: Remove file.
26749
8280f22d
MT
267502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26751
26752 [BZ #13927]
26753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26754
75ce411f 267552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26756
26757 [BZ #7064]
26758 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26759 version from __vm86.
26760
097d59fa
JM
267612012-04-20 Joseph Myers <joseph@codesourcery.com>
26762
a90f3bcb
JM
26763 * sysdeps/unix/common/lxstat.c: Remove file.
26764 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26765
edc7ea78
JM
26766 * sysdeps/unix/sysv/Makefile: Remove file.
26767
cb78c221
JM
26768 * sysdeps/unix/sysv/direct.h: Remove file.
26769
efa6a45f
JM
26770 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26771 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26772 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26773 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26774 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26775 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26776 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26777
9c9f2d0c
JM
26778 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26779
4541c83b
JM
26780 * sysdeps/unix/xmknod.c: Remove file.
26781 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26782
f5d153a0
JM
26783 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26784
aa746595
JM
26785 * sysdeps/unix/sysv/i386/time.S: Remove file.
26786
cce5905e
JM
26787 * sysdeps/unix/fxstat.c: Remove file.
26788 * sysdeps/unix/xstat.c: Likewise.
26789 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26790
37fa3841
JM
26791 * sysdeps/unix/sysv/sigaction.c: Remove file.
26792
ff1962a3
JM
26793 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26794 (sysdep_headers): Remove variable.
26795 [termio.h not in sysdep_headers] (generated): Likewise.
26796 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26797 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26798 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26799 * sysdeps/unix/sysv/tcflow.c: Likewise.
26800 * sysdeps/unix/sysv/tcflush.c: Likewise.
26801 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26802 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26803 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26804 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26805 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26806
e7740d31
JM
26807 * sysdeps/unix/siglist.c: Remove file.
26808
ee06f18b
JM
26809 * sysdeps/unix/getppid.S: Remove file.
26810
097d59fa
JM
26811 * sysdeps/unix/mkdir.c: Remove file.
26812 * sysdeps/unix/rmdir.c: Likewise.
26813
ff3d51ec
AS
268142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26815
26816 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26817 ERR_MAX value.
26818 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26819 errlist-compat value.
26820
50f81fd7
DM
268212012-04-18 David S. Miller <davem@davemloft.net>
26822
26823 * sysdeps/generic/memcopy.h (reg_char): Delete.
26824 * debug/strcat_chk.c: Use char, not reg_char.
26825 * debug/strcpy_chk.c: Likewise.
26826 * debug/strncat_chk.c: Likewise.
26827 * debug/strncpy_chk.c: Likewise.
26828 * string/memchr.c: Likewise.
26829 * string/memrchr.c: Likewise.
26830 * string/rawmemchr.c: Likewise.
26831 * string/strcat.c: Likewise.
26832 * string/strchr.c: Likewise.
26833 * string/strchrnul.c: Likewise.
26834 * string/strcmp.c: Likewise.
26835 * string/strcpy.c: Likewise.
26836 * string/strncat.c: Likewise.
26837 * string/strncmp.c: Likewise.
26838 * string/strncpy.c: Likewise.
26839
8ff41c46
WS
268402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26841
26842 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26843 __builtin_memcopy is called when src and dest ranges are known to not
26844 overlap.
26845
6b652f46
WS
268462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26847
26848 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26849 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26850 fwd_align_merge macro call.
26851 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26852 bwd_align_merge macro call.
26853 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26854
b282631e
WS
268552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26856
26857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26858 bwd_align_merge macros.
26859 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26860 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26861 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26862
95aa737c
DM
268632012-04-18 David S. Miller <davem@davemloft.net>
26864
26865 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26866
7a99a614
AJ
268672012-04-18 Andreas Jaeger <aj@suse.de>
26868
26869 [BZ# 6794]
26870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26871 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26872 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26873
26874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26875 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26876 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26877
26878 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26879 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26880 Adjust for changed ldbl-128 files.
26881
26882 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26883 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26884 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26885
e5270c23
DM
268862012-04-17 David S. Miller <davem@davemloft.net>
26887
26888 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26889
fb5e92c9
AS
268902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26891
26892 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26893 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26894 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26895 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26896 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26897 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26898
76da7265
AZ
268992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26900
26901 [BZ #6794]
26902 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26903 * math/libm-test.inc: Add ilogb errno and exception tests.
26904 * math/w_ilogb.c: New file: ilogb wrapper.
26905 * math/w_ilogbf.c: New file: ilogbf wrapper.
26906 * math/w_ilogbl.c: New file: ilogbl wrapper.
26907 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26908 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26909 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26910 exception being thrown with 0.0 as argument.
26911 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26912 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26913 exception being thrown with 0.0 as argument.
26914 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26915 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26916 exception being thrown with 0.0 as argument.
26917 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26918 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26919 exception being thrown with 0.0 as argument.
26920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26921 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26922 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26923 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26924 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26925 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26926 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26927 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26928 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26929
0396e69d
PB
269302012-04-17 Petr Baudis <pasky@ucw.cz>
26931
26932 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26933 with altivec.
26934
750b5926
MP
269352012-04-16 Marek Polacek <polacek@redhat.com>
26936
26937 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26938
751728a1
MP
269392012-04-16 Marek Polacek <polacek@redhat.com>
26940
26941 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26942 operands of fdivp instruction.
26943
34a27407
L
269442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26945
26946 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26947 * elf/tst-auditmod3b.c: Likewise.
26948 * elf/tst-auditmod4b.c: Likewise.
26949 * elf/tst-auditmod5b.c: Likewise.
26950 * elf/tst-auditmod6b.c: Likewise.
26951 * elf/tst-auditmod6c.c: Likewise.
26952 * elf/tst-auditmod7b.c: Likewise.
26953 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26954 * sysdeps/x86_64/preconfigure.in: Likewise.
26955 * sysdeps/x86_64/preconfigure: Regenerated.
26956
7e73e17d
L
269572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26960 __ILP32__.
26961
c7a6ab72
AB
269622012-04-13 Antoine Balestrat <merkil33@gmail.com>
26963
26964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26965 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26966
a9e8e0e0
CL
269672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26968
26969 [BZ #13973]
26970 * locale/iso-639.def: Fix gl language name. Spotted by
26971 Yaron Shahrabani.
26972
ec98af7d
RM
269732012-04-12 Roland McGrath <roland@hack.frob.com>
26974
26975 [BZ #2074]
26976 * libio/libio.h (__io_write_fn): Update comment.
26977
247c3ede
PB
269782012-04-12 Petr Baudis <pasky@ucw.cz>
26979
26980 [BZ #2074]
26981 * stdio.texi (Hook Functions): The user provided writer function
26982 is not allowed to return -1.
26983
55939d6d
DM
269842012-04-11 David S. Miller <davem@davemloft.net>
26985
26986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26987
90020f5a
MF
269882012-04-11 Mike Frysinger <vapier@gentoo.org>
26989
26990 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26991 Add a leading slash to rtkaio.
26992
288f9098
JM
269932012-04-11 Jim Meyering <meyering@redhat.com>
26994
90020f5a
MF
26995 [BZ #11959]
26996 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26997 It is not necessarily an error to ignore fwrite's return
26998 value. One can reliably use ferror to test for errors after
26999 the fact.
288f9098 27000
4be2b570
L
270012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27002
27003 * bits/types.h (__snseconds_t): New type.
27004 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27005
27006 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27008 (__SNSECONDS_T_TYPE): Likewise.
27009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27010 (__SNSECONDS_T_TYPE): Likewise.
27011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27012 (__SNSECONDS_T_TYPE): Likewise.
27013
288f9098 270142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27015
27016 [BZ #2636]
27017 * manual/time.texi (Processor Time): Return type of times is
27018 elapsed real time since an arbitrary point in the past.
27019 (CPU Time): Move CLK_TCK from here...
27020 (Processor Time): ...to here. Correct description.
27021 * manual/conf.texi (Constants for Sysconf): Correct description of
27022 _SC_CLK_TCK.
27023
d7dd4413
DM
270242012-04-10 David S. Miller <davem@davemloft.net>
27025
27026 [BZ #13967]
27027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27028 where the is a gap between DT_REL(A) and DT_JMPREL.
27029
b46068fc
L
270302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27033 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27034 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27035
73d65cc3
SP
270362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27037
27038 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27039 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27040 (dl_main): Handle --inhibit-cache.
27041 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27042 _dl_inhibit_cache.
27043 * elf/dl-load.c (_dl_map_object): Use it.
27044 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27045
bcc8d661
JM
270462012-04-09 Joseph Myers <joseph@codesourcery.com>
27047
8f9a2fae
JM
27048 [BZ #13872]
27049 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27050 (__ieee754_powl): Saturate large exponents rather than testing for
27051 overflow of y*log2(x).
27052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27053 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27054 exceptions.
27055
bcc8d661
JM
27056 [BZ #11521]
27057 * math/s_ctan.c: Include <float.h>.
27058 (__ctan): Avoid internal overflow or cancellation in calculating
27059 denominator.
27060 * math/s_ctanf.c: Likewise.
27061 * math/s_ctanl.c: Likewise.
27062 * math/s_ctanh.c: Likewise.
27063 * math/s_ctanhf.c: Likewise.
27064 * math/s_ctanhl.c: Likewise.
27065 * math/libm-test.inc (ctan_test): Add more tests.
27066 (ctanh_test): Likewise.
27067 * sysdeps/i386/fpu/libm-test-ulps: Update.
27068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27069
823fbbb4
AJ
270702012-04-09 Andreas Jaeger <aj@suse.de>
27071
03879793
AJ
27072 [BZ #6894]
27073 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27074 is an optional BSD extension.
27075
823fbbb4
AJ
27076 [BZ #10254]
27077 * manual/stdio.texi (Opening Streams): Document additional fopen
27078 parameters.
27079
8de131cb
RM
270802012-04-09 Roland McGrath <roland@hack.frob.com>
27081
27082 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27083 %eax without telling the compiler.
27084
c0ed9d7d
CD
270852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27086
27087 [BZ # 13963]
27088 * manual/install.texi: Use sourceware.org.
27089
c483f6b4
JM
270902012-04-09 Joseph Myers <joseph@codesourcery.com>
27091
d7dd9453
JM
27092 [BZ #13873]
27093 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27094 (__ieee754_pow): Generate overflow and underflow using huge*huge
27095 and tiny*tiny rather than just returning constant infinity or zero
27096 for large exponents.
27097 * math/libm-test.inc (pow_test): Require overflow exceptions for
27098 applicable cases of large exponents.
27099
c483f6b4
JM
27100 [BZ #706]
27101 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27102 (__ieee754_pow): Use iterative multiplication algorithm only for
27103 integer exponents with absolute value below 1024. Check for odd
27104 integer exponents when using algorithm for real exponents.
27105 * math/libm-test.inc (pow_test): Add more tests.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27107
d2de7579
JM
271082012-04-08 Joseph Myers <joseph@codesourcery.com>
27109
27110 [BZ #13705]
27111 * math/libm-test.inc (exp_test): Do not allow overflow exception
27112 on underflow test.
27113
f77f1232
AJ
271142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27115
27116 [BZ #13705]
27117 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27118 instead of __kernel_standard_f.
27119
3884932b
MF
271202012-04-08 Mike Frysinger <vapier@gentoo.org>
27121
27122 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27123 * sysdeps/x86_64/memset_chk.S: Likewise.
27124
54472e9c
AJ
271252012-04-08 Andreas Jaeger <aj@suse.de>
27126
6ab0fbfc
AJ
27127 [BZ #10153]
27128 * manual/startup.texi (Environment Access): Describe return value
27129 for putenv and setenv.
27130
61efba8c
AJ
27131 [BZ #6895]
27132 * manual/filesys.texi (Directory Entries): Add description for
27133 DT_LNK.
27134
95c3f29a
AJ
27135 [BZ #6890]
27136 * manual/filesys.texi (Directory Entries): Clarify that it's file
27137 system not operating system in the description of DT_UNKNOWN.
27138
54472e9c
AJ
27139 [BZ #6578]
27140 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27141
624254b1
SC
271422012-04-08 Stephen Compall <s11@member.fsf.org>
27143
27144 [BZ #6649]
27145 * manual/llio.texi (Opening and Closing Files): Add cross
27146 reference to explain mode argument.
27147
1e4920e0
MF
271482012-04-07 Mike Frysinger <vapier@gentoo.org>
27149
27150 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27151 * sysdeps/x86_64/memset_chk.S: Likewise.
27152
5ed848f3
DM
271532012-04-07 David S. Miller <davem@davemloft.net>
27154
27155 * elf/elf.h (R_SPARC_WDISP10): Define.
27156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27157 R_SPARC_SIZE32.
27158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27159 R_SPARC_SIZE64 and R_SPARC_H34.
27160
96154cd8
CD
271612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27162
27163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27164 conditions and remove no longer applicable assertion.
27165
9904dc47
L
271662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 * bits/byteswap.h: Include <features.h>.
27169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27171
f8887d0a
L
271722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 * bits/byteswap.h (__bswap_16): Removed.
27175 Include <bits/byteswap-16.h> to get __bswap_16.
27176 * sysdeps/i386/bits/byteswap.h: Likewise.
27177 * sysdeps/s390/bits/byteswap.h: Likewise.
27178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27179 * bits/byteswap-16.h: New file.
27180 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27181 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27182 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27183 * string/Makefile (headers): Add bits/byteswap-16.h.
27184
62470f60
PP
271852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27186
27187 [BZ #13895]
27188 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27189 extra indirection.
27190 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27191 * nss/tst-nss-static.c: New.
27192
4dad7bab
RM
271932012-04-06 Robert Millan <rmh@gnu.org>
27194
27195 [BZ #6486]
27196 * manual/llio.texi (File Position Primitive): lseek
27197 refers to WHENCE when it really means OFFSET.
27198
e9142a17
AJ
271992012-04-06 Andreas Jaeger <aj@suse.de>
27200
2c040eff
AJ
27201 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27202 strncmp declarations.
27203
e9142a17
AJ
27204 * abilist/libc.abilist: Add __poll and __ppoll.
27205
ff9f1c5f
DM
272062012-04-05 David S. Miller <davem@davemloft.net>
27207
dcd2ae90
DM
27208 * scripts/check-local-headers.sh: Accept a host triplet in the
27209 path matched by the exclude regexp.
27210
993eb054
DM
27211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27212 definition.
27213 * sysdeps/powerpc/powerpc32/dl-machine.h
27214 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27215 * sysdeps/s390/s390-32/dl-machine.h
27216 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27217 * sysdeps/sparc/sparc32/dl-machine.h
27218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27219 * sysdeps/sparc/sparc64/dl-machine.h
27220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27221
ff9f1c5f
DM
27222 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27223 lazy binding.
48e2e132 27224 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27225 undefined symbol errors.
27226
48e2e132 27227 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27228 DT_NEEDED entries.
27229
e80d6f94
MM
272302012-04-05 Michael Matz <matz@suse.de>
27231
27232 [BZ #13592]
27233 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27234
349fa79f
AJ
272352012-04-05 Andreas Jaeger <aj@suse.de>
27236
27237 [BZ #13908]
27238 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27239 comment.
27240
f402708f
KK
272412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27242
27243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27244 which ROUND is no valid rounding mode.
27245
2ecccfc9
KK
272462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27247
27248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27249 read again.
27250 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27251
8a53f50f
KK
272522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27253
27254 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27255 an exception using FPU order intentionally.
27256
272572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27258
27259 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27260 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27261 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27262 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27263
d653abb7
SJ
272642012-04-05 Simon Josefsson <simon@josefsson.org>
27265
27266 [BZ #12340]
27267 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27268 EINVAL when BUFLEN is too smal.
27269
c3b1bf7d
TS
272702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27271
27272 [BZ #13553]
27273 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27274 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27275
b1aa60f3
AJ
272762012-04-03 Andreas Jaeger <aj@suse.de>
27277
c3b1bf7d 27278 [BZ #13938]
67f60a26
AJ
27279 * manual/setjmp.texi (System V contexts): Fix sentence.
27280
b1aa60f3
AJ
27281 [BZ #13926]
27282 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27283 New macro for this case.
27284 [!__GNUC__] (__bswap_64): New inline function for this case.
27285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27286 * bits/byteswap.h: Likewise.
27287 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27288 ull, guard with __GLIBC_HAVE_LONG_LONG.
27289
27290 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27291 __GLIBC_HAVE_LONG_LONG.
27292
27293 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27294 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27295
39c59c35
TMQMF
272962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27297
27298 [BZ #13691]
27299 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27300 inptr and inend, rather than using last_ch.
27301
135ffda8
DM
273022012-04-02 David S. Miller <davem@davemloft.net>
27303
27304 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27305 * stdio-common/printf-parse.h (read_int): Change return type to
27306 'int', return -1 on INT_MAX overflow.
27307 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27308 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27309 overflows INT_MAX. Check for overflow of in-format-string precision
27310 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27311 SIZE_MAX not INT_MAX for integer overflow test.
27312 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27313 skip the construct in the format string but do not record anything.
27314 * stdio-common/bug22.c: Adjust to test both width/prevision
27315 INT_MAX overflow as well as total length INT_MAX overflow. Check
27316 explicitly for proper errno values.
27317
228c019e
TS
273182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27319
302cadd3
TS
27320 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27321 CHAR_MAX.
27322 * string/test-strcmp.c [! WIDE]: Likewise.
27323 * time/tst-mktime2.c: Likewise for INT_MAX.
27324 * string/test-string.h: #include <sys/param.h> for MIN.
27325
228c019e
TS
27326 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27327 * sysdeps/i386/init-first.c (init): Likewise.
27328 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27329 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27330 * sysdeps/sh/init-first.c (init): Likewise.
27331
cfa633f5
UD
273322012-04-01 Ulrich Drepper <drepper@gmail.com>
27333
27334 * po/ru.po: Update from translation team.
d1635ef8 27335 * po/vi.po: Likewise.
cfa633f5 27336
6cd0a5ea
SP
273372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27338
27339 * resolv/nss_dns/dns-host.c: Merge copyright years.
27340
4b43400f
LD
273412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27342
27343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27344 Optimize memcpy with prefetch if
27345 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27346 src, dst pointers have unequal 16 byte alignments.
27347
48c41d04
SP
273482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27349
27350 [BZ #13928]
27351 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27352 from a CNAME entry and return the minimum ttl for the query.
27353 (gaih_getanswer_slice): Likewise.
27354
b8dc394d
JL
273552012-03-30 Jeff Law <law@redhat.com>
27356
27357 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27358 due to long keys.
27359 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27360 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27361
2f5a5ed0
JL
27362 * resolv/nss_dns/dns-host.c: Update copyright year.
27363
1d39e359
UD
273642012-03-30 Ulrich Drepper <drepper@gmail.com>
27365
c030f70c 27366 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27367 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27368
1d39e359
UD
27369 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27370 comments for sendmmsg.
27371
273722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27373
27374 [BZ #13691]
27375 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27376 with only 1 character between 0x0041 and 0x01b0.
27377 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27378 * wcsmbs/tst-mbsnrtowcs.c: New file.
27379
20fde227
DM
273802012-03-29 David S. Miller <davem@davemloft.net>
27381
27382 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27383 small copies by hand.
27384
984a4237
JL
273852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27386
27387 [BZ #13761]
27388 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27389 _nss_compat_initgroups_dyn): Fall back to malloc/free
27390 for large group memberships.
27391
18c9d62b
DM
273922012-03-28 David S. Miller <davem@davemloft.net>
27393
88d85d4f
DM
27394 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27395 that branches into memcpy.
27396 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27399 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27401 bits.
27402 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27403 implementation too.
27404 * sysdeps/sparc/mempcpy.S: New file.
27405
e5aa83e1
DM
27406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27407 the IFUNC routine in the libc case.
27408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27409
88570753
DM
27410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27411 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27412 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27413 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27414 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27415 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27416 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27417 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27418
249d7567
DM
27419 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27420 loop to 256 bytes instead of 64 bytes and fix test signedness.
27421
18c9d62b
DM
27422 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27423 * sysdeps/sparc/sparc32/Makefile: rather than here...
27424 * sysdeps/sparc/sparc64/Makefile: and here.
27425
05f3d1f6
UD
274262012-03-28 Ulrich Drepper <drepper@gmail.com>
27427
27428 * malloc/mallocbug.c: Avoid warnings about unused variables.
27429
86ae07a8
JL
274302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27431
27432 [BZ #13760]
27433 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27434 in the right place. Discard and retry query if response is
27435 larger than input buffer size.
27436
41bf21a1
JM
274372012-03-28 Joseph Myers <joseph@codesourcery.com>
27438
d6270972
JM
27439 [BZ #369]
27440 [BZ #2678]
27441 [BZ #3866]
27442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27443 x for large integer exponent.
27444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27445 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27446 sign of result as needed afterwards.
27447 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27448 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27449 result for underflowing pow the same as for overflow.
27450 (__kernel_standard_l): Handle powl overflow and underflow here
27451 rather than calling __kernel_standard.
27452 * math/libm-test.inc (pow_test): Add more tests.
27453
414fca03 27454 [BZ #3868]
41bf21a1
JM
27455 [BZ #13879]
27456 [BZ #13910]
27457 [BZ #13911]
27458 [BZ #13912]
27459 [BZ #13913]
27460 [BZ #13915]
27461 [BZ #13916]
27462 [BZ #13917]
27463 [BZ #13918]
27464 [BZ #13919]
27465 [BZ #13920]
27466 [BZ #13921]
27467 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27468 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27469 (__kernel_standard_l): New function.
27470 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27471 __kernel_standard.
27472 * math/w_acosl.c (__acosl): Likewise.
27473 * math/w_asinl.c (__asinl): Likewise.
27474 * math/w_atan2l.c (__atan2l): Likewise.
27475 * math/w_atanhl.c (__atanhl): Likewise.
27476 * math/w_coshl.c (__coshl): Likewise.
27477 * math/w_exp10l.c (__exp10l): Likewise.
27478 * math/w_exp2l.c (__exp2l): Likewise.
27479 * math/w_fmodl.c (__fmodl): Likewise.
27480 * math/w_hypotl.c (__hypotl): Likewise.
27481 * math/w_j0l.c (__j0l, __y0l): Likewise.
27482 * math/w_j1l.c (__j1l, __y1l): Likewise.
27483 * math/w_jnl.c (__jnl, __ynl): Likewise.
27484 * math/w_lgammal.c (__lgammal): Likewise.
27485 * math/w_log10l.c (__log10l): Likewise.
27486 * math/w_log2l.c (__log2l): Likewise.
27487 * math/w_logl.c (__logl): Likewise.
27488 * math/w_powl.c (__powl): Likewise.
27489 * math/w_remainderl.c (__remainderl): Likewise.
27490 * math/w_scalbl.c (sysv_scalbl): Likewise.
27491 * math/w_sinhl.c (__sinhl): Likewise.
27492 * math/w_sqrtl.c (__sqrtl): Likewise.
27493 * math/w_tgammal.c (__tgammal): Likewise.
27494 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27495 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27496 * math/libm-test.inc (acos_test): Add more tests.
27497 (acosh_test): Likewise.
27498 (asin_test): Likewise.
27499 (atanh_test): Likewise.
27500 (exp_test): Likewise.
27501 (exp10_test): Likewise.
27502 (exp2_test): Likewise.
27503 (expm1_test): Likewise.
27504 (lgamma_test): Likewise.
27505 (log_test): Likewise.
27506 (log10_test): Likewise.
27507 (log1p_test): Likewise.
27508 (log2_test): Likewise.
27509 (pow_test): Do not allow some spurious overflow exceptions.
27510 (sqrt_test): Add more tests.
27511 (tgamma_test): Likewise.
27512 (y0_test): Likewise.
27513 (y1_test): Likewise.
27514 (yn_test): Likewise.
27515
dd62fda6
AB
275162012-03-27 Anton Blanchard <anton@samba.org>
27517
27518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27519 MAP_HUGETLB.
27520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27522 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27523
1e3cdfda
AJ
275242012-03-27 David S. Miller <davem@davemloft.net>
27525
b855ab85
DM
27526 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27527
1e3cdfda
AJ
27528 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27529 have-as-vis3 check.
27530
275312012-03-27 Andreas Jaeger <aj@suse.de>
27532
27533 * sysdeps/x86_64/elf/configure.in: Moved to ...
27534 * sysdeps/x86_64/configure.in: ... here.
27535 * sysdeps/x86_64/elf/start.S: Moved to ...
27536 * sysdeps/x86_64/start.S: ... here.
27537 * sysdeps/x86_64/elf/configure: Delete.
27538
27539 * sysdeps/x86_64/configure.in: Merge contents from
27540 sysdeps/i386/configure.in (without i686 check).
27541
27542 * sysdeps/i386/elf/Versions: Merge into ...
27543 * sysdeps/i386/Versions: ... this.
27544 * sysdeps/i386/elf/Versions: Delete file.
27545 * sysdeps/i386/elf/start.S: Moved to ...
27546 * sysdeps/i386/start.S: ...here.
27547 * sysdeps/i386/elf/configure.in: Merge into...
27548 * sysdeps/i386/configure.in: ...here.
27549 * sysdeps/i386/elf/configure.in: Delete file.
27550 * sysdeps/i386/elf/configure: Delete file.
27551
27552 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27553 * debug/backtracesyms.c: ... here.
27554 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27555 * debug/backtracesymsfd.c: ... here.
27556 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27557 * sysdeps/generic/ifunc-sel.h: ... here.
27558
27559 * sysdeps/unix/i386/start.c: Delete file.
27560 * sysdeps/unix/sparc/start.c: Delete file.
27561 * sysdeps/unix/start.c: Delete file.
27562
27563 * sysdeps/sh/elf/configure.in: Moved to ...
27564 * sysdeps/sh/configure.in: ... here.
27565 * sysdeps/sh/elf/start.S: Moved to ...
27566 * sysdeps/sh/start.S: ... here.
27567 * sysdeps/sh/elf/configure: Delete file.
27568
27569 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27570 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27571 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27572 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27573 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27574 * sysdeps/powerpc/powerpc64/start.S: here.
27575 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27576 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27577 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27578 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27579 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27580
27581 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27582 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27583 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27584 * sysdeps/powerpc/powerpc32/start.S: ... here.
27585 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27586 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27587 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27588
27589 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27590 * sysdeps/powerpc/ifunc-sel.h: ... here.
27591 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27592 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27593
27594 * sysdeps/sparc/elf/configure.in: Moved to ...
27595 * sysdeps/sparc/configure.in: ... here.
27596 * sysdeps/sparc/elf/configure: Delete file.
27597 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27598 * sysdeps/sparc/sparc32/start.S: ... here.
27599 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27600 * sysdeps/sparc/sparc64/start.S: ... here.
27601 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27602 * sysdeps/sparc/sparc32/Makefile: ... this.
27603 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27604 * sysdeps/sparc/sparc64/Makefile: ... this.
27605
27606 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27607 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27608 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27609 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27610 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27611 * sysdeps/s390/s390-32/setjmp.S: ... here.
27612 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27613 * sysdeps/s390/s390-32/configure.in: ... here.
27614 * sysdeps/s390/s390-32/elf/configure: Delete file.
27615 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27616 * sysdeps/s390/s390-32/start.S: ... here.
27617
27618 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27619 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27620 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27621 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27622 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27623 * sysdeps/s390/s390-64/setjmp.S: ... here.
27624 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27625 * sysdeps/s390/s390-64/configure.in: ... here
27626 * sysdeps/s390/s390-64/elf/configure: Delete file.
27627 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27628 * sysdeps/s390/s390-64/start.S: ... here.
27629 * sysdeps/s390/s390-64/elf/configure: Delete.
27630
27631 * configure.in: Remove support for elf directories in sysdeps.
27632
27633 * configure: Regenerated.
27634 * sysdeps/i386/configure: Regenerated.
27635 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27636 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27637 * sysdeps/s390/s390-32/configure: Regenerated.
27638 * sysdeps/s390/s390-64/configure: Regenerated.
27639 * sysdeps/sh/configure: Regenerated.
27640 * sysdeps/sparc/configure: Regenerated.
27641 * sysdeps/x86_64/configure: Regenerated.
27642
a3f61311
AS
276432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27644
c876e002
AS
27645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27646
a3f61311
AS
27647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27648 denormal result into account.
27649
ac4c54f0
RM
276502012-03-25 Roland McGrath <roland@hack.frob.com>
27651
27652 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27653 Reported by Allan McRae <allan@archlinux.org>.
27654
6a9b9c02
JL
276552012-03-23 Jeff Law <law@redhat.com>
27656
27657 * nss/getnssent.c (__nss_getent): Fix typo.
27658
4c42a0c1
DM
276592012-03-23 David S. Miller <davem@davemloft.net>
27660
27661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27662
1532c7ac
L
276632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27666 to pad to uint64_t for each field.
27667 (dl_tls_index): Replace unsigned long with uint64_t.
27668
3ff42526
PP
276692012-03-23 Daniel Jacobowitz <dmj@google.com>
27670 Paul Pluzhnikov <ppluzhnikov@google.com>
27671
27672 [BZ #6528]
27673 * grp/Makefile (otherlibs): Don't set it.
27674 * inet/Makefile (otherlibs): Likewise.
27675 * login/Makefile (otherlibs): Likewise.
27676 * nscd/Makefile (otherlibs): Likewise.
27677 * posix/Makefile (otherlibs): Likewise.
27678 * pwd/Makefile (otherlibs): Likewise.
27679 * rt/Makefile (otherlibs): Likewise.
27680 * sunrpc/Makefile (otherlibs): Likewise.
27681 * nss/Makefile (otherlibs): Likewise.
27682 Add libnss_files to routines and static-only-routines.
27683 ($(objpfx)getent): Remove rule.
27684 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27685 static-only-routines.
27686
7c69cd14
JM
276872012-03-22 Joseph Myers <joseph@codesourcery.com>
27688
27689 [BZ #13892]
27690 * math/s_cexp.c: Include <float.h>.
27691 (__cexp): Handle exp result overflowing not necessarily
27692 overflowing both real and imaginary parts of result.
27693 * math/s_cexpf.c: Likewise.
27694 * math/s_cexpl.c: Likewise.
27695 * math/libm-test.inc (cexp_test): Add more tests.
27696 * sysdeps/i386/fpu/libm-test-ulps: Update.
27697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27698
81b035fe
L
276992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27700
27701 * include/link.h (ELFW): New macro.
27702 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27703 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27704
1da7940c
L
277052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27708 with uint64_t.
27709
b749dbb9
L
277102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27711
27712 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27713 declaration.
27714 (struct La_x32_retval): Likewise.
27715
2ff87f3f
L
277162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27717
27718 * sysdeps/x86_64/preconfigure.in: New file.
27719 * sysdeps/x86_64/preconfigure: New generated file.
27720
c0df8e69
JM
277212012-03-22 Joseph Myers <joseph@codesourcery.com>
27722
48e44791
JM
27723 [BZ #13824]
27724 * math/e_exp2l.c: Include <float.h>.
27725 (__ieee754_exp2l): Handle overflow and underflow cases
27726 separately. Only pass fractional part of argument to
27727 __ieee754_expl.
27728 * math/libm-test.inc (exp2_test): Add more tests.
27729
c0df8e69
JM
27730 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27731 negating x to take absolute value.
27732 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27733 Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27736 Likewise.
27737 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27738 computing low part if x was negated.
27739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27740
c8e43ba7
L
277412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27742
27743 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27744 la_x32_gnu_pltexit.
27745 (pltexit): Cast int_retval to ptrdiff_t.
27746 * elf/tst-auditmod3b.c: Likewise.
27747 * elf/tst-auditmod4b.c: Likewise.
27748 * elf/tst-auditmod5b.c: Likewise.
27749 * elf/tst-auditmod6b.c: Likewise.
27750 * elf/tst-auditmod6c.c: Likewise.
27751 * elf/tst-auditmod7b.c: Likewise.
27752
27753 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27754 and x32_gnu_pltexit.
27755
27756 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27757 __ELF_NATIVE_CLASS.
27758 (La_x32_regs): New macro.
27759 (La_x32_retval): Likewise.
27760 (la_x32_gnu_pltenter): New function prototype.
27761 (la_x32_gnu_pltexit): Likewise.
27762
7998fa78
AS
277632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27764
dcb33988
AS
27765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27766 exponent.
27767
233fc563
AS
27768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27769
7998fa78
AS
27770 * configure.in (libc_cv_cc_nofma): Check for option to disable
27771 generation of FMA instructions.
27772 * configure: Regenerate.
27773 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27774 * sysdeps/ieee754/dbl-64/Makefile: New file.
27775 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27776 Remove brandred-fma4.
27777 (CFLAGS-brandred-fma4.c): Remove.
27778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27780 define.
27781 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27782 define.
27783
8e95c99a
L
277842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27785
27786 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27787 LLONG_MAX != LONG_MAX.
27788 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27789 (_fitoa_word): Likewise.
27790 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27791 LLONG_MAX != LONG_MAX.
27792 * stdio-common/_itowa.h: Include <_itoa.h>.
27793 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27794 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27795 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27796 only if not defined.
27797 (_ITOA_WORD_TYPE): Likewise.
27798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27799 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27800
6f4db457
DM
278012012-03-21 David S. Miller <davem@davemloft.net>
27802
27803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27804
7785fe5a
L
278052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27806
27807 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27808 of x86_64 when setting libc_cv_slibdir, libdir and
27809 libc_cv_localedir.
27810 * sysdeps/unix/sysv/linux/configure: Regenerated.
27811
4535cd55
JM
278122012-03-21 Joseph Myers <joseph@codesourcery.com>
27813
27814 * manual/lang.texi (Old Varargs): Remove section.
27815 (How Variadic): Update menu.
27816 (va_start): Do not mention varargs.h.
27817
17228132
TS
278182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27819 Joseph Myers <joseph@codesourcery.com>
27820
27821 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27822 link test.
27823 * configure: Regenerated.
27824
8149f976
TS
278252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27826
05f3d1f6
UD
27827 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27828 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27829 conformtest.pl
8149f976 27830
1a4ac776
JM
278312012-03-21 Joseph Myers <joseph@codesourcery.com>
27832
be22ce65
JM
27833 * NOTES: Remove.
27834 * Makefile (files-for-dist): Remove NOTES.
27835 (NOTES): Remove rule.
27836 * README: Don't refer to NOTES.
27837 * manual/creature.texi: Don't include macros.texi.
27838 * manual/intro.texi (creature.texi): Remove comment referring to
27839 NOTES.
27840
40b601fb
JM
27841 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27842 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27843 * configure: Regenerated.
27844 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27845 LIBC_TRY_CC_OPTION.
27846 (libc_cv_as_i686): Likewise.
27847 (libc_cv_cc_avx): Likewise.
27848 (libc_cv_cc_sse2avx): Likewise.
27849 (libc_cv_cc_fma4): Likewise.
27850 (libc_cv_cc_novzeroupper): Likewise.
27851 * sysdeps/i386/configure: Regenerated.
27852
1a4ac776
JM
27853 [BZ #13883]
27854 * sysdeps/i386/fpu/s_cexp.S: Remove.
27855 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27856 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27857 * math/libm-test.inc (cexp_test): Add more tests.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
a458e7fe
AM
278612012-03-21 Allan McRae <allan@archlinux.org>
27862
27863 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27864
0cb7efc5
JM
278652012-03-21 Joseph Myers <joseph@codesourcery.com>
27866
27867 [BZ #13871]
27868 * math/w_exp2.c: Do not include <float.h>.
27869 (o_threshold, u_threshold): Remove.
27870 (__exp2): Calculate result before checking finiteness and calling
27871 __kernel_standard.
27872 * math/w_exp2f.c: Likewise.
27873 * math/w_exp2l.c: Likewise.
27874 * math/libm-test.inc (exp2_test): Require overflow exception for
27875 1e6 input.
2460d3aa
JM
27876
27877 [BZ #3866]
27878 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27879 range of signed 64-bit integers before using fistpll. Remove
27880 checks for whether integers fit in mantissa bits.
27881 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27882 the range of signed 32-bit integers before using fistpl. Remove
27883 checks for whether integers fit in mantissa bits.
27884 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27885 (__ieee754_powl): Test for y outside the range of signed 64-bit
27886 integers before using fistpll. Reduce 64-bit values to 63-bit
27887 ones as needed.
27888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27889 divide-by-zero is raised for zero to large negative powers.
27890 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27891 (__ieee754_powl): Test for y outside the range of signed 64-bit
27892 integers before using fistpll. Reduce 64-bit values to 63-bit
27893 ones as needed.
27894 * math/libm-test.inc (pow_test): Add more tests.
27895
eb96ffb0
L
278962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27897
27898 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27899 <stdio-common/_itoa.h>.
27900 * debug/segfault.c: Likewise.
27901 * elf/dl-cache.c: Likewise.
27902 * elf/dl-minimal.c: Likewise.
27903 * elf/dl-misc.c: Likewise.
27904 * elf/dl-sysdep.c: Likewise.
27905 * elf/dl-version.c: Likewise.
27906 * elf/rtld.c: Likewise.
27907 * hurd/hurdsock.c: Likewise.
27908 * hurd/lookup-retry.c: Likewise.
27909 * malloc/malloc.c: Likewise.
27910 * malloc/mtrace.c: Likewise.
27911 * nscd/nscd_getgr_r.c: Likewise.
27912 * nscd/nscd_getpw_r.c: Likewise.
27913 * nscd/nscd_getserv_r.c: Likewise.
27914 * posix/getopt_init.c: Likewise.
27915 * posix/wordexp.c: Likewise.
27916 * stdio-common/_itoa.c: Likewise.
27917 * stdio-common/printf_fphex.c: Likewise.
27918 * stdio-common/vfprintf.c: Likewise.
27919 * string/_strerror.c: Likewise.
27920 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27921 * sysdeps/i386/i686/hp-timing.h: Likewise.
27922 * sysdeps/mach/_strerror.c: Likewise.
27923 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27924 * sysdeps/mach/hurd/sethostid.c: Likewise.
27925 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27926 * sysdeps/mach/xpg-strerror.c: Likewise.
27927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27929 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27930 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27932 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27933 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27934 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27935 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27936 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27937 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27939 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27941 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27942 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27943 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27944 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27945 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27946 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27947 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27948
27949 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27950
27951 * stdio-common/_itoa.h: Moved to ...
27952 * sysdeps/generic/_itoa.h: Here.
27953
27954 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27955
27956 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27957 instead of "_itoa.h" and "_itowa.h".
27958 * stdio-common/vfprintf.: Likewise.
27959
d1af992d
L
279602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27961
27962 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27963 <bits/wordsize.h>.
27964 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27965 (__signbit): Likwise.
27966 (llrintf): Likwise.
27967 (llrint): Likwise.
27968
114883e0
L
279692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27970
27971 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27972 __WORDSIZE != 64.
27973
c135cc1b
JM
279742012-03-20 Joseph Myers <joseph@codesourcery.com>
27975
27976 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27977 OVERFLOW_EXCEPTION_OK.
27978 * math/libm-test.inc ("Philosophy"): Update comment about
27979 exception testing.
27980 (OVERFLOW_EXCEPTION): Define.
27981 (OVERFLOW_EXCEPTION_OK): Likewise.
27982 (INVALID_EXCEPTION_OK): Renumber.
27983 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27984 (IGNORE_ZERO_INF_SIGN): Likewise.
27985 (test_exceptions): Handle FE_OVERFLOW.
27986 (exp10_test): Expect overflow exceptions.
27987 (exp2_test): Likewise.
27988 (expm1_test): Likewise.
27989 (nextafter_test): Likewise.
27990 (pow_test): Likewise.
27991 (scalbn_test): Likewise.
27992 (scalbln_test): Likewise.
27993
95443d88
L
279942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 * sysdeps/x86_64/bits/atomic.h
27997 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27998 64bit integer.
27999 (atomic_exchange_acq): Likewise.
28000 (__arch_exchange_and_add_body): Likewise.
28001 (__arch_add_body): Likewise.
28002 (atomic_add_negative): Likewise.
28003 (atomic_add_zero): Likewise.
28004
490df6c4
L
280052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28006
c2722551 28007 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28008 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28009
5e52b189
L
280102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28011
28012 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28013 Check __x86_64__ instead of __WORDSIZE.
28014
a9879d4c
L
280152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28018
5df98260
DM
280192012-03-19 David S. Miller <davem@davemloft.net>
28020
e1497744
DM
28021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28022
5df98260
DM
28023 * sysdeps/sparc/fpu/fenv_private.h: New file.
28024 * sysdeps/sparc/fpu/math_private.h: Use it.
28025 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28026 Remove.
28027 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28028 (libc_feholdexcept_setroundl): Remove.
28029 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28030 Remove.
28031 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28032 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28033
b4c35121
L
280342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28037 int64_t instead of long int.
28038 (INSERT_WORDS64): Likwise.
28039
56965fd7
L
280402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28041
28042 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28043 _Unwind_GetCFA return to _Unwind_Ptr first.
28044
83d1aec8
JM
280452012-03-19 Joseph Myers <joseph@codesourcery.com>
28046
1897ad44
JM
28047 [BZ #13629]
28048 * math/s_clog.c: Include <float.h>.
28049 (__clog): Scale large or subnormal inputs.
28050 * math/s_clogf.c: Likewise.
28051 * math/s_clogl.c: Likewise.
28052 * math/s_clog10.c: Include <float.h>.
28053 (M_LOG10_2): Define.
28054 (__clog10): Scale large or subnormal inputs.
28055 * math/s_clog10f.c: Likewise.
28056 * math/s_clog10l.c: Likewise.
28057 * math/libm-test.inc (clog_test): Add more tests.
28058 (clog10_test): Likewise.
28059 * sysdeps/i386/fpu/libm-test-ulps: Update.
28060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061
7726d6a9
JM
28062 [BZ #11451]
28063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28064 x and y.
28065 * math/libm-test.inc (atan2_test): Add another test.
28066
83d1aec8
JM
28067 * Makerules (common-objdir-compile): Remove.
28068 * sysdeps/unix/Makefile (config-generated): Do not add
28069 $(unix-generated) to variable.
28070 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28071 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28072 Remove rule.
28073 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28074 Likewise.
28075 [generic bits/local_lim.h] (before-compile): Do not append to
28076 variable.
28077 [generic bits/local_lim.h] (common-generated): Likewise.
28078 [generic sys/param.h] (before-compile): Do not append to variable.
28079 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28080 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28082 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28083 include.
28084 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28085 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28086 [generic sys/param.h] ($(addprefix
28087 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28088 [generic sys/param.h] (common-generated): Do not append to
28089 variable.
28090 [generic sys/param.h] (sysdep_headers): Likewise.
28091 [generic bits/errno.h] (before-compile): Do not append to
28092 variable.
28093 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28094 rule.
28095 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28096 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28097 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28098 [generic bits/errno.h] (common-generated): Do not append to
28099 variable.
28100 [generic bits/ioctls.h] (before-compile): Do not append to
28101 variable.
28102 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28103 rule.
28104 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28105 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28106 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28107 rule.
28108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28109 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28110 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28111 [generic bits/ioctls.h] (common-generated): Do not append to
28112 variable.
28113 [generic sys/syscall.h] (syscall.h): Remove variable.
28114 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28115 rule.
28116 [generic sys/syscall.h] (before-compile): Do not append to
28117 variable.
28118 [generic sys/syscall.h] (common-generated): Likewise.
28119 * sysdeps/unix/errnos-tmpl.c: Remove file.
28120 * sysdeps/unix/errnos.awk: Likewise.
28121 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28122 * sysdeps/unix/ioctls.awk: Likewise.
28123 * sysdeps/unix/mk-local_lim.c: Likewise.
28124 * sysdeps/unix/snarf-ioctls: Likewise.
28125
4851a949
RH
281262012-03-19 Richard Henderson <rth@twiddle.net>
28127
bd37f2ee
RH
28128 * sysdeps/i386/fpu/fenv_private.h: New file.
28129 * sysdeps/i386/fpu/math_private.h: Use it.
28130 (math_opt_barrier, math_force_eval): Remove.
28131 (libc_feholdexcept_setround_53bit): Remove.
28132 (libc_feupdateenv_53bit): Remove.
28133 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28134 (math_opt_barrier, math_force_eval): Remove.
28135 (libc_feholdexcept): Remove.
28136 (libc_feholdexcept_setround): Remove.
28137 (libc_fetestexcept, libc_fesetenv): Remove.
28138 (libc_feupdateenv_test): Remove.
28139 (libc_feupdateenv, libc_feholdsetround): Remove.
28140 (libc_feresetround): Remove.
28141
d0adc922
RH
28142 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28143 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28144
0fe0f1f8
RH
28145 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28146 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28147 (libc_feupdateenv_testl): New.
28148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28149 (libc_feupdateenv_testf): New.
28150 (libc_feupdateenv): Use libc_feupdateenv_test.
28151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28153
eb92c487
RH
28154 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28155 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28156 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28157 (libc_feresetround_noex): New.
28158 (libc_feresetround_noexf): New.
28159 (libc_feresetround_noexl): New.
28160 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28161 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28162 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28164 SET_RESTORE_ROUND.
28165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28167 (__cos): Likewise.
28168 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28170 SET_RESTORE_ROUND_NOEX.
28171 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28172 SET_RESTORE_ROUND_NOEXF.
28173 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28174 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28175 (libc_feholdsetroundf): New.
28176 (libc_feresetround, libc_feresetroundf): New.
28177
7d2e8012
RH
28178 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28179 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28180 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28181
b4dabbb4
RH
28182 * sysdeps/generic/math_private.h: Include <fenv.h>.
28183 (default_libc_feholdexcept): New.
28184 (default_libc_feholdexcept_setround): New.
28185 (default_libc_fesetenv, default_libc_feupdateenv): New.
28186 (libc_feholdexcept): Only define if undefined.
28187 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28189 (libc_feholdexcept_setroundl): Likewise.
28190 (libc_feholdexcept_setround_53bit): Likewise.
28191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28194 (libc_feupdateenv_53bit): Likewise.
28195 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28196 (libc_feholdexcept): Convert from macro to inline function.
28197 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28198 (libc_fesetenv, libc_feupdateenv): Likewise.
28199
4851a949
RH
28200 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28201 not previously defined.
28202 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28203 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28204 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28205 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28206 * sysdeps/ieee754/flt-32/math_private.h: New file.
28207 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28208 math_private.h below SET_FLOAT_WORD.
28209 (__isnan, __isinf_ns, __finite): Remove.
28210 (__isnanf, __isinf_nsf, __finitef): Remove.
28211
e79d442e
AS
282122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28213
28214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28215
90b80344
DM
282162012-03-17 David S. Miller <davem@davemloft.net>
28217
28218 [BZ #6471]
28219 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28220 for 2.16.
28221
edc21804
DM
282222012-03-16 David S. Miller <davem@davemloft.net>
28223
77e927af
DM
28224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28225 warnings.
28226
374976dd
DM
28227 [BZ #6471]
28228 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28229 properly.
28230 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28231 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28232 sysdep_routines when subdir is sysvipc.
28233 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28234 __getshmlba helper.
28235
edc21804
DM
28236 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28237
473c3ef3
L
282382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28241 [__LP64__].
28242
eb0f39b6
L
282432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28244
28245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28246 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28247 (__lround): Renamed to ...
28248 (__llround): This. Replace long int with long long int.
28249 Define lround functions as aliases of llround functions.
28250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28251
6b6cd74b
L
282522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28253
28254 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28255 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28256 adresses to uintptr_t. Replace "long int" and "unsigned long
28257 int" with "greg_t" on va_arg.
28258
f1a77b01
L
282592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28262 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28263
28264 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28265 Move e_machine check before EI_CLASS check. Handle x32
28266 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28267 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28268 SKIP_EM_IA_64 and include
28269 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28270
28271 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28272 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28273 (add_system_dir): New macro.
28274
28275 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28276 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28277
11b90b9f
JM
282782012-03-16 Joseph Myers <joseph@codesourcery.com>
28279
c36e1d23
JM
28280 [BZ #2551]
28281 [BZ #2552]
28282 [BZ #2553]
28283 [BZ #2554]
28284 [BZ #2562]
28285 [BZ #2563]
28286 [BZ #2565]
28287 [BZ #2566]
28288 [BZ #2576]
28289 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28290 (y0): Likewise.
28291 * math/w_j0f.c (j0f): Likewise.
28292 (y0f): Likewise.
28293 * math/w_j0l.c (__j0l): Likewise.
28294 (__y0l): Likewise.
28295 * math/w_j1.c (j1): Likewise.
28296 (y1): Likewise.
28297 * math/w_j1f.c (j1f): Likewise.
28298 (y1f): Likewise.
28299 * math/w_j1l.c (__j1l): Likewise.
28300 (__y1l): Likewise.
28301 * math/w_jn.c (jn): Likewise.
28302 (yn): Likewise.
28303 * math/w_jnf.c (jnf): Likewise.
28304 (ynf): Likewise.
28305 * math/w_jnl.c (__jnl): Likewise.
28306 (__ynl): Likewise.
28307 * math/libm-test.inc (j0_test): Add more tests.
28308 (j1_test): Likewise.
28309 (jn_test): Likewise. Add trailing semicolon to existing test.
28310 (y0_test): Likewise.
28311 (y1_test): Likewise.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28314
11b90b9f
JM
28315 [BZ #13851]
28316 [BZ #13854]
28317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28318 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28319 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28321 (__tanl): Set errno for infinite argument.
28322 * sysdeps/i386/fpu/mptan.c: Remove.
28323 * sysdeps/i386/fpu/s_tan.S: Likewise.
28324 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28325 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28326 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28327 * math/libm-test.inc (tan_test): Add more tests and enable more
28328 tests for double and long double.
28329 * sysdeps/i386/fpu/libm-test-ulps: Update.
28330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28331
6a1bd2a1
JK
283322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28333
28334 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28335 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28336
10a803e0
RM
283372012-03-16 Roland McGrath <roland@hack.frob.com>
28338
28339 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28340 * configure.in: Use it for both main tree and add-ons.
28341 * configure: Regenerated.
28342
f196c7f7
L
283432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28344
28345 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28346
8848d99d
JM
283472012-03-16 Joseph Myers <joseph@codesourcery.com>
28348
96cbe7f4
JM
28349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28350 in comment.
28351
8848d99d
JM
28352 [BZ #13851]
28353 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28354 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28358 infinite argument.
28359 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28361 != 0 for prec == 2.
28362 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28363 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28364 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28365 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28366 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28367 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28368 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28369 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28370 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28371 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28372 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28373 * math/libm-test.inc (cos_test): Add more tests and enable more
28374 tests for long double.
28375 (sin_test): Likewise.
28376 (sincos_test): Likewise.
28377 * sysdeps/i386/fpu/libm-test-ulps: Update.
28378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28379
dd7f4703
DM
283802012-03-16 David S. Miller <davem@davemloft.net>
28381
28382 * sysdeps/sparc/fpu/math_private.h: New file.
28383
006f1daa
DM
283842012-03-15 David S. Miller <davem@davemloft.net>
28385
c0c83bc8
DM
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28387 file.
e6a62e18 28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28390 file.
e6a62e18
DM
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28397 sysdep routines.
28398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28399
88cb87d9
DM
28400 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28401 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28402
006f1daa 28403 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28405 sparc-ifunc.h
006f1daa 28406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28408 Likewise.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28410 Likewise.
006f1daa
DM
28411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28415 Likewise.
006f1daa
DM
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28421 Likewise.
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28423 Likewise.
006f1daa
DM
28424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28448
11e0098e
AS
284492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28450
28451 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28452 scaling.
28453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28454
e85b09d0
AJ
284552012-03-15 Andreas Jaeger <aj@suse.de>
28456
28457 [BZ #13852]
28458 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28459 ieee754/flt-32 implementation for sin, cos and sincos.
28460 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28461 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28462 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28463 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28464 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28465 ieee754/flt-32 implementation for tan.
28466
28467 * math/libm-test.inc (cos_test): Enable some large input tests for
28468 float as well
28469 (sin_test): Likewise.
28470 (sincos_test): Likewise.
28471 (tan_test): Add tests for large input.
28472
28473 * sysdeps/i386/fpu/libm-test-ulps: Update.
28474
81c64153
AJ
284752012-03-15 Andreas Jaeger <aj@suse.de>
28476
28477 [BZ #13658]
28478 * math/libm-test.inc (cos_test): Add more test cases.
28479 (sin_test): Likewise.
28480 (sincos_test): Likewise.
28481
7bbfa5c6
AJ
284822012-03-15 Andreas Jaeger <aj@suse.de>
28483
28484 [BZ #13837]
28485 * math/libm-test.inc (cos_test): Add a test case for large input
28486 value.
28487 (sin_test): Likewise.
28488 (sincos_test): Likewise.
28489
284902012-03-15 Andreas Jaeger <aj@suse.de>,
28491 Joseph Myers <joseph@codesourcery.com>
28492
28493 [BZ #13658]
0671f479 28494 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28495 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28496 * sysdeps/i386/fpu/branred.c: Likewise.
28497 * sysdeps/i386/fpu/dosincos.c: Likewise.
28498 * sysdeps/i386/fpu/mpa.c: Likewise.
28499 * sysdeps/i386/fpu/s_cos.S: Likewise.
28500 * sysdeps/i386/fpu/s_sin.S: Likewise.
28501 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28502 * sysdeps/i386/fpu/sincos32.c: Likewise.
28503
28504 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28505 Define.
28506 (libc_feupdateenv_53bit): Define.
28507 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28508 Define.
28509 (libc_feupdateenv_53bit): Define.
28510
28511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28512 53 bit (without extend i386 double precision).
28513
28514 * math/libm-test.inc (sincos_test): Add tests for large input.
28515 (sin): Likewise.
28516 (cos): Likewise.
28517
28518 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28519
9cad04ea
AS
285202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28521
28522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28523
f7062b9a
DM
285242012-03-15 David S. Miller <davem@davemloft.net>
28525
28526 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28527 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28528 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28529 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28542 file.
f7062b9a 28543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28545 file.
f7062b9a 28546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28548 file.
f7062b9a 28549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28551 file.
f7062b9a
DM
28552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28554 fmin/fmax sysdep routines.
28555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28556
7bd951ff
DM
285572012-03-14 David S. Miller <davem@davemloft.net>
28558
559398ab
DM
28559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28588 routines.
28589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28590 file.
559398ab 28591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28593 file.
559398ab 28594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28596 file.
559398ab 28597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28599 file.
559398ab 28600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28602 file.
559398ab 28603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28605 file.
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28607 file.
28608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28609 file.
28610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28611 file.
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28613 New file.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28615 file.
28616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28617 file.
559398ab 28618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28620 file.
559398ab 28621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28623 file.
559398ab 28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28626 file.
559398ab 28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28629 VIS3 routines.
559398ab
DM
28630
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28632 New file.
28633
5a1c1e32
DM
28634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28635
eae47a36
DM
28636 * sysdeps/sparc/configure.in: New file.
28637 * sysdeps/sparc/configure: Generate.
28638 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28639 * configure: Regenerate.
28640 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28641 * config.make.in (have-as-vis3): New.
28642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28643 available use -Av9d instead of -Av9a.
28644 * sysdeps/sparc/sparc64/Makefile: Likewise.
28645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28647 New file.
28648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28649 file.
28650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28651 New file.
28652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28653 file.
eae47a36
DM
28654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28659
c0c83bc8
DM
28660 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28661 fzeros/fnegs to load 0x80000000 into a float register instead of
28662 using the stack.
7bd951ff
DM
28663 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28664
bd951ccb
JM
286652012-03-14 Joseph Myers <joseph@codesourcery.com>
28666
28667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28668 bits/syscall.h.
28669 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28670 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28671 ($(inst_includedir)/bits/syscall.h): Remove rule.
28672 ($(objpfx)bits/syscall.d): Include instead of
28673 $(objpfx)syscall-list.d.
28674 (generated): Change syscall-list.h and syscall-list.d to
28675 bits/syscall.h and bits/syscall.d.
28676
bb4e6db2
RM
286772012-03-14 Roland McGrath <roland@hack.frob.com>
28678
28679 [BZ #13846]
28680 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28681
aa4a2ae1
JM
286822012-03-14 Joseph Myers <joseph@codesourcery.com>
28683
e456826d
JM
28684 [BZ #13841]
28685 * math/s_csqrt.c: Include <float.h>.
28686 (__csqrt): Scale large or subnormal inputs.
28687 * math/s_csqrtf.c: Likewise.
28688 * math/s_csqrtl.c: Likewise.
28689 * math/libm-test.inc (csqrt_test): Add more tests.
28690 * sysdeps/i386/fpu/libm-test-ulps: Update.
28691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28692
aa4a2ae1
JM
28693 [BZ #13840]
28694 * math/libm-test.inc (hypot_test): Add more tests.
28695
7c10fd35
DM
286962012-03-13 David S. Miller <davem@davemloft.net>
28697
28698 [BZ #13840]
28699 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28700 double-precision for the calculation instead of scaling.
28701
f453b98b
JM
287022012-03-13 Joseph Myers <joseph@codesourcery.com>
28703
28704 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28705 manipulate bits before adding and subtracting TWO52[sx].
28706 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28707 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28708 Likewise.
28709 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28710
09a3453f
DM
287112012-03-13 David S. Miller <davem@davemloft.net>
28712
8e59da90
DM
28713 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28714 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28716 rtld-global-offsets.h
28717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28718
2a8ab7f2
DM
28719 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28720 large parameters.
28721
10f62770
DM
28722 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28723
5f0bdb18
DM
28724 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28725 'err' in the ifdef scope in which it is actually used.
28726
09a3453f
DM
28727 * nss/nss_db/db-init.c: Include string.h
28728
b4b2eb5e
DM
287292012-03-12 David S. Miller <davem@davemloft.net>
28730
98bb2f1c
DM
28731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28732 masking out of the most significant byte of random value used.
28733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28734 Fix coding style in previous change.
28735
b4b2eb5e
DM
28736 * sysdeps/unix/sysv/linux/kernel-features.h
28737 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28738 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28739 expression.
28740 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28741 later.
28742
6e226b09
DM
287432012-03-11 David S. Miller <davem@davemloft.net>
28744
a1bcbd40
DM
28745 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28746 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28748 for 'resultvar' otherwise things get truncated on 64-bit.
28749
cb9d6174
DM
28750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28751 Fix masking out of the most significant byte of random value used.
28752
6e226b09
DM
28753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28754
058c132d
AS
287552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28756
28757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28758
2d2cd515
DM
287592012-03-09 David S. Miller <davem@davemloft.net>
28760
28761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28762 variables with appropriate CPP guards.
28763 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28764 frame pointer, not the stack pointer. Correct layout comments. Fix test
28765 on resulting framesize and the management of the outregs buffer for pltexit.
28766 Preserve floating point return values across _dl_call_pltexit call.
28767 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28768 framesize and the management of the outregs buffer for pltexit.
28769 Preserve floating point return values across _dl_call_pltexit
28770 call.
28771 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28772 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28773 (print_exit): Fix format string for return register value.
28774
9a07f9d0
JM
287752012-03-10 Joseph Myers <joseph@codesourcery.com>
28776
28777 * sunrpc/Makefile (others): Add rpcgen.
28778 ($(objpfx)rpcgen): Remove special build rule and dependency on
28779 libc.
28780 * sunrpc/rpcgen.c: New file.
28781
547b5e30
PE
287822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28783
c524201a
PE
28784 [BZ #13673]
28785 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28786 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28787 * sysdeps/i386/crti.S: Likewise.
28788 * sysdeps/i386/crtn.S: Likewise.
28789 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28790 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28791 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28792 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28793 * sysdeps/sh/crti.S: Likewise.
28794 * sysdeps/sh/crtn.S: Likewise.
28795 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28796
7b6235f2
PE
28797 [BZ #13673]
28798 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28799 with URL.
28800 * locale/programs/locfile-kw.gperf: Likewise.
28801 * locale/programs/charmap-kw.h: Regenerated.
28802 * locale/programs/locfile-kw.h: Likewise.
28803
547b5e30
PE
28804 [BZ #13673]
28805 * intl/plural.y: Replace FSF snail mail address with URL.
28806 * intl/plural.c: Regenerated.
28807
5f0a5dae
RH
288082012-03-09 Richard Henderson <rth@twiddle.net>
28809
28810 * include/math_private.h: Remove file.
28811 * math/math_private.h: Move file ...
28812 * sysdeps/generic/math_private.h: ... here.
28813
b8c03620
RH
28814 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28815 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28817
4e234f5d 28818 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28819 and <math_private.h>.
28820 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28821 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28822 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28823 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28824 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28889 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28908 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28911 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28914 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28917 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28920 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28921 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28922 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28925 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28930 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28931 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28932 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28935 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28939 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28940 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28943 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28944 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28945 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28947 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28948 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28949 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28950 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28951 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28952 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28953 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28954 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28956 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28958 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28961 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28963 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28964 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28965 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28966 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28967 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28968 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28969 * sysdeps/ieee754/k_standard.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29085 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29097 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29111 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29112 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29116 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29119 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29120 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29130 * sysdeps/ieee754/s_lib_version.c: Likewise.
29131 * sysdeps/ieee754/s_matherr.c: Likewise.
29132 * sysdeps/ieee754/s_signgam.c: Likewise.
29133 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29134 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29135 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29136 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29137 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29138 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29139 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29140 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29141 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29142 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29143 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29144 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29145 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29147 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29148 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29149 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29150 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29154
1991fa03
JM
291552012-03-09 Joseph Myers <joseph@codesourcery.com>
29156
29157 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29158 * sunrpc/rpc_main.c: Likewise.
29159 * sunrpc/rpc_svcout.c: Likewise.
29160
60d6f5a6
DM
291612012-03-09 David S. Miller <davem@davemloft.net>
29162
29163 * include/math_private.h: New file.
29164
4962050e
JM
291652012-03-09 Joseph Myers <joseph@codesourcery.com>
29166
02a6f887
JM
29167 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29168 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29169 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29170 from <bits/socket_type.h>.
29171 (enum __socket_type): Don't define here.
29172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29174 bits/socket_type.h.
29175
c6e013c1
JM
29176 [BZ #13566]
29177 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29178 checking __USE_GNU.
29179
4962050e
JM
29180 * Makerules ($(inst_includedir)/%.h): New rule.
29181 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29182 (install-others): Remove variable setting.
29183 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29184
38842f45
RH
291852012-03-08 Richard Henderson <rth@twiddle.net>
29186
67bb6da6
RH
29187 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29188 from macro to inline function; merge with the
29189 !__LIBC_INTERNAL_MATH_INLINES version.
29190 (__ieee754_sqrtf): Likewise.
29191
15194b4b
RH
29192 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29193 to inline function.
29194 (__rintf, __floor, __floorf): Likewise.
29195
64e21ede
RH
29196 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29197 macro to inline function.
29198 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29199
38842f45
RH
29200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29201 not <math/math_private.h>.
29202
c64bf5fe
DM
292032012-03-08 David S. Miller <davem@davemloft.net>
29204
29205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29206 copyright year.
29207 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29208
82d86f28
TS
292092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29210
29211 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29212 normalization.
29213 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29214 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29215
aea5d727
UD
292162012-03-08 Ulrich Drepper <drepper@gmail.com>
29217
29218 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29219 be defined individually, they must be defined as a block. Define
29220 S for printing a string instead of hidint the different by using a
29221 macro for adding the 'l'.
29222 * stdio-common/tst-fphex-wide.c: Adjust.
29223
70bca0a3
MP
292242012-03-07 Marek Polacek <polacek@redhat.com>
29225
29226 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29227
65b81130
MP
292282012-03-08 Marek Polacek <polacek@redhat.com>
29229
29230 [BZ #13806]
29231 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29232 * stdio-common/tst-fphex.c: Define a few macros to make the
29233 test reusable. Use them.
29234 * stdio-common/tst-fphex-wide.c: New file.
29235
07037eeb
JM
292362012-03-08 Joseph Myers <joseph@codesourcery.com>
29237
a7a93d50
JM
29238 [BZ #6911]
29239 * manual/macros.texi (gnusystems): New macro.
29240 (nongnusystems): Likewise.
29241 (gnulinuxhurdsystems): Likewise.
29242 (gnuhurdsystems): Likewise..
29243 (gnulinuxsystems): Likewise.
29244 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29245 variants of the GNU system, not "GNU system".
29246 * manual/conf.texi: Likewise.
29247 * manual/errno.texi: Likewise. Update example of errno macro
29248 expansion.
29249 * manual/filesys.texi: Likewise.
29250 (getumask): Document as specific to GNU/Hurd.
29251 * manual/install.texi: Likewise. Reword some references to
29252 GNU/Linux.
29253 * manual/intro.texi: Likewise.
29254 * manual/io.texi: Likewise.
29255 (File Name Portability): Detail which constraints are inapplicable
29256 to all GNU systems and which are only inapplicable to GNU/Hurd.
29257 * manual/job.texi: Likewise.
29258 * manual/llio.texi: Likewise.
29259 (O_NOCTTY): Document as present on GNU/Linux.
29260 * manual/maint.texi: Likewise.
29261 * manual/memory.texi: Likewise.
29262 * manual/pattern.texi: Likewise.
29263 * manual/pipe.texi: Likewise.
29264 * manual/process.texi: Likewise.
29265 * manual/resource.texi: Likewise.
29266 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29267 child on GNU/Hurd.
29268 * manual/setjmp.texi: Likewise.
29269 * manual/signal.texi: Likewise.
29270 * manual/startup.texi: Likewise.
29271 * manual/stdio.texi: Likewise.
29272 * manual/terminal.texi: Likewise.
29273 (ONLCR): Document as POSIX.
29274 (OXTABS): Document availability on GNU/Linux as XTABS.
29275 (ONOEOT): Document availability separately from other bits.
29276 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29277 * manual/time.texi: Likewise.
29278 * manual/users.texi: Likewise.
29279 * INSTALL: Regenerated.
29280 * sysdeps/gnu/errlist.c: Regenerated.
29281
07037eeb
JM
29282 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29283 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29284 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29285 puts.
29286 * configure: Regenerated.
29287
d1d3431a
JM
292882012-03-07 Joseph Myers <joseph@codesourcery.com>
29289
af6a1e37
JM
29290 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29291 default includes instead of AC_HEADER_CHECK.
29292 * sysdeps/i386/configure: Regenerated.
29293
d1d3431a
JM
29294 [BZ #10716]
29295 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29296 * math/s_cacoshf.c (__cacoshf): Likewise.
29297 * math/s_cacoshl.c (__cacoshl): Likewise.
29298 * math/s_casinh.c (__casinh): Set signs of result from argument.
29299 * math/s_casinhf.c (__casinhf): Likewise.
29300 * math/s_casinhl.c (__casinhl): Likewise.
29301 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29302 (casinh_test): Add more tests.
29303 * sysdeps/i386/fpu/libm-test-ulps: Update.
29304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29305
482ff4da
UD
293062012-03-07 Ulrich Drepper <drepper@gmail.com>
29307
872fda05
UD
29308 * po/zh_TW.po: Update from translation team.
29309
a4300c7a
UD
29310 * login/Makefile (distribute): Remove variable.
29311 * catgets/Makefile: Likewise.
29312 * mach/Makefile: Likewise.
29313 * malloc/Makefile: Likewise.
29314 * misc/Makefile: Likewise.
29315 * iconv/Makefile: Likewise.
29316 * nscd/Makefile: Likewise.
29317 * hurd/Makefile: Likewise.
29318 * manual/Makefile: Likewise.
29319 * locale/Makefile: Likewise.
29320 * intl/Makefile: Likewise.
29321 * conform/Makefile: Likewise.
29322 * nss/Makefile: Likewise.
29323 * time/Makefile: Likewise.
29324 * soft-fp/Makefile: Likewise.
29325 * dirent/Makefile: Likewise.
29326 * gmon/Makefile: Likewise.
29327 * po/Makefile: Likewise.
29328 * rt/Makefile: Likewise.
29329 * socket/Makefile: Likewise.
29330 * math/Makefile: Likewise.
29331 * signal/Makefile: Likewise.
29332 * debug/Makefile: Likewise.
29333 * elf/Makefile: Likewise.
29334 * timezone/Makefile: Likewise.
29335 * stdlib/Makefile: Likewise.
29336 * iconvdata/Makefile: Likewise.
29337 * sunrpc/Makefile: Likewise.
29338 * io/Makefile: Likewise.
29339 * argp/Makefile: Likewise.
29340 * inet/Makefile: Likewise.
29341 * hesiod/Makefile: Likewise.
29342 * grp/Makefile: Likewise.
29343 * csu/Makefile: Likewise.
29344 * wctype/Makefile: Likewise.
29345 * crypt/Makefile: Likewise.
29346 * libio/Makefile: Likewise.
29347 * string/Makefile: Likewise.
29348 * nis/Makefile: Likewise.
29349 * resolv/Makefile: Likewise.
29350 * stdio-common/Makefile: Likewise.
29351 * wcsmbs/Makefile: Likewise.
29352 * dlfcn/Makefile: Likewise.
29353 * posix/Makefile: Likewise.
29354
3b7c4e74 29355 [BZ #6959]
482ff4da
UD
29356 * timezone/Makefile: Don't install timezone files, just the programs
29357 and scripts.
29358
f72ed77d
UD
293592012-03-06 Ulrich Drepper <drepper@gmail.com>
29360
a000466f
UD
29361 * nss/databases.def: Add missing gshadow entry.
29362
f72ed77d
UD
29363 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29364
a53b7a4e
MP
293652012-03-06 Marek Polacek <polacek@redhat.com>
29366
29367 [BZ #13726]
29368 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29369 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29370 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29371 * stdio-common/tst-long-dbl-fphex.c: New file.
29372
e9258400
DM
293732012-03-06 David S. Miller <davem@davemloft.net>
29374
29375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29376 (set_obp_int): New function.
29377 (get_obp_int): New function.
29378 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29379 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29380 Avoid unused variable warnings on 'val' and use builtin_expect.
29381 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29382 __builtin_expect.
e9258400
DM
29383 (INLINE_CLONE_SYSCALL): Likewise.
29384
3bd2c723
DM
293852012-03-05 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29388
bbb78d03
AS
293892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29390
884c5db4
AS
29391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29392
bbb78d03
AS
29393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29394 only for |x| >= 40.
29395 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29396
1c9f702a 293972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29398
29399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29400 Replace gettimeofday with __vdso_gettimeofday.
29401
7be16f82
RM
29402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29403 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29404 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29405
29406 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29407 time with __vdso_time.
29408
ed58a00f
JM
294092012-03-05 Joseph Myers <joseph@codesourcery.com>
29410
29411 * manual/lang.texi (size_t): Note types to which size_t may be
29412 equivalent with the GNU C Library, but do not describe when
29413 differences between them are significant.
29414
30ee4ced
AJ
294152012-03-05 Andreas Jaeger <aj@suse.de>
29416
29417 * sysdeps/i386/fpu/libm-test-ulps: Update.
29418
b7cd39e8
JM
294192012-03-05 Joseph Myers <joseph@codesourcery.com>
29420
29421 [BZ #3976]
29422 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29423 (__ieee754_pow): Save and restore rounding mode and use
29424 round-to-nearest for main computations.
29425 * math/libm-test.inc (pow_test_tonearest): New function.
29426 (pow_test_towardzero): Likewise.
29427 (pow_test_downward): Likewise.
29428 (pow_test_upward): Likewise.
29429 (main): Call the new functions.
29430 * sysdeps/i386/fpu/libm-test-ulps: Update.
29431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29432
29433 [BZ #3976]
29434 * math/libm-test.inc (cosh_test_tonearest): New function.
29435 (cosh_test_towardzero): Likewise.
29436 (cosh_test_downward): Likewise.
29437 (cosh_test_upward): Likewise.
29438 (sinh_test_tonearest): Likewise.
29439 (sinh_test_towardzero): Likewise.
29440 (sinh_test_downward): Likewise.
29441 (sinh_test_upward): Likewise.
29442 (main): Call the new functions.
29443 * sysdeps/i386/fpu/libm-test-ulps: Update.
29444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29445
6c6a98c9
TV
294462012-03-05 Tom de Vries <tom@codesourcery.com>
29447
29448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29449 default stack guard is set in last bytes.
29450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29451
21bb2d2e 294522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29453
21bb2d2e 29454 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29455
21bb2d2e
AJ
29456 [BZ #13656]
29457 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29458 possibly allocate from heap instead of stack.
29459 * stdio-common/bug-vfprintf-nargs.c: New file.
29460 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29461
c6922934
AS
294622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29463
29464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29465
bc957d53
MP
294662012-03-03 Marek Polacek <polacek@redhat.com>
29467
29468 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29469 * math/math_private.h: Likewise.
29470 * stdlib/tst-strtod.c: Likewise.
29471 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29472 * sysdeps/x86_64/bits/atomic.h: Likewise.
29473
6358490d
DM
294742012-03-02 David S. Miller <davem@davemloft.net>
29475
29476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29480 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29481 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29482 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29483 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29484
01ae168d
RM
294852012-03-02 Roland McGrath <roland@hack.frob.com>
29486
d9a17c07
RM
29487 [BZ #13792]
29488 * manual/examples/README: New file, says the example source files
29489 can be used under GPL>=2.
29490 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29491 line containing just "*/".
29492 * manual/examples/add.c: Add copyright header (GPL>=2).
29493 * manual/examples/argp-ex1.c: Likewise.
29494 * manual/examples/argp-ex2.c: Likewise.
29495 * manual/examples/argp-ex3.c: Likewise.
29496 * manual/examples/argp-ex4.c: Likewise.
29497 * manual/examples/atexit.c: Likewise.
29498 * manual/examples/db.c: Likewise.
29499 * manual/examples/dir.c: Likewise.
29500 * manual/examples/dir2.c: Likewise.
29501 * manual/examples/execinfo.c: Likewise.
29502 * manual/examples/filecli.c: Likewise.
29503 * manual/examples/filesrv.c: Likewise.
29504 * manual/examples/fmtmsgexpl.c: Likewise.
29505 * manual/examples/genpass.c: Likewise.
29506 * manual/examples/inetcli.c: Likewise.
29507 * manual/examples/inetsrv.c: Likewise.
29508 * manual/examples/isockad.c: Likewise.
29509 * manual/examples/longopt.c: Likewise.
29510 * manual/examples/memopen.c: Likewise.
29511 * manual/examples/memstrm.c: Likewise.
29512 * manual/examples/mkfsock.c: Likewise.
29513 * manual/examples/mkisock.c: Likewise.
29514 * manual/examples/mygetpass.c: Likewise.
29515 * manual/examples/pipe.c: Likewise.
29516 * manual/examples/popen.c: Likewise.
29517 * manual/examples/rprintf.c: Likewise.
29518 * manual/examples/search.c: Likewise.
29519 * manual/examples/select.c: Likewise.
29520 * manual/examples/setjmp.c: Likewise.
29521 * manual/examples/sigh1.c: Likewise.
29522 * manual/examples/sigusr.c: Likewise.
29523 * manual/examples/stpcpy.c: Likewise.
29524 * manual/examples/strdupa.c: Likewise.
29525 * manual/examples/strftim.c: Likewise.
29526 * manual/examples/strncat.c: Likewise.
29527 * manual/examples/subopt.c: Likewise.
29528 * manual/examples/swapcontext.c: Likewise.
29529 * manual/examples/termios.c: Likewise.
29530 * manual/examples/testopt.c: Likewise.
29531 * manual/examples/testpass.c: Likewise.
29532 * manual/examples/timeval_subtract.c: Likewise.
29533
01ae168d
RM
29534 [BZ #13792]
29535 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29536 function to ...
29537 * manual/timeval_subtract.c.texi: ... here, new file.
29538
49efa33d
DM
295392012-03-02 David S. Miller <davem@davemloft.net>
29540
29541 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29542
28afd92d
JM
295432012-03-02 Joseph Myers <joseph@codesourcery.com>
29544
804360ed
JM
29545 [BZ #3976]
29546 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29547 (__sin): Save and restore rounding mode and use round-to-nearest
29548 for all computations.
29549 (__cos): Save and restore rounding mode and use round-to-nearest
29550 for all computations.
29551 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29552 <fenv.h>.
29553 (tan): Save and restore rounding mode and use round-to-nearest for
29554 all computations.
29555 * math/libm-test.inc (cos_test_tonearest): New function.
29556 (cos_test_towardzero): Likewise.
29557 (cos_test_downward): Likewise.
29558 (cos_test_upward): Likewise.
29559 (sin_test_tonearest): Likewise.
29560 (sin_test_towardzero): Likewise.
29561 (sin_test_downward): Likewise.
29562 (sin_test_upward): Likewise.
29563 (tan_test_tonearest): Likewise.
29564 (tan_test_towardzero): Likewise.
29565 (tan_test_downward): Likewise.
29566 (tan_test_upward): Likewise.
29567 (main): Call the new functions.
29568 * sysdeps/i386/fpu/libm-test-ulps: Update.
29569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29570
a6d06d7b
JM
29571 [BZ #10135]
29572 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29573 small n, then large n, before computing and testing k+n.
29574 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29576 Likewise.
29577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29578 Likewise.
29579 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29580 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29581 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29582 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29586 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29587 * math/libm-test.inc (scalbn_test): Add more tests.
29588 (scalbln_test): Likewise.
29589
07e12bb3
JM
29590 * manual/filesys.texi (mode_t): Describe constraints on size and
29591 signedness, not exact equivalence to a particular type.
29592 (ino_t): Likewise.
29593 (ino64_t): Likewise.
29594 (dev_t): Likewise.
29595 (nlink_t): Likewise.
29596 (blkcnt_t): Likewise.
29597 (blkcnt64_t): Likewise.
29598 * manual/llio.texi (off_t): Likewise.
29599
28afd92d
JM
29600 [BZ #3976]
29601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29602 (__ieee754_exp): Save and restore rounding mode and use
29603 round-to-nearest for all computations.
29604 * math/libm-test.inc (exp_test_tonearest): New function.
29605 (exp_test_towardzero): Likewise.
29606 (exp_test_downward): Likewise.
29607 (exp_test_upward): Likewise.
29608 (main): Call the new functions.
29609 * sysdeps/i386/fpu/libm-test-ulps: Update.
29610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29611
b1eeb65d
CD
296122012-03-01 Chris Demetriou <cgd@google.com>
29613
29614 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29615 have predictable order.
29616
53362a4b
DM
296172012-03-01 David S. Miller <davem@davemloft.net>
29618
3c969083
DM
29619 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29620
759707de
DM
29621 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29622 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29623 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29624 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29625
dfdb8ff2
DM
29626 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29627 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29628 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29630 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29631 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29632 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29633 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29634 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29635
ead89f96
DM
29636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29637
7f66bd07
DM
29638 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29639 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29640 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29641
53362a4b
DM
29642 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29643 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29644 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29645 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29646 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29649 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29650 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29651 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29652 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29655 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29656 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29658 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29659 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29660 * sysdeps/sparc/elf/configure: Regenerated.
29661
7b1902cb
JM
296622012-03-01 Joseph Myers <joseph@codesourcery.com>
29663
bec039bc
JM
29664 * configure.in (AS, LD): Require binutils 2.20 or later.
29665 * configure: Regenerated.
29666 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29667 as required minimum version.
29668 * INSTALL: Regenerated.
29669
7b1902cb
JM
29670 [BZ #2541]
29671 [BZ #4108]
29672 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29673 before squaring exponent.
29674 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29675 bottom long double and 27 bits of top long double before squaring
29676 exponent.
29677 * math/libm-test.inc (erfc_test): Add more tests.
29678 * sysdeps/i386/fpu/libm-test-ulps: Update.
29679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29681
f775c276
KT
296822012-03-01 Kai Tietz <ktietz@redhat.com>
29683
29684 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29685 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29686 containing bit-fields.
29687 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29688 * soft-fp/single.h (_FP_UNION_S): Likewise.
29689 * soft-fp/double.h (_FP_UNION_D): Likewise.
29690
5b8a4d4a
JM
296912012-02-29 Joseph Myers <joseph@codesourcery.com>
29692
0bab47b6
JM
29693 [BZ #13786]
29694 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29695 not include ../strcmp.S.
29696 [USE_AS_STRNCASECMP_L]: Likewise.
29697 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29698 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29699 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29700 (__strncasecmp_l_ia32): Define as alias to
29701 __strncasecmp_l_nonascii.
29702
0fcad3e2
JM
29703 [BZ #5794]
29704 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29705 * sysdeps/i386/fpu/libm-test-ulps: Update.
29706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29707
5b8a4d4a
JM
29708 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29710
8fdceb2e
JL
297112012-02-29 Jeff Law <law@redhat.com>
29712
29713 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29714 out of bounds read.
29715
1f393a11
MP
297162012-02-29 Marek Polacek <polacek@redhat.com>
29717
29718 [BZ #13706]
29719 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29720 * elf/Makefile: Add rules to run tst-unused-dep.out.
29721
8847f037
DM
297222012-02-28 David S. Miller <davem@davemloft.net>
29723
29724 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29725 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29728 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29729 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29730
169d7f11
JM
297312012-02-29 Joseph Myers <joseph@codesourcery.com>
29732
29733 * math/libm-test.inc (llround_test): Move one test from
29734 lround_test. Use TEST_f_L in moved test.
29735 (lround_test): Move misplaced test to llround_test. Add testcase
29736 from bug 2561.
29737
39adf059
UD
297382012-02-28 Ulrich Drepper <drepper@gmail.com>
29739
29740 * sysdeps/x86_64/fpu/e_expf.S: New file.
29741 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29742
71b5d1c5
SB
297432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29744
29745 [BZ #13637]
29746 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29747 of remain_len that may cause incomplete multi-byte character and
29748 false match.
29749 * posix/bug-regex33.c: New file.
29750 * posix/Makefile (tests): Add bug-regex33.
29751
1f77f049
JM
297522012-02-28 Joseph Myers <joseph@codesourcery.com>
29753
29754 * manual/macros.texi: New file.
29755 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29756 * manual/libc.texinfo: Include macros.texi.
29757 * manual/creatute.texi: Likewise.
29758 * manual/install.texi: Likewise.
29759 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29760 @glibcadj{} in references to the GNU C Library.
29761 * manual/charset.texi: Likewise.
29762 * manual/conf.texi: Likewise.
29763 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29764 when not using those macros.
29765 * manual/creature.texi: Likewise.
29766 * manual/crypt.texi: Likewise.
29767 * manual/errno.texi: Likewise.
29768 * manual/filesys.texi: Likewise.
29769 * manual/header.texi: Likewise.
29770 * manual/install.texi: Likewise.
29771 * manual/intro.texi: Likewise.
29772 * manual/io.texi: Likewise.
29773 * manual/job.texi: Likewise.
29774 * manual/lang.texi: Likewise.
29775 * manual/libc.texiinfo: Likewise.
29776 * manual/llio.texi: Likewise.
29777 * manual/locale.texi: Likewise.
29778 * manual/maint.texi: Likewise.
29779 * manual/math.texi: Likewise.
29780 * manual/memory.texi: Likewise.
29781 * manual/message.texi: Likewise.
29782 * manual/nss.texi: Likewise.
29783 * manual/pattern.texi: Likewise.
29784 * manual/process.texi: Likewise.
29785 * manual/resource.texi: Likewise.
29786 * manual/search.texi: Likewise.
29787 * manual/setjmp.texi: Likewise.
29788 * manual/signal.texi: Likewise.
29789 * manual/socket.texi: Likewise.
29790 * manual/startup.texi: Likewise.
29791 * manual/stdio.texi: Likewise.
29792 * manual/string.texi: Likewise.
29793 * manual/sysinfo.texi: Likewise.
29794 * manual/syslog.texi: Likewise.
29795 * manual/terminal.texi: Likewise.
29796 * manual/time.texi: Likewise.
29797 * manual/users.texi: Likewise.
29798 * INSTALL: Regenerated.
29799 * NOTES: Regenerated.
d40c5d54 29800 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29801
450bf206
AS
298022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29803
29804 * include/dirent.h: Include <dirstream.h> before
29805 <dirent/dirent.h>.
29806
741a235b
DM
298072012-02-28 David S. Miller <davem@davemloft.net>
29808
29809 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29810 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29811 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29812 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29813
d6b5aa58
DM
298142012-02-27 David S. Miller <davem@davemloft.net>
29815
1aff59a3
DM
29816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29818 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29819 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29820
d6b5aa58
DM
29821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29822 frame pointer instead of stack pointer relative arg slot.
29823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29826
433f48bf
CD
298272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29828
29829 [BZ #3992]
29830 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29831
d674b76d
DM
298322012-02-27 David S. Miller <davem@davemloft.net>
29833
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29840 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29842
0e7727f7
JM
298432012-02-27 Joseph Myers <joseph@codesourcery.com>
29844
29845 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29846 later. Allow versions 5-9.
43be4ca2 29847 * configure: Regenerated.
0e7727f7
JM
29848 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29849 required minimum version and 4.6 as recommended version. Do not
29850 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29851 * INSTALL: Regenerated.
0e7727f7 29852
a78bc654
DM
298532012-02-27 David S. Miller <davem@davemloft.net>
29854
428d5830
DM
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29859 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29860 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29861 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29862 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29863
a78bc654
DM
29864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29865 manipulate bits before adding and subtracting TWO112[sx].
29866 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29867
4579f81c
RM
298682012-02-27 Roland McGrath <roland@hack.frob.com>
29869
36c8acb4
RM
29870 [BZ #13775]
29871 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29872 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29873 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29874 being in POSIX, because they are in 1003.1-2008.
29875
84ad622b
RM
29876 * rt/tst-aio.c: Include <fcntl.h>.
29877 * rt/tst-aio7.c: Likewise.
29878 * rt/tst-aio64.c: Likewise.
29879
4579f81c
RM
29880 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29881
abd923db
JM
298822012-02-27 Joseph Myers <joseph@codesourcery.com>
29883
29884 * manual/install.texi (--with-headers): Describe headers as
29885 interface headers, not private headers.
29886 (Specific advice for GNU/Linux systems): Describe use of headers
29887 from "make headers_install", not private headers from older
29888 kernels.
43be4ca2 29889 * INSTALL: Regenerated.
abd923db
JM
29890 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29891 Change to 2.6.19.
29892 * sysdeps/unix/sysv/linux/configure: Regenerated.
29893
6664049b
JM
29894 * manual/llio.texi (fclean): Remove documentation.
29895
bb8b6697
JM
29896 * manual/Makefile (libc-texi-generated): New variable. Include
29897 version.texi.
29898 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29899 $(libc-texi-generated), not duplicated list of files.
29900 (version.texi, stamp-version): New rules.
29901 (realclean): Remove $(libc-texi-generated), not individual files
29902 from that list. Do not remove dir-add.texinfo.
29903 * manual/libc.texinfo: Comment out uses of edition numbers and
29904 references to printed manual. Remove last-updated dates.
29905 (EDITION): Comment out.
29906 (ISBN): Likewise.
29907 (VERSION, UPDATED): Remove.
29908 (version.texi): Include.
29909
12e5c3b9
AS
299102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29911
29912 * sysdeps/posix/spawni.c: Include <signal.h>.
29913 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29914 * sysdeps/pthread/aio_fsync.c: Likewise.
29915
4efeffc1 299162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29917
ba63ba08
UD
29918 * conform/Makefile (tests): Run only when not cross-compiling and
29919 when fast-check is not defined.
29920
d94a4670
UD
29921 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29922 * conform/data/limits.h-data: Fixes for POSIX2008.
29923 * conform/run-conformtest.sh: Run all tests.
29924 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29925 headers.
29926 * include/bits/dlfcn.h: Likewise.
29927 * include/langinfo.h: Likewise.
29928 * include/monetary.h: Likewise.
29929 * include/sys/poll.h: Likewise.
29930
29931 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29932 for __USE_GNU.
29933 * posix/spawn.h: Define __need_sigset_t.
29934 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29935 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29936 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29937 to get sigevent_t only.
29938 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29939 only for __USE_GNU.
29940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29941 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29942 process_vm_writev only for __USE_GNU.
29943 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29944
29945 * conform/Makefile: For now ignore errors from run-conformtest.
29946 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29947 POSIX to avoid namespace pollution. Don't prepend headers.
29948 * conform/data/aio.h-data: Fixes for POSIX testing.
29949 * conform/data/fcntl.h-data: Likewise.
29950 * conform/data/glob.h-data: Likewise.
29951 * conform/data/grp.h-data: Likewise.
29952 * conform/data/pthread.h-data: Likewise.
29953 * conform/data/pwd.h-data: Likewise.
29954 * conform/data/signal.h-data: Likewise.
29955 * conform/data/spawn.h-data: Likewise.
29956 * conform/data/stdio.h-data: Likewise.
29957 * conform/data/stdlib.h-data: Likewise.
29958 * conform/data/stropts.h-data: Likewise.
29959 * conform/data/sys/mman.h-data: Likewise.
29960 * conform/data/sys/stat.h-data: Likewise.
29961 * conform/data/sys/types.h-data: Likewise.
29962 * conform/data/sys/wait.h-data: Likewise.
29963 * conform/data/time.h-data: Likewise.
29964 * conform/data/unistd.h-data: Likewise.
29965 * conform/data/utime.h-data: Likewise.
29966
29967 * io/sys/stat.h: fchmod was always in POSIX.
29968 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29969 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29970 * rt/aio.h: Define __need_timespec before including <time.h>.
29971 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29972 struct. Add forward declaration of pthread_attr_t and use it in
29973 sigevent.
29974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29976 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29977 always remove CLK_TCK definition.
29978
c20105c3
AS
299792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29980
29981 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29982
7a270350
UD
299832012-02-25 Ulrich Drepper <drepper@gmail.com>
29984
31341567
UD
29985 * conform/run-conformtest.sh: New file.
29986 * conform/Makefile: Run run-conformtest for tests.
29987 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29988 support.
29989
29990 * conform/data/uchar.h-data: New file.
29991 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29992 * conform/data/arpa/inet.h-data: Likewise.
29993 * conform/data/assert.h-data: Likewise.
29994 * conform/data/complex.h-data: Likewise.
29995 * conform/data/cpio.h-data: Likewise.
29996 * conform/data/ctype.h-data: Likewise.
29997 * conform/data/dirent.h-data: Likewise.
29998 * conform/data/dlfcn.h-data: Likewise.
29999 * conform/data/errno.h-data: Likewise.
30000 * conform/data/fcntl.h-data: Likewise.
30001 * conform/data/float.h-data: Likewise.
30002 * conform/data/fmtmsg.h-data: Likewise.
30003 * conform/data/fnmatch.h-data: Likewise.
30004 * conform/data/ftw.h-data: Likewise.
30005 * conform/data/glob.h-data: Likewise.
30006 * conform/data/grp.h-data: Likewise.
30007 * conform/data/iconv.h-data: Likewise.
30008 * conform/data/inttypes.h-data: Likewise.
30009 * conform/data/langinfo.h-data: Likewise.
30010 * conform/data/libgen.h-data: Likewise.
30011 * conform/data/limits.h-data: Likewise.
30012 * conform/data/locale.h-data: Likewise.
30013 * conform/data/math.h-data: Likewise.
30014 * conform/data/monetary.h-data: Likewise.
30015 * conform/data/mqueue.h-data: Likewise.
30016 * conform/data/ndbm.h-data: Likewise.
30017 * conform/data/net/if.h-data: Likewise.
30018 * conform/data/netdb.h-data: Likewise.
30019 * conform/data/netinet/in.h-data: Likewise.
30020 * conform/data/nl_types.h-data: Likewise.
30021 * conform/data/poll.h-data: Likewise.
30022 * conform/data/pthread.h-data: Likewise.
30023 * conform/data/pwd.h-data: Likewise.
30024 * conform/data/regex.h-data: Likewise.
30025 * conform/data/sched.h-data: Likewise.
30026 * conform/data/search.h-data: Likewise.
30027 * conform/data/semaphore.h-data: Likewise.
30028 * conform/data/setjmp.h-data: Likewise.
30029 * conform/data/signal.h-data: Likewise.
30030 * conform/data/spawn.h-data: Likewise.
30031 * conform/data/stdarg.h-data: Likewise.
30032 * conform/data/stdio.h-data: Likewise.
30033 * conform/data/stdlib.h-data: Likewise.
30034 * conform/data/string.h-data: Likewise.
30035 * conform/data/strings.h-data: Likewise.
30036 * conform/data/stropts.h-data: Likewise.
30037 * conform/data/sys/ipc.h-data: Likewise.
30038 * conform/data/sys/mman.h-data: Likewise.
30039 * conform/data/sys/msg.h-data: Likewise.
30040 * conform/data/sys/resource.h-data: Likewise.
30041 * conform/data/sys/select.h-data: Likewise.
30042 * conform/data/sys/sem.h-data: Likewise.
30043 * conform/data/sys/shm.h-data: Likewise.
30044 * conform/data/sys/socket.h-data: Likewise.
30045 * conform/data/sys/stat.h-data: Likewise.
30046 * conform/data/sys/statvfs.h-data: Likewise.
30047 * conform/data/sys/time.h-data: Likewise.
30048 * conform/data/sys/timeb.h-data: Likewise.
30049 * conform/data/sys/times.h-data: Likewise.
30050 * conform/data/sys/types.h-data: Likewise.
30051 * conform/data/sys/uio.h-data: Likewise.
30052 * conform/data/sys/un.h-data: Likewise.
30053 * conform/data/sys/utsname.h-data: Likewise.
30054 * conform/data/sys/wait.h-data: Likewise.
30055 * conform/data/syslog.h-data: Likewise.
30056 * conform/data/tar.h-data: Likewise.
30057 * conform/data/termios.h-data: Likewise.
30058 * conform/data/utime.h-data: Likewise.
30059 * conform/data/utmpx.h-data: Likewise.
30060 * conform/data/varargs.h-data: Likewise.
30061 * conform/data/wchar.h-data: Likewise.
30062 * conform/data/wctype.h-data: Likewise.
30063 * conform/data/wordexp.h-data: Likewise.
30064
30065 * include/stropts.h: New file.
30066 * include/uchar.h: New file.
30067 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30068 * include/assert.h: Likewise.
30069 * include/ctype.h: Likewise.
30070 * include/dirent.h: Likewise.
30071 * include/dlfcn.h: Likewise.
30072 * include/fcntl.h: Likewise.
30073 * include/fnmatch.h: Likewise.
30074 * include/glob.h: Likewise.
30075 * include/grp.h: Likewise.
30076 * include/libio.h: Likewise.
30077 * include/locale.h: Likewise.
30078 * include/math.h: Likewise.
30079 * include/net/if.h: Likewise.
30080 * include/netdb.h: Likewise.
30081 * include/netinet/in.h: Likewise.
30082 * include/pthread.h: Likewise.
30083 * include/pwd.h: Likewise.
30084 * include/regex.h: Likewise.
30085 * include/sched.h: Likewise.
30086 * include/search.h: Likewise.
30087 * include/setjmp.h: Likewise.
30088 * include/signal.h: Likewise.
30089 * include/stdio.h: Likewise.
30090 * include/stdlib.h: Likewise.
30091 * include/string.h: Likewise.
30092 * include/sys/cdefs.h: Likewise.
30093 * include/sys/mman.h: Likewise.
30094 * include/sys/msg.h: Likewise.
30095 * include/sys/resource.h: Likewise.
30096 * include/sys/select.h: Likewise.
30097 * include/sys/socket.h: Likewise.
30098 * include/sys/stat.h: Likewise.
30099 * include/sys/statvfs.h: Likewise.
30100 * include/sys/time.h: Likewise.
30101 * include/sys/times.h: Likewise.
30102 * include/sys/uio.h: Likewise.
30103 * include/sys/utsname.h: Likewise.
30104 * include/sys/wait.h: Likewise.
30105 * include/termios.h: Likewise.
30106 * include/time.h: Likewise.
30107 * include/ulimit.h: Likewise.
30108 * include/unistd.h: Likewise.
30109 * include/utime.h: Likewise.
30110 * include/wchar.h: Likewise.
30111 * include/wctype.h: Likewise.
30112 * include/wordexp.h: Likewise.
30113
30114 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30115
7a270350
UD
30116 * time/time.h: TIME_UTC must be a macro.
30117 Make timespec_get available for ISO C11 only as well.
30118
7724defc
UD
301192012-02-24 Ulrich Drepper <drepper@gmail.com>
30120
30121 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30122 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30123
6b1d1d46
JM
301242012-02-24 Joseph Myers <joseph@codesourcery.com>
30125
30126 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30127
0f8bbd69
JM
301282012-02-24 Joseph Myers <joseph@codesourcery.com>
30129
30130 * manual/texinfo.tex: Update to version 2012-01-19.16.
30131
66ab80bc
JM
301322012-02-24 Joseph Myers <joseph@codesourcery.com>
30133
30134 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30135
74981cc5
RM
301362012-02-24 Roland McGrath <roland@hack.frob.com>
30137
ee968201
RM
30138 [BZ #13738]
30139 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30140 * manual/fdl-1.3.texi: New file.
30141 * manual/fdl-1.1.texi: File removed.
30142
74981cc5
RM
30143 [BZ #13738]
30144 * manual/libc.texinfo (FDL_VERSION): New @set.
30145 Use it for mention of FDL in cover text.
30146 (Documentation License): Use it in @include file name.
30147
7bb764bc
JM
301482012-02-22 Joseph Myers <joseph@codesourcery.com>
30149 Roland McGrath <roland@hack.frob.com>
30150
30151 [BZ #5461]
30152 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30153 not LONG_LONG_MAX and LONG_LONG_MIN.
30154 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30155 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30156 name.
30157 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30158
6cbeae47
JM
301592012-02-22 Joseph Myers <joseph@codesourcery.com>
30160
30161 [BZ #2547]
30162 [BZ #11365]
30163 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30164 manipulate bits before adding and subtracting TWO23[sx].
30165 * math/libm-test.inc (nearbyint_test): Add more tests.
30166
fe45ce09
JM
301672012-02-22 Joseph Myers <joseph@codesourcery.com>
30168
30169 [BZ #2548]
30170 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30171 bits before adding and subtracting TWO23[sx].
30172 * math/libm-test.inc (rint_test): Add more tests.
30173 (rint_test_tonearest): Likewise.
30174 (rint_test_towardzero): Likewise.
30175 (rint_test_downward): Likewise.
30176 (rint_test_upward: Likewise.
30177
ff3b3d82
JM
301782012-02-22 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #10110]
30181 * include/stdc-predef.h: New file. Extracted from features.h.
30182 * include/features.h: Include stdc-predef.h.
30183 * Makefile (headers): Add stdc-predef.h.
30184 * CONFORMANCE (Compiler limitations): Update.
30185
ef0aab35
JM
301862012-02-22 Joseph Myers <joseph@codesourcery.com>
30187
30188 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30189
58639409
DM
301902012-02-21 David S. Miller <davem@davemloft.net>
30191
30192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30193 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30194
c0e70b25
DM
301952012-02-20 David S. Miller <davem@davemloft.net>
30196
30197 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30198 using a normal save/restore sequence, rather than allocating a
30199 dummy stack frame just to store a frame pointer and restore.
30200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30201
fb06851d
JM
302022012-02-21 Joseph Myers <joseph@codesourcery.com>
30203
30204 * manual/install.texi: Fix stray word in line-wrapped comment.
30205
7a8b71c3
DM
302062012-02-20 David S. Miller <davem@davemloft.net>
30207
d510c123
DM
30208 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30209 both binutils and gcc support GOTDATA.
30210
0722d7c2
DM
30211 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30212 "rd %pc" in the PIC register setup sequences.
30213
3d2b3019
DM
30214 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30215 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30216 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30217 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30218 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30223 (SYSCALL_ERROR_HANDLER): Likewise.
30224 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30225 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30227 (SYSCALL_ERROR_HANDLER): Likewise.
30228
c80098a9
DM
30229 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30230 (HAVE_GCC_GOTDATA): New.
30231 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30232 relocation support in both binutils and gcc.
30233 * sysdeps/sparc/elf/configure: Regenerate.
30234
3a2545a0
DM
30235 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30236 * sysdeps/sparc/sparc32/elf/configure: Delete.
30237 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30238 * sysdeps/sparc/sparc64/elf/configure: Delete.
30239 * sysdeps/sparc/elf/configure.in: New file.
30240 * sysdeps/sparc/elf/configure: Generate.
30241
7a8b71c3
DM
30242 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30243 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30244 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30245 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30246 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30247
f1e86fca
JM
302482012-02-21 Joseph Myers <joseph@codesourcery.com>
30249
30250 * manual/install.texi: Do not mention specific glibc version
30251 numbers.
30252 * manual/libc.texinfo (VERSION, UPDATED): Update.
30253 (@copying): Use @copyright{} and range of years.
30254
0e7dfaef
JM
302552012-02-21 Joseph Myers <joseph@codesourcery.com>
30256
30257 [BZ #13695]
30258 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30259 [crti.S not in sysdirs] (generated): Do not append.
30260 [crti.S not in sysdirs] (omit-deps): Likewise.
30261 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30262 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30263 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30264 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30265 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30266 Likewise.
30267 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30268 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30269 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30270 * csu/defs.awk: Remove file.
30271 * sysdeps/generic/initfini.c: Likewise.
30272 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30273 variable.
30274 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30275 Likewise.
30276
599af3ca
JM
302772012-02-20 Joseph Myers <joseph@codesourcery.com>
30278
30279 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30280 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30281 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30284 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30285 <bits/epoll.h>.
30286 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30287 (__EPOLL_PACKED): Define to empty if not defined by
30288 <bits/epoll.h>.
30289 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30291 bits/epoll.h.
30292
0e499750
JM
302932012-02-20 Joseph Myers <joseph@codesourcery.com>
30294
30295 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30296 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30297 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30298 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30299 <bits/timerfd.h>.
30300 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30302 bits/timerfd.h.
30303
5ad91f6e
JM
303042012-02-20 Joseph Myers <joseph@codesourcery.com>
30305
30306 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30307 in C locale.
30308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30309 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312
06b99b02
AJ
303132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30314
30315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30316 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30317
7638c0fd
AS
303182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30319
30320 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30321 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30322 defined.
30323 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30324 Likewise.
30325 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30326 entry for 2.16.
30327
92221550
AJ
303282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30329
30330 * math/w_acos.c: Use non-signaling floating-point comparisons.
30331 * math/w_acosf.c: Likewise.
30332 * math/w_acosh.c: Likewise.
30333 * math/w_acoshf.c: Likewise.
30334 * math/w_acoshl.c: Likewise.
30335 * math/w_acosl.c: Likewise.
30336 * math/w_asin.c: Likewise.
30337 * math/w_asinf.c: Likewise.
30338 * math/w_asinl.c: Likewise.
30339 * math/w_atanh.c: Likewise.
30340 * math/w_atanhf.c: Likewise.
30341 * math/w_atanhl.c: Likewise.
30342 * math/w_exp2.c: Likewise.
30343 * math/w_exp2f.c: Likewise.
30344 * math/w_exp2l.c: Likewise.
30345 * math/w_j0.c: Likewise.
30346 * math/w_j0f.c: Likewise.
30347 * math/w_j0l.c: Likewise.
30348 * math/w_j1.c: Likewise.
30349 * math/w_j1f.c: Likewise.
30350 * math/w_j1l.c: Likewise.
30351 * math/w_jn.c: Likewise.
30352 * math/w_jnf.c: Likewise.
30353 * math/w_log.c: Likewise.
30354 * math/w_log10.c: Likewise.
30355 * math/w_log10f.c: Likewise.
30356 * math/w_log10l.c: Likewise.
30357 * math/w_log2.c: Likewise.
30358 * math/w_log2f.c: Likewise.
30359 * math/w_log2l.c: Likewise.
30360 * math/w_logf.c: Likewise.
30361 * math/w_logl.c: Likewise.
30362 * math/w_sqrt.c: Likewise.
30363 * math/w_sqrtf.c: Likewise.
30364 * math/w_sqrtl.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30368 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30369 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30370
ebaf36eb
JM
303712012-02-19 Joseph Myers <joseph@codesourcery.com>
30372
30373 [BZ #9739]
30374 * manual/string.texi (strnlen): Use correct parameter name in
30375 equivalent expression.
30376
71c254a6
JM
303772012-02-19 Joseph Myers <joseph@codesourcery.com>
30378
30379 [BZ #11174]
30380 * manual/users.texi (seteuid): Consistently use neweuid for
30381 argument name.
30382
16d2c631
JM
303832012-02-19 Joseph Myers <joseph@codesourcery.com>
30384
30385 [BZ #13704]
30386 * manual/nss.texi (Services in the NSS configuration): Correct
30387 list of services in example configuration file.
30388
cd837b09
NB
303892012-02-19 Nick Bowler <nbowler@draconx.ca>
30390
30391 [BZ #11322]
30392 * manual/arith.texi: Remove statements about negative zero
30393 behaving identically to zero.
30394
02c4bbad
JM
303952012-02-18 Joseph Myers <joseph@codesourcery.com>
30396
30397 [BZ #5993]
30398 * manual/install.texi: Do not document upgrading from libc5.
30399
366842e7
JM
304002012-02-18 Joseph Myers <joseph@codesourcery.com>
30401
30402 [BZ #4596]
30403 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30404
dd54084d
DM
304052012-02-18 David S. Miller <davem@davemloft.net>
30406
30407 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30408 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30409 %o7 across the call.
30410 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30411 instead.
30412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30413 SETUP_PIC_REG_LEAF.
30414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30415 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30416 * sysdeps/sparc/crtn.S: Likewise.
30417
2bcc53a3
UD
304182012-02-17 Ulrich Drepper <drepper@gmail.com>
30419
30420 * aout/Makefile: Remove.
30421
09c093b5
RK
304222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30423
30424 [BZ #13058]
30425 * manual/examples/argp-ex1.c (main): Format definition in GNU
30426 style.
30427 * manual/examples/argp-ex2.c (main): Likewise.
30428 * manual/examples/argp-ex3.c (main): Likewise.
30429 * manual/examples/argp-ex4.c (main): Likewise.
30430 * manual/examples/longopt.c (main): Use new-style prototype
30431 definition.
30432 * manual/examples/strncat.c (main): Specify return type and use
30433 (void) for arguments.
30434 * manual/examples/subopt.c (main): Use char **argv argument.
30435
2ee633a2
JM
304362012-02-17 Joseph Myers <joseph@codesourcery.com>
30437
30438 [BZ #5077]
30439 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30440 rounding modes.
30441
0520adde
FB
304422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30443
30444 [BZ #6907]
30445 * manual/string.texi (strchr): Change when strchrnul is
30446 recommended.
30447
3f4081cd
DGM
304482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30449
30450 [BZ #174]
30451 * manual/locale.texi (setlocale): Document LOCPATH.
30452
d1b10e78
JM
304532012-02-17 Joseph Myers <joseph@codesourcery.com>
30454
30455 [BZ #10210]
30456 * manual/process.texi (execle): Move @dots{} before last argument.
30457
79c6869c
PB
304582012-02-17 Paul Bolle <pebolle@tiscali.nl>
30459
30460 [BZ #12047]
30461 * manual/charset.texi (Generic Charset Conversion): Fix typo
30462 (LC_TYPE -> LC_CTYPE).
30463
cc6e48bc
NB
304642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30465
30466 [BZ #5805]
30467 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30468 (scalbnf): Likewise.
30469 (scalbnl): Likewise.
30470 (scalbln): Likewise.
30471 (scalblnf): Likewise.
30472 (scalblnl): Likewise.
30473 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30474 (vwarnx): Likewise.
30475 (verr): Likewise.
30476 (verrx): Likewise.
30477 * manual/filesys.texi (telldir): Use braces around return type.
30478 * manual/llio.texi (mmap): Add space after comma.
30479 (mmap64): Likewise.
30480 * manual/math.texi (jn): Use @var{} on parameter names.
30481 (jnf): Likewise.
30482 (jnl): Likewise.
30483 (yn): Likewise.
30484 (ynf): Likewise.
30485 (ynl): Likewise.
30486 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30487 line.
30488 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30489 "...".
30490 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30491 (sched_get_priority_max): Likewise.
30492 * manual/signal.texi (sigvec): Add space after comma.
30493 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30494 names.
30495 (if_indextoname): Likewise.
30496 (if_freenameindex): Likewise.
30497 (sendto): Use ',' instead of '.' in prototype.
30498 * manual/startup.texi (syscall): Use @dots{} instead of literal
30499 "...".
30500 * manual/stdio.texi (__fpending): Separate initial words of
30501 paragraph from @deftypefun line.
30502 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30503 "...".
30504 (vsyslog): Use @var{} on parameter names.
30505 * manual/terminal.texi (stty): Use @var{} on parameter names.
30506 * manual/users.texi (getutmp): Use @var{} on parameter names.
30507 (getutmpx): Likewise.
30508
5b23062f
JM
305092012-02-17 Joseph Myers <joseph@codesourcery.com>
30510
30511 [BZ #6884]
30512 * manual/stdio.texi (fopen): Fix typos in description of
30513 ",ccs=STRING".
30514
8dee4833
AJ
305152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30516
30517 [BZ #4026]
30518 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30519 get clock_id definition.
30520
9078ce93
TS
305212012-02-17 Thomas Schwinge <thomas@schwinge.name>
30522
30523 [BZ #4822]
30524 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30525 (madvise): Cast every argument to void on its own.
30526
3835c55f
JM
305272012-02-17 Joseph Myers <joseph@codesourcery.com>
30528
30529 [BZ #9902]
30530 * manual/startup.texi (Exit Status): Fix typo.
30531
35c47e37
JM
305322012-02-17 Joseph Myers <joseph@codesourcery.com>
30533
30534 [BZ #10140]
30535 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30536 * manual/examples/argp-ex2.c: Likewise.
30537 * manual/examples/argp-ex3.c: Likewise.
30538
e3b69ca7
RH
305392012-02-16 Richard Henderson <rth@redhat.com>
30540
30541 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30542 * sysdeps/s390/s390-32/initfini.c: Remove.
30543 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30544 * sysdeps/s390/s390-64/initfini.c: Remove.
30545
df83af67
KK
305462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30547
30548 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30549 compiler output for sysdeps/generic/initfini.c.
30550 * sysdeps/sh/elf/initfini.c: Remove file.
30551
f63f3380
DM
305522012-02-16 David S. Miller <davem@davemloft.net>
30553
fb59b3a4
DM
30554 [BZ #11494]
30555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30556
f63f3380
DM
30557 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30558 * sysdeps/sparc/crti.S: New file.
30559 * sysdeps/sparc/crtn.S: New file.
30560 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30561 * sysdeps/sparc/sparc64/Makefile: Likewise.
30562
df6a4a4a
MF
305632012-02-15 Mike Frysinger <vapier@gentoo.org>
30564
6dd8f3dc 30565 [BZ #3335]
df6a4a4a
MF
30566 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30567
1cac7236
RM
305682012-02-15 Roland McGrath <roland@hack.frob.com>
30569
d2c736f8
RM
30570 [BZ #4822]
30571 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30572
1cac7236
RM
30573 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30574 (write, read, close): Likewise.
30575 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30576
8e475601
JM
305772012-02-15 Joseph Myers <joseph@codesourcery.com>
30578
30579 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30580 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30581 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30582 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30583 <bits/signalfd.h>.
30584 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30586 bits/signalfd.h.
30587
ed656b40
MP
305882012-02-14 Marek Polacek <polacek@redhat.com>
30589
30590 * sysdeps/x86_64/crti.S: New file.
30591 * sysdeps/x86_64/crtn.S: New file.
30592 * sysdeps/x86_64/elf/initfini.c: Remove file.
30593
2a979d3a
JM
305942012-02-13 Joseph Myers <joseph@codesourcery.com>
30595
30596 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30597 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30599 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30600 <bits/inotify.h>.
30601 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30603 bits/inotify.h.
30604
2a418ac3
JM
306052012-02-13 Joseph Myers <joseph@codesourcery.com>
30606
30607 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30608 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30609 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30610 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30611 <bits/eventfd.h>.
30612 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30614 bits/eventfd.h.
30615
fb779be7
TS
306162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30617
e19e83c5
RM
30618 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30619 __feraiseexcept instead of feraiseexcept.
7c35ffed 30620
fb779be7
TS
30621 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30622 nanosleep invocations.
30623 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30624 strings, and add error checking for a nanosleep invocations.
30625
59ba27a6
PE
306262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30627
30628 Replace FSF snail mail address with URLs, as per GNU coding standards.
30629 Most of the snail mail addresses were wrong anyway, and omitting
30630 them makes the source code easier to maintain. Almost all of the
30631 changes are to license notices and to locale LC_IDENTIFICATION
30632 addresses, except for this one:
30633 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30634 not its snail mail address.
30635
57b957eb
RH
306362012-02-09 Richard Henderson <rth@twiddle.net>
30637
af850b1c
RH
30638 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30639 of kernel-features.h.
30640
57b957eb
RH
30641 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30642
6b73181a
MP
306432012-02-08 Marek Polacek <polacek@redhat.com>
30644
30645 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30646 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30647 * sysdeps/gnu/_G_config.h: Likewise.
30648 * sysdeps/generic/_G_config.h: Likewise.
30649
26ecc33a
AS
306502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30651
6c6dbc63
AS
30652 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30653 tests.
30654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30655
e216c012
AS
30656 * sysdeps/powerpc/powerpc32/crti.S: New file.
30657 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30658 * sysdeps/powerpc/powerpc64/crti.S: New file.
30659 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30660
26ecc33a
AS
30661 * Makeconfig (have-initfini): Don't set.
30662 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30663 * configure.in (nopic_initfini): Don't substitute.
30664 * config.h.in (HAVE_INITFINI): Don't #undef.
30665 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30666 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30667
3add8e13
JM
306682012-02-08 Joseph Myers <joseph@codesourcery.com>
30669
30670 Support crti.S and crtn.S provided directly by architectures.
30671 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30672 [crti.S in sysdirs] (omit-deps): Likewise.
30673 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30674 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30675 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30676 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30677 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30678 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30679 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30680 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30681 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30682 compiler output for sysdeps/generic/initfini.c.
30683 * sysdeps/i386/elf/Makefile: Remove file.
30684 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30685
a22f12b4
MP
306862012-02-07 Marek Polacek <polacek@redhat.com>
30687
30688 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30689 * sysdeps/gnu/_G_config.h: Likewise.
30690 * sysdeps/mach/hurd/_G_config.h: Likewise.
30691
148cf100
MP
306922012-02-07 Marek Polacek <polacek@redhat.com>
30693
30694 * math/Makefile (tests): Add tst-CMPLX2.
30695 * math/tst-CMPLX2.c: New file.
30696
cfdc0dd7
AS
306972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30698
84ba42c4
AS
30699 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30700
cfdc0dd7
AS
30701 * math/libm-test.inc (jn_test): Add missing L suffix.
30702
622c86f4
MP
307032012-02-06 Marek Polacek <polacek@redhat.com>
30704
30705 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30706 * sysdeps/i386/fpu/e_powf.S: Likewise.
30707 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30708 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30709 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30710 * sysdeps/i386/fpu/e_pow.S: Likewise.
30711 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30713 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30714 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30715 * sysdeps/i386/fpu/e_log2.S: Likewise.
30716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30717 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30718 * sysdeps/i386/fpu/e_powl.S: Likewise.
30719 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30721 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30722 * sysdeps/i386/fpu/e_logl.S: Likewise.
30723 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30724 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30725 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30726 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30728 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30729 * sysdeps/i386/fpu/e_log.S: Likewise.
30730 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30731 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30732 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30733 * sysdeps/i386/fpu/e_logf.S: Likewise.
30734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30735 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30736 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30739 * sysdeps/i386/fpu/e_log10.S: Likewise.
30740 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30742 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30743 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30746 * sysdeps/i386/asm-syntax.h: Likewise.
30747 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30749 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30750 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30751 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30752 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30753 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30754 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30755 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30756 * sysdeps/powerpc/sysdep.h: Likewise.
30757 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30758 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30759
d4a54ac6
JM
307602012-02-06 Joseph Myers <joseph@codesourcery.com>
30761
30762 [BZ #411]
30763 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30764
314054ea
JM
307652012-02-06 Joseph Myers <joseph@codesourcery.com>
30766
30767 * sysdeps/i386/sysdep.h: Include <features.h>.
30768 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30769 version.
30770
d8e0ca50
JM
307712012-02-05 Joseph Myers <joseph@codesourcery.com>
30772
30773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30774 Define.
30775 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30776 LOAD_PIC_REG_STR.
30777
b1da7dd9
JM
307782012-02-03 Joseph Myers <joseph@codesourcery.com>
30779
30780 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30781 (SETUP_PIC_REG): Use GET_PC_THUNK.
30782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30783 macro.
30784
9a1d9254
JM
307852012-02-03 Joseph Myers <joseph@codesourcery.com>
30786
30787 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30788 for non-PIC compilation.
30789 (SETUP_PIC_REG): Add .p2align directive.
30790 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30791 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30792 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30793 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30795 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30796 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30798 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30801 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30802 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30803 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30804 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30805 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30806 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30807 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30808 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30809 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30812 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30813 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30816 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30818 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30822 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30823 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30824 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30825 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30826 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30827 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30828 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30831
65dc3b75
JM
308322012-02-03 Joseph Myers <joseph@codesourcery.com>
30833
30834 * math/tst-CMPLX.c: Include <stdio.h>.
30835
d55bf177
JM
308362012-01-31 Joseph Myers <joseph@codesourcery.com>
30837
30838 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30839 float.
30840 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30841 * sysdeps/sparc/bits/mathdef.h: Likewise.
30842
69db4f8f
MP
308432012-01-31 Marek Polacek <polacek@redhat.com>
30844
30845 * libio/libio.h: Don't define _PARAMS.
30846 * locale/programs/config.h: Don't define PARAMS.
30847 * stdlib/strtol_l.c: Likewise.
30848 (__strtol_l): Remove PARAMS from the prototype.
30849
41b81892
UD
308502012-01-31 Ulrich Drepper <drepper@gmail.com>
30851
3b49edc0
UD
30852 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30853 names. Just use the correct names. Remove unnecessary wrapper
30854 functions.
30855 * malloc/arena.c: Likewise.
30856 * malloc/hooks.c: Likewise.
30857
41b81892
UD
30858 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30859 ARENA_TEST says not to. Simplify test for creation of a new arena.
30860 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30861
27a25b6e
UD
308622012-01-30 Ulrich Drepper <drepper@gmail.com>
30863
30864 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30865 into tail calls.
30866 (update_get_addr): New function.
30867 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30868 GET_ADDR_MODULE parameter.
30869
c8a89e7d
JM
308702012-01-30 Joseph Myers <joseph@codesourcery.com>
30871
30872 * crypt/cert.c: Remove __STDC__ conditionals.
30873 * crypt/crypt-entry.c: Likewise.
30874 * crypt/crypt_util.c: Likewise.
30875 * libio/filedoalloc.c: Likewise.
30876 * libio/fileops.c: Likewise.
30877 * libio/genops.c: Likewise.
30878 * libio/iofclose.c: Likewise.
30879 * libio/iofdopen.c: Likewise.
30880 * libio/iofopen.c: Likewise.
30881 * libio/iofopen64.c: Likewise.
30882 * libio/iogetdelim.c: Likewise.
30883 * libio/iopopen.c: Likewise.
30884 * libio/obprintf.c: Likewise.
30885 * libio/oldfileops.c: Likewise.
30886 * libio/oldiofclose.c: Likewise.
30887 * libio/oldiofdopen.c: Likewise.
30888 * libio/oldiofopen.c: Likewise.
30889 * libio/oldiopopen.c: Likewise.
30890 * libio/wfiledoalloc.c: Likewise.
30891 * libio/wgenops.c: Likewise.
30892 * locale/programs/xmalloc.c: Likewise.
30893 * misc/syslog.c: Likewise.
30894 * stdio-common/xbug.c: Likewise.
30895 * string/memchr.c: Likewise.
30896 * string/memcmp.c: Likewise.
30897 * string/memrchr.c: Likewise.
30898 * string/rawmemchr.c: Likewise.
30899 * sysdeps/posix/getcwd.c: Likewise.
30900 * time/strftime_l.c: Likewise.
30901
3b100462
JM
309022012-01-30 Joseph Myers <joseph@codesourcery.com>
30903
30904 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30905 * config.make.in (config-cflags-sse2avx): Define.
30906 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30907 Fix typo.
30908
607998af
CM
309092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30910
30911 * scripts/config.guess: Update from upstream config git repository.
30912 * scripts/config.sub: Likewise.
30913
3601428f
CM
309142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30915
3ac8b282
CM
30916 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30917 (EM_NUM): Update.
30918 (R_TILEPRO_*, R_TILEGX_*): New macros.
30919
e034841e
CM
30920 * scripts/firstversions.awk: Fix bug in version range handling.
30921
540d7568
CM
30922 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30923
3601428f
CM
30924 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30925
463de862
CM
30926 * include/sys/epoll.h: New file.
30927 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30928 libc_hidden_def.
30929
73139a76
UD
309302012-01-28 Ulrich Drepper <drepper@gmail.com>
30931
96bc5b45
UD
30932 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30933 Avoid unnecessary __WORDSIZE == 64 test.
30934 (fmaxf): Use VEX format if possible.
30935 (fmax): Likewise.
30936 (fminf): Likewise.
30937 (fmin): Likewise.
30938
56f6f6a2
UD
30939 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30940 * math/math_private.h: Remove libc_fegetround* and
30941 libc_fesetround*.
30942 * sysdeps/i386/configure.in: Check for -msse2avx.
30943 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30944 also if SSE2AVX is defined.
30945 Remove libc_fegetround* and libc_fesetround*.
30946 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30947 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30949 of HAS_YMM_USABLE.
30950 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30951 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30955
73139a76
UD
30956 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30957
d73f93a4
AZ
309582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30959
30960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30961 size is not set.
30962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30963
6ee65ed6
UD
309642012-01-27 Ulrich Drepper <drepper@gmail.com>
30965
30966 [BZ #13618]
30967 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30968 relocation.
30969 * Makeconfig (libm): Define.
30970 * elf/Makefile: Add rules to build and run tst-relsort1.
30971 * elf/tst-relsort1.c: New file.
30972 * elf/tst-relsort1mod1.c: New file.
30973 * elf/tst-relsort1mod2.c: New file.
30974
8db21882
JM
309752012-01-27 Joseph Myers <joseph@codesourcery.com>
30976
30977 * math/s_ldexp.c: Remove __STDC__ conditionals.
30978 * math/s_ldexpf.c: Likewise.
30979 * math/s_ldexpl.c: Likewise.
30980 * math/s_nextafter.c: Likewise.
30981 * math/s_nexttowardf.c: Likewise.
30982 * math/s_significand.c: Likewise.
30983 * math/s_significandf.c: Likewise.
30984 * math/s_significandl.c: Likewise.
30985 * math/w_jnl.c: Likewise.
30986 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30987 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30988 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30989 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30990 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31007 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31008 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31009 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31010 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31012 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31013 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31014 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31015 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31016 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31017 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31018 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31019 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31020 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31021 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31022 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31023 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31024 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31025 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31026 * sysdeps/ieee754/k_standard.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31088 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31106 * sysdeps/ieee754/s_matherr.c: Likewise.
31107 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31108 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31111
965a54a4
JM
311122012-01-26 Joseph Myers <joseph@codesourcery.com>
31113
31114 * crypt/md5.h: Remove __STDC__ conditionals.
31115 * libio/libioP.h: Likewise.
31116 * locale/programs/config.h: Likewise.
31117 * sysdeps/generic/sysdep.h: Likewise.
31118 * sysdeps/i386/asm-syntax.h: Likewise.
31119 * sysdeps/s390/asm-syntax.h: Likewise.
31120 * sysdeps/unix/sysdep.h: Likewise.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31123
7071ad79
JM
311242012-01-26 Joseph Myers <joseph@codesourcery.com>
31125
31126 * libio/libio.h: Remove __STDC__ conditionals.
31127 * malloc/obstack.h: Likewise.
31128 * math/complex.h: Likewise.
31129 * math/math.h: Likewise.
31130 * sysdeps/generic/_G_config.h: Likewise.
31131 * sysdeps/gnu/_G_config.h: Likewise.
31132 * sysdeps/mach/hurd/_G_config.h: Likewise.
31133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31134 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31135 * sysdeps/sparc/bits/mathdef.h: Likewise.
31136
afc5ed09
UD
311372012-01-26 Ulrich Drepper <drepper@gmail.com>
31138
31139 [BZ #13583]
31140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31141 Clean up HAS_* macros.
afc5ed09 31142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31143 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31144 possible.
31145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31146 HAS_AVX.
31147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31152
bdb6de1d
JM
311532012-01-25 Joseph Myers <joseph@codesourcery.com>
31154
31155 * elf/tst-unique3.cc (gets): Remove declaration.
31156 * elf/tst-unique3lib.cc (gets): Likewise.
31157 * elf/tst-unique3lib2.cc (gets): Likewise.
31158 * elf/tst-unique4.cc (gets): Likewise.
31159
b15549e6
UD
311602012-01-24 Ulrich Drepper <drepper@gmail.com>
31161
31162 * include/stdio.h: Add C++ protection. Add gets declarations and
31163 definitions.
31164 * debug/tst-chk1.c: Don't declare gets here.
31165 * stdio-common/tst-gets.c: Likewise.
31166
a037381f
JM
311672012-01-24 Joseph Myers <joseph@codesourcery.com>
31168
31169 * posix/glob: Remove directory.
31170
f1d4aa75
JM
311712012-01-24 Joseph Myers <joseph@codesourcery.com>
31172
31173 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31174
81c0c964
PT
311752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31176
31177 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31178 of the non-standard EPFNOSUPPORT.
31179
0ea698ae
ST
311802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31181
31182 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31183 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31184 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31185
d220b117
UD
311862012-01-21 Ulrich Drepper <drepper@gmail.com>
31187
31188 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31189
3e1aa84e
UD
311902012-01-20 Ulrich Drepper <drepper@gmail.com>
31191
31192 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31193 transient errors.
31194 * nscd/grpcache.c (cache_addgr): Likewise.
31195 * nscd/hstcache.c (cache_addhst): Likewise.
31196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31197 * nscd/pwdcache.c (cache_addpw): Likewise.
31198 * nscd/servicescache.c (cache_addserv): Likewise.
31199
400aa020
UD
312002012-01-16 Ulrich Drepper <drepper@gmail.com>
31201
d77e7869
UD
31202 * malloc/malloc.c: Various cleanups.
31203 * malloc/hooks.c: Likewise.
31204
400aa020
UD
31205 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31206 * stdlib/bug-fmtmsg1.c: New file.
31207
31208 * stdlib/fmtmsg.c (init): Add missing unlock.
31209 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31210
e0a309cf
MP
312112012-01-12 Marek Polacek <polacek@redhat.com>
31212
31213 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31214 and _GNU_SOURCE.
31215
929d11c7
WS
312162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31217
31218 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31219 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31220 macro to ensure uniqueness of label name.
31221 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31222 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31223
41d0e869
UD
312242012-01-11 Ulrich Drepper <drepper@gmail.com>
31225
0cc5ed3b
UD
31226 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31227
41d0e869
UD
31228 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31229 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31231 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31232
a47a831a
UD
312332012-01-10 Ulrich Drepper <drepper@gmail.com>
31234
daa891c0
UD
31235 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31236
31237 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31240
e58ef0f2
UD
31241 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31242
a47a831a 31243 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31244 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31247
31248 * math/bits/math-finite.h: Add ldexp support.
31249
a0bfc9c7
MP
312502012-01-10 Marek Polacek <polacek@redhat.com>
31251
31252 * locale/programs/localedef.h (show_archive_content): Add noreturn
31253 attribute.
31254
d6e97a1d
UD
312552012-01-09 Ulrich Drepper <drepper@gmail.com>
31256
31257 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31258
d5835c26
UD
312592012-01-08 Ulrich Drepper <drepper@gmail.com>
31260
e5f484c6
UD
31261 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31262
d5835c26
UD
31263 * io/Makefile (headers): Add bits/poll2.h.
31264
d1f741e9
WS
312652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31266
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31268 typo #include statement.
31269
ec09c1c4
UD
312702012-01-08 Ulrich Drepper <drepper@gmail.com>
31271
31272 * include/sys/cdefs.h: Define __attribute_alloc_size.
31273 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31274 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31275 * elf/pldd.c: Likewise.
31276 * iconv/iconv_charmap.c: Likewise.
31277 * iconv/iconvconfig.c: Likewise.
31278 * iconv/strtab.c: Likewise.
31279 * locale/programs/locale.c: Likewise.
31280 * locale/programs/localedef.h: Likewise.
31281 * locale/programs/simple-hash.c: Likewise.
31282 * nscd/nscd.h: Likewise.
31283 * nss/makedb.c: Likewise.
31284 * sysdeps/generic/ldconfig.h: Likewise.
31285 * locale/programs/localedef.c: Remove xmalloc prototype.
31286 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31287
20b38e03
PP
312882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31289
31290 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31291 appropriate.
31292
a0da5fe1
UD
312932012-01-08 Ulrich Drepper <drepper@gmail.com>
31294
1d5a644a 31295 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31296 * math/tst-CMPLX.c: New file.
1d5a644a 31297
8784a6db
UD
31298 * math/complex.h (CMPLXL): Fix typo.
31299
d9a216c0
UD
31300 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31301 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31302 GLIBC_2.16.
31303 * debug/tst-chk1.c: Add poll and ppoll tests.
31304 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31305 * include/sys/poll.h: Add hidden proto for ppoll.
31306 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31307 * sysdeps/mach/hurd/ppoll.c: Likewise.
31308 * io/ppoll.c: Likewise.
31309 * debug/poll_chk.c: New file.
31310 * debug/ppoll_chk.c: New file.
31311 * include/bits/poll2.h: New file.
31312 * io/bits/poll2.h: New file.
31313
ac097f5c
UD
31314 [BZ #1350]
31315 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31316
2119dcfa
UD
31317 * configure.in: static is always set to yes. Remove.
31318 * config.make.in: Don't set build-static.
31319 * Makeconfig: Remove use of build-static.
31320 * dlfcn/Makefile: Likewise.
31321 * elf/Makefile: Likewise.
31322 * math/Makefile: Likewise.
31323 * misc/Makefile: Likewise.
31324 * nptl/Makefile: Likewise.
31325 * sysdeps/mach/hurd/Makefile: Likewise.
31326
121766a9
UD
31327 * configure.in: PWD_P is not used anymore.
31328 * config.make.in: Remove PWD_P entry.
31329
51a1d39c 31330 * configure.in: Remove last remnants of RANLIB.
8720d066 31331 No need to check for signed size_t anymore.
215f4bdc
UD
31332 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31333 and IA-64.
3857022a 31334 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31335 * aclocal.m4: Likewise.
31336
d3ed7225
UD
31337 * wcsmbs/mbrtoc16.c: Implement using towc function.
31338 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31339 * wcsmbs/wcsmbsload.c: Likewise.
31340 * iconv/gconv_simple.c: Likewise.
31341 * iconv/gconv_int.h: Likewise.
31342 * iconv/gconv_builtin.h: Likewise.
31343 * iconv/iconv_prog.c: Remove CHAR16 handling.
31344
31345 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31346
31347 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31348
a0da5fe1
UD
31349 * configure.in: Remove --with-elf and --enable-bounded options.
31350 Dont set base_machine for ia64. More non-ELF conditions removed.
31351 Remove testing and setting of leading underscore information.
31352 * config.make.in (build-bounded): Set to no.
31353 * config.h.in: Remove NO_UNDERSCORES entry.
31354 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31355 them.
31356 * csu/start.c: Remove !NO_UNDERSCORE code.
31357 * locale/localeinfo.h: Likewise.
31358 * sysdeps/generic/machine-gmon.h: Likewise.
31359 * sysdeps/generic/sysdep.h: Likewise.
31360 * sysdeps/i386/sysdep.h: Likewise.
31361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31362 * sysdeps/mach/sysdep.h: Likewise.
31363 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31365 * sysdeps/sh/sysdep.h: Likewise.
31366 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31367 * sysdeps/unix/i386/sysdep.S: Likewise.
31368 * sysdeps/unix/sparc/start.c: Likewise.
31369 * sysdeps/unix/sparc/sysdep.S: Likewise.
31370 * sysdeps/unix/sparc/sysdep.h: Likewise.
31371 * sysdeps/unix/start.c: Likewise.
31372 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31373 * sysdeps/x86_64/sysdep.h: Likewise.
31374
df78418a
UD
313752012-01-07 Ulrich Drepper <drepper@gmail.com>
31376
a784e502
UD
31377 [BZ #13553]
31378 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31379 for non-gcc.
31380 * argp/argp-fmtstream.h: Use const instead __const.
31381 * argp/argp.h: Likewise.
31382 * assert/assert.h: Likewise.
31383 * bits/fenv.h: Likewise.
31384 * bits/sched.h: Likewise.
31385 * bits/sigset.h: Likewise.
31386 * bits/sigthread.h: Likewise.
31387 * catgets/nl_types.h: Likewise.
31388 * conform/data/pthread.h-data: Likewise.
31389 * crypt/crypt-private.h: Likewise.
31390 * crypt/crypt.h: Likewise.
31391 * crypt/crypt_util.c: Likewise.
31392 * ctype/ctype.h: Likewise.
31393 * debug/execinfo.h: Likewise.
31394 * debug/mbsnrtowcs_chk.c: Likewise.
31395 * debug/mbsrtowcs_chk.c: Likewise.
31396 * debug/wcsnrtombs_chk.c: Likewise.
31397 * debug/wcsrtombs_chk.c: Likewise.
31398 * debug/wcstombs_chk.c: Likewise.
31399 * dirent/dirent.h: Likewise.
31400 * dlfcn/dlfcn.h: Likewise.
31401 * elf/neededtest4.c: Likewise.
31402 * grp/grp.h: Likewise.
31403 * gshadow/gshadow.h: Likewise.
31404 * iconv/gconv.h: Likewise.
31405 * iconv/gconv_int.h: Likewise.
31406 * iconv/gconv_simple.c: Likewise.
31407 * iconv/iconv.h: Likewise.
31408 * iconv/loop.c: Likewise.
31409 * iconv/skeleton.c: Likewise.
31410 * include/aio.h: Likewise.
31411 * include/aliases.h: Likewise.
31412 * include/argz.h: Likewise.
31413 * include/arpa/inet.h: Likewise.
31414 * include/assert.h: Likewise.
31415 * include/dirent.h: Likewise.
31416 * include/dlfcn.h: Likewise.
31417 * include/execinfo.h: Likewise.
31418 * include/fcntl.h: Likewise.
31419 * include/fenv.h: Likewise.
31420 * include/glob.h: Likewise.
31421 * include/grp.h: Likewise.
31422 * include/libintl.h: Likewise.
31423 * include/mntent.h: Likewise.
31424 * include/netdb.h: Likewise.
31425 * include/pwd.h: Likewise.
31426 * include/rpc/netdb.h: Likewise.
31427 * include/sched.h: Likewise.
31428 * include/search.h: Likewise.
31429 * include/shadow.h: Likewise.
31430 * include/signal.h: Likewise.
31431 * include/stdio.h: Likewise.
31432 * include/stdlib.h: Likewise.
31433 * include/string.h: Likewise.
31434 * include/sys/socket.h: Likewise.
31435 * include/sys/stat.h: Likewise.
31436 * include/sys/statfs.h: Likewise.
31437 * include/sys/statvfs.h: Likewise.
31438 * include/sys/syslog.h: Likewise.
31439 * include/sys/time.h: Likewise.
31440 * include/sys/uio.h: Likewise.
31441 * include/time.h: Likewise.
31442 * include/unistd.h: Likewise.
31443 * include/utmp.h: Likewise.
31444 * include/wchar.h: Likewise.
31445 * include/wctype.h: Likewise.
31446 * inet/aliases.h: Likewise.
31447 * inet/arpa/inet.h: Likewise.
31448 * inet/netinet/ether.h: Likewise.
31449 * inet/netinet/in.h: Likewise.
31450 * intl/libintl.h: Likewise.
31451 * io/bits/fcntl2.h: Likewise.
31452 * io/fcntl.h: Likewise.
31453 * io/ftw.h: Likewise.
31454 * io/sys/poll.h: Likewise.
31455 * io/sys/stat.h: Likewise.
31456 * io/sys/statfs.h: Likewise.
31457 * io/sys/statvfs.h: Likewise.
31458 * io/utime.h: Likewise.
31459 * libio/bits/stdio.h: Likewise.
31460 * libio/bits/stdio2.h: Likewise.
31461 * libio/libio.h: Likewise.
31462 * libio/libioP.h: Likewise.
31463 * libio/stdio.h: Likewise.
31464 * locale/lc-ctype.c: Likewise.
31465 * locale/locale.h: Likewise.
31466 * login/utmp.h: Likewise.
31467 * malloc/arena.c: Likewise.
31468 * malloc/malloc.c: Likewise.
31469 * malloc/malloc.h: Likewise.
31470 * malloc/mcheck.c: Likewise.
31471 * malloc/mtrace.c: Likewise.
31472 * math/bits/mathcalls.h: Likewise.
31473 * math/fenv.h: Likewise.
31474 * math/math_private.h: Likewise.
31475 * misc/bits/error.h: Likewise.
31476 * misc/bits/syslog.h: Likewise.
31477 * misc/err.h: Likewise.
31478 * misc/error.h: Likewise.
31479 * misc/fstab.h: Likewise.
31480 * misc/mntent.h: Likewise.
31481 * misc/regexp.h: Likewise.
31482 * misc/search.h: Likewise.
31483 * misc/sgtty.h: Likewise.
31484 * misc/sys/mman.h: Likewise.
31485 * misc/sys/syslog.h: Likewise.
31486 * misc/sys/uio.h: Likewise.
31487 * misc/sys/xattr.h: Likewise.
31488 * misc/ttyent.h: Likewise.
31489 * nis/rpcsvc/ypclnt.h: Likewise.
31490 * nss/nss.h: Likewise.
31491 * posix/bits/unistd.h: Likewise.
31492 * posix/fnmatch.h: Likewise.
31493 * posix/glob.h: Likewise.
31494 * posix/sched.h: Likewise.
31495 * posix/spawn.h: Likewise.
31496 * posix/sys/wait.h: Likewise.
31497 * posix/unistd.h: Likewise.
31498 * posix/wordexp.h: Likewise.
31499 * pwd/pwd.h: Likewise.
31500 * resolv/netdb.h: Likewise.
31501 * resource/sys/resource.h: Likewise.
31502 * rt/aio.h: Likewise.
31503 * rt/bits/mqueue2.h: Likewise.
31504 * rt/mqueue.h: Likewise.
31505 * shadow/shadow.h: Likewise.
31506 * signal/signal.h: Likewise.
31507 * socket/send.c: Likewise.
31508 * socket/sendto.c: Likewise.
31509 * socket/sys/socket.h: Likewise.
31510 * stdio-common/printf.h: Likewise.
31511 * stdlib/bits/stdlib.h: Likewise.
31512 * stdlib/fmtmsg.h: Likewise.
31513 * stdlib/monetary.h: Likewise.
31514 * stdlib/stdlib.h: Likewise.
31515 * stdlib/ucontext.h: Likewise.
31516 * streams/stropts.h: Likewise.
31517 * string/argz.h: Likewise.
31518 * string/bits/string2.h: Likewise.
31519 * string/string.h: Likewise.
31520 * string/strings.h: Likewise.
31521 * sunrpc/rpc/auth.h: Likewise.
31522 * sunrpc/rpc/auth_des.h: Likewise.
31523 * sunrpc/rpc/clnt.h: Likewise.
31524 * sunrpc/rpc/netdb.h: Likewise.
31525 * sunrpc/rpc/pmap_clnt.h: Likewise.
31526 * sunrpc/rpc/xdr.h: Likewise.
31527 * sysdeps/generic/inttypes.h: Likewise.
31528 * sysdeps/generic/net/if.h: Likewise.
31529 * sysdeps/generic/sys/swap.h: Likewise.
31530 * sysdeps/gnu/net/if.h: Likewise.
31531 * sysdeps/gnu/utmpx.h: Likewise.
31532 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31533 * sysdeps/i386/i486/bits/string.h: Likewise.
31534 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31535 * sysdeps/s390/bits/string.h: Likewise.
31536 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31537 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31538 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31539 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31540 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31541 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31542 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31543 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31544 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31545 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31546 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31547 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31548 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31549 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31550 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31551 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31552 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31554 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31557 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31558 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31559 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31560 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31561 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31562 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31564 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31566 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31567 * sysvipc/sys/ipc.h: Likewise.
31568 * sysvipc/sys/msg.h: Likewise.
31569 * sysvipc/sys/sem.h: Likewise.
31570 * sysvipc/sys/shm.h: Likewise.
31571 * termios/termios.h: Likewise.
31572 * time/sys/time.h: Likewise.
31573 * time/time.h: Likewise.
31574 * wcsmbs/bits/wchar2.h: Likewise.
31575 * wcsmbs/uchar.h: Likewise.
31576 * wcsmbs/wchar.h: Likewise.
31577 * wctype/wctype.h: Likewise.
31578
0269750c
UD
31579 [BZ #13551]
31580 * Makeconfig: Remove all but ELF support including AIX support.
31581 * Makerules: Likewise.
31582 * config.h.in: Likewise.
31583 * config.make.in: Likewise.
31584 * configure: Likewise.
31585 * configure.in: Likewise.
31586 * csu/Makefile: Likewise.
31587 * csu/version.c: Likewise.
31588 * debug/Makefile: Likewise.
31589 * dlfcn/Makefile: Likewise.
31590 * elf/Makefile: Likewise.
31591 * extra-lib.mk: Likewise.
31592 * iconv/Makefile: Likewise.
31593 * include/libc-symbols.h: Likewise.
31594 * include/shlib-compat.h: Likewise.
31595 * resolv/Makefile: Likewise.
31596 * resolv/res_libc.c: Likewise.
31597 * rt/Makefile: Likewise.
31598 * sysdeps/i386/asm-syntax.h: Likewise.
31599 * sysdeps/i386/sysdep.h: Likewise.
31600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31601 * sysdeps/mach/sysdep.h: Likewise.
31602 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31603 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31604 * sysdeps/s390/asm-syntax.h: Likewise.
31605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31607 * sysdeps/sh/sysdep.h: Likewise.
31608 * sysdeps/unix/sparc/sysdep.h: Likewise.
31609 * sysdeps/wordsize-32/divdi3.c: Likewise.
31610 * sysdeps/x86_64/sysdep.h: Likewise.
31611
00bbd29b
UD
31612 * argp/Versions: Remove _argp_unlock_xxx.
31613
31614 [BZ #13559]
31615 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31616 * abilist/libBrokenLocale.abilist: Likewise.
31617 * abilist/libanl.abilist: Likewise.
31618 * abilist/libc.abilist: Likewise.
31619 * abilist/libcrypt.abilist: Likewise.
31620 * abilist/libdl.abilist: Likewise.
31621 * abilist/libm.abilist: Likewise.
31622 * abilist/libnsl.abilist: Likewise.
31623 * abilist/libpthread.abilist: Likewise.
31624 * abilist/libresolv.abilist: Likewise.
31625 * abilist/librt.abilist: Likewise.
31626 * abilist/libthread_db.abilist: Likewise.
31627 * abilist/libutil.abilist: Likewise.
31628 * abilist/libnss_db.abilist: New file.
31629
31630 * scripts/abilist.awk: Add support for indirect functions.
31631
a2693a0e
UD
31632 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31633
3f05895f
UD
31634 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31635
ecb6fb48
UD
31636 * shlib-versions: Remove entries for ports architectures.
31637
664f8cb9
UD
31638 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31639 files in ports.
31640 * elf/stackguard-macros.h: Remove support for IA-64.
31641 * elf/tst-auditmod1.c: Likewise.
31642 * sysdeps/generic/ldsodefs.h: Likewise.
31643
7ae81d88
UD
31644 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31645 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31646 configure files.
31647
bdeba135
UD
31648 [BZ #13552]
31649 * configure.in: Remove --enable-omitfp support.
31650 * FAQ.in: Adjust.
31651 * config.make.in: Likewise.
31652 * Makeconfig: Likewise.
31653 * manual/install.texi: Likewise.
31654
d75a0a62
UD
31655 In case anyone cares, the IA-64 architecture could move to ports.
31656 * sysdeps/ia64/*: Removed.
31657 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31658 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31659
dcc9756b
UD
31660 [BZ #13555]
31661 * configure.in: Remove entries for unsupported architectures.
31662
d3761ebc 31663 [BZ #13533]
9954432e
UD
31664 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31665 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31666 routines.
31667 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31668 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31669 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31670 fall back to using wcrtomb.
31671 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31672 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31673 renaming.
31674 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31675 * wcsmbs/tst-c16c32-1.c: New file.
31676
31677 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31678 local variable.
31679
c3a87236
UD
31680 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31681
28926a1b
UD
31682 * elf/tst-unique3.cc: Add explicit declaration of gets.
31683 * elf/tst-unique3lib.cc: Likewise.
31684 * elf/tst-unique3lib2.cc: Likewise.
31685 * elf/tst-unique4.cc: Likewise.
31686
df78418a
UD
31687 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31688
8ecd6b2a
JM
316892012-01-06 Joseph Myers <joseph@codesourcery.com>
31690
31691 [BZ #13566]
31692 * assert/assert.h (static_assert): Don't define for C++.
31693 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31694 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31695
9f115170
UD
316962012-01-03 Ulrich Drepper <drepper@gmail.com>
31697
5e0d0300
UD
31698 * iconv/loop.c (single loop): Fix assertion in storing of
31699 remaining bytes.
31700
9f115170
UD
31701 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31702
81fb02b0
UD
317032012-01-01 Ulrich Drepper <drepper@gmail.com>
31704
31705 * posix/getconf.c: Update copyright year.
31706 * nss/getent.c: Likewise.
a316c1f6 31707 * nss/makedb.c: Likewise.
81fb02b0
UD
31708 * iconv/iconvconfig.c: Likewise.
31709 * iconv/iconv_prog.c: Likewise.
31710 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31711 * elf/pldd.c: Likewise.
31712 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31713 * catgets/gencat.c: Likewise.
31714 * csu/version.c: Likewise.
31715 * elf/ldd.bash.in: Likewise.
31716 * elf/sprof.c (print_version): Likewise.
31717 * locale/programs/locale.c: Likewise.
31718 * locale/programs/localedef.c: Likewise.
a316c1f6 31719 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31720 * nscd/nscd.c (print_version): Likewise.
31721 * debug/xtrace.sh: Likewise.
31722 * malloc/memusage.sh: Likewise.
31723 * malloc/mtrace.pl: Likewise.
31724 * debug/catchsegv.sh: Likewise.
31725
2ba92745
JJ
317262011-12-30 Jakub Jelinek <jakub@redhat.com>
31727
31728 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31729 pure attribute.
31730
dadebdae
UD
317312011-12-24 Ulrich Drepper <drepper@gmail.com>
31732
d3761ebc 31733 [BZ #13533]
db6af3eb
UD
31734 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31735 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31736 transformations.
31737 * iconv/gconv_int.h: Likewise.
31738 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31739 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31740 from libc for GLIBC_2.16.
31741 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31742 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31743 * wcsmbs/uchar.h: Really define mbstate_t.
31744 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31745 * wcsmbs/c16rtomb.c: New file.
31746 * wcsmbs/mbrtoc16.c: New file.
31747 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31748 for C/POSIX locale.
31749 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31750 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31751
dadebdae
UD
31752 * wcsmbs/wchar.h: Add missing __restrict.
31753
67371b56
UD
317542011-12-23 Ulrich Drepper <drepper@gmail.com>
31755
74033a25
UD
31756 [BZ #13532]
31757 * time/Makefile (routines): Add timespec_get.
31758 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31759 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31760 timespec for ISO C11.
31761 * time/timespec_get.c: New file.
31762 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31763 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31764
380d7e87
UD
31765 [BZ #13531]
31766 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31767 * stdlib/stdlib.h: Declare aligned_alloc.
31768 * Versions.def: Add GLIBC_2.16 for libc.
31769 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31770
4e9e7a35
UD
31771 [BZ 13527]
31772 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31773 ISO C11.
31774
380d7e87 31775 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31776 code.
31777
03a71829
UD
31778 [BZ #13528]
31779 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31780
839e283e
UD
31781 [BZ #13529]
31782 * assert/assert.h (static_assert): Define.
31783
ce5294e2 31784 * version.h: Update for 2.16 development version.
90fa7312 31785
8d44e150 31786 [BZ #13526]
d7809905
UD
31787 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31788 _ISOC11_SOURCE.
31789
c0da14cd
UD
31790 * version.h (RELEASE): Bump for 2.15 release.
31791 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31792
530a3249
MP
31793 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31794 Patch by Marek Polacek <mpolacek@redhat.com>.
31795
67371b56
UD
31796 * bits/byteswap.h: Protect long long constants with __extension__.
31797 * sysdeps/i386/bits/byteswap.h: Likewise.
31798 * sysdeps/ia64/bits/byteswap.h: Likewise.
31799 * sysdeps/s390/bits/byteswap.h: Likewise.
31800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31801
15db4de1
LD
318022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31803
31804 [BZ #13540]
bbe315ea
LD
31805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31806 destination buffer.
15db4de1
LD
31807 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31808
2b2596b1
MP
318092011-12-23 Marek Polacek <polacek@redhat.com>
31810
31811 * elf/dl-addr.c (determine_info): Add inline keyword.
31812 * elf/tst-auditmod4b.c (check_avx): Likewise.
31813 * elf/tst-auditmod6b.c (check_avx): Likewise.
31814 * elf/tst-auditmod6c.c (check_avx): Likewise.
31815 * elf/tst-auditmod7b.c (check_avx): Likewise.
31816
70c6c246
UD
318172011-12-23 Ulrich Drepper <drepper@gmail.com>
31818
31819 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31820 !__SSE_MATH__.
31821
c044cf14
LD
318222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31823
15db4de1 31824 [BZ #13540]
c044cf14
LD
31825 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31826 processing for last bytes.
31827
6b13d9d9
BH
318282011-08-06 Bruno Haible <bruno@clisp.org>
31829
d455f537
BH
31830 [BZ #13061]
31831 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31832 U+0385, not to U+1FEE.
31833
6b13d9d9
BH
31834 [BZ #13062]
31835 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31836 entry for U+00A5 U+0301.
31837
db910efd
UD
318382011-12-22 Ulrich Drepper <drepper@gmail.com>
31839
27deeafc
UD
31840 [BZ #13166]
31841 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31842 buffer for the output is too small.
31843
aed9d171
UD
31844 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31845 optimization.
31846
db910efd
UD
31847 [BZ #13185]
31848 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31849 SSE flags if possible.
31850
2bd779ae
LD
318512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31852
e7f9dac3 31853 [BZ #13540]
2bd779ae
LD
31854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31855 processing for last bytes.
31856
154bfc16
JM
318572011-12-22 Joseph Myers <joseph@codesourcery.com>
31858
31859 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31860 (syscall-list-default-options, syscall-list-default-condition)
31861 (syscall-list-includes): Define.
31862 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31863 list of ABIs and options and #if conditions for each ABI. Do not
31864 handle common syscalls between ABIs specially.
31865 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31866 Remove.
31867 (syscall-list-variants, syscall-list-32bit-options)
31868 (syscall-list-32bit-condition, syscall-list-64bit-options)
31869 (syscall-list-64bit-condition): Define.
31870 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31871 (syscall-list-variants, syscall-list-32bit-options)
31872 (syscall-list-32bit-condition, syscall-list-64bit-options)
31873 (syscall-list-64bit-condition): Define.
31874 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31875 Remove.
31876 (syscall-list-variants, syscall-list-32bit-options)
31877 (syscall-list-32bit-condition, syscall-list-64bit-options)
31878 (syscall-list-64bit-condition): Define.
31879 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31880 Remove.
31881 (syscall-list-variants, syscall-list-32bit-options)
31882 (syscall-list-32bit-condition, syscall-list-64bit-options)
31883 (syscall-list-64bit-condition): Define.
31884
21eaf3a5
UD
318852011-12-22 Ulrich Drepper <drepper@gmail.com>
31886
16c6f992
UD
31887 * locale/iso-639.def: Add brx entry.
31888
41043168
UD
31889 [BZ #13328]
31890 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31891 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31892
21eaf3a5
UD
31893 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31894 __feraiseexcept_renamed.
31895
e3a851a2
UD
318962011-12-21 Ulrich Drepper <drepper@gmail.com>
31897
4920765e
UD
31898 [BZ #13538]
31899 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31900 EPOLLET with unsigned values.
31901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31903
e3a851a2
UD
31904 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31905 to large cancellation.
31906 * math/s_cacoshf.c: Likewise.
31907 * math/s_cacoshl.c: Likewise.
31908
b27e24b8
RK
319092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31910
31911 [BZ #13305]
aebefeee 31912 [BZ #12786]
b27e24b8
RK
31913 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31914 * math/s_cacoshf.c: Likewise.
31915 * math/s_cacoshl.c: Likewise.
31916
ee190f67
UD
319172011-12-21 Ulrich Drepper <drepper@gmail.com>
31918
31919 [BZ #13439]
31920 * iconv/gconv.h: Define __GCONV_SWAP.
31921 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31922 * iconvdata/utf-16.c: Likewise.
31923 * iconvdata/utf-32.c: Likewise.
31924
707f25df
AS
319252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31926
31927 [BZ #13524]
31928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31929 numerator after shifting it by one limb.
31930
d2daaa1e
RÁE
319312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31932
31933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31934 under [__USE_EXTERN_INLINES].
31935
a4647e72
UD
319362011-12-17 Ulrich Drepper <drepper@gmail.com>
31937
31938 [BZ #13446]
31939 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31940
f0b264f1
AZ
319412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31942
31943 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31944 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31945 optimized code.
31946 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31947 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31948 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31949 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31950 for strncasecmp/strncasecmp_l compilation.
31951 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31952 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31953
8ef4f244
MP
319542011-12-08 Marek Polacek <mpolacek@redhat.com>
31955
31956 [BZ #13484]
31957 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31958 of __asm__.
31959
97ac2654
UD
319602011-12-17 Ulrich Drepper <drepper@gmail.com>
31961
31962 [BZ #13506]
31963 * time/tzfile.c (__tzfile_read): Check values from file header.
31964
91d2a845
WS
319652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31966
31967 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31968 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31969 * powerpc/powerpc32/dl-start.S: Likewise.
31970 * powerpc/powerpc32/elf/start.S: Likewise.
31971 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31972 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31973 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31974 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31975 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31976 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31977 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31978 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31979 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31980 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31981 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31982 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31983 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31984 * powerpc/powerpc32/memset.S: Likewise.
31985 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31986 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31987 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31988 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31989 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31990 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31991 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31992 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31993 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31994 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31995 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31996 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31997 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31998
a1267ba1
AZ
319992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32000
32001 * math/libm-test.inc: Added more nearbyint tests.
32002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32006
ad8ac1bd
RL
320072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32008
32009 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32010 FD_CLOEXEC.
32011
1d3e4b61
UD
320122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32013
32014 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32015 Add wcscpy-ssse3 wcscpy-c.
32016 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32017 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32018 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32019 * sysdeps/x86_64/wcschr.S: New file.
32020 * sysdeps/x86_64/wcsrchr.S: New file.
32021 * string/test-strcmp.c: Remove checking of wcscmp function for
32022 wrong alignments.
32023 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32024 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32025 wcsrchr-sse2 wcsrchr-c.
32026 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32027 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32028 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32029 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32030 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32031 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32032 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32033 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32034 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32035 * wcsmbc/wcschr.c (WCSCHR): New macro.
32036
5b330a2d
UD
320372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32038
32039 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32040 * wcsmbs/test-wcsrchr.c: New file.
32041 * string/test-strrchr.c: Add wcsrchr support.
32042 (WIDE): New macro.
32043 * wcsmbs/test-wcscpy.c: New file.
32044 * string/test-strcpy.c: Add wcscpy support.
32045 (WIDE): New macro.
26428b7c 32046
f039c043
UD
320472011-12-10 Ulrich Drepper <drepper@gmail.com>
32048
32049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32050 the inner loop.
32051
850fb039
AS
320522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32053
32054 [BZ #13472]
32055 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32056
4efbd5cb
UD
320572011-12-04 Ulrich Drepper <drepper@gmail.com>
32058
52ff5dd0 32059 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32060 Minor optimizations.
52ff5dd0 32061
4efbd5cb
UD
32062 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32063 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32064 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32065
8a426e12
UD
320662011-12-03 Ulrich Drepper <drepper@gmail.com>
32067
aff2453d
UD
32068 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32069 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32070 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32071 for gcc to avoid warnings.
32072 * inet/Makefile (tests): Add tst-checks.
32073 * inet/tst-checks.c: New file.
32074
32075 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32076 warning.
32077
32078 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32079 __wmemcmp_sse2.
32080
32081 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32082 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32083
8a426e12
UD
32084 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32085
9bea3473
UD
320862011-12-02 Ulrich Drepper <drepper@gmail.com>
32087
3a965496
UD
32088 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32089 problem.
32090
9bea3473
UD
32091 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32092
f101631b
UD
320932011-11-29 Joseph Myers <joseph@codesourcery.com>
32094
32095 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32096 conditional on GCC version.
32097 (__arch_compare_and_exchange_val_8_acq)
32098 (__arch_compare_and_exchange_val_16_acq)
32099 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32100 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32101 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32102
a98275aa
UD
321032011-12-02 Joseph Myers <joseph@codesourcery.com>
32104
32105 * sysdeps/sh/backtrace.c: New file.
32106
d4cc29a2
AS
321072011-12-02 Andreas Schwab <schwab@redhat.com>
32108
32109 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32110 parenthesis.
32111
6257af2d
AS
321122011-12-01 Andreas Schwab <schwab@redhat.com>
32113
32114 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32115 falling back to utime.
32116
b5f44c1a
AS
321172011-11-30 Andreas Schwab <schwab@redhat.com>
32118
32119 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32120 expectations for float.
32121
f3a6cc0a
AS
321222011-11-29 Andreas Schwab <schwab@redhat.com>
32123
32124 * locale/weight.h (findidx): Add parameter len.
32125 * locale/weightwc.h (findidx): Likewise.
32126 * posix/fnmatch_loop.c (FCT): Adjust caller.
32127 * posix/regcomp.c (build_equiv_class): Likewise.
32128 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32129 * posix/regexec.c (check_node_accept_bytes): Likewise.
32130 * string/strcoll_l.c (STRCOLL): Likewise.
32131 * string/strxfrm_l.c (STRXFRM): Likewise.
32132
9d65ea3a
UD
321332011-11-17 Ulrich Drepper <drepper@gmail.com>
32134
32135 * Makefile.in: Remove CVSOPT handling.
32136 * configure.in: Remove use of AC_REVISION.
32137 * iconvdata/Makefile (distribute): No need to filter out CVS.
32138 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32139 handling.
32140
5583a086
AS
321412011-11-16 Andreas Schwab <schwab@redhat.com>
32142
32143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32144 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32145 [USE_AS_STRNCASECMP_L]: Likewise.
32146 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32147 NO_TLS_DIRECT_SEG_REFS.
32148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32149 Fix argument offsets for non-PIC.
32150 [USE_AS_STRNCASECMP_L]: Likewise.
32151 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32152 NO_TLS_DIRECT_SEG_REFS.
32153
d62a8200
UD
321542011-11-15 Ulrich Drepper <drepper@gmail.com>
32155
9d65ea3a 32156 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32157 O_CLOEXEC.
32158 * locale/loadlocale.c (_nl_load_locale): Likewise.
32159
09f93bd3
AS
321602011-11-15 Andreas Schwab <schwab@redhat.com>
32161
446514f9
AS
32162 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32163 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32165 (SYSCALL_GETTIME): Set errno on error.
32166
09f93bd3
AS
32167 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32168 count references to noai6ai_cached.
32169
312be3f9
UD
321702011-11-15 Ulrich Drepper <drepper@gmail.com>
32171
32172 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32173
32174 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32175 FD_CLOEXEC for /proc/self/maps.
32176
32177 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32178 FD_CLOEXEC for /proc/meminfo.
32179
32180 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32181 gai.conf.
32182
32183 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32184 FD_CLOEXEC for given file.
32185
32186 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32187
32188 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32189 FD_CLOEXEC for /etc/hosts.
32190 (_gethtent): Likewise.
32191
32192 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32193
32194 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32195 cancellation and set FD_CLOEXEC for /etc/netgroup.
32196
32197 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32198 reading /etc/publickey.
32199
32200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32201 allow cancellation when reading /etc/group.
32202
32203 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32204 cancellation.
32205 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32206
32207 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32208 when using data file.
32209
32210 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32211
32212 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32213 (write_nis_obj): Use "c" and "e" in fopen.
32214
32215 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32216
32217 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32218
32219 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32220
32221 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32222
32223 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32224 locale.alias.
32225
32226 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32227
32228 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32229
32230 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32231
32232 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32233 file parsing and set FD_CLOEXEC.
32234
82af0fa8
UD
322352011-11-14 Ulrich Drepper <drepper@gmail.com>
32236
32237 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32238
a5fb313c
AS
322392011-11-14 Andreas Schwab <schwab@redhat.com>
32240
32241 * malloc/arena.c (arena_get2): Don't call reused_arena when
32242 _int_new_arena failed.
32243
6abf3465
UD
322442011-11-14 Ulrich Drepper <drepper@gmail.com>
32245
32246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32247 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32249 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32252 to compile strcasecmp and strncasecmp.
32253 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32254 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32255
32256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32257
76e3966e
UD
322582011-11-13 Ulrich Drepper <drepper@gmail.com>
32259
32260 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32261 locale-defines.sym to gen-as-const-headers.
32262 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32263 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32265 to compile strcasecmp and strncasecmp.
32266 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32267 strcasecmp_l and strncasecmp_l.
32268 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32269 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32270 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32272 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32273 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32274 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32275 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32276 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32277 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32278 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32279
ab26144e
UD
322802011-11-12 Ulrich Drepper <drepper@gmail.com>
32281
7edb22ef
UD
32282 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32283 result of SYSDEP_GETTIME_CPU to retval.
32284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32285 parameter list to macro. Remove trailing semicolon. Adjust users.
32286
9694fc44
UD
32287 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32288 variable.
32289
8ad89ef8
UD
32290 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32291 mantissa words.
32292 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32293
0c822ef9
UD
32294 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32295 from unused variable.
32296
874e0564
UD
32297 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32298 DWARF definitions.
32299 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32300 for assembling.
32301
3a2edc79
UD
32302 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32303 over namespaces.
32304
f3c2577f
UD
32305 * sunrpc/rpc_prot.c (rejected): Fix case value.
32306
294ce126
UD
32307 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32308 unsigned long long int to avoid warnings in shift.
32309
5e2b63c6
UD
32310 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32311 of use of trans.
32312 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32313 variable tmp.
32314
e7f4b08e
UD
32315 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32316 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32317 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32318
ab26144e
UD
32319 * nis/nis_table.c (nis_list): Use variable of correct type for
32320 result of __follow_path call.
32321
8a6d5255
AZ
323222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32323
32324 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32325 of math functions ceil, trunc, floor, round, and sqrt, when
32326 avaliable on the platform.
32327 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32328 name clash.
32329 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32330 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32331 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32332
aaddc98c
MP
323332011-10-30 Marek Polacek <mpolacek@redhat.com>
32334
32335 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32336 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32337
95b7042b
RM
323382011-11-11 Roland McGrath <roland@hack.frob.com>
32339
32340 * include/unistd.h: Fix __readlink return type.
32341 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32342
57769839
UD
323432011-11-11 Ulrich Drepper <drepper@gmail.com>
32344
32345 * stdlib/ucontext.h: Undo last change for makecontext.
32346
edc5984d
AS
323472011-11-11 Andreas Schwab <schwab@redhat.com>
32348
98591e58
AS
32349 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32350
edc5984d
AS
32351 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32352 * setjmp/setjmp.h: Mark functions as non-leaf.
32353 * setjmp/bits/setjmp2.h: Likewise.
32354 * stdlib/ucontext.h: Likewise.
32355
77cdc054
AS
323562011-11-10 Andreas Schwab <schwab@redhat.com>
32357
32358 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32359 (reused_arena): Don't check arena limit.
32360 (arena_get2): Atomically check arena limit.
32361
fe72eebd
UD
323622011-11-08 Ulrich Drepper <drepper@gmail.com>
32363
5f078c32
UD
32364 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32365 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32366
fe72eebd
UD
32367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32368 instructions.
32369
ae1bc2fa
AS
323702011-11-07 Andreas Schwab <schwab@redhat.com>
32371
7583a88d
AS
32372 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32373 handler when locking.
32374
ae1bc2fa
AS
32375 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32376 Fix size of allocated buffer.
32377
10fb0bfa
AS
323782011-11-04 Andreas Schwab <schwab@redhat.com>
32379
998832a4
AS
32380 [BZ #10103]
32381 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32382 declarations for long double functions.
32383 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32384
10fb0bfa
AS
32385 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32386
3d7ba52b
AS
323872011-11-03 Andreas Schwab <schwab@redhat.com>
32388
a9ae54a1
AS
32389 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32390 installed.
32391
3d7ba52b
AS
32392 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32393 is disabled.
32394
bc8db248
ST
323952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32396
32397 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32398
45b96dd6
AS
323992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32400
647776f6
AS
32401 * include/alloca.h (stackinfo_alloca_round): Define.
32402 (extend_alloca): Use it.
32403 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32404 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32405 here.
32406
d91a8b93
AS
32407 * scripts/check-local-headers.sh: Ignore libaudit.h.
32408
45b96dd6
AS
32409 * nscd/Makefile (extra-objs): Make recursively expanded.
32410
432d41ce
UD
324112011-11-01 Ulrich Drepper <drepper@gmail.com>
32412
34372fc6
UD
32413 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32414 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32415
fadb59f8
UD
32416 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32417 * posix/tst-rfc3484-2.c: Likewise.
32418 * posix/tst-rfc3484-3.c: Likewise.
32419
78239589
UD
32420 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32421 process_vm_writev.
32422 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32423 process_vm_writev.
32424 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32425 process_vm_writev from libc using GLIBC_2.15 version.
32426
432d41ce
UD
32427 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32428
02f9c6cf
PP
324292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32430
32431 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32432 stack usage.
32433
3a2c0242
UD
324342011-10-31 Ulrich Drepper <drepper@gmail.com>
32435
f4ec4833
UD
32436 [BZ #13367]
32437 * nss/getent.c (initgroups_keys): Show error message in case no group
32438 names are given.
32439
3a2c0242
UD
32440 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32441 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32442 __bump_nl_timestamp.
32443 * nscd/connections (nscd_init): When host database is served open
32444 netlink socket and request notification about configuration changes.
32445 (main_loop_poll): Track netlink file descriptor and bump timestamp
32446 in case data becomes available.
32447 (main_loop_epoll): Likewise.
32448 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32449 (database_pers_head): Add extra_data fileds.
32450 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32451 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32452 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32453 Adjust caller.
32454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32455 in6ai data, call __free_in6ai.
32456 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32457 Add -DHAVE_NETLINK.
32458 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32459 interface information. Reuse previous data if netlink timestamp
32460 is not changed.
32461 (__bump_nl_timestamp): New function.
32462 (__free_in6ai): New function.
32463
636064eb
UD
324642011-10-30 Ulrich Drepper <drepper@gmail.com>
32465
32466 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32467 close_not_cancel_no_status here.
32468 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32469
9beb2334
UD
324702011-10-29 Ulrich Drepper <drepper@gmail.com>
32471
6ef76f3b
UD
32472 [BZ #13276]
32473 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32474 return value.
32475
0ffc4f3e 32476 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32477 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32478 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32479
cb95113e
UD
324802011-07-03 Andreas Jaeger <aj@suse.de>
32481
32482 [BZ #10709]
32483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32484 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32485 * math/libm-test.inc (sin_test): Add test case.
32486
a1b560ff
UD
324872011-10-29 Ulrich Drepper <drepper@gmail.com>
32488
c9aaface
UD
32489 [BZ #13337]
32490 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32491 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32492
d272e7f1
UD
32493 * elf/chroot_canon.c (chroot_canon): Cleanups.
32494
1bc33071
UD
32495 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32496
1760874d
TJ
32497 [BZ #13335]
32498 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32499 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32500
51d91b18
UD
32501 * string/test-strchr.c: Make usable for strchrnul testing.
32502 * string/test-strchrnul.c: New file.
32503 * string/Makefile (strop-tests): Add strchrnul.
32504
a1b560ff 32505 * po/it.po: Update from translation team.
b611fb81 32506 * po/es.po: Likewise.
a1b560ff 32507
a5b81e1f
UD
325082011-10-28 Ulrich Drepper <drepper@gmail.com>
32509
fd52bc6d
UD
32510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32511 the three constants needed as parameters. Drop the others.
32512 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32513 __m128i_strloadu_tolower.
52e4b9eb
UD
32514 Create and initialize variable zero and use it in all the places
32515 where _mm_setzero_si128 was used.
fd52bc6d 32516
a5b81e1f
UD
32517 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32518 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32519 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32520 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32521 anymore.
32522 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32523 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32524 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32525 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32526 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32527 __mpranred, __mptan.
32528 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32529 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32530 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32531 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32532 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32533 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32535 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32536 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32537
b4343346
AS
325382011-10-28 Andreas Schwab <schwab@redhat.com>
32539
0c92d8a8
AS
32540 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32541 redefine if SHARED.
32542 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32543
b4343346
AS
32544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32545 wide char related routines to wcsmbs subdir.
32546
3871f58f
AS
325472011-10-27 Andreas Schwab <schwab@redhat.com>
32548
32549 [BZ #13344]
32550 * misc/sys/cdefs.h (__THROWNL): Define.
32551 * posix/unistd.h: Use __THREADNL instead of __THREAD
32552 for memory synchronization functions.
32553
94d44d9f
RM
325542011-10-26 Roland McGrath <roland@hack.frob.com>
32555
21b64b15 32556 [BZ #13349]
94d44d9f
RM
32557 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32558 doesn't exist.
32559 * manual/stdio.texi (Obstack Streams): Node removed.
32560
f6ce9294
AS
325612011-10-26 Andreas Schwab <schwab@redhat.com>
32562
80479147
AS
32563 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32564 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32565 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32566
f6ce9294
AS
32567 * math/math_private.h (math_force_eval): Allow non-addressable
32568 arguments.
32569 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32570
618280a1
UD
325712011-10-25 Ulrich Drepper <drepper@gmail.com>
32572
e0016b11
UD
32573 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32574 file is not needed.
32575
32576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32577 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32578 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32579 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32580 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32582 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32583 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32584 Add AVX variants.
32585 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32586 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32587 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32588 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32589 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32590 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32591 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32592 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32593 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32594 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32595 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32596 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32598 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32599 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32600 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32601 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32602 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32603 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32604
32605 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32606 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32607
618280a1
UD
32608 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32609 place. Use VEX encoding when compiling for AVX.
32610
37822576
AS
326112011-10-25 Andreas Schwab <schwab@redhat.com>
32612
1f1e1947
AS
32613 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32614 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32615
37822576
AS
32616 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32617
31ea014d
UD
326182011-10-25 Ulrich Drepper <drepper@gmail.com>
32619
d7826aa1 32620 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32621 useless if() expression.
d7826aa1
UD
32622 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32627 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32628 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32630 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32634 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32636 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32640 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32641
31ea014d
UD
32642 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32643
16437fec
AS
326442011-10-25 Andreas Schwab <schwab@redhat.com>
32645
32646 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32647 condition.
32648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32649
31d3cc00
UD
326502011-10-25 Ulrich Drepper <drepper@gmail.com>
32651
32652 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32653 .text section. Avoid duplicate constants.
32654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32663 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32664 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32665 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32666 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32667 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32668 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32669 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32670 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32671 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32677 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32678 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32679 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32680 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32681 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32682 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32683 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32684 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32685 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32686 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32687 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32688 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32689 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32690 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32691 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32692 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32693 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32696 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32698 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32699
58985aa9
UD
327002011-10-24 Ulrich Drepper <drepper@gmail.com>
32701
202c9deb
UD
32702 * sysdeps/x86_64/dla.h: Move to ...
32703 * sysdeps/x86_64/fpu/dla.h: ...here.
32704 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32705 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32706
af968f62
UD
32707 * config.make.in: Add have-mfma4 entry.
32708 * configure.in: Substitute libc_cv_cc_fma4.
32709 * math/Makefile (dbl-only-routines): Add sincostab.
32710 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32711 Use __sincostab not sincos.
32712 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32713 name is a macro.
32714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32718 using __copysign.
32719 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32720 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32721 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32722 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32723 and __inv.
32724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32725 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32726 __copysign.
32727 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32728 define aliases when function name is a macro.
32729 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32730 sysdeps/ieee754/dbl-64/sincos.tbl.
32731 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32732 fma4-enabled routines.
32733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32738 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32743 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32744 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32745 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32746 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32750 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32751 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32760 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32761 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32763
58985aa9
UD
32764 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32765 rename.
32766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32774
a201fbcf
AS
327752011-10-24 Andreas Schwab <schwab@redhat.com>
32776
32777 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32778
fc2ee42a
LD
327792011-10-23 Ulrich Drepper <drepper@gmail.com>
32780
bb3129bd
UD
32781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32782
0275fff8
UD
32783 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32784 prediction.
32785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32786
2fa2ae85
UD
32787 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32788 Remove unused variable magic_bits.
32789 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32790
fc2ee42a
LD
32791 * string/strnlen.c: Define and use STRNLEN macro.
32792 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32793 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32795 * wcsmbs/wcslen.c: Define and use WCSLEN.
32796 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32797 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32798 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32799 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32800 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32801 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32802 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32803
ce7dd29f
LD
328042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32805
32806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32807 strnlen-sse2-no-bsf.
32808 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32809 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32810 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32811 Add strnlen support.
32812 (USE_AS_STRNLEN): New macro.
32813 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32814 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32815 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32816 * sysdeps/x86_64/wcslen.S: New file.
32817
979c70a3
MZ
328182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32819
32820 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32821 XMM-moves are used for copying on small sizes.
32822
2d09f82f
LD
328232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32824
32825 * wcsmbs/Makefile (strop-tests): Add wcschr.
32826 * wcsmbs/test-wcschr.c: New file.
32827 * string/test-strchr.c: Update.
32828 Add wcschr support.
32829 (WIDE): New macro.
32830
619fccca
LD
328312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32832
2d09f82f 32833 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32834 * wcsmbs/test-wcslen.c: New file.
32835 * string/test-strlen.c: Update.
32836 Add wcslen support.
32837 (WIDE): New macro.
32838
09f699ea
UD
328392011-10-23 Ulrich Drepper <drepper@gmail.com>
32840
32841 * po/it.po: Update from translation team.
32842
95584d3b
LD
328432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32844
32845 * sysdeps/x86_64/wcscmp.S: Update.
32846 Fix wrong comparison semantics.
32847 wcscmp shall use signed comparison not unsigned.
32848 Don't use substraction to avoid overflow bug.
32849 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32850 * wcsmbc/wcscmp.c: Likewise.
32851 * string/test-strcmp.c: Likewise.
32852 Add new tests to check cases with negative values.
32853
c8b3296b
UD
328542011-10-23 Ulrich Drepper <drepper@gmail.com>
32855
32856 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32857 * sysdeps/x86_64/dla.h: ...here. New file.
32858 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32867
246ad57a
AS
328682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32869
32870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32871 __ynl_finite aliases.
32872
a1a87169
UD
328732011-10-22 Ulrich Drepper <drepper@gmail.com>
32874
0d355eb7
UD
32875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32876
a1a87169
UD
32877 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32878 define DLA_FMA.
32879 [DLA_FMA] (EMULV): Use DLA_FMA.
32880 [DLA_FMA] (MUL12): Use EMULV.
32881 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32882 that are not needed.
32883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32890
ee2aafe0
AS
328912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32892
32893 * math/s_nan.c: Undef __nan.
32894 * math/s_nanf.c: Undef __nanf.
32895 * math/s_nanl.c: Undef __nanl.
32896 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32897 "math_private.h".
32898
bc62c2fb
UD
328992011-10-22 Ulrich Drepper <drepper@gmail.com>
32900
77425c63
UD
32901 * math/s_catan.c: Add branch predictions.
32902 * math/s_catanf.c: Likewise.
32903 * math/s_catanh.c: Likewise.
32904 * math/s_catanhf.c: Likewise.
32905 * math/s_catanhl.c: Likewise.
32906 * math/s_catanl.c: Likewise.
32907 * math/s_cexp.c: Likewise.
32908 * math/s_cexpf.c: Likewise.
32909 * math/s_cexpl.c: Likewise.
32910 * math/s_clog.c: Likewise.
32911 * math/s_clog10.c: Likewise.
32912 * math/s_clog10f.c: Likewise.
32913 * math/s_clog10l.c: Likewise.
32914 * math/s_clogf.c: Likewise.
32915 * math/s_clogl.c: Likewise.
32916 * math/s_csqrt.c: Likewise.
32917 * math/s_csqrtf.c: Likewise.
32918 * math/s_csqrtl.c: Likewise.
32919 * math/s_ctanf.c: Likewise.
32920 * math/s_ctanh.c: Likewise.
32921 * math/s_ctanhf.c: Likewise.
32922 * math/s_ctanhl.c: Likewise.
32923 * math/s_ctanl.c: Likewise.
32924
bc62c2fb
UD
32925 * math/math_private.h: Define __nan, __nanf, __nanl.
32926 * math/s_cacosh.c: Include <math_private.h>.
32927 * math/s_cacoshl.c: Likewise.
32928 * math/s_casinh.c: Likewise.
32929 * math/s_casinhf.c: Likewise.
32930 * math/s_casinhl.c: Likewise.
32931 * math/s_ccos.c: Rely entire on ccosh.
32932 * math/s_ccosf.c: Rely entire on ccoshf.
32933 * math/s_ccosl.c: Rely entirely on ccoshl.
32934 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32935 Remove tests for FE_INVALID.
32936 * math/s_ccoshf.c: Likewise.
32937 * math/s_ccoshl.c: Likewise.
32938 * math/s_csin.c: Likewise.
32939 * math/s_csinf.c: Likewise.
32940 * math/s_csinh.c Likewise.
32941 * math/s_csinhf.c: Likewise.
32942 * math/s_csinhl.c: Likewise.
32943 * math/s_csinl.c: Likewise.
32944 * math/s_ctan.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32946 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32948
8ec250a4
UD
329492011-10-21 Ulrich Drepper <drepper@gmail.com>
32950
c196fed8
UD
32951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32952 compilation problems.
32953
8ec250a4
UD
32954 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32955 __builtin_expect.
32956
8d4f46c6
UD
329572011-10-20 Ulrich Drepper <drepper@gmail.com>
32958
ed72b654
UD
32959 * sysdeps/i386/configure.in: Test for -mfma4 option.
32960 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32961 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32962 COMMON_CPUID_INDEX_80000001.
32963 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32964 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32965 use it if FMA3 is not supported.
32966 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32967
8d4f46c6
UD
32968 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32969 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32970
d45c60c2
AS
329712011-10-20 Andreas Schwab <schwab@redhat.com>
32972
32973 [BZ #12892]
32974 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32975 it would create a cycle with a link time dependency.
32976
d9a4d2ab
UD
329772011-10-19 Ulrich Drepper <drepper@gmail.com>
32978
855d1560
UD
32979 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32980 instruction.
32981 * string/Makefile (strop-tests): Add rawmemchr.
32982 * string/test-rawmemchr.c: New file.
32983
d9a4d2ab
UD
32984 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32986 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32987 when compiling str{,n}casecmp and when AVX is available. Hook up
32988 new optimized code in initializers.
32989
8f3b1ffe
AS
329902011-10-19 Andreas Schwab <schwab@redhat.com>
32991
32992 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32993 __feraiseexcept instead of feraiseexcept.
32994
d38f1dba
UD
329952011-10-18 Ulrich Drepper <drepper@gmail.com>
32996
d9a8d0ab
UD
32997 * math/math_private.h: Define defaults for libc_fetestexcept and
32998 libc_feupdateenv.
32999 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33000 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33001 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33002 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33003 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33004 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33005 libc_fetestexcept and libc_feupdateenv.
33006
4855e3dd
UD
33007 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33008 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33009 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33010 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33011 libc_feholdexcept_setround.
33012
581d30e3
UD
33013 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33014 Add s_nearbyint-c and s_nearbyintf-c.
33015 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33016 nearbyintf inlines.
33017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33018 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33020 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33021
d38f1dba
UD
33022 * math/math_private.h: Define defaults for libc_fegetround,
33023 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33024 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33025 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33026 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33027 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33028 standard functions.
33029 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33030 Remove comments and hacks for old compiler versions.
33031 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33032 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33033 libc_feholdexceptl.
33034
caa6c9d8
AS
330352011-10-18 Andreas Schwab <schwab@redhat.com>
33036
33037 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33038 (__feraiseexcept_renamed): Add __NTH.
33039 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33040 namespace violations.
33041
97c066e6
UD
330422011-10-17 Ulrich Drepper <drepper@gmail.com>
33043
99ce7b04
UD
33044 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33045
1004d182
UD
33046 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33047
228a984d
UD
33048 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33049 recently added interfaces.
33050 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33051
c8553a6a
UD
33052 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33053 about macro parameter expansion.
33054
ed22dcf6
UD
33055 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33056 __NO_MATH_INLINES is defined. Cleanups.
33057
33058 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33059 and __floorf is target has SSE4.1.
33060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33061 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33064
b171c137
UD
33065 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33066 name.
33067 (floorf): Likewise.
33068
97c066e6
UD
33069 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33070
629f62ef
AS
330712011-10-17 Andreas Schwab <schwab@redhat.com>
33072
49a43d80
AS
33073 * misc/sys/cdefs.h: Fix last change.
33074
629f62ef
AS
33075 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33076 database lookup.
33077
e453f6cd
UD
330782011-10-16 Ulrich Drepper <drepper@gmail.com>
33079
aa78043a
UD
33080 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33081
ad0f5cad
UD
33082 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33092 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33093 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33094 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33095 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33096 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33097 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33098 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33099 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33100 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33101 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33102 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33103 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33104
33105 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33106 ceil, ceilf, floor, floorf.
33107
33108 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33109 Perform IRELATIVE relocations last.
33110
e453f6cd
UD
33111 * elf/do-rel.h: Add another parameter nrelative, replacing the
33112 local variable with the same name. Change name of the function
33113 to end in Rel or Rela (uppercase).
33114 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33115 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33116 elf_dynamic_do_##reloc function.
33117
fd5bdc09
UD
331182011-10-15 Ulrich Drepper <drepper@gmail.com>
33119
79b195b5
UD
33120 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33121 is sufficient, at least on modern CPUs.
33122
d4a28569
UD
33123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33124
b61099b5
UD
33125 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33126 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33127
bcf01e6d
UD
33128 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33129 __expl_finite.
33130 * math/bits/math-finite.h: Add entries for exp.
33131 * math/e_expl.c: Add __*_finite alias.
33132 * sysdeps/i386/fpu/e_exp.S: Likewise.
33133 * sysdeps/i386/fpu/e_expf.S: Likewise.
33134 * sysdeps/i386/fpu/e_expl.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33136 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33140 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33141 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33142
ba1a0d59
UD
33143 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33144 is sufficient, at least on modern CPUs.
33145
fd5bdc09
UD
33146 * ctype/ctype-info.c (__ctype_init): Define.
33147 * include/ctype.h (__ctype_init): Declare.
33148 (__ctype_b_loc): The variable is always initialized.
33149 (__ctype_toupper_loc): Likewise.
33150 (__ctype_tolower_loc): Likewise.
33151 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33152 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33153
7872cfb0
AS
331542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33155
b468825a
AS
33156 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33157
7872cfb0
AS
33158 * configure.in: Also look in $cxxmachine/include for C++ system
33159 headers.
33160
be13f7bf
LD
331612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33162
33163 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33164 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33165 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33166 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33168 (USE_AS_WMEMCMP): New macro.
33169 Fixing indents.
33170 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33171 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33172 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33173 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33175 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33176 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33177 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33178 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33179 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33180 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33181 (USE_AS_WMEMCMP): New macro.
33182 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33183 * sysdeps/string/test-memcmp.c: Update.
33184 Fix simple_wmemcmp.
33185 Add new tests.
33186 * wcsmbs/wmemcmp.c: Update.
33187 (WMEMCMP): New macro.
33188 Fix overflow bug.
33189
556a2007
AJ
331902011-10-12 Andreas Jaeger <aj@suse.de>
33191
33192 [BZ #13268]
33193 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33194
538faaa7
UD
331952011-10-15 Ulrich Drepper <drepper@gmail.com>
33196
ab6737ff
UD
33197 * libio/iofwide.c (do_length): Avoid warning.
33198
538faaa7
UD
33199 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33200
396a21b1
UD
332012011-10-14 Ulrich Drepper <drepper@gmail.com>
33202
cdf2901f
UD
33203 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33204
38ad40ce
UD
33205 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33206 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33207 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33208 * sysdeps/i386/i686/fpu/e_log.S: New file.
33209 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33210 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33211
396a21b1
UD
33212 * ctype/ctype.h: Add support for inlined isXXX functions when
33213 compiling C++ code.
33214
6b1f68c9
AS
332152011-10-14 Andreas Schwab <schwab@redhat.com>
33216
349290c0
AS
33217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33218
6b1f68c9
AS
33219 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33220
f2282d42
RM
332212011-10-13 Roland McGrath <roland@hack.frob.com>
33222
33223 [BZ #13291]
33224 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33225
5298ffa8
AS
332262011-10-13 Andreas Schwab <schwab@redhat.com>
33227
714fad23
AS
33228 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33229 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33230 feraiseexcept.
33231
81dcc7fb
AS
33232 * sysdeps/x86_64/memrchr.S: Check for zero size.
33233
5298ffa8
AS
33234 * string/stratcliff.c: Add memrchr tests.
33235
951fbcec
LD
332362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33237
33238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33239 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33240 rawmemchr-sse2 rawmemchr-sse2-bsf.
33241 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33242 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33243 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33244 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33245 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33246 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33247 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33248 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33250 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33251 * string/memrchr.c (MEMRCHR): New macro.
33252
0ac5ae23
UD
332532011-10-12 Ulrich Drepper <drepper@gmail.com>
33254
33255 Add integration with gcc's -ffinite-math-only and optimize wrapper
33256 functions in libm.
33257 * Versions.def: Define GLIBC_2.15 version for libm.
33258 * math/Makefile (headers): Add bits/math-finite.h.
33259 * math/bits/math-finite.h: New file.
33260 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33261 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33262 * math/e_acoshl.c: Add __*_finite alias.
33263 * math/e_acosl.c: Likewise.
33264 * math/e_asinl.c: Likewise.
33265 * math/e_atan2l.c: Likewise.
33266 * math/e_atanhl.c: Likewise.
33267 * math/e_coshl.c: Likewise.
33268 * math/e_exp10.c: Likewise.
33269 * math/e_exp10f.c: Likewise.
33270 * math/e_exp10l.c: Likewise.
33271 * math/e_exp2l.c: Likewise.
33272 * math/e_fmodl.c: Likewise.
33273 * math/e_gammal_r.c: Likewise.
33274 * math/e_hypotl.c: Likewise.
33275 * math/e_j0l.c: Likewise.
33276 * math/e_j1l.c: Likewise.
33277 * math/e_jnl.c: Likewise.
33278 * math/e_lgammal_r.c: Likewise.
33279 * math/e_log10l.c: Likewise.
33280 * math/e_log2l.c: Likewise.
33281 * math/e_logl.c: Likewise.
33282 * math/e_powl.c: Likewise.
33283 * math/e_sinhl.c: Likewise.
33284 * math/e_sqrtl.c: Likewise.
33285 * math/e_scalb.c: Completely rewritten and optimized.
33286 * math/e_scalbf.c: Likewise.
33287 * math/e_scalbl.c: Likewise.
33288 * math/w_acos.c: Likewise.
33289 * math/w_acosf.c: Likewise.
33290 * math/w_acosl.c: Likewise.
33291 * math/w_acosh.c: Likewise.
33292 * math/w_acoshf.c: Likewise.
33293 * math/w_acoshl.c: Likewise.
33294 * math/w_asin.c: Likewise.
33295 * math/w_asinf.c: Likewise.
33296 * math/w_asinl.c: Likewise.
33297 * math/w_atan2.c: Likewise.
33298 * math/w_atan2f.c: Likewise.
33299 * math/w_atan2l.c: Likewise.
33300 * math/w_atanh.c: Likewise.
33301 * math/w_atanhf.c: Likewise.
33302 * math/w_atanhl.c: Likewise.
33303 * math/w_exp10.c: Likewise.
33304 * math/w_exp10f.c: Likewise.
33305 * math/w_exp10l.c: Likewise.
33306 * math/w_fmod.c: Likewise.
33307 * math/w_fmodf.c: Likewise.
33308 * math/w_fmodl.c: Likewise.
33309 * math/w_j0.c: Likewise.
33310 * math/w_j0f.c: Likewise.
33311 * math/w_j0l.c: Likewise.
33312 * math/w_j1.c: Likewise.
33313 * math/w_j1f.c: Likewise.
33314 * math/w_j1l.c: Likewise.
33315 * math/w_jn.c: Likewise.
33316 * math/w_jnf.c: Likewise.
33317 * math/w_log.c: Likewise.
33318 * math/w_logf.c: Likewise.
33319 * math/w_logl.c: Likewise.
33320 * math/w_log10.c: Likewise.
33321 * math/w_log10f.c: Likewise.
33322 * math/w_log10l.c: Likewise.
33323 * math/w_log2.c: Likewise.
33324 * math/w_log2f.c: Likewise.
33325 * math/w_log2l.c: Likewise.
33326 * math/w_pow.c: Likewise.
33327 * math/w_powf.c: Likewise.
33328 * math/w_powl.c: Likewise.
33329 * math/w_remainder.c: Likewise.
33330 * math/w_remainderf.c: Likewise.
33331 * math/w_remainderl.c: Likewise.
33332 * math/w_scalb.c: Likewise.
33333 * math/w_scalbf.c: Likewise.
33334 * math/w_scalbl.c: Likewise.
33335 * math/w_sqrt.c: Likewise.
33336 * math/w_sqrtf.c: Likewise.
33337 * math/w_sqrtl.c: Likewise.
33338 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33339 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33340 used.
33341 * math/math_private.h: Declare __kernel_standard_f.
33342 * math/w_cosh.c: Remove cruft and optimize a bit.
33343 * math/w_coshf.c: Likewise.
33344 * math/w_coshl.c: Likewise.
33345 * math/w_exp2.c: Likewise.
33346 * math/w_exp2f.c: Likewise.
33347 * math/w_exp2l.c: Likewise.
33348 * math/w_hypot.c: Likewise.
33349 * math/w_hypotf.c: Likewise.
33350 * math/w_hypotl.c: Likewise.
33351 * math/w_lgamma.c: Likewise.
33352 * math/w_lgamma_r.c: Likewise.
33353 * math/w_lgammaf.c: Likewise.
33354 * math/w_lgammaf_r.c: Likewise.
33355 * math/w_lgammal.c: Likewise.
33356 * math/w_lgammal_r.c: Likewise.
33357 * math/w_sinh.c: Likewise.
33358 * math/w_sinhf.c: Likewise.
33359 * math/w_sinhl.c: Likewise.
33360 * math/w_tgamma.c: Likewise.
33361 * math/w_tgammaf.c: Likewise.
33362 * math/w_tgammal.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33365 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33366 Minor optimizations. Pretty printing. Remove cruft.
33367 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33368 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33370 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33371 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33372 * sysdeps/i386/fpu/e_asin.S: Likewise.
33373 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33374 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33375 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33376 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33377 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33378 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33380 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33381 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33382 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33383 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33384 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33385 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33386 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33387 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33388 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33389 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33390 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33391 * sysdeps/i386/fpu/e_log.S: Likewise.
33392 * sysdeps/i386/fpu/e_log10.S: Likewise.
33393 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33394 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33395 * sysdeps/i386/fpu/e_log2.S: Likewise.
33396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33398 * sysdeps/i386/fpu/e_logf.S: Likewise.
33399 * sysdeps/i386/fpu/e_logl.S: Likewise.
33400 * sysdeps/i386/fpu/e_pow.S: Likewise.
33401 * sysdeps/i386/fpu/e_powf.S: Likewise.
33402 * sysdeps/i386/fpu/e_powl.S: Likewise.
33403 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33404 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33405 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33406 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33407 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33408 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33409 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33410 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33411 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33415 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33416 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33417 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33418 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33419 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33423 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33425 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33426 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33428 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33429 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33430 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33431 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33432 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33433 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33434 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33435 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33436 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33437 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33438 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33439 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33440 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33441 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33442 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33443 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33444 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33446 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33447 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33448 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33449 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33450 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33451 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33452 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33453 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33495 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33497 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33500 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33503 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33504 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33505 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33506 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33507 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33508 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33509 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33510 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33511 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33512 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33513 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33514 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33515 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33516 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33517 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33518 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33520 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33521 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33522 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33523 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33524 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33525 (__isnanf): Likewise.
33526 (__isinf_ns): Likewise.
33527 (__isinf_nsf): Likewise.
33528 (__finite): Likewise.
33529 (__finitef): Likewise.
33530 (__ieee754_sqrt): Define as macro.
33531 (__ieee754_sqrtf): Define as macro.
33532 (__ieee754_sqrtl): Define as macro.
33533 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33534 inlined copy.
33535 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33536 __FINITE_MATH_ONLY__ consistent.
33537 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33538
12cc2fcd
AS
335392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33540
a843a204
AS
33541 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33542 of rawmemchr.
33543
12cc2fcd
AS
33544 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33545
c853acd5
UD
335462011-10-09 Ulrich Drepper <drepper@gmail.com>
33547
33548 * po/ja.po: Update from translation team.
33549
c658d255
RM
335502011-10-08 Roland McGrath <roland@hack.frob.com>
33551
110946e4
RM
33552 * locale/programs/locarchive.c (prepare_address_space): New function.
33553 (create_archive, enlarge_archive, open_archive): Use it.
33554
50604220
RM
33555 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33556 inside [SHARED], where it is used.
33557
c658d255
RM
33558 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33559
33560 * nss/getent.c (netgroup_keys): Remove unused variable.
33561 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33562
6a621eb7
UD
335632011-10-08 Ulrich Drepper <drepper@gmail.com>
33564
7edb55ce
UD
33565 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33569 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33570 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33571 * math/Makefile (libm-calls): Add s_isinf_ns.
33572 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33573 * math/multc3.c: Likewise.
33574 * math/s_casin.c: Likewise.
33575 * math/s_casinf.c: Likewise.
33576 * math/s_casinl.c: Likewise.
33577 * math/s_ccos.c: Likewise.
33578 * math/s_ccosf.c: Likewise.
33579 * math/s_ccosl.c: Likewise.
33580 * math/s_ctan.c: Likewise.
33581 * math/s_ctanf.c: Likewise.
33582 * math/s_ctanh.c: Likewise.
33583 * math/s_ctanhf.c: Likewise.
33584 * math/s_ctanhl.c: Likewise.
33585 * math/s_ctanl.c: Likewise.
33586 * math/w_fmod.c: Likewise.
33587 * math/w_fmodf.c: Likewise.
33588 * math/w_fmodl.c: Likewise.
33589 * math/w_remainder.c: Likewise.
33590 * math/w_remainderf.c: Likewise.
33591 * math/w_remainderl.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33593 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33596 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33597 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33598 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33599 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33600
187da0ae
UD
33601 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33602 of the number.
33603 * stdio-common/printf_fphex.c: Likewise.
33604 * stdio-common/printf_size.c: Likewise.
33605
9277c064
UD
33606 * math/e_exp10.c: Include math_private.h using <...> not "...".
33607 * math/e_exp10f.c: Likewise.
33608 * math/e_exp10l.c: Likewise.
33609 * math/e_exp2l.c: Likewise.
33610 * math/e_j0l.c: Likewise.
33611 * math/e_j1l.c: Likewise.
33612 * math/e_jnl.c: Likewise.
33613 * math/e_lgammal_r.c: Likewise.
33614 * math/e_rem_pio2l.c: Likewise.
33615 * math/e_scalb.c: Likewise.
33616 * math/e_scalbf.c: Likewise.
33617 * math/e_scalbl.c: Likewise.
33618 * math/k_cosl.c: Likewise.
33619 * math/k_sinl.c: Likewise.
33620 * math/k_tanl.c: Likewise.
33621 * math/s_cacoshf.c: Likewise.
33622 * math/s_catan.c: Likewise.
33623 * math/s_catanf.c: Likewise.
33624 * math/s_catanh.c: Likewise.
33625 * math/s_catanhf.c: Likewise.
33626 * math/s_catanhl.c: Likewise.
33627 * math/s_catanl.c: Likewise.
33628 * math/s_ccosh.c: Likewise.
33629 * math/s_ccoshf.c: Likewise.
33630 * math/s_ccoshl.c: Likewise.
33631 * math/s_cexp.c: Likewise.
33632 * math/s_cexpf.c: Likewise.
33633 * math/s_cexpl.c: Likewise.
33634 * math/s_clog.c: Likewise.
33635 * math/s_clog10.c: Likewise.
33636 * math/s_clog10f.c: Likewise.
33637 * math/s_clog10l.c: Likewise.
33638 * math/s_clogf.c: Likewise.
33639 * math/s_clogl.c: Likewise.
33640 * math/s_csin.c: Likewise.
33641 * math/s_csinf.c: Likewise.
33642 * math/s_csinh.c: Likewise.
33643 * math/s_csinhf.c: Likewise.
33644 * math/s_csinhl.c: Likewise.
33645 * math/s_csinl.c: Likewise.
33646 * math/s_csqrt.c: Likewise.
33647 * math/s_csqrtf.c: Likewise.
33648 * math/s_csqrtl.c: Likewise.
33649 * math/s_ctan.c: Likewise.
33650 * math/s_ctanf.c: Likewise.
33651 * math/s_ctanh.c: Likewise.
33652 * math/s_ctanhf.c: Likewise.
33653 * math/s_ctanhl.c: Likewise.
33654 * math/s_ctanl.c: Likewise.
33655 * math/s_ldexp.c: Likewise.
33656 * math/s_ldexpf.c: Likewise.
33657 * math/s_ldexpl.c: Likewise.
33658 * math/s_significand.c: Likewise.
33659 * math/s_significandf.c: Likewise.
33660 * math/s_significandl.c: Likewise.
33661 * math/w_acos.c: Likewise.
33662 * math/w_acosf.c: Likewise.
33663 * math/w_acosh.c: Likewise.
33664 * math/w_acoshf.c: Likewise.
33665 * math/w_acoshl.c: Likewise.
33666 * math/w_acosl.c: Likewise.
33667 * math/w_asin.c: Likewise.
33668 * math/w_asinf.c: Likewise.
33669 * math/w_asinl.c: Likewise.
33670 * math/w_atan2.c: Likewise.
33671 * math/w_atan2f.c: Likewise.
33672 * math/w_atan2l.c: Likewise.
33673 * math/w_atanh.c: Likewise.
33674 * math/w_atanhf.c: Likewise.
33675 * math/w_atanhl.c: Likewise.
33676 * math/w_cosh.c: Likewise.
33677 * math/w_coshf.c: Likewise.
33678 * math/w_coshl.c: Likewise.
33679 * math/w_dremf.c: Likewise.
33680 * math/w_exp10.c: Likewise.
33681 * math/w_exp10f.c: Likewise.
33682 * math/w_exp10l.c: Likewise.
33683 * math/w_exp2.c: Likewise.
33684 * math/w_exp2f.c: Likewise.
33685 * math/w_fmod.c: Likewise.
33686 * math/w_fmodf.c: Likewise.
33687 * math/w_fmodl.c: Likewise.
33688 * math/w_hypot.c: Likewise.
33689 * math/w_hypotf.c: Likewise.
33690 * math/w_hypotl.c: Likewise.
33691 * math/w_j0.c: Likewise.
33692 * math/w_j0f.c: Likewise.
33693 * math/w_j0l.c: Likewise.
33694 * math/w_j1.c: Likewise.
33695 * math/w_j1f.c: Likewise.
33696 * math/w_j1l.c: Likewise.
33697 * math/w_jn.c: Likewise.
33698 * math/w_jnf.c: Likewise.
33699 * math/w_jnl.c: Likewise.
33700 * math/w_lgamma.c: Likewise.
33701 * math/w_lgamma_r.c: Likewise.
33702 * math/w_lgammaf.c: Likewise.
33703 * math/w_lgammaf_r.c: Likewise.
33704 * math/w_lgammal.c: Likewise.
33705 * math/w_lgammal_r.c: Likewise.
33706 * math/w_log.c: Likewise.
33707 * math/w_log10.c: Likewise.
33708 * math/w_log10f.c: Likewise.
33709 * math/w_log10l.c: Likewise.
33710 * math/w_log2.c: Likewise.
33711 * math/w_log2f.c: Likewise.
33712 * math/w_log2l.c: Likewise.
33713 * math/w_logf.c: Likewise.
33714 * math/w_logl.c: Likewise.
33715 * math/w_pow.c: Likewise.
33716 * math/w_powf.c: Likewise.
33717 * math/w_powl.c: Likewise.
33718 * math/w_remainder.c: Likewise.
33719 * math/w_remainderf.c: Likewise.
33720 * math/w_remainderl.c: Likewise.
33721 * math/w_scalb.c: Likewise.
33722 * math/w_scalbf.c: Likewise.
33723 * math/w_scalbl.c: Likewise.
33724 * math/w_sinh.c: Likewise.
33725 * math/w_sinhf.c: Likewise.
33726 * math/w_sinhl.c: Likewise.
33727 * math/w_sqrt.c: Likewise.
33728 * math/w_sqrtf.c: Likewise.
33729 * math/w_sqrtl.c: Likewise.
33730 * math/w_tgamma.c: Likewise.
33731 * math/w_tgammaf.c: Likewise.
33732 * math/w_tgammal.c: Likewise.
33733
6a621eb7
UD
33734 * po/ja.po: Update from translation team.
33735
bf582445
AJ
337362011-09-29 Andreas Jaeger <aj@suse.de>
33737
f9efbf3a
AJ
33738 [BZ #13179]
33739 * sunrpc/netname.c (netname2host): Fix logic.
33740
bf582445
AJ
33741 [BZ #6779]
33742 [BZ #6783]
33743 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33744 correctly.
33745 * math/w_remainder.c (__remainder): Likewise.
33746 * math/w_remainderf.c (__remainderf): Likewise.
33747 * math/libm-test.inc (remainder_test): Add test cases.
33748
48693bea
AK
337492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33750
33751 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33752 sdiv_qrnnd.
33753
42622229
LD
337542011-10-07 Ulrich Drepper <drepper@gmail.com>
33755
33756 * string/test-memcmp.c: Avoid unncessary #defines.
33757 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33758
093ecf92
LD
337592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33760
33761 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33762 Use new sse2 version for core i3 - i7 as it's faster
33763 than sse42 version.
33764 (bit_Prefer_PMINUB_for_stringop): New.
33765 * sysdeps/x86_64/rawmemchr.S: Update.
33766 Replace with faster SSE2 version.
33767 * sysdeps/x86_64/memrchr.S: New file.
33768 * sysdeps/x86_64/memchr.S: Update.
33769 Replace with faster SSE2 version.
33770
fde56e5c
MP
337712011-09-12 Marek Polacek <mpolacek@redhat.com>
33772
33773 * elf/dl-load.c (lose): Add cast to avoid warning.
33774
21fd49a9
UD
337752011-10-07 Ulrich Drepper <drepper@gmail.com>
33776
5a06e643
UD
33777 * po/ca.po: Update from translation team.
33778
684ae515
UD
33779 * inet/getnetgrent_r.c: Hook up nscd.
33780 * nscd/Makefile (routines): Add nscd_netgroup.
33781 (nscd-modules): Add netgroupcache.
33782 (CFLAGS-netgroupcache.c): Define.
33783 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33784 (cache_search): Add const to second parameter.
33785 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33786 INNETGR.
33787 (dbs): Add netgrdb entry.
33788 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33789 (verify_persistent_db): Handle netgrdb.
33790 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33791 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33792 GETFDNETGR.
33793 (netgroup_response_header): Define.
33794 (innetgroup_response_header): Define.
33795 (datahead): Add netgroup_response_header and innetgroup_response_header
33796 elements.
33797 * nscd/nscd.conf: Add entries for netgroup cache.
33798 * nscd/nscd.h (dbtype): Add netgrdb.
33799 (_PATH_NSCD_NETGROUP_DB): Define.
33800 (netgroup_iov_disabled): Declare.
33801 (xmalloc, xcalloc, xrealloc): Move declarations here.
33802 (cache_search): Adjust prototype.
33803 Add netgroup-related prototypes.
33804 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33805 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33806 (__nscd_innetgr): Declare.
33807 * nscd/selinux.c (perms): Use access_vector_t as element type and
33808 add netgroup-related initializers.
33809 * nscd/netgroupcache.c: New file.
33810 * nscd/nscd_netgroup.c: New file.
33811 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33812 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33813 For four parameters use innetgr.
33814 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33815 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33816 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33817 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33818
21fd49a9
UD
33819 * nscd/connections.c (register_traced_file): Don't register file
33820 for disabled databases.
33821
054c0457
UD
338222011-10-06 Ulrich Drepper <drepper@gmail.com>
33823
32b63198
UD
33824 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33825
054c0457
UD
33826 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33827 from tree and freeing node.
33828
64031225
JO
338292011-09-25 Jiri Olsa <jolsa@redhat.com>
33830
33831 * nss/nsswitch.c (__nss_database_lookup): Handle
33832 nss_parse_service_list out of memory case.
33833
0490345c
JO
338342011-09-15 Jiri Olsa <jolsa@redhat.com>
33835
33836 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33837 out of memory case.
33838
3a62d00d
AS
338392011-10-04 Andreas Schwab <schwab@redhat.com>
33840
33841 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33842 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33843 pass it down.
33844 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33845 elf_machine_rela, elf_machine_lazy_rel.
33846 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33847 (ELF_DYNAMIC_DO_REL): Likewise.
33848 (ELF_DYNAMIC_DO_RELA): Likewise.
33849 (ELF_DYNAMIC_RELOCATE): Likewise.
33850 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33851 to ELF_DYNAMIC_DO_REL.
33852 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33853 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33854 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33855 elf_machine_rela.
33856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33857 skip_ifunc, don't call ifunc function if non-zero.
33858 (elf_machine_rela): Likewise.
33859 (elf_machine_lazy_rel): Likewise.
33860 (elf_machine_lazy_rela): Likewise.
33861 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33862 (elf_machine_lazy_rel): Likewise.
33863 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33864 Likewise.
33865 (elf_machine_lazy_rel): Likewise.
33866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33867 Likewise.
33868 (elf_machine_lazy_rel): Likewise.
33869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33870 (elf_machine_lazy_rel): Likewise.
33871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33872 (elf_machine_lazy_rel): Likewise.
33873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33874 (elf_machine_lazy_rel): Likewise.
33875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33876 (elf_machine_lazy_rel): Likewise.
33877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33878 (elf_machine_lazy_rel): Likewise.
33879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33880 (elf_machine_lazy_rel): Likewise.
33881
68577918
UD
338822011-09-28 Ulrich Drepper <drepper@gmail.com>
33883
33884 * nss/nss_files/files-init.c (_nss_files_init): Use static
33885 initialization for all the *_traced_file variables.
33886
68822d74
AS
338872011-09-28 Andreas Schwab <schwab@redhat.com>
33888
33889 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33890
2056100b
RM
338912011-09-27 Roland McGrath <roland@hack.frob.com>
33892
33893 [BZ #13226]
33894 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33895
32c76b63
AS
338962011-09-27 Andreas Schwab <schwab@redhat.com>
33897
33898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33899 Reread the line before reparsing it.
33900
bf972c9d
AS
339012011-09-26 Andreas Schwab <schwab@redhat.com>
33902
33903 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33904
e057a1b5
JM
339052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33906 Maxim Kuvyrkov <maxim@codesourcery.com>
33907 Joseph Myers <joseph@codesourcery.com>
33908
33909 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33910 if needed for __stack_chk_guard.
33911
bc7e1c36
RM
339122011-09-19 Roland McGrath <roland@hack.frob.com>
33913
ecb1482f
RM
33914 * sysdeps/posix/spawni.c (script_execute): Always define it.
33915 It will be optimized away if unused.
33916 (maybe_script_execute): New function.
33917 (__spawni): Call it.
33918
bc7e1c36
RM
33919 * Makerules: Don't include tls.make.
33920 (config-tls): Always set to thread.
33921 * tls.make.c: File removed.
33922
1c3b002b
MF
339232011-09-19 Mike Frysinger <vapier@gentoo.org>
33924
33925 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33926 * config.make.in (CPPFLAGS-config): New substituted variable.
33927
2840865d
UD
339282011-09-15 Ulrich Drepper <drepper@gmail.com>
33929
88738eb6
UD
33930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33931
cbf645a6 33932 [BZ #13192]
2840865d
UD
33933 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33934 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33935
b402e91a
RM
339362011-09-15 Roland McGrath <roland@hack.frob.com>
33937
33938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33939 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33941 (CALL_FAIL): Likewise.
33942 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33943 (CALL_FAIL): Macro removed.
33944 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33945
4c1a1f71
UD
339462011-09-15 Ulrich Drepper <drepper@gmail.com>
33947
33948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33949 for __FINITE_MATH_ONLY__ == 1.
33950
edc121be
AS
339512011-09-15 Andreas Schwab <schwab@redhat.com>
33952
33953 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33954 __ieee754_sqrt instead of sqrt.
33955 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33956 __ieee754_sqrtf instead of sqrtf.
33957 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33958 __floorf instead of floorf.
33959 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33960 __floorf, __truncf instead of floorf, truncf.
33961
cd205654
UD
339622011-09-14 Ulrich Drepper <drepper@gmail.com>
33963
ee4d0315
UD
33964 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33965
cd205654
UD
33966 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33967 __extern_always_inline.
33968 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33969 32-bit.
33970
48b67d71
AS
339712011-09-14 Andreas Schwab <schwab@redhat.com>
33972
33973 * elf/rtld.c (dl_main): Also relocate in dependency order when
33974 doing symbol dependency testing.
33975
1ae12c75
AS
339762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33977
33978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33979 Always define `refsym'.
33980
995a80df
AS
339812011-09-13 Andreas Schwab <schwab@redhat.com>
33982
e529793b
AS
33983 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33984 (__FD_ELT): Renamed from __FDELT.
33985 * misc/bits/select2.h (__FD_ELT): Likewise.
33986 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33987 __FD_MASK instead of __FDELT, __FDMASK.
33988 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33989 Likewise.
33990 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33991 Likewise.
33992
52d4fef8
AS
33993 * elf/Makefile (gen-ldd): Fix pattern.
33994
995a80df
AS
33995 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33996 (init_tls): Likewise.
33997
8682f8b0
UD
339982011-09-12 Ulrich Drepper <drepper@gmail.com>
33999
34000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34001
de82006d
AS
340022011-09-12 Andreas Schwab <schwab@redhat.com>
34003
a7c8e6a1
AS
34004 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34005 `struct cmsghdr *' instead of `void *'.
34006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34007 Likewise.
34008
0f31fe77
AS
340092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34010
34011 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34012 if non-absolute.
34013 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34014 ldd_rewrite_script.
0f31fe77 34015
32b4c839
UD
340162011-09-11 Ulrich Drepper <drepper@gmail.com>
34017
83cd1420
UD
34018 * configure.in: Remove --with-tls option.
34019 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34020 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34021 out in case it is missing.
34022 * sysdeps/ia64/elf/configure.in: Likewise.
34023 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34024 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34025 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34026 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34027 * sysdeps/sh/elf/configure.in: Likewise.
34028 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34029 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34030 * sysdeps/x86_64/elf/configure.in: Likewise.
34031 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34032 * sysdeps/mach/hurd/tls.h: Likewise.
34033
633f745d
UD
34034 [BZ #13067]
34035 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34036
f318beb8
UD
34037 [BZ #13090]
34038 * configure.in: Fix use of AC_INIT.
34039
32b4c839
UD
34040 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34041
3ce1f295
UD
340422011-09-10 Ulrich Drepper <drepper@gmail.com>
34043
bb016596
UD
34044 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34045 __set_errno.
8e58439c
UD
34046 * malloc/hooks.c: Likewise.
34047
aebae053 34048 [BZ #11929]
02d46fc4
UD
34049 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34050 variables statically.
34051 (narenas): Initialize.
34052 (list_lock): Initialize.
bb016596
UD
34053 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34054 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34055 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34056 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34057 Add initializers to main_arena and mp_.
34058 (malloc_state): Remove pagesize member. Change all users to use
34059 GLRO(dl_pagesize).
34060
34061 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34062 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34063 is always initialized.
34064
22a89187
UD
34065 * malloc/malloc.c: Removed unused configurations and dead code.
34066 * malloc/arena.c: Likewise.
34067 * malloc/hooks.c: Likewise.
02d46fc4 34068 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34069
d063d164
UD
34070 * include/tls.h: Removed. USE___THREAD must always be defined.
34071 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34072 * elf/dl-libc.c: Likewise.
34073 * elf/dl-tsd.c: Likewise.
34074 * include/errno.h: Likewise.
34075 * include/netdb.h: Likewise.
34076 * include/resolv.h: Likewise.
34077 * inet/herrno-loc.c: Likewise.
34078 * inet/herrno.c: Likewise.
34079 * malloc/arena.c: Likewise.
34080 * malloc/hooks.c: Likewise.
34081 * malloc/malloc.c: Likewise.
34082 * resolv/res-state.c: Likewise.
34083 * resolv/res_libc.c: Likewise.
34084 * sysdeps/i386/dl-machine.h: Likewise.
34085 * sysdeps/ia64/dl-machine.h: Likewise.
34086 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34087 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34088 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34089 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34090 * sysdeps/sh/dl-machine.h: Likewise.
34091 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34092 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34093 * sysdeps/unix/i386/sysdep.S: Likewise.
34094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34095 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34100 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34104 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34105 * sysdeps/x86_64/dl-machine.h: Likewise.
34106 * tls.make.c: Likewise.
34107
3ce1f295
UD
34108 * configure.in: Remove --with-__thread option. Make tests for
34109 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34110 tls_model attribute fail if no support is available. Remove
34111 USE_IN_LIBIO.
34112 * Makeconfig: Adjust for dropped configure option. All features are
34113 now mandatory.
34114 * Makerules: Likewise.
34115 * Versions.def: Likewise.
34116 * argp/argp-fmtstream.c: Likewise.
34117 * argp/argp-fmtstream.h: Likewise.
34118 * argp/argp-help.c: Likewise.
34119 * assert/assert.c: Likewise.
34120 * config.h.in: Likewise.
34121 * config.make.in: Likewise.
34122 * configure: Likewise.
34123 * configure.in: Likewise.
34124 * csu/Versions: Likewise.
34125 * csu/init.c: Likewise.
34126 * elf/tst-audit2.c: Likewise.
34127 * elf/tst-tls10.c: Likewise.
34128 * elf/tst-tls10.h: Likewise.
34129 * elf/tst-tls11.c: Likewise.
34130 * elf/tst-tls12.c: Likewise.
34131 * elf/tst-tls14.c: Likewise.
34132 * elf/tst-tlsmod11.c: Likewise.
34133 * elf/tst-tlsmod12.c: Likewise.
34134 * elf/tst-tlsmod13.c: Likewise.
34135 * elf/tst-tlsmod13a.c: Likewise.
34136 * elf/tst-tlsmod14a.c: Likewise.
34137 * elf/tst-tlsmod15b.c: Likewise.
34138 * elf/tst-tlsmod16a.c: Likewise.
34139 * elf/tst-tlsmod16b.c: Likewise.
34140 * elf/tst-tlsmod7.c: Likewise.
34141 * elf/tst-tlsmod8.c: Likewise.
34142 * elf/tst-tlsmod9.c: Likewise.
34143 * gmon/gmon.c: Likewise.
34144 * grp/fgetgrent_r.c: Likewise.
34145 * grp/putgrent.c: Likewise.
34146 * hurd/fopenport.c: Likewise.
34147 * include/libc-symbols.h: Likewise.
34148 * include/tls.h: Likewise.
34149 * intl/gettextP.h: Likewise.
34150 * intl/loadinfo.h: Likewise.
34151 * locale/global-locale.c: Likewise.
34152 * locale/localeinfo.h: Likewise.
34153 * mach/devstream.c: Likewise.
34154 * malloc/arena.c: Likewise.
34155 * malloc/set-freeres.c: Likewise.
34156 * misc/err.c: Likewise.
34157 * misc/getttyent.c: Likewise.
34158 * misc/mntent_r.c: Likewise.
34159 * posix/getopt.c: Likewise.
34160 * posix/wordexp.c: Likewise.
34161 * pwd/fgetpwent_r.c: Likewise.
34162 * resolv/Versions: Likewise.
34163 * resolv/res_hconf.c: Likewise.
34164 * shadow/fgetspent_r.c: Likewise.
34165 * shadow/putspent.c: Likewise.
34166 * stdio-common/printf_fphex.c: Likewise.
34167 * stdio-common/tmpfile.c: Likewise.
34168 * stdlib/abort.c: Likewise.
34169 * stdlib/fmtmsg.c: Likewise.
34170 * sunrpc/auth_unix.c: Likewise.
34171 * sunrpc/clnt_perr.c: Likewise.
34172 * sunrpc/clnt_tcp.c: Likewise.
34173 * sunrpc/clnt_udp.c: Likewise.
34174 * sunrpc/clnt_unix.c: Likewise.
34175 * sunrpc/openchild.c: Likewise.
34176 * sunrpc/svc_simple.c: Likewise.
34177 * sunrpc/svc_tcp.c: Likewise.
34178 * sunrpc/svc_udp.c: Likewise.
34179 * sunrpc/svc_unix.c: Likewise.
34180 * sunrpc/xdr.c: Likewise.
34181 * sunrpc/xdr_array.c: Likewise.
34182 * sunrpc/xdr_rec.c: Likewise.
34183 * sunrpc/xdr_ref.c: Likewise.
34184 * sunrpc/xdr_stdio.c: Likewise.
34185
1248c1c4
PB
341862011-09-09 Ulrich Drepper <drepper@gmail.com>
34187
34188 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34189
341902011-07-03 Andreas Jaeger <aj@suse.de>
34191
34192 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34193 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34194 regenerate with gen-libm-tests.pl.
34195
341962010-05-12 Petr Baudis <pasky@suse.cz>
34197
34198 [BZ #11589]
34199 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34200 around j0() zero points by switching to j1().
34201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34202 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34205
f22e1074
UD
342062011-09-09 Ulrich Drepper <drepper@gmail.com>
34207
f19009c1
UD
34208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34209 instead of 0.
34210 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34211 instead of 0.
f19009c1
UD
34212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34213 Patch in part by Pavel Roskin <proski@gnu.org>.
34214
3f8cc204
UD
34215 [BZ #13138]
34216 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34217 realloc.
34218 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34219 Free memory block if necessary.
34220
f22e1074
UD
34221 [BZ #12847]
34222 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34223 be NULL. Don't lock in this case.
34224
0a2349f9
RM
342252011-09-09 Roland McGrath <roland@hack.frob.com>
34226
34227 * elf/elf.h (ELFOSABI_GNU): New macro.
34228 (ELFOSABI_LINUX): Define to that.
34229
f3cdd467
DZ
342302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34231
34232 * string/strncat.c (strncat): Undef the symbol in case it has been
34233 defined in bits/string.h.
34234
74718d13
UD
342352011-09-09 Ulrich Drepper <drepper@gmail.com>
34236
633e9e0f
UD
34237 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34238
0a2349f9 34239 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34240 link map.
34241
f9924780
AJ
342422011-08-17 Andreas Jaeger <aj@suse.de>
34243
34244 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34245
7f5517aa
PP
342462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34247 Ian Lance Taylor <iant@google.com>
34248
34249 * math/libm-test.inc (lround_test): New testcase.
34250 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34251
762011fe
UD
342522011-09-08 Ulrich Drepper <drepper@gmail.com>
34253
92963737
UD
34254 * Makefile: Remove support for automatic cvs check-ins.
34255 * Makerules: Likewise.
34256 * config.make.in: Likewise.
34257 * configure.in: Likewise.
34258 * intl/Makefile: Likewise.
34259 * locale/Makefile: Likewise.
34260 * po/Makefile: Likewise.
34261 * posix/Makefile: Likewise.
34262 * sysdeps/gnu/Makefile: Likewise.
34263 * sysdeps/mach/hurd/Makefile: Likewise.
34264 * sysdeps/sparc/sparc32/Makefile: Likewise.
34265
b0727fd8
JS
34266 [BZ #13118]
34267 * posix/Makefile (bug-regex32-ENV): Define.
34268 Patch by John Stanley <jpsinthemix@verizon.net>.
34269
a0f33f99
UD
34270 * misc/Makefile (headers): Add bits/select2.h.
34271 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34272 * misc/bits/select2.h: New file.
34273 * include/bits/select2.h: New file.
34274 * debug/Makefile (routines): Add fdelt_chk.
34275 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34276 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34277 FD_ISSET.
34278 * debug/fdelt_chk.c: New file.
34279
762011fe
UD
34280 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34281 * wcsmbs/test-wmemcmp.c: Likewise.
34282 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34283 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34284
342852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34286
34287 * string/Makefile (strop-tests): Add memcmp.
34288 * string/test-wmemcmp.c: New file.
34289 * string/test-memcmp.c: Add wmemcmp support.
34290
7f513ec8
RM
342912011-09-08 Roland McGrath <roland@hack.frob.com>
34292
0442afb4
RM
34293 [BZ #13153]
34294 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34295 2011-07-19 change.
34296
7f513ec8
RM
34297 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34298 garbage value in a __mach_port_mod_refs call in the cases of the
34299 task-self and thread-self ports.
34300
a12b2239
ST
343012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34302
34303 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34304
610f9ab4
AS
343052011-09-08 Andreas Schwab <schwab@redhat.com>
34306
7f513ec8 34307 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34308
48882a1a
LD
343092011-09-07 Ulrich Drepper <drepper@gmail.com>
34310
b49865be
UD
34311 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34312
fdc86bc9
UD
34313 * elf/dl-libc.c (dlerror_run): Pass back error code from
34314 dl_catch_error.
34315
c966526a
UD
34316 [BZ #13123]
34317 * elf/dl-load.c (lose): Free l_origin if it is valid.
34318
48882a1a
LD
34319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34320 names.
34321 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34322 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34325 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34326 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34327
77a2a8b4
AZ
343282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34329
34330 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34331 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34332 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34333 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34334 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34335 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34336 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34337 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34338 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34339 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34340
24f579d8
AM
343412011-08-15 Alan Modra <amodra@gmail.com>
34342
34343 [BZ #13092]
34344 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34345 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34346 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34347 ppc_mcount to static-only-routines.
34348 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34349 __mcount_internal.
34350 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34351 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34352
3d4837df
UD
343532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34354
34355 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34356 for finite and infinity parameters.
34357
22700377
WS
343582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34359
34360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34361 and add nop instructions for throughput optimization.
34362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34363
5025581e
WS
343642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34365
34366 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34367 aligned copy for power7 with vector-scalar instructions.
34368 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34369
08a300c9
L
343702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34371
34372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34373 AVX check.
34374
59178ef9
AS
343752011-09-07 Andreas Schwab <schwab@redhat.com>
34376
34377 [BZ #13144]
34378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34379 last change.
34380
e38ba7ab
UD
343812011-09-07 Ulrich Drepper <drepper@gmail.com>
34382
34383 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34384 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34385 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34386 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34387 clock_gettime.
34388
d53a73ac
UD
343892011-09-06 Ulrich Drepper <drepper@gmail.com>
34390
fc8bffcc
UD
34391 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34392 Forgot to demangle the pointer.
34393
ceaa0c5d
UD
34394 * sysdeps/i386/sysdep.h: Define atom_text_section.
34395 * sysdeps/x86_64/sysdep.h: Likewise.
34396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34397 section with atom_text_section.
34398 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34399 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34400 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34402 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34403
a77d3c17
UD
34404 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34405 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34406 already be defined. Change to take two parameters and don't assign
34407 result to variable. Adjust all users.
34408 Define INTERNAL_GETTIME if not already defined.
34409 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34410 call.
34411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34412 HAVE_CLOCK_GETTIME_VSYSCALL.
34413 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34414
d53a73ac
UD
34415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34416 gettimeofday vsyscall, just use time.
34417
a8f84144
AS
344182011-09-06 Andreas Schwab <schwab@redhat.com>
34419
34420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34421 <errno.h>.
34422
ef606249
UD
344232011-09-06 Ulrich Drepper <drepper@gmail.com>
34424
34425 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34426 syscall on x86-64.
34427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34428 syscall.
34429 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34431 syscall if possible.
34432
6585cb60
UD
344332011-09-05 Ulrich Drepper <drepper@gmail.com>
34434
34435 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34436 e_ident. Don't pass to find_mapsXX.
34437 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34438
a5f524e4
LD
344392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34440
34441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34442 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34443 * sysdeps/x86_64/multiarch/strchr.S: Update.
34444 Check bit_slow_BSF bit.
34445 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34446 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34447 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34448
554881ef
UD
344492011-09-05 Ulrich Drepper <drepper@gmail.com>
34450
d96de963
UD
34451 [BZ #13134]
34452 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34453 before glibc 2.15.
34454 (tryshell): Define.
34455 (__spawni): Change last parameter to be flag. Test
34456 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34457 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34458 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34459 * posix/spawni.c: Likewise.
34460 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34461 * posix/spawnp.c: Likewise. Change normal version to use
34462 SPAWN_XFLAGS_USE_PATH.
34463 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34464 SPAWN_XFLAGS_TRY_SHELL.
34465
d48e5868
UD
34466 [BZ #13150]
34467 * posix/glob.h: Remove gcc 1.x support.
34468
554881ef
UD
34469 [BZ #13068]
34470 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34471
693fb948
LD
344722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34473
34474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34475 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34476 strrchr-sse2-bsf
34477 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34478 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34479 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34480 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34483
1b48c537
UD
344842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34485
49d42c37
UD
34486 * sysdeps/x86_64/wcscmp.S: New file.
34487
1b48c537
UD
34488 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34489 wcscmp-c wcscmp-sse2
34490 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34491 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34492 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34493 * wcsmbs/wcscmp.c: Allow renaming.
34494
15c95c5d
DM
344952011-09-05 David S. Miller <davem@davemloft.net>
34496
34497 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34498 stack slot, rather than the struct return pointer slot.
34499 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34500 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34502 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34503
2f0ad8f3
UD
345042011-09-05 Ulrich Drepper <drepper@gmail.com>
34505
d88ae418
UD
34506 * po/ja.po: Update from translation team.
34507
2f0ad8f3
UD
34508 [BZ #13144]
34509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34510 kernel in 64-bit binaries.
34511
5f4318d1
DM
345122011-09-01 David S. Miller <davem@davemloft.net>
34513
34514 * elf/elf.h (HWCAP_SPARC_*): Move to..
34515 * sysdeps/sparc/sysdep.h: this new file and add new values.
34516 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34517 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34518 _DL_HWCAP_COUNT to 24.
34519 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34520 entries.
34521 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34522 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34523 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34525 instead of magic constants.
34526 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34527
3ba57516
DM
345282011-08-31 David S. Miller <davem@davemloft.net>
34529
34530 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34531 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34532 Reimplement to do errno handling inline.
34533 (SYSCALL_ERROR_HANDLER): New macro.
34534 (__SYSCALL_STRING): Do not do errno handling in asm.
34535 (__CLONE_SYSCALL_STRING): Delete.
34536 (__INTERNAL_SYSCALL_STRING): Delete.
34537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34538 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34539 (PSEUDO): Reimplement to do errno handling inline.
34540 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34541 (SYSCALL_ERROR_HANDLER): New macro.
34542 (__SYSCALL_STRING): Do not do errno handling in asm.
34543 (__CLONE_SYSCALL_STRING): Delete.
34544 (__INTERNAL_SYSCALL_STRING): Delete.
34545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34546 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34547 i386.
34548 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34549 (inline_syscall*): Add 'err' argument.
34550 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34551 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34552 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34553 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34554
34555 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34556 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34557
2bc17433
AS
345582011-08-30 Andreas Schwab <schwab@redhat.com>
34559
34560 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34561
fbeb5f4d
JO
345622011-08-29 Jiri Olsa <jolsa@redhat.com>
34563
34564 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34565 directive.
34566
ad69cc26
DM
345672011-08-24 David S. Miller <davem@davemloft.net>
34568
34569 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34570
39dd69df
AS
345712011-08-24 Andreas Schwab <schwab@redhat.com>
34572
34573 * elf/Makefile: Add rules to build and run unload8 test.
34574 * elf/unload8.c: New file.
34575 * elf/unload8mod1.c: New file.
34576 * elf/unload8mod1x.c: New file.
34577 * elf/unload8mod2.c: New file.
34578 * elf/unload8mod3.c: New file.
34579
34580 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34581 it wasn't used.
34582
2c0b250a
DM
345832011-08-23 David S. Miller <davem@davemloft.net>
34584
34585 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34586 subtract stack bias.
34587 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34588 %sp not %fp in calculations.
34589 (_JMPBUF_UNWINDS_ADJ): Likewise.
34590
22044b48
DM
34591 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34592 (aio_suspend): Call it to force an exception region around the
34593 AIO_MISC_WAIT() invocation.
34594
2cae4995
AS
345952011-08-23 Andreas Schwab <schwab@redhat.com>
34596
34597 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34598 backslash.
34599
873a772e
AJ
346002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34601
34602 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34603 protection macro.
34604 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34605 and <dl-machine.h>.
34606 (Elf64_FuncDesc): Remove.
34607
25ad0df1
DM
346082011-08-22 David S. Miller <davem@davemloft.net>
34609
34610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34611 sigaltstack check, add missing cfi directives.
34612 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34613 missing cfi directives, and sigaltstack handling.
34614
e888bcbe
AS
346152011-08-16 Andreas Schwab <schwab@redhat.com>
34616
34617 [BZ #11724]
34618 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34619 object is seen twice.
34620 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34621
34622 * elf/Makefile (distribute): Add tst-initorder2.c.
34623 (tests): Add tst-initorder2.
34624 (modules-names): Add tst-initorder2a tst-initorder2b
34625 tst-initorder2c tst-initorder2d. Add rules to build them.
34626 ($(objpfx)tst-initorder2.out): New rule.
34627 * elf/tst-initorder2.c: New file.
34628 * elf/tst-initorder2.exp: New file.
34629
87162f46
AS
346302011-08-22 Andreas Schwab <schwab@redhat.com>
34631
70538b7f
AS
34632 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34633
f55ffe58
AS
34634 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34635 dependencies back to end of function.
34636
87162f46
AS
34637 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34638 $(elfobjdir)/ld.so.
34639
91b392a4
UD
346402011-08-21 Ulrich Drepper <drepper@gmail.com>
34641
34642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34643 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34645 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34646 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34647 of __vdso_gettimeofday.
34648 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34649 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34650 attribute_hidden.
34651 (_libc_vdso_platform_setup): Remove initialization of
34652 __vdso_gettimeofday and __vdso_time.
34653
5c43483f
UD
346542011-08-20 Ulrich Drepper <drepper@gmail.com>
34655
775a77e7
UD
34656 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34657 and fgetc_unlocked.
34658 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34659 getc_unlocked.
89f447ed 34660
49c74ba9
UD
34661 * elf/dl-open.c (add_to_global): Report additions to the global scope
34662 for LD_DEBUG=scopes.
34663 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34664 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34665
5c43483f
UD
34666 [BZ #13114]
34667 * stdio-common/Makefile (tests): Add bug24.
34668 * stdio-common/bug24.c: New file.
34669
a101b025
AJ
346702011-08-19 Andreas Jaeger <aj@suse.de>
34671
34672 [BZ #13114]
34673 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34674 non-existant file when using close-on-exec mode.
34675
c88f1766
UD
346762011-08-20 Ulrich Drepper <drepper@gmail.com>
34677
0276a718
UD
34678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34679 the very first instruction.
34680
c88f1766
UD
34681 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34682 the CFI state in the end.
34683 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34684 inclusion of dl-trampoline.h.
34685 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34686
51ccffa0
AS
346872011-08-19 Andreas Schwab <schwab@redhat.com>
34688
94d7165f
AS
34689 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34690 expectations for long double.
34691
51ccffa0
AS
34692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34693 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34694
fd708658 346952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34696
34697 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34698 artificual limit depends upon the system page size.
34699
44f0a71e
UD
347002011-08-17 Ulrich Drepper <drepper@gmail.com>
34701
34702 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34703 * resolv/Makefile: Define CFLAGS-libresolv.
34704
8de79a24
AS
347052011-08-17 Andreas Schwab <schwab@redhat.com>
34706
34707 * nss/makedb.c (compute_tables): Make variables used in nested
34708 function static.
34709
27724598
UD
347102011-08-17 Ulrich Drepper <drepper@gmail.com>
34711
c5305d88
UD
34712 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34713 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34714 if buffer was too small.
34715
27724598
UD
34716 * elf/pldd.c (main): Attach to all threads in the process.
34717 Rewrite /proc handling to use *at functions.
34718
076fe015
UD
347192011-08-16 Ulrich Drepper <drepper@gmail.com>
34720
174baab3
UD
34721 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34722 specifies first scope to show.
34723 (dl_open_worker): Update callers. Move printing scope of new
34724 object to before the relocation.
44f0a71e 34725 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34726 * sysdeps/generic/ldsodefs.h: Update declaration.
34727
076fe015
UD
34728 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34729 string for the scope number.
34730
a60df2c3
UD
347312011-08-14 Ulrich Drepper <drepper@gmail.com>
34732
34733 * nscd/servicescache.c (cache_addserv): Make sure written is always
34734 initialized.
34735
5e4287d1
RM
347362011-08-14 Roland McGrath <roland@hack.frob.com>
34737
85ae0589
RM
34738 * sysdeps/i386/i486/bits/atomic.h
34739 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34740 statement expression, so as to suppress "set but not used" warning.
34741 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34742
69f63097
RM
34743 * string/strncat.c (STRNCAT): Use prototype definition.
34744
675456ef
RM
34745 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34746 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34747 -Iprograms here.
34748 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34749 (localedef-modules): Add localedef.
34750 (locale-modules): Add locale.
34751
5e4287d1
RM
34752 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34753 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34754 to avoid a warning.
34755
9c96ff23
DM
347562011-08-14 David S. Miller <davem@davemloft.net>
34757
34758 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34759 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34760
f9ddf089
UD
347612011-08-13 Ulrich Drepper <drepper@gmail.com>
34762
44f0a71e 34763 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34764 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34765 * elf/rtld.c (dl_main): Set l_name of vDSO.
34766 Call _dl_show_scope when DL_DEBUG_SCOPES.
34767 (process_dl_debug): Recognize scopes flag and also set it for all.
34768 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34769 Declare _dl_show_scope.
34770
1dc27704
UD
34771 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34772 (do_dlopen): Pass caller_dlopen to dl_open.
34773 (__libc_dlopen_mode): Initialize caller_dlopen.
34774
f9ddf089
UD
34775 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34776 of libc. Make tolower call locale-independent. Optimize a bit by
34777 using isdigit instead of isalnum.
34778 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34779
9ac533d3
UD
347802011-08-12 Ulrich Drepper <drepper@gmail.com>
34781
34782 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34783 was a dependency or dynamically loaded.
34784
89edf2e9
UD
347852011-08-11 Ulrich Drepper <drepper@gmail.com>
34786
8e999d29
UD
34787 * intl/l10nflist.c: Allow architecture-specific pop function.
34788 * sysdeps/x86_64/l10nflist.c: New file.
34789
89edf2e9
UD
34790 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34791 classification.
34792
14d96785
AS
347932011-08-10 Andreas Schwab <schwab@redhat.com>
34794
34795 * include/dirent.h: Add libc_hidden_proto for scandirat and
34796 scandirat64. Don't declare __scandirat64.
34797 * dirent/scandirat.c: Add libc_hidden_def.
34798 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34799 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34800
6761ac04
DM
348012011-08-10 David S. Miller <davem@davemloft.net>
34802
34803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34804 enum.
34805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34808
c55fbd1e
UD
348092011-08-09 Ulrich Drepper <drepper@gmail.com>
34810
34811 * Versions.def [libc]: Add GLIBC_2.15.
34812 * dirent/Makefile (routines): Add scandirat and scandirat64.
34813 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34814 GLIBC_2.15.
34815 * dirent/dirent.h: Declare scandirat and scandirat64.
34816 * dirent/scandirat.c: New file.
34817 * dirent/scandirat64.c: New file.
34818 * sysdeps/wordsize-64/scandirat.c: New file.
34819 * sysdeps/wordsize-64/scandirat64.c: New file.
34820 * dirent/opendir.c: Define opendirat.
34821 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34822 using scandirat.
34823 * dirent/scandir64.c: Adjust for scandir.c change.
34824 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34825 __scandirat64, and __scandir_cancel_handler.
34826 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34827 additional parameter and use openat instead of open (outside of ld.so).
34828 Add new __opendir as wrapper around __opendirat.
34829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34830 here without requiring old scandirat implementation.
34831
879165f2
UD
348322011-08-08 Ulrich Drepper <drepper@gmail.com>
34833
34834 * dirent/scandir.c (cancel_handler): Renamed to
34835 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34836 defined. Adjust users.
34837 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34838 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34839
cb7e923b
UD
348402011-08-04 Ulrich Drepper <drepper@gmail.com>
34841
16292edd
UD
34842 * string/test-string.h (IMPL): Use __STRING to expand name and then
34843 stringify it.
34844
cb7e923b
UD
34845 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34846 of cleanups.
34847
cff82933
LD
348482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34849
34850 * string/Makefile: Update.
34851 (strop-tests): Append strncat.
34852 * string/test-wcscmp.c: New file.
34853 New comprehensive test for wcscmp.
34854 * string/test-strcmp.c: Update.
34855 (WIDE): New define.
34856
9be9bfcc
AS
348572011-07-22 Andreas Schwab <schwab@redhat.com>
34858
34859 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34860 line.
34861
2e96f1c7
AS
348622011-07-26 Andreas Schwab <schwab@redhat.com>
34863
34864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34865 encoding to ACE if AI_IDN.
34866
85188888
JJ
348672011-08-01 Jakub Jelinek <jakub@redhat.com>
34868
34869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34870 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34871
5fa16e9b
LD
348722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34873
34874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34875 Fix overflow bug in strncat.
34876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34877
34878 * string/test-strncat.c: Update.
34879 Add new tests for checking overflow bugs.
34880
348812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34882
34883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34884 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34885 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34886 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34888 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34889 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34890 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34891 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34892
34893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34894 (USE_AS_STRCAT): Define.
34895 Add strcat and strncat support.
34896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34897
8c1a459f
AS
348982011-07-25 Andreas Schwab <schwab@redhat.com>
34899
34900 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34901 __n bigger than INT_MAX+1.
34902 (__strncmp_g): Likewise.
34903
bba33c28
UD
349042011-07-23 Ulrich Drepper <drepper@gmail.com>
34905
798be72d
UD
34906 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34907 * libio/stido.h: Likewise.
34908
8accd4dc
UD
34909 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34910 (AF_NFC): Define.
34911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34912 (AF_NFC): Define.
34913
cbff0d96
UD
34914 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34917 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34919
9191c04a
UD
34920 [BZ #13021]
34921 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34922 installed.
34923
bba33c28
UD
34924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34925 typo.
34926 (_dl_x86_64_save_sse): Likewise.
34927
90f139dd
UD
349282011-07-22 Ulrich Drepper <drepper@gmail.com>
34929
1aae088a
UD
34930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34931 OSXSAVE.
34932 (_dl_x86_64_save_sse): Likewise.
34933
8e2045f5
UD
34934 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34935
90f139dd
UD
34936 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34937
1d002f25
AS
349382011-07-21 Andreas Schwab <schwab@redhat.com>
34939
34940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34941 change.
34942 (_dl_x86_64_save_sse): Use correct AVX check.
34943
21137f89
UD
349442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34945
34946 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34947 bug in strncpy/strncat.
34948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34949
a65c0b7a
UD
349502011-07-21 Ulrich Drepper <drepper@gmail.com>
34951
34952 * string/tester.c (test_strcat): Add tests for different alignments
34953 of source and destination.
34954 (test_strncat): Likewise.
34955
6986b98a
UD
349562011-07-20 Ulrich Drepper <drepper@gmail.com>
34957
90bb2039
UD
34958 [BZ #12852]
34959 * posix/glob.c (glob): Check passed in values before using them in
34960 expressions to avoid some overflows.
34961 (glob_in_dir): Likewise.
34962
5644ef54
UD
34963 [BZ #13007]
34964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34965 check for AVX enablement so that we don't crash with old kernels and
34966 new hardware.
34967 * elf/tst-audit4.c: Add same checks here.
34968 * elf/tst-audit6.c: Likewise.
34969
34970 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34971
bfc9dc9b
AS
349722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34973
34974 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34975
702e64bb
UD
349762011-07-20 Ulrich Drepper <drepper@gmail.com>
34977
34978 * po/cs.po: Update from translation team.
34979 * po/bg.po: Likewise.
34980
295e904f
MP
349812011-07-12 Marek Polacek <mpolacek@redhat.com>
34982
34983 * misc/sys/cdefs.h: Add support for const attribute.
34984 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34985 to gnu_dev_{major,minor,makedev} functions.
34986
3ff94596
MP
349872011-07-20 Marek Polacek <mpolacek@redhat.com>
34988
34989 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34990
28b59fca
AS
349912011-07-20 Andreas Schwab <schwab@redhat.com>
34992
34993 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34994 strlen results.
34995
19df733e
AK
349962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34997
34998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34999 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35000 register in order to avoid conflicts with the soft frame pointer
35001 being held in r11 when necessary.
35002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35003 (INTERNAL_VSYSCALL_NCS): Likewise.
35004
c8835729
MP
350052011-07-14 Marek Polacek <mpolacek@redhat.com>
35006
35007 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35008 * elf/dl-fini.c (_dl_fini): Adjust caller.
35009 * elf/dl-close.c (_dl_close_worker): Likewise.
35010 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35011
b902330c
MP
350122011-07-15 Marek Polacek <mpolacek@redhat.com>
35013
8991e135
MP
35014 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35015 "aux_cache->nlibs < 0".
35016
b902330c
MP
35017 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35018 in the reload-count case.
35019
99710781
LD
350202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35021
35022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35023 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35024 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35025 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35026 * sysdeps/x86_64/multiarch/strcat.S: New file.
35027 * sysdeps/x86_64/multiarch/strncat.S: New file.
35028 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35030 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35031 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35033 (USE_AS_STRCAT): Define.
35034 Add strcat and strncat support.
35035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35037 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35038 * string/strncat.c: Update.
35039 (USE_AS_STRNCAT): Define.
35040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35041 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35042 and i7.
35043 * sysdeps/x86_64/multiarch/init-arch.h
35044 (bit_Prefer_PMINUB_for_stringop): New.
35045 (index_Prefer_PMINUB_for_stringop): Likewise.
35046 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35047 bit_Prefer_PMINUB_for_stringop.
35048
7dc6bd90
UD
350492011-07-19 Ulrich Drepper <drepper@gmail.com>
35050
35051 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35052 buffer64.
35053 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35054 of casting of buffer.
35055 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35056 buffer32 and buffer64.
35057 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35058 writes instead of casting of buffer.
35059 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35060 buffer32.
35061 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35062 casting of buffer.
35063
e0e72284
AS
350642011-07-19 Andreas Schwab <schwab@redhat.com>
35065
35066 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35067
feb1eb0b
UD
350682011-07-19 Ulrich Drepper <drepper@gmail.com>
35069
35070 * nscd/nscd.c (termination_handler): Don't do anything for a database
35071 if it has not yet been initialized.
35072
298711ff
UD
350732011-07-18 Ulrich Drepper <drepper@gmail.com>
35074
35075 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35076
350772011-07-15 Marek Polacek <mpolacek@redhat.com>
35078
35079 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35080
f9d68389
UD
350812011-07-18 Ulrich Drepper <drepper@gmail.com>
35082
35083 * po/nl.po: Update from translation team.
35084 * po/sv.po: Likewise.
35085
db290cf5
RM
350862011-07-16 Roland McGrath <roland@hack.frob.com>
35087
35088 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35089 now disallowed by GCC.
5c550700 35090
fd5e21c7
RM
35091 * configure.in (use-default-link): Default to yes if a test -shared
35092 link meets our qualifications.
35093 * configure: Regenerated.
35094
5c550700
RM
35095 * config.make.in (output-format): New variable.
35096 * configure.in: Check for ld --print-output-format support.
35097 * configure: Regenerated.
35098 * Makerules ($(common-objpfx)format.lds)
35099 [$(output-format) != unknown]: Just use $(output-format),
35100 instead of the linker-script munging.
35101
9fa2c032
RM
351022011-07-14 Roland McGrath <roland@hack.frob.com>
35103
a6928d51
RM
35104 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35105 of $(common-objpfx)shlib.lds.
35106 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35107
661607b3
RM
35108 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35109 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35110
9fa2c032
RM
35111 * configure.in (-z relro check): Adjust test code to add a large
35112 writable data section after it.
35113 * configure: Regenerated.
35114
defe9061
RM
351152011-07-11 Roland McGrath <roland@hack.frob.com>
35116
35117 * configure.in (-z relro check): Fix test code to make the variable
35118 truly const.
35119 * configure: Regenerated.
35120
319b9ad4
UD
351212011-07-11 Ulrich Drepper <drepper@gmail.com>
35122
35123 * nscd/nscd.h (struct traced_file): Define.
35124 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35125 elements. Add traced_files.
35126 (inotify_fd): Declare.
35127 (register_traced_file): Declare.
35128 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35129 (inotify_fd): Export.
35130 (resolv_conf_descr): Remove.
35131 (nscd_init): Move inotify descriptor creation to main.
35132 Don't register files for notification here.
35133 (register_traced_file): New function.
35134 (invalidate_cache): Don't use reset_res to determine whether to call
35135 res_init, go through the list of registered files.
35136 (main_loop_poll): The inotify descriptors are now stored in the
35137 structures for the traced files.
35138 (main_loop_epoll): Likewise
35139 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35140 to __nss_disable_nscd.
35141 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35142 for a database anymore. Check the records for all the registered
35143 files instead.
35144 * nss/Makefile (libnss_files-routines): Add files-init.
35145 (libnss_db-routines): Add db-init.
35146 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35147 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35148 * nss/nss_db/db-init.c: New file.
35149 * nss/nss_files/files-init.c: New file.
35150 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35151 __nss_lookup_function.
35152 (__nss_lookup_function): Call nss_load_library.
35153 (nss_load_all_libraries): New function.
35154 (__nss_disable_nscd): Take parameter with callback function for files
35155 to register. Set is_nscd. Load all the DSOs for the NSS modules
35156 used for the cached services.
35157 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35159 options for features to all the files in nscd.
35160
35161 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35162
23bee3e8
RM
351632011-07-10 Roland McGrath <roland@hack.frob.com>
35164
35165 * csu/elf-init.c (__libc_csu_init): Comment typo.
35166
46a5b7f0
UD
351672011-07-09 Ulrich Drepper <drepper@gmail.com>
35168
35169 * po/pl.po: Update from translation team.
35170 * po/ja.po: Likewise.
35171 * po/ru.po: Likewise.
35172 * po/ko.po: Likewise.
35173 * po/fr.po: Likewise.
35174
d30cf5bb
RM
351752011-07-09 Roland McGrath <roland@hack.frob.com>
35176
113ddea4
RM
35177 * configure.in (.ctors/.dtors header and trailer check):
35178 Use an empirical test on a built program.
35179 * configure: Regenerated.
35180
574920b4
RM
35181 * configure.in (-z relro check): Use an empirical test on a built DSO.
35182 Detect, but do not require, on ia64.
35183 * configure: Regenerated.
35184
d30cf5bb
RM
35185 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35186 Update tests that use readelf to use $READELF instead.
35187 * configure: Regenerated.
35188
8538fdb3
UD
351892011-07-08 Ulrich Drepper <drepper@gmail.com>
35190
35191 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35192 if the result is not used.
35193
04d08991
AJ
351942011-07-05 Andreas Jaeger <aj@suse.de>
35195
35196 [BZ#9696]
35197 * stdlib/tst-strtod.c: Add testcase.
35198
de283087
AD
351992011-07-07 Ulrich Drepper <drepper@gmail.com>
35200
4e5f31c8 35201 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35202 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35203 The latter has a higher limit. Take additional parameter to pass to
35204 the new function.
35205 (__pathconf): Pass file to __statfs_link_max.
35206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35207 __statfs_link_max.
35208 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35209 __statfs_link_max.
35210
de283087
AD
35211 [BZ #12868]
35212 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35214 Handle Lustre.
35215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35216 (__statfs_filesize_max): Likewise.
35217 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35218
c75fa153
AJ
352192011-07-05 Andreas Jaeger <aj@suse.de>
35220
35221 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35222
1a544854
UD
352232011-07-06 Marek Polacek <mpolacek@redhat.com>
35224
35225 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35226 `status' variable.
35227 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35228 Likewise.
35229
6f0eec67
UD
352302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35231
35232 * Makefile (strop-tests): Add strncat.
35233 * string/test-strncat.c: New file.
35234
aae30307
UD
352352011-06-30 Marek Polacek <mpolacek@redhat.com>
35236
35237 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35238
c0cfb5eb
UD
352392011-06-21 Andreas Jaeger <aj@suse.de>
35240
35241 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35242 Copy rule from iconvdata/Makefile.
35243
01636b21
UD
352442011-07-06 Ulrich Drepper <drepper@gmail.com>
35245
35246 [BZ #12922]
35247 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35248 but no long options are defined, just return 'W'.
35249
9895c8bc
UD
352502011-06-22 Marek Polacek <mpolacek@redhat.com>
35251
35252 [BZ #9696]
35253 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35254
5d4cf042
UD
352552011-07-06 Ulrich Drepper <drepper@gmail.com>
35256
35257 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35258 netgroups to read.
960e5535 35259 (innetgr): Likewise.
5d4cf042 35260
751eb97e
RM
352612011-07-05 Roland McGrath <roland@hack.frob.com>
35262
35263 * config.make.in (install_root): Default to $(DESTDIR).
35264
f15f1e45
UD
352652011-07-05 Ulrich Drepper <drepper@gmail.com>
35266
35267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35268
4e34ac6a
RM
352692011-07-02 Roland McGrath <roland@hack.frob.com>
35270
5e9b6af4
RM
35271 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35272
84f9ea0f
RM
35273 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35274 containing directory rather than embedding absolute directory names.
35275
ea5ee9f7
RM
35276 * scripts/check-local-headers.sh: Rewritten using awk.
35277 Match by word, not by line. Print error messages for matches.
35278 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35279
1b74661a
RM
35280 * Makerules [shlib-lds-flags empty]:
35281 ($(common-objpfx)libc_pic.opts): New target.
35282 ($(common-objpfx)libc_pic.os.clean): New target.
35283 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35284
35285 * config.make.in (OBJCOPY): New variable.
35286 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35287 * configure: Regenerated.
35288
f781ef40
RM
35289 * config.make.in (use-default-link): New variable.
35290 * configure.in (use_default_link): Grok --with-default-link to set it.
35291 * configure: Regenerated.
35292 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35293 (shlib-lds, shlib-lds-flags): Define to empty.
35294
2d4fa81e
RM
35295 * Makerules (shlib-lds): New variable.
35296 (shlib-lds-flags): New variable.
35297 (build-shlib, build-moduile, build-module-asneeded): Use it.
35298 ($(common-objpfx)libc.so): Use $(shlib-lds).
35299 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35300 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35301
31fffa6b
RM
35302 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35303 DT_FLAGS/DT_FLAGS_1 with zero flags.
35304
4e34ac6a
RM
35305 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35306 linker script munging.
35307
fcfc776b
UD
353082011-07-02 Ulrich Drepper <drepper@gmail.com>
35309
35310 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35311 as 128-bit value.
35312 * crypt/sha512.c (sha512_process_block): Perform total addition using
35313 128-bit if possible.
35314 (__sha512_finish_ctx): Likewise.
35315 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35316 as 64-bit value.
35317 * crypt/sha256.c (SWAP64): Define.
35318 (sha256_process_block): Perform total addition using 64-bit if
35319 possible.
35320 (__sha256_finish_ctx): Likewise.
35321
99231d9a
UD
353222011-07-01 Ulrich Drepper <drepper@gmail.com>
35323
35324 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35326 * nscd/hstcache.c (cache_addhst): Likewise.
35327 * nscd/grpcache.c (cache_addgr): Likewise.
35328 * nscd/aicache.c (addhstaiX): Likewise
35329 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35330
445b4a53
TK
353312011-07-01 Thorsten Kukuk <kukuk@suse.de>
35332
35333 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35335 * nscd/hstcache.c (cache_addhst): Likewise.
35336 * nscd/grpcache.c (cache_addgr): Likewise.
35337 * nscd/aicache.c (addhstaiX): Likewise
35338
6d4d8e8e
AS
353392011-07-01 Andreas Schwab <schwab@redhat.com>
35340
35341 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35342 domain only when needed.
35343
89f654c5
AS
353442011-06-30 Andreas Schwab <schwab@redhat.com>
35345
35346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35347 is always restored.
35348
cf3b23ff
UD
353492011-06-29 Ulrich Drepper <drepper@gmail.com>
35350
35351 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35352 are re-adding the entry.
35353 * nscd/servicescache.c (cache_addserv): Likewise.
35354
751626f9
AJ
353552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35356
35357 * sysdeps/generic/dl-irel.h: fix protection against multiple
35358 inclusions.
35359 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35360
9113ea1f
UD
353612011-06-28 Ulrich Drepper <drepper@gmail.com>
35362
5c0b8d90
UD
35363 [BZ #12935]
35364 * malloc/memusage.sh: Fix quoting in message.
35365 * debug/xtrace.sh: Likewise.
35366
9113ea1f
UD
35367 * configure.in: Remove support for --experimental-malloc option, make
35368 it the default.
35369 * config.make.in: Likewise.
35370 * malloc/Makefile: Likewise.
35371
a4172181
AS
353722011-06-27 Andreas Schwab <schwab@redhat.com>
35373
35374 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35375 two-byte characters.
35376
78a7eee7
RM
353772011-06-27 Roland McGrath <roland@hack.frob.com>
35378
62bede13
RM
35379 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35380 AC_CACHE_CHECK invocation.
35381 * configure: Regenerated.
35382
78a7eee7
RM
35383 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35384
5ce33a62
UD
353852011-06-27 Ulrich Drepper <drepper@gmail.com>
35386
034807a9
UD
35387 [BZ #12350]
35388 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35389 bit from old_res_options.
35390
4902da17
UD
35391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35392
5ce33a62
UD
35393 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35394 value type for setfct.
35395
c2344f56
L
353962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35397
35398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35399 __gettimeofday instead of gettimeofday.
35400
68468076
UD
354012011-06-26 Ulrich Drepper <drepper@gmail.com>
35402
35403 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35404
acb0d739
L
354052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35406
35407 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35408
35409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35410 info.
35411
8912479f
L
354122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35413
35414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35415 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35416 strcpy-sse2-unaligned strncpy-sse2-unaligned
35417 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35418 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35419 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35420 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35421 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35424 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35425 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35426 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35427 (STRCPY): Support SSE2 and SSSE3 versions.
35428
d5495a11
UD
354292011-06-24 Ulrich Drepper <drepper@gmail.com>
35430
35431 [BZ #12874]
35432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35433 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35434 kernels which artificially limit size of requests.
35435
0b1cbaae
L
354362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35437
35438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35439 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35440 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35441 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35442 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35443 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35444 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35445 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35448 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35449 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35450 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35451 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35452 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35454 Enable unaligned load optimization for Intel Core i3, i5 and i7
35455 processors.
35456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35457 Define.
35458 (index_Fast_Unaligned_Load): Define.
35459 (HAS_FAST_UNALIGNED_LOAD): Define.
35460
07f494a0
MP
354612011-06-23 Marek Polacek <mpolacek@redhat.com>
35462
35463 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35464
fa3fc0fe
UD
354652011-06-22 Ulrich Drepper <drepper@gmail.com>
35466
35467 [BZ #12907]
35468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35469 until it is clear that the information is realy needed.
35470 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35471
e12df166
AS
354722011-06-22 Andreas Schwab <schwab@redhat.com>
35473
35474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35475
852eb34d
UD
354762011-06-22 Ulrich Drepper <drepper@gmail.com>
35477
84e2a551
UD
35478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35479 /sys/devices/system/cpu/online if it is usable.
35480
852eb34d
UD
35481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35482 reading the information from the /proc filesystem to once a second.
35483
6e502e19
UD
354842011-06-21 Andreas Jaeger <aj@suse.de>
35485
35486 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35487 NULL after inclusion of kernel headers.
35488
75d39ff2
UD
354892011-06-21 Ulrich Drepper <drepper@gmail.com>
35490
51f9aa6a
UD
35491 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35492 calls to internal_setent.
35493
c0244a9d
UD
35494 [BZ #12885]
35495 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35496 addresses using gethostbyname4_r ignore IPv4 addresses.
35497
c5e3c2ae
UD
35498 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35499 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35500
75d39ff2
UD
35501 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35502
42675c6f
DM
355032011-06-20 David S. Miller <davem@davemloft.net>
35504
35505 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35506 inclusions.
35507 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35508
35509 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35510 (elf_irel): Use it.
35511 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35512 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35513 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35514 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35515 * sysdeps/x86_64/dl-irel.h: Likewise.
35516
35517 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35518 * elf/dl-sym.c: Likewise.
35519
57912a71
UD
355202011-06-15 Ulrich Drepper <drepper@gmail.com>
35521
35522 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35523 need to dereference resplen2.
35524
ee22793d
AS
355252011-06-14 Andreas Schwab <schwab@redhat.com>
35526
35527 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35528
a9e836b0
UD
355292011-06-15 Ulrich Drepper <drepper@gmail.com>
35530
77fb9117
UD
35531 * Makeconfig: Define vardbdir and inst_vardbdir.
35532 * nss/Makefile: Add rules to install db-Makefile.
35533
40c1b22c
UD
35534 * nss/nss_db/db-XXX.c: Cleanup.
35535
9f2da732
UD
35536 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35537 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35538 GLIBC_PRIVATE.
35539 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35540 * nss/makedb.c: Implement -g option to specify that value strings
35541 are generated and should not be added to table iterated over for
35542 get*ent calls.
35543 * nss/nss_db/db-initgroups.c: New file.
35544
82e9a1f7
UD
35545 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35546 interface.
35547
c41af17e
UD
35548 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35549 (internal_getgrouplist): Adjust to name change.
35550 Update use_initgroups_entry if this is not the first call.
35551 * nss/databases.def: Add initgroups entry.
35552
a9e836b0
UD
35553 * nss/makedb.c (compute_tables): Check result of multiple hash table
35554 sizes to minimize maximum chain length.
35555
2666d441
UD
355562011-06-14 Ulrich Drepper <drepper@gmail.com>
35557
35558 * Versions.def: Add entry for libnss_db.
35559 * shlib-versions: Likewise.
35560 * nss/Makefile: Add rules to build libnss_db.
35561 * nss/Versions: Add libnss_db information. Organize libnss_files
35562 entries better.
35563 * nss/db-Makefile: Add gshadow support. Change rules for the new
35564 makedb progra. Some minor improvements to generate smaller files.
35565 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35566 here from...
35567 * nss/makedb.c: ...here.
35568 Improve database format to be smaller and require less memory at
35569 runtime.
35570 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35571 db anymore.
35572 * nss/nss_db/db-netgrp.c: Likewise.
35573 * nss/nss_db/db-open.c: Likewise.
35574 * nss/nss_files/flies-XXX.x: Adjust comments.
35575 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35576 * nss/nss_files/files-grp.c: Likewise.
35577 * nss/nss_files/files-hosts.c: Likewise.
35578 * nss/nss_files/files-network.c: Likewise.
35579 * nss/nss_files/files-proto.c: Likewise.
35580 * nss/nss_files/files-pwd.c: Likewise.
35581 * nss/nss_files/files-rpc.c: Likewise.
35582 * nss/nss_files/files-service.c: Likewise.
35583 * nss/nss_files/files-sgrp.c: Likewise.
35584 * nss/nss_files/files-spwd.c: Likewise.
35585 * nss/nss_db/db-alias.c: Removed.
35586 * nss/nss_db/dummy-db.h: Removed.
35587
9ee76b5a
UD
355882011-06-02 Ulrich Drepper <drepper@gmail.com>
35589
35590 * nss/makedb.c: Rewritten to not use database library.
35591 * nss/Makefile: Update to build new makedb program.
35592
c71ca1f8
AJ
355932011-06-14 Andreas Jaeger <aj@suse.de>
35594
35595 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35596 memset declaration.
35597
3154bfb8
UD
355982011-06-10 Andreas Schwab <schwab@redhat.com>
35599
35600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35601 tmpbuf.
35602
b350afab
RM
356032011-06-10 Roland McGrath <roland@hack.frob.com>
35604
decd4e50
RM
35605 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35606 * elf/Makefile ($(objpfx)ld.so): Likewise.
35607
5615eaf2
RM
35608 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35609 Don't list ld.so twice in dependencies.
35610
35611 * posix/bug-regex31.c: Include <stdlib.h>.
35612
35613 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35614
35615 * nis/nss_compat/compat-spwd.c
35616 (getspent_next_nss_netgr): Remove unused variable.
35617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35618
35619 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35620 nonmembers" output to use the right array.
35621
35622 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35623
35624 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35625
35626 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35627 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35628 * catgets/gencat.c (read_input_file): Likewise.
35629 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35630
35631 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35632 variable definition inside #if's controlling its use.
35633
35634 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35635
35636 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35637
35638 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35639
35640 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35641 unreachable code.
35642
35643 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35644
b68e08db
RM
35645 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35646 * configure: Regenerated.
35647
b350afab
RM
35648 * Makerules: Revert last change.
35649 * elf/Makefile: Likewise.
35650
28368601
RM
356512011-06-09 Roland McGrath <roland@hack.frob.com>
35652
35653 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35654 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35655 (reloc-link): Likewise.
35656
11988f8f
UD
356572011-06-09 Ulrich Drepper <drepper@gmail.com>
35658
35659 * elf/Makefile: Add rules to build pldd.
35660 * elf/pldd.c: New file.
35661 * elf/pldd-xx.c: New file.
35662
e80fab37
UD
356632011-06-07 Ulrich Drepper <drepper@gmail.com>
35664
35665 * version.h: Update for 2.15 development version.
35666
9b849836
DM
356672011-06-07 David S. Miller <davem@davemloft.net>
35668
35669 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35670 ifuncs.
35671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35672 elf_machine_lazy_rel): Likewise.
35673 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35675 elf_machine_lazy_rel): Likewise.
35676 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35677 dl_hwcap via passed in argument.
35678 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35679 Likewise.
35680
5a31b283
AK
356812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35682
35683 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35684
069e52f8
RM
356852011-06-06 Roland McGrath <roland@hack.frob.com>
35686
35687 [BZ #12849]
35688 * manual/fdl-1.1.texi: New file, verbatim from:
35689 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35690 * manual/lgpl-2.1.texi: New file, verbatim from:
35691 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35692 * manual/Makefile (licenses): New variable, list those new file names.
35693 (texis): Use it.
35694 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35695
35696 * manual/fdl.texi: File removed.
35697 * manual/lesser.texi: File removed.
35698 * manual/libc.texinfo (Copying, Documentation License):
35699 Use new @include file names, put @appendix directive before @include.
35700
f16846a5
JJ
357012011-06-04 Jakub Jelinek <jakub@redhat.com>
35702
35703 [BZ #12841]
35704 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35705 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35706 (mq_open): Add __NTH.
35707
3d29045b
L
357082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35709
35710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35711 Assume Intel Core i3/i5/i7 processor if AVX is available.
35712
8c297311
UD
357132011-05-31 Ulrich Drepper <drepper@gmail.com>
35714
35715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35716 typo.
35717
c8fc0c91
UD
357182011-05-31 Andreas Schwab <schwab@redhat.com>
35719
35720 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35721 memory. Use alloca_account. Fix memory leak when retrying.
35722
5b27a807
UD
357232011-05-31 Ulrich Drepper <drepper@gmail.com>
35724
356f8bc6
UD
35725 * version.h (RELEASE): Bump for 2.14 release.
35726 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35727
5b27a807
UD
35728 * config.make.in (RANLIB): Remove entry.
35729
01f16ab0
UD
357302011-05-30 Ulrich Drepper <drepper@gmail.com>
35731
41fce8bd
UD
35732 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35733 (libc.pot): Work around missing support for .ksh extension in xgettext.
35734
4769ae77
UD
35735 [BZ #12684]
35736 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35737 if both request failed.
35738 (send_dg): In case of server errors clear resplen or *resplen2.
35739
6b1e7d19
UD
35740 [BZ #12454]
35741 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35742 when there are multiple maps.
35743 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35744 (_dl_fini): Remove test here.
35745
01f16ab0
UD
35746 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35747
b1ebd700
UD
357482011-05-29 Ulrich Drepper <drepper@gmail.com>
35749
7ae22829
UD
35750 [BZ #12350]
35751 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35752 bit from old_res_options.
35753 (gaih_inet): Likewise.
35754
553149f6 35755 [BZ #11099]
18a84741 35756 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35757 as signed.
35758
652ffab1
UD
35759 * resolv/res_init.c (res_setoptions): Make the code more compact.
35760
16985fd0
UD
35761 [BZ #11558]
35762 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35763 set RES_USEVC.
35764
0464f746
UD
35765 [BZ #11634]
35766 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35767
7d17596c
UD
35768 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35769
cf6bbbd7
UD
35770 [BZ #11781]
35771 * malloc/malloc.h: Declare malloc hook variables as volatile.
35772
13f1ab36
UD
35773 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35774 in last patch.
35775
b1ebd700
UD
35776 [BZ #11799]
35777 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35778 raise in the comment.
80e2212d
UD
35779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35781 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35782
ce67228d
UD
357832011-05-28 Ulrich Drepper <drepper@gmail.com>
35784
8887a920
UD
35785 [BZ #12811]
35786 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35787 grow the buffers more if it already has to be sufficient.
35788 (build_wcs_upper_buffer): Likewise.
35789 * posix/regexec.c (check_matching): Likewise.
35790 (clean_state_log_if_needed): Likewise.
35791 (extend_buffers): Don't enlarge buffers beyond size of the input
35792 buffer.
35793 Patches mostly by Emil Wojak <emil@wojak.eu>.
35794 * posix/bug-regex32.c: New file.
35795 * posix/Makefile (tests): Add bug-regex32.
35796
4f031072
UD
35797 * locale/findlocale.c (_nl_find_locale): Return right away if
35798 _nl_explode_name failed.
35799 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35800
d0478f0c
UD
35801 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35802
de81b246
UD
35803 * debug/xtrace.sh: Unify messages.
35804 * malloc/memusage.sh: Likewise.
35805
c738465a
UD
35806 [BZ #12813]
35807 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35808 time symbol from vDSO. Substitute with vsyscall if not available.
35809 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35810 __vdso_time.
35811
f1f929d7
UD
35812 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35813 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35814 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35815 Add sendmmsg and internal_sendmmsg.
35816 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35817 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35819
ce67228d
UD
35820 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35821 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35823
e57420c6
UD
358242011-05-27 Ulrich Drepper <drepper@gmail.com>
35825
a8509ca5
UD
35826 [BZ #12813]
35827 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35828 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35829 available.
35830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35831 __vdso_getcpu.
35832
e57420c6
UD
35833 [BZ #12814]
35834 * iconvdata/Makefile (tests): Add bug-iconv9.
35835 * iconvdata/bug-iconv9.c: New file.
35836
4d07db15
AS
358372011-05-27 Andreas Schwab <schwab@redhat.com>
35838
35839 [BZ #12814]
35840 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35841
ea486f69
JJ
358422011-05-25 Jakub Jelinek <jakub@redhat.com>
35843
35844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35845 (struct user_regs_struct): Change intcs field back to cs.
35846
6f038433
UD
358472011-05-25 Ulrich Drepper <drepper@gmail.com>
35848
35849 * po/ja.po: Update from translation team.
35850
67f86a25
UD
358512011-05-23 Ulrich Drepper <drepper@gmail.com>
35852
35853 [BZ #12795]
35854 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35855 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35856
def7fbd6
AS
358572011-05-20 Andreas Schwab <schwab@redhat.com>
35858
35859 * stdlib/longlong.h: Update from GCC.
35860
f50ef8f1
AS
358612011-05-23 Andreas Schwab <schwab@redhat.com>
35862
35863 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35864 parameter name.
35865 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35866 Add parameter name.
35867 (__sysconf): Pass it down.
35868
de7ce8f1
UD
358692011-05-22 Ulrich Drepper <drepper@gmail.com>
35870
f2962a71
UD
35871 [BZ #12671]
35872 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35873 some situations.
35874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35875 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35876 add in in __libc_use_alloca calls. Adjust callers.
35877 (glob): Use malloc in some situations.
35878
de7ce8f1
UD
35879 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35880 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35881 pltexit.
35882
aec84f53
UD
358832011-05-21 Ulrich Drepper <drepper@gmail.com>
35884
05bb4a68
UD
35885 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35886 and CLOCK_BOOTTIME_ALARM.
35887
7ea72f99
UD
35888 [BZ #12782]
35889 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35890 is returned.
35891
7e4afad5
UD
35892 * string/_strerror.c (__strerror_r): Print negative errors as signed
35893 numbers.
35894
8e211fec
UD
35895 [BZ #12777]
35896 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35897 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35898 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35899
f7d82dc9
UD
35900 * configure.in: Fix typo in redirection and correct removal of test
35901 files in two cases.
35902
cc9e536d
UD
35903 [BZ #12788]
35904 * locale/setlocale.c (new_composite_name): Fix test to check for
35905 identical name of all categories.
35906
aec84f53
UD
35907 [BZ #12792]
35908 * libio/filedoalloc.c (local_isatty): New function.
35909 (_IO_file_doallocate): Use local_isatty.
35910 * stdio-common/perror.c (perror): In case a new stream is used
35911 forward the stream error.
35912 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35913 error flag.
35914
78e64fdc
RT
359152011-05-20 Ulrich Drepper <drepper@gmail.com>
35916
34a9094f
UD
35917 [BZ #11869]
35918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35919 alloca.
35920 * include/alloca.h (extend_alloca_account): Define.
35921
78e64fdc
RT
35922 [BZ #11857]
35923 * posix/regex.h: Fix comments with documentation of user-accessible
35924 fields after compilation and describe correct free'ing of pattern
35925 after re_compile_pattern.
35926 Patch by Reuben Thomas <rrt@sc3d.org>.
35927
457bddfc
RA
359282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35929
35930 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35931 and -mno-altivec to prevent the compiler from using Altivec and/or
35932 VSX instructions when the corresponding registers are not available.
35933
a4527b51
AS
359342011-05-19 Andreas Schwab <schwab@redhat.com>
35935
35936 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35937
ed690b2f
UD
359382011-05-19 Ulrich Drepper <drepper@gmail.com>
35939
35940 * libio/freopen.c (freopen): Use __dup2, not dup2.
35941 * libio/freopen64.c (freopen64): Likewise.
35942
8db73634
L
359432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35944
35945 [BZ #12775]
35946 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35947 * math/Makefile (tests): Add test-powl.
35948 (CFLAGS-test-powl.c): Define.
35949 * math/test-powl.c: New file.
35950
0a197a9d
L
359512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35952
35953 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35954
ee30c380
UD
359552011-05-17 Ulrich Drepper <drepper@gmail.com>
35956
35957 [BZ #11837]
35958 * iconvdata/gb18030.c: Update to GB18020-2005.
35959
6ce75379
UD
359602011-05-16 Ulrich Drepper <drepper@gmail.com>
35961
a4b89fd8
AR
35962 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35963 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35964 Patch by Aharon Robbins <arnold@skeeve.com>.
35965
ea389b12
UD
35966 [BZ #11892]
35967 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35968 on the stack.
35969
68a3f91f
UD
35970 [BZ #11895]
35971 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35972 through underflows.
35973
15cc7dd1
UD
35974 [BZ #12766]
35975 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35976 point to strings before performing equality test for error_one_per_line
35977 mode.
35978
f3799213
UD
35979 [BZ #11697]
35980 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35981
d79a9c94
UD
35982 [BZ #11820]
35983 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35984 (struct user_fpregs_struct): Avoid __uint*_t types.
35985
56e5eb46
UD
35986 [BZ #6420]
35987 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35988 symbol info. Use it instead of calling _dl_addr locally.
35989 (lock_and_info): New function.
35990 (tr_freehook): Call lock_and_info and pass symbol info as additional
35991 parameter to tr_where.
35992 (tr_mallochook): Likewise.
35993 (tr_reallochook): Likewise.
35994 (tr_memalignhook): Likewise.
35995
6ce75379
UD
35996 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35997 used and couldn't be at all thread-safe.
35998
f8a3b5bf
UD
359992011-05-15 Ulrich Drepper <drepper@gmail.com>
36000
94b7cc37
UD
36001 * libio/freopen.c (freopen): Don't close old file descriptor
36002 before the new one is opened. Instead dup the new file descriptor
36003 to the old one after the new stream is created.
36004 * libio/freopen64.c (freopen64): Likewise.
36005 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36006 * libio/fileops.c (_IO_new_file_close_it): Handle new
36007 _IO_FLAGS2_NOCLOSE flag.
36008 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36009 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36010 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36011 _IO_FLAGS2_NOCLOSE flag.
36012 * include/unistd.h: Add hidden_proto for dup3.
36013 Define __have_dup3.
36014 * io/dup3.c: Define hidden symbol.
36015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36016
bd25564e
UD
36017 [BZ #7101]
36018 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36019 when an incomplete long option is used.
36020 * posix/tst-getopt_long1.c: New file.
36021 * posix/Makefile (tests): Add tst-getopt_long1.
36022
c84cfef4
UD
36023 [BZ #10138]
36024 * scripts/config.guess: Update from autoconf-2.68.
36025 * scripts/config.sub: Likewise.
36026
3b85df27
UD
36027 [BZ #10157]
36028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36029 tests into ...
36030 (has_cpuclock): ...this. New function.
36031 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36032 macro here based on has_cpuclock code.
36033
15a856b1
UD
36034 [BZ #10149]
36035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36036 First byte (not low byte) is now always NUL.
36037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36038
05f399e6
UD
36039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36040 Use non-cancelable interfaces.
36041
10a52685 36042 [BZ #9809]
94ecc67d
UD
36043 * locale/iso-639.def: Add entry for Sorani.
36044
f8a3b5bf
UD
36045 [BZ #11901]
36046 * include/stdlib.h: Move include protection to the right place.
36047 Define abort_msg_s. Declare __abort_msg with it.
36048 * stdlib/abort.c (__abort_msg): Adjust type.
36049 * assert/assert.c (__assert_fail_base): New function. Majority
36050 of code from __assert_fail. Allocate memory for __abort_msg with
36051 mmap.
36052 (__assert_fail): Now call __assert_fail_base.
36053 * assert/assert-perr.c: Remove bulk of implementation. Use
36054 __assert_fail_base.
36055 * include/assert.hL Declare __assert_fail_base.
36056 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36057 mmap.
36058 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36059
1af4e298
UD
360602011-05-14 Ulrich Drepper <drepper@gmail.com>
36061
f8a3b5bf 36062 [BZ #11952]
d26dfc60
MG
36063 [BZ #12453]
36064 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36065 until all modules are registered in the DTV.
36066 * elf/Makefile: Add rules to build and run tst-tls19.
36067 * elf/tst-tls19.c: New file.
36068 * elf/tst-tls19mod1.c: New file.
36069 * elf/tst-tls19mod2.c: New file.
36070 * elf/tst-tls19mod3.c: New file.
36071 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36072
2fc54d6f
UD
36073 [BZ #12083]
36074 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36075 correctly.
36076
98d76b46
UD
36077 [BZ #12601]
36078 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36079 two-byte sequence errors.
36080 * iconvdata/Makefile (tests): Add bug-iconv8.
36081 * iconvdata/bug-iconv8.c: New file.
36082
da3c19ef
UD
36083 [BZ #12626]
36084 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36085 buf2 definition.
36086
ca408c15
UD
36087 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36088
d6f67f7d
UD
36089 [BZ #12432]
36090 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36091 (dummy_getcfa): New function.
36092 (init): Get _Unwind_GetCFA address, use dummy if not found.
36093 (backtrace_helper): In recursion check, also check whether CFA changes.
36094 (__backtrace): Completely initialize arg.
36095
1af4e298 36096 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36097 storing incomplete byte sequence in state object. Avoid testing for
36098 guaranteed too small input if we know there is enough data available.
1af4e298 36099
da62f81b
AS
361002011-05-11 Andreas Schwab <schwab@redhat.com>
36101
36102 * Makeconfig (+link-pie): Indent.
36103 * Rules (binaries-pie): Define if $(have-fpie) and
36104 $(build-shared).
36105 (binaries-shared): Also filter out $(binaries-pie).
36106 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36107 * nscd/Makefile (others-pie): Add nscd.
36108 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36109 ($(objpfx)nscd): Remove command override.
36110 * login/Makefile (others-pie): Add pt_chown.
36111 ($(objpfx)pt_chown): Remove command override.
36112 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36113 remove command overrides.
36114
fcabc0f8
UD
361152011-05-13 Ulrich Drepper <drepper@gmail.com>
36116
20030ae6
UD
36117 * libio/tst_putwc.c: Fix error messages.
36118
fcabc0f8
UD
36119 [BZ #12724]
36120 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36121 currently writing and seek to current position when not.
36122 * libio/Makefile (tests): Add bug-fclose1.
36123 * libio/bug-fclose1.c: New file.
36124
320a5dc0
PB
361252011-05-12 Ulrich Drepper <drepper@gmail.com>
36126
36127 [BZ #12511]
36128 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36129 don't set DF_1_NODELETE here.
36130 (do_lookup_x): When entering new entry test for copy relocation
36131 and if necessary set DF_1_NODELETE flag.
36132 * elf/tst-unique4.cc: New file.
36133 * elf/tst-unique4.h: New file.
36134 * elf/tst-unique4lib.cc: New file.
36135 * elf/Makefile: Add rules to build and run tst-unique4.
36136 Patch by Piotr Bury <pbury@goahead.com>.
36137
22836f52
UD
361382011-05-11 Ulrich Drepper <drepper@gmail.com>
36139
f574184a
UD
36140 [BZ #12052]
36141 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36142
e1fb097f
UD
36143 [BZ #12625]
36144 * misc/mntent_r.c (addmntent): Flush the stream after the output
36145
22836f52
UD
36146 [BZ #12393]
36147 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36148 (is_trusted_path_normalize): Skip initial colon. Append slash
36149 to empty buffer. Duplicate is_trusted_path code but allow
36150 constructed patch to be prefix.
36151 (is_dst): Allow $ORIGIN followed by /.
36152 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36153 Correct testing of result of is_trusted_path_normalize
36154 (decompose_rpath): Fix warning.
36155
7b3b0b2a
UD
361562011-05-10 Ulrich Drepper <drepper@gmail.com>
36157
36158 [BZ #11257]
36159 * grp/initgroups.c (internal_getgrouplist): When we found the service
36160 list through the initgroups entry in nsswitch.conf do not always
36161 continue on a successful lookup. Don't always use the
eac80ce2 36162 __nss_group_database value if it is set.
7b3b0b2a
UD
36163 * nss/nsswitch.conf (initgroups): Change action for successful db
36164 lookup to continue for compatibility.
36165
2a81eaa5
UD
361662011-05-09 Ulrich Drepper <drepper@gmail.com>
36167
be97a69e
UD
36168 [BZ #11532]
36169 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36170 and CP774 modules.
36171 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36172 and CP774 modules.
36173 * iconvdata/tst-tables.sh: Likewise.
36174 * iconvdata/cp770.c: New file.
36175 * iconvdata/cp771.c: New file.
36176 * iconvdata/cp772.c: New file.
36177 * iconvdata/cp773.c: New file.
36178 * iconvdata/cp774.c: New file.
36179 * iconvdata/testdata/CP770: New file.
36180 * iconvdata/testdata/CP770..UTF8: New file.
36181 * iconvdata/testdata/CP771: New file.
36182 * iconvdata/testdata/CP771..UTF8: New file.
36183 * iconvdata/testdata/CP772: New file.
36184 * iconvdata/testdata/CP772..UTF8: New file.
36185 * iconvdata/testdata/CP773: New file.
36186 * iconvdata/testdata/CP773..UTF8: New file.
36187 * iconvdata/testdata/CP774: New file.
36188 * iconvdata/testdata/CP774..UTF8: New file.
36189
36190 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36191 END CHARMAP line.
36192 * iconvdata/gen-8bit-gap.sh: Likewise.
36193 * iconvdata/gen-8bit.sh: Likewise.
36194
c1e9e399
UD
36195 * locale/iso-639.def: Add ary entry.
36196
24c55fb3 36197 [BZ #11258]
96b4b1b0
UD
36198 * locale/C-translit.h.in: Add U20A1 transliteration.
36199
bdc2f971
KB
36200 [BZ #12178]
36201 * locale/iso-639.def: Add wae entry.
36202 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36203
2952b117
UD
36204 [BZ #12545]
36205 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36206 for n.
36207
2a81eaa5
UD
36208 [BZ #12711]
36209 * locale/C-translit.h.in: Add entry for U20B9.
36210 Patch by pravin.d.s@gmail.com.
36211
28377d1b
UD
362122011-05-08 Ulrich Drepper <drepper@gmail.com>
36213
7fb90fb8
UD
36214 [BZ #12713]
36215 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36216 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36217 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36218 in rtld. Use *stat64.
7fb90fb8 36219 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36220 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36221 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36222 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36223 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36224 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36225 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36226 __fstatat64 macros.
7fb90fb8
UD
36227 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36228 * dirent/rewinddir.c: Add libc_hidden_def.
36229 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36230 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36231
28377d1b
UD
36232 * include/dirent.h (__alloc_dir): Add flags parameter.
36233 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36234 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36235 __alloc_dir.
36236 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36237 from fdopendir if O_CLOEXEC is already set.
36238
66bdbaa4
AM
362392011-03-15 Alan Modra <amodra@gmail.com>
36240
36241 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36242 l_tls_firstbyte_offset non-zero. Save padding offset in
36243 l_tls_firstbyte_offset for later use.
36244 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36245 freeing static tls block.
36246
95721191
JN
362472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36248
36249 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36250 where #ifdef was intended. The intent is to prevent ARG_MAX from
36251 being defined by the kernel headers.
36252
f87dfb1f
UD
362532011-05-07 Ulrich Drepper <drepper@gmail.com>
36254
36255 [BZ #12734]
36256 * resolv/resolv.h: Define RES_NOTLDQUERY.
36257 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36258 no-tld-query and set RES_NOTLDQUERY.
36259 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36260 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36261 modern BIND to search name as TLD unless forbidden.
36262
47c3cd7a
UD
362632011-05-07 Petr Baudis <pasky@suse.cz>
36264 Ulrich Drepper <drepper@gmail.com>
36265
36266 [BZ #12393]
36267 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36268 (is_trusted_path): ...to here.
c1e9ea35 36269 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36270 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36271 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36272
8a35c912
PP
362732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36274
36275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36276 __BEGIN/__END_DECLS.
36277
acd41f47
UD
362782011-05-06 Ulrich Drepper <drepper@gmail.com>
36279
36280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36281 NSS_STATUS_NOTFOUND if no record was found.
36282
597df647
AS
362832011-05-05 Andreas Schwab <schwab@redhat.com>
36284
36285 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36286 (headers-not-in-tirpc): Remove rpc/netdb.h
36287 * resolv/netdb.h: Revert last change.
36288
b9af1301
PP
362892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36290
36291 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36292 circular dependency between libgcc.a and libc.a.
36293
4e34d5f5
AS
362942011-05-05 Andreas Schwab <schwab@redhat.com>
36295
36296 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36297 * nis/Makefile: Don't install rpcsvc/*.
36298 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36299 instead of <rpc/types.h>.
36300 (MAXHOSTNAMELEN): Define.
36301
00ee369c
AS
363022011-05-03 Andreas Schwab <schwab@redhat.com>
36303
36304 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36305
0b592a30
MB
363062011-04-28 Maciej Babinski <mbabinski@google.com>
36307
36308 [BZ #12714]
36309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36310 gethostbyname4_r when IPv6 results are possible.
36311
6e04cbbe
UD
363122011-05-02 Ulrich Drepper <drepper@gmail.com>
36313
36314 [BZ #12723]
36315 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36316 _PC_PIPE_BUF handling.
36317
e4ecafe0
BH
363182011-04-30 Bruno Haible <bruno@clisp.org>
36319
36320 [BZ #12717]
36321 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36322 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36323 to 'int'.
36324 * inet/getnameinfo.c (getnameinfo): Likewise.
36325
125ee683
UD
363262011-04-29 Ulrich Drepper <drepper@gmail.com>
36327
36328 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36329 to groups setting in database lookup.
36330 * nss/nsswitch.conf: Add initgroups entry.
36331
b722481a
EB
363322011-04-22 Ulrich Drepper <drepper@gmail.com>
36333
36334 [BZ #12685]
36335 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36336 mode string.
36337 Patch by Eric Blake <eblake@redhat.com>.
36338
4df46dbd
L
363392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36340
36341 * sunrpc/Makefile (need-export-routines): Add svc_run.
36342 (routines): Remove svc_run.
36343 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36344 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36345 * sunrpc/svc_run.c (svc_run): Likewise.
36346 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36347
e84142d2
UD
363482011-04-21 Ulrich Drepper <drepper@gmail.com>
36349
36350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36351 problem in reallocation in last patch.
36352
877175d8
UD
363532011-04-20 Ulrich Drepper <drepper@gmail.com>
36354
36355 * sunrpc/Makefile: Move inclusion of Rules.
36356
ab8eed78
UD
363572011-04-19 Ulrich Drepper <drepper@gmail.com>
36358
36359 * nss/nss_files/files-initgroups.c: New file.
36360 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36361 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36362 _nss_files_initgroups_dyn.
36363
e3d8f584
RS
363642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36365
36366 * elf/elf.h (R_ARM_IRELATIVE): Define.
36367
af190f45
UD
363682011-04-19 Ulrich Drepper <drepper@gmail.com>
36369
36370 * po/ru.po: Update from translation team.
36371
53cf59ef
UD
363722011-04-17 Ulrich Drepper <drepper@gmail.com>
36373
36374 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36375 dependencies.
36376
4c559bcd
MF
363772011-02-06 Mike Frysinger <vapier@gentoo.org>
36378
36379 [BZ #12653]
36380 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36381 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36385
4420675c
AS
363862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36387
36388 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36389 differing bytes.
36390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36393
75ea32ab
UD
363942011-04-17 Ulrich Drepper <drepper@gmail.com>
36395
36396 [BZ #12420]
36397 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36398 storing it.
36399 * stdlib/bug-getcontext.c: New file.
36400 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36401
27390476
AK
364022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36403
36404 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36405 instructions into .machine "z9-109".
36406 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36407 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36408
10442705
AK
364092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36410
36411 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36412 between environment variables and auxiliary vector.
36413
7b57bfe5
UD
364142011-04-16 Ulrich Drepper <drepper@gmail.com>
36415
36416 * Makefile: Add rules to build linkobj/libc.so.
36417 * include/libc-symbols.h: Define libc_hidden_nolink.
36418 * include/rpc/auth.h: Mark functions which are to be hidden.
36419 * include/rpc/auth_des.h: Likewise.
36420 * include/rpc/auth_unix.h: Likewise.
36421 * include/rpc/clnt.h: Likewise.
36422 * include/rpc/des_crypt.h: Likewise.
36423 * include/rpc/key_prot.h: Likewise.
36424 * include/rpc/pmap_clnt.h: Likewise.
36425 * include/rpc/pmap_prot.h: Likewise.
36426 * include/rpc/pmap_rmt.h: Likewise.
36427 * include/rpc/rpc_msg.h: Likewise.
36428 * include/rpc/svc.h: Likewise.
36429 * include/rpc/svc_auth.h: Likewise.
36430 * include/rpc/xdr.h: Likewise.
36431 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36432 * nss/Makefile: Likewise.
36433 * sunrpc/Makefile: Don't install headers. Build library with normal
36434 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36435 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36436 for the compat linking library. Remove use of INTDEF/INTUSE.
36437 * sunrpc/auth_none.c: Likewise.
36438 * sunrpc/auth_unix.c: Likewise.
36439 * sunrpc/authdes_prot.c: Likewise.
36440 * sunrpc/authuxprot.c: Likewise.
36441 * sunrpc/clnt_gen.c: Likewise.
36442 * sunrpc/clnt_perr.c: Likewise.
36443 * sunrpc/clnt_raw.c: Likewise.
36444 * sunrpc/clnt_simp.c: Likewise.
36445 * sunrpc/clnt_tcp.c: Likewise.
36446 * sunrpc/clnt_udp.c: Likewise.
36447 * sunrpc/clnt_unix.c: Likewise.
36448 * sunrpc/des_crypt.c: Likewise.
36449 * sunrpc/des_soft.c: Likewise.
36450 * sunrpc/get_myaddr.c: Likewise.
36451 * sunrpc/key_call.c: Likewise.
36452 * sunrpc/key_prot.c: Likewise.
36453 * sunrpc/netname.c: Likewise.
36454 * sunrpc/pm_getmaps.c: Likewise.
36455 * sunrpc/pm_getport.c: Likewise.
36456 * sunrpc/pmap_clnt.c: Likewise.
36457 * sunrpc/pmap_prot.c: Likewise.
36458 * sunrpc/pmap_prot2.c: Likewise.
36459 * sunrpc/pmap_rmt.c: Likewise.
36460 * sunrpc/publickey.c: Likewise.
36461 * sunrpc/rpc_cmsg.c: Likewise.
36462 * sunrpc/rpc_common.c: Likewise.
36463 * sunrpc/rpc_dtable.c: Likewise.
36464 * sunrpc/rpc_prot.c: Likewise.
36465 * sunrpc/rpc_thread.c: Likewise.
36466 * sunrpc/rtime.c: Likewise.
36467 * sunrpc/svc.c: Likewise.
36468 * sunrpc/svc_auth.c: Likewise.
36469 * sunrpc/svc_authux.c: Likewise.
36470 * sunrpc/svc_raw.c: Likewise.
36471 * sunrpc/svc_run.c: Likewise.
36472 * sunrpc/svc_simple.c: Likewise.
36473 * sunrpc/svc_tcp.c: Likewise.
36474 * sunrpc/svc_udp.c: Likewise.
36475 * sunrpc/svc_unix.c: Likewise.
36476 * sunrpc/svcauth_des.c: Likewise.
36477 * sunrpc/xcrypt.c: Likewise.
36478 * sunrpc/xdr.c: Likewise.
36479 * sunrpc/xdr_array.c: Likewise.
36480 * sunrpc/xdr_float.c: Likewise.
36481 * sunrpc/xdr_intXX_t.c: Likewise.
36482 * sunrpc/xdr_mem.c: Likewise.
36483 * sunrpc/xdr_rec.c: Likewise.
36484 * sunrpc/xdr_ref.c: Likewise.
36485 * sunrpc/xdr_sizeof.c: Likewise.
36486 * sunrpc/xdr_stdio.c: Likewise.
36487
e6c61494
UD
364882011-04-10 Ulrich Drepper <drepper@gmail.com>
36489
36490 [BZ #12650]
36491 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36492 * sysdeps/ia64/dl-tls.h: Likewise.
36493 * sysdeps/powerpc/dl-tls.h: Likewise.
36494 * sysdeps/s390/dl-tls.h: Likewise.
36495 * sysdeps/sh/dl-tls.h: Likewise.
36496 * sysdeps/sparc/dl-tls.h: Likewise.
36497 * sysdeps/x86_64/dl-tls.h: Likewise.
36498 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36499
34fe483e
AS
365002011-03-14 Andreas Schwab <schwab@redhat.com>
36501
36502 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36503 rpath element also skip the following colon.
36504 (expand_dynamic_string_token): Add is_path parameter and pass
36505 down to DL_DST_REQUIRED and _dl_dst_substitute.
36506 (decompose_rpath): Call expand_dynamic_string_token with
36507 non-zero is_path. Ignore empty rpaths.
36508 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36509 with zero is_path.
36510
f12a32e6
AS
365112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36512
36513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36514 Make cancelable.
36515
38a7d692
UD
365162011-04-09 Ulrich Drepper <drepper@gmail.com>
36517
36518 [BZ #12655]
36519 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36520 Patch by Filipe David Manana <fdmanana@apache.org>.
36521
e451d22b
AS
365222011-04-07 Andreas Schwab <schwab@redhat.com>
36523
36524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36525 Maintain aligned stack.
36526 (CHECK_RSP): Remove unused macro.
36527
dedc7c7b
UD
365282011-04-03 Ulrich Drepper <drepper@gmail.com>
36529
36530 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36532
94521213
UD
365332011-04-02 Ulrich Drepper <drepper@gmail.com>
36534
36535 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36536
8cb700c0 36537 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36538
0354e355
L
365392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36540
36541 [BZ #12518]
36542 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36543 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36544 * sysdeps/x86_64/memmove.c: New file.
36545 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36546 (memcpy): Renamed to ...
36547 (__new_memcpy): This.
36548 (memcpy): Provide GLIBC_2_14 memcpy.
36549 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36550 (memcpy): Provide GLIBC_2_2_5 memcpy.
36551
8593482f
UD
365522011-04-01 Ulrich Drepper <drepper@gmail.com>
36553
36554 [BZ #12631]
36555 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36556
81a5726b
AS
365572011-03-30 Andreas Schwab <schwab@redhat.com>
36558
36559 * misc/syncfs.c: New file.
36560 * misc/Makefile (routines): Add syncfs.
36561 * posix/unistd.h: Declare syncfs.
36562 * sysdeps/unix/syscalls.list: Add syncfs.
36563
00e5419f
AS
365642011-04-01 Andreas Schwab <schwab@redhat.com>
36565
36566 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36567 open_by_handle_at.
36568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36573 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36575
748876bf
UD
365762011-04-01 Ulrich Drepper <drepper@gmail.com>
36577
658e451d
UD
36578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36579 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36584 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36585
748876bf
UD
36586 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36587 sync_file_range.c with -fexceptions.
36588 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36589 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36590 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36591 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36592 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36593 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36595 sync_file_range as cancellation point
36596 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36597 now a wrapper around __call_sync_file_range with cancellation handling.
36598 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36599 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36600 function name to __call_sync_file_range.
36601 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36602 Add call_sync_file_range.
748876bf 36603
6e63d5e1
AS
366042011-04-01 Andreas Schwab <schwab@redhat.com>
36605
36606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36607 bits/timex.h.
6e63d5e1 36608
46998f74
UD
366092011-04-01 Ulrich Drepper <drepper@gmail.com>
36610
4c1423ed
UD
36611 * iconv/iconv.h: Fix typo in comment.
36612 * io/fcntl.h: Likewise.
36613 * libio/stdio.h: Likewise.
36614 * posix/spawn.h: Likewise.
36615 * posix/unistd.h: Likewise.
36616 * stdlib/stdlib.h: Likewise.
36617 * time/time.h: Likewise.
36618 * wcsmbs/wchar.h: Likewise.
36619
158648c0
UD
36620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36621 open_by_handle): Add.
36622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36623 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36624 Augment a few comments.
36625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36629 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36630 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36631 open_by_handle.
36632
46998f74
UD
36633 * io/fcntl.h (AT_EMPTY_PATH): Define.
36634
83fe108b
UD
366352011-03-30 Ulrich Drepper <drepper@gmail.com>
36636
36637 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36638 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36639 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36640 to...
36641 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36642 * Versions.def: Add GLIBC_2.14.
36643 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36644 Export.
83fe108b 36645
bb242059
UD
366462011-03-22 Ulrich Drepper <drepper@gmail.com>
36647
36648 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36649 round counter.
36650 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36651
c97a1282
L
366522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36653
36654 [BZ #12597]
36655 * string/test-strncmp.c (do_page_test): New function.
36656 (check2): Likewise.
36657 (test_main): Call check2.
36658 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36659
2a115601
UD
366602011-03-20 Ulrich Drepper <drepper@gmail.com>
36661
36662 [BZ #12587]
36663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36664 Handle cache information in CPU leaf 4.
36665 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36666
8126d904
UD
366672011-03-18 Ulrich Drepper <drepper@gmail.com>
36668
042c49c6 36669 [BZ #12583]
8126d904
UD
36670 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36671 character representation.
36672 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36673
ccfe366e
RA
366742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36675
36676 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36677 END(__isnan) to END(__isnanf) to match function entry point/label
36678 EALIGN(__isnanf,...).
36679
c6e13027
JJ
366802011-03-10 Jakub Jelinek <jakub@redhat.com>
36681
36682 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36683
33f85a3f
UD
366842011-03-10 Ulrich Drepper <drepper@gmail.com>
36685
028478fa
UD
36686 [BZ #12510]
36687 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36688 copy from the symbol referenced in the relocation to initialize the
36689 used variable.
36690 Patch by Piotr Bury <pbury@goahead.com>.
36691 * elf/Makefile: Add rules to build and tst-unique3.
36692 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36693 * elf/tst-unique3.cc: New file.
36694 * elf/tst-unique3.h: New file.
36695 * elf/tst-unique3lib.cc: New file.
36696 * elf/tst-unique3lib2.cc: New file.
36697
33f85a3f
UD
36698 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36699
03592fc7
MF
367002011-03-10 Mike Frysinger <vapier@gentoo.org>
36701
36702 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36703 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36704 to _start.
03592fc7 36705
6a5ee102
UD
367062011-03-06 Ulrich Drepper <drepper@gmail.com>
36707
36708 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36709 to-be-loaded object along a path to loader is ld.so.
36710
7e4ba49c
HJ
367112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36712 Ulrich Drepper <drepper@gmail.com>
36713
36714 * sysdeps/x86_64/memset.S: After aligning destination, code
36715 branches to different locations depending on the value of
36716 misalignment, when multiarch is enabled. Fix this.
36717
367182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36719
36720 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36721 Set _x86_64_preferred_memory_instruction for AMD processsors.
36722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36723 Set bit_Prefer_SSE_for_memop for AMD processors.
36724
13a804de
UD
367252011-03-04 Ulrich Drepper <drepper@gmail.com>
36726
36727 * libio/fmemopen.c (fmemopen): Optimize a bit.
36728
9d25c392
AS
367292011-03-03 Andreas Schwab <schwab@redhat.com>
36730
36731 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36732
a5543c6a
RM
367332011-03-03 Roland McGrath <roland@redhat.com>
36734
36735 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36736
012d35f7
DM
367372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36738
7e4ba49c 36739 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36740 __bzero_ultra1 instead of __memset_ultra1.
36741
4bff6e01
AS
367422011-02-23 Andreas Schwab <schwab@redhat.com>
36743 Ulrich Drepper <drepper@gmail.com>
36744
36745 [BZ #12509]
36746 * include/link.h (struct link_map): Add l_orig_initfini.
36747 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36748 returning unsuccessfully.
36749 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36750 close of a file loaded at startup, restore the original l_initfini
36751 list.
36752 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36753 list, store the pointer.
36754 * elf/Makefile ($(objpfx)noload-mem): New rule.
36755 (noload-ENV): Define.
36756 (tests): Add $(objpfx)noload-mem.
36757 * elf/noload.c: Include <memcheck.h>.
36758 (main): Call mtrace. Close all opened handles.
36759
f2092faf
AS
367602011-02-17 Andreas Schwab <schwab@redhat.com>
36761
36762 [BZ #12454]
36763 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36764 dependencies are missing.
36765
6c8a2e88
ST
367662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36767
f2092faf 36768 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36769 Hurd needs munmap.
36770 * sysdeps/mach/hurd/ifreq.h: New file.
36771
84a42118
PB
367722011-01-27 Petr Baudis <pasky@suse.cz>
36773 Ulrich Drepper <drepper@gmail.com>
36774
071f805e 36775 [BZ 12445]#
84a42118
PB
36776 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36777 to extend_alloca().
36778 * stdio-common/bug23.c: New file.
36779 * stdio-common/Makefile (tests): Add bug23.
36780
e23fe25b
AS
367812010-09-28 Andreas Schwab <schwab@redhat.com>
36782 Ulrich Drepper <drepper@gmail.com>
36783
36784 [BZ #12489]
36785 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36786 before performing relro protection. At old place add assertion
36787 to make sure nothing changed.
36788
d3f02e10
NS
367892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36790 Glauber de Oliveira Costa <glommer@gmail.com>
36791
36792 * elf/elf.h: Add new ARM TLS relocs.
36793
d55fd7a5
RA
367942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36795
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36797 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36798 cast from r3.
36799 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36800 'tests' variable.
36801 * sysdeps/wordsize-64/tst-writev.c: New file.
36802
2206397e
RA
368032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36804
36805 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36806 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36807 insns in _dl_start to prevent a TOC reference before relocs are
36808 resolved.
36809
e9433893
UD
368102011-02-15 Ulrich Drepper <drepper@gmail.com>
36811
36812 [BZ #12469]
36813 * Makeconfig: Remove RANLIB definition.
36814 * Makerules: Don't use RANLIB.
36815 * aclocal.m4: Remove ranlib test.
36816 * configure.in: No need to check for ranlib.
36817 * elf/rtld-Rules: Don't use RANLIB.
36818
f75286c6
ST
368192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36820
8e31c82d
ST
36821 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36822 protection macro.
36823 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36824 inclusion protection macro.
36825
f75286c6
ST
36826 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36827 SIGRTMIN and SIGRTMAX and print information in that case only when
36828 SIGRTMIN is defined.
36829
c1d0e639
JJ
368302011-02-11 Jakub Jelinek <jakub@redhat.com>
36831
36832 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36833 arginfo fn returning -1.
36834
36835 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36836 and thousands string is zero terminated.
36837
edf9294e
AS
368382011-02-03 Andreas Schwab <schwab@redhat.com>
36839
36840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36841 sysdeps/unix/sysv/linux/bits/socket.h.
36842
2b7e92df
ST
368432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36844
edf9294e
AS
36845 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36846 (__CPU_COUNT): Remove old macros.
36847 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36848 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36849 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36850 (__sched_cpualloc, __sched_cpufree): Add declarations.
36851
a4c7ea7b
UD
368522011-02-05 Ulrich Drepper <drepper@gmail.com>
36853
36854 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36855 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36856 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36857 (readdhstai): Return value of addhstaiX call.
36858 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36859 (addgrbyX): Return value returned by cache_addgr.
36860 (readdgrbyname): Return value returned by addgrbyX.
36861 (readdgrbygid): Likewise.
36862 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36863 (addpwbyX): Return value returned by cache_addpw.
36864 (readdpwbyname): Return value returned by addhstbyX.
36865 (readdpwbyuid): Likewise.
36866 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36867 (addservbyX): Return value returned by cache_addserv.
36868 (readdservbyname): Return value returned by addservbyX:
36869 (readdservbyport): Likewise.
36870 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36871 (addhstbyX): Return value returned by cache_addhst.
36872 (readdhstbyname): Return value returned by addhstbyX.
36873 (readdhstbyaddr): Likewise.
36874 (readdhstbynamev6): Likewise.
36875 (readdhstbyaddrv6): Likewise.
36876 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36877 (readdinitgroups): Return value returned by addinitgroupsX.
36878 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36879 (prune_cache): Keep track of timeout value of re-added entries.
36880 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36881 * nscd/nscd.h: Adjust prototypes of readd* functions.
36882
a0bf67cc
RM
368832011-02-04 Roland McGrath <roland@redhat.com>
36884
36885 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36886 (nis_stats): Likewise.
36887 * nis/nis_modify.c (nis_modify): Likewise.
36888 * nis/nis_remove.c (nis_remove): Likewise.
36889 * nis/nis_add.c (nis_add): Likewise.
36890
36891 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36892
36893 * posix/fnmatch_loop.c: Add some consts.
36894
36895 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36896
435b95eb
L
368972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36898
36899 [BZ #12460]
36900 * config.make.in (config-cflags-novzeroupper): Define.
36901 * configure.in: Substitute libc_cv_cc_novzeroupper.
36902 * elf/Makefile (AVX-CFLAGS): Define.
36903 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36904 (CFLAGS-tst-auditmod4a.c): Likewise.
36905 (CFLAGS-tst-auditmod4b.c): Likewise.
36906 (CFLAGS-tst-auditmod6b.c): Likewise.
36907 (CFLAGS-tst-auditmod6c.c): Likewise.
36908 (CFLAGS-tst-auditmod7b.c): Likewise.
36909 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36910
8517b15e
UD
369112011-02-02 Ulrich Drepper <drepper@gmail.com>
36912
36913 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36914 function to the callback.
36915 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36916
10a656fe
AS
369172011-02-02 Andreas Schwab <schwab@redhat.com>
36918
36919 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36920 of errno.
36921
968dad0a
UD
369222011-01-19 Ulrich Drepper <drepper@gmail.com>
36923
9f94d2ea 36924 [BZ #11724]
968dad0a
UD
36925 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36926 of constructors.
36927 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36928 of destructors.
36929 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36930
36931 [BZ #11724]
36932 * elf/Makefile: Add rules to build and run new test.
36933 * elf/tst-initorder.c: New file.
36934 * elf/tst-initorder.exp: New file.
36935 * elf/tst-initordera1.c: New file.
36936 * elf/tst-initordera2.c: New file.
36937 * elf/tst-initordera3.c: New file.
36938 * elf/tst-initordera4.c: New file.
36939 * elf/tst-initorderb1.c: New file.
36940 * elf/tst-initorderb2.c: New file.
36941 * elf/tst-order-a1.c: New file.
36942 * elf/tst-order-a2.c: New file.
36943 * elf/tst-order-a3.c: New file.
36944 * elf/tst-order-a4.c: New file.
36945 * elf/tst-order-b1.c: New file.
36946 * elf/tst-order-b2.c: New file.
36947 * elf/tst-order-main.c: New file.
36948 New test case by George Gensure <werkt0@gmail.com>.
36949
86e92359
UD
369502010-10-01 Andreas Schwab <schwab@redhat.com>
36951
36952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36953 decoding ACE if AI_CANONIDN.
36954
5d5732b0
UD
369552011-01-18 Ulrich Drepper <drepper@gmail.com>
36956
36957 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36958
a77e8cbc
UD
369592011-01-17 Ulrich Drepper <drepper@gmail.com>
36960
6392473f
UD
36961 * version.h (RELEASE): Bump for 2.13 release.
36962 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36963
620a0529
UD
36964 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36965
18ba70a5
UD
36966 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36967 MADV_NOHUGEPAGE.
32465c3e
UD
36968 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36969 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36974
c0dafcf1
UD
36975 * posix/getconf.c: Update copyright year.
36976 * catgets/gencat.c: Likewise.
36977 * csu/version.c: Likewise.
36978 * debug/catchsegv.sh: Likewise.
36979 * debug/xtrace.sh: Likewise.
36980 * elf/ldconfig.c: Likewise.
36981 * elf/ldd.bash.in: Likewise.
36982 * elf/sprof.c (print_version): Likewise.
36983 * iconv/iconv_prog.c: Likewise.
36984 * iconv/iconvconfig.c: Likewise.
36985 * locale/programs/locale.c: Likewise.
36986 * locale/programs/localedef.c: Likewise.
36987 * malloc/memusage.sh: Likewise.
36988 * malloc/mtrace.pl: Likewise.
36989 * nscd/nscd.c (print_version): Likewise.
36990 * nss/getent.c: Likewise.
36991
a77e8cbc
UD
36992 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36993 PF_CAIF, and PF_ALG.
36994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36995
77e8bddf
AS
369962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36997
1f20b93a
AS
36998 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36999 (modules-names): Use them.
37000 (ifunc-test-modules, ifunc-pie-tests): Define.
37001 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37002 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37003 (test-extras): Likewise.
37004 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37005 $(compile-command.c).
37006 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37007 (all-built-dso): Define.
37008 (check-textrel.out, check-execstack.out): Depend on it.
37009
77e8bddf
AS
37010 * configure.in: Don't override --enable-multi-arch.
37011
bc425b33
UD
370122011-01-15 Ulrich Drepper <drepper@gmail.com>
37013
37014 [BZ #6812]
37015 * nscd/hstcache.c (tryagain): Define.
37016 (cache_addhst): Return tryagain not notfound for temporary errors.
37017 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37018 failed.
37019
794c3ad3
UD
370202011-01-14 Ulrich Drepper <drepper@gmail.com>
37021
70181fdd
UD
37022 [BZ #10563]
37023 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37024 to make the syscall.
37025 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37026
794c3ad3
UD
37027 [BZ #12378]
37028 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37029 and fall back to matching as normal character if the string ends before
37030 the matching ']' is found. This is what POSIX requires.
37031 * posix/testfnm.c: Adjust test result.
37032 * posix/globtest.sh: Adjust test result. Add new test.
37033 * posix/tst-fnmatch.input: Likewise.
37034 * posix/tst-fnmatch2.c: Add new test.
37035
68dc9497
AS
370362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37037
37038 * elf/Makefile (check-execstack): Revert last change. Depend on
37039 check-execstack.h.
37040 (check-execstack.h): New target.
37041 (generated): Add check-execstack.h.
37042 * elf/check-execstack.c: Include "check-execstack.h".
37043 (main): Revert last change.
37044 (handle_file): Return zero if GNU_STACK is absent and
37045 DEFAULT_STACK_PERMS doesn't include PF_X.
37046
451f001b
UD
370472011-01-13 Ulrich Drepper <drepper@gmail.com>
37048
cfa28e56
UD
37049 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37050 in child fails because the descriptor is already closed.
8cf8ce17
UD
37051 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37052 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37053 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37054
1086d70d
UD
37055 [BZ #12397]
37056 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37057 syscall.
37058
451f001b
UD
37059 [BZ #10484]
37060 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37061 temporary buffer used to handle multi lookups locally.
a85b5cb4 37062 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37063
08769175
UD
370642011-01-12 Ulrich Drepper <drepper@gmail.com>
37065
37066 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37067 loader is ld.so.
37068
5e49c52e
UD
370692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37070
37071 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37072 alignment for SSE2.
37073
60522a5f
UD
370742011-01-12 Ulrich Drepper <drepper@gmail.com>
37075
37076 [BZ #12394]
37077 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37078 characters. When rounding increased number of integer digits recompute
37079 number of groups.
37080 * stdio-common/tst-grouping.c: New file.
37081 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37082
f257bbd7
UD
370832011-01-09 Ulrich Drepper <drepper@gmail.com>
37084
37085 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37086 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37087
37088 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37089 void.
37090 * bits/select.h: Likewise.
37091
fa9c15cb
UD
370922011-01-08 Ulrich Drepper <drepper@gmail.com>
37093
37094 * po/ja.po: Update from translation team.
37095
16c2895f
DM
370962011-01-04 David S. Miller <davem@sunset.davemloft.net>
37097
37098 [BZ #11155]
37099 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37100 implementation just like for lxstat, fxstatat, et al.
37101
2543fef2
JM
371022010-12-27 Jim Meyering <meyering@redhat.com>
37103
37104 [BZ #12348]
37105 * posix/regexec.c (build_trtable): Return failure indication upon
37106 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37107
98727dbe
UD
371082010-12-25 Ulrich Drepper <drepper@gmail.com>
37109
5bd6dc5c
UD
37110 [BZ #12201]
37111 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37112 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37113 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37114 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37115
97983464
UD
37116 [BZ #12207]
37117 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37118
98727dbe
UD
37119 [BZ #12204]
37120 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37121 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37122
4a531bb0
L
371232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37124
37125 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37126 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37127 script has SORT_BY_INIT_PRIORITY.
37128 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37129 NO_CTORS_DTORS_SECTIONS is defined.
37130 * elf/soinit.c: Likewise.
37131 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37132 NO_CTORS_DTORS_SECTIONS is defined.
37133 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37134 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37135 * sysdeps/sh/init-first.c: Likewise.
37136 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37137
07eb4b71
UD
371382010-12-24 Ulrich Drepper <drepper@gmail.com>
37139
37140 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37141 always use the slow path.
37142
30950a5f
RA
371432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37144
37145 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37146 similar rule which adds the sysdep directories to the header search in
37147 order to pick up the correct platform stackinfo.h.
37148 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37149 perform test if it is, otherwise return successfully without testing.
37150 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37151 DEFAULT_STACK_PERMS define in stackinfo.h.
37152 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37153 defined in stackinfo.h.
37154 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37155 DEFAULT_STACK_PERMS defined in stackinfo.h.
37156 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37157 * sysdeps/ia64/stackinfo.h: Likewise.
37158 * sysdeps/s390/stackinfo.h: Likewise.
37159 * sysdeps/sh/stackinfo.h: Likewise.
37160 * sysdeps/sparc/stackinfo.h: Likewise.
37161 * sysdeps/x86_64/stackinfo.h: Likewise.
37162 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37163 PF_X for powerpc64. Retain PF_X for powerpc32.
37164
db753e2c
UD
371652010-12-19 Ulrich Drepper <drepper@gmail.com>
37166
14b697f7
UD
37167 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37168 accurately.
db753e2c
UD
37169 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37170 GETDENTS_64BIT_ALIGNED.
37171
28300719
UD
371722010-12-14 Ulrich Drepper <dreper@gmail.com>
37173
14b697f7 37174 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37175
4f197237
AS
371762010-12-10 Andreas Schwab <schwab@redhat.com>
37177
dbb0472f
AS
37178 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37179 _GNU_SOURCE.
37180
4f197237
AS
37181 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37182 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37183 Remove __restrict.
37184 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37185 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37186
fb88ac72
UD
371872010-12-09 Ulrich Drepper <drepper@gmail.com>
37188
37189 [BZ #11655]
37190 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37191 are initialized.
37192
42acbb92
JJ
371932010-12-09 Jakub Jelinek <jakub@redhat.com>
37194
37195 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37196
c038d98d
UD
371972010-12-03 Ulrich Drepper <drepper@gmail.com>
37198
37199 * po/it.po: Update from translation team.
37200
3a4a2499
L
372012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37202
37203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37204 unused codes.
37205
1e24cf6e
UD
372062010-11-30 Ulrich Drepper <drepper@gmail.com>
37207
37208 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37209
a7690819
AS
372102010-11-24 Andreas Schwab <schwab@redhat.com>
37211
37212 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37213 specially.
37214 (gaih_getanswer_slice): Likewise.
37215
3bf8d1b1
JJ
372162010-10-20 Jakub Jelinek <jakub@redhat.com>
37217
37218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37219
6db52fbb
PB
372202010-05-31 Petr Baudis <pasky@suse.cz>
37221
37222 [BZ #11149]
37223 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37224 silently even in the chroot mode.
37225
eaca7569
UD
372262010-11-22 Ulrich Drepper <drepper@gmail.com>
37227
37228 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37229 last patch a bit. Pretty printing
37230
3056dcdb
UD
372312010-05-31 Petr Baudis <pasky@suse.cz>
37232
37233 [BZ #10085]
37234 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37235 initialization of skip_initgroups_dyn.
37236
cf7c9078
UD
372372010-11-19 Ulrich Drepper <drepper@gmail.com>
37238
37239 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37241
a1fb5e3e
UD
372422010-11-16 Ulrich Drepper <drepper@gmail.com>
37243
37244 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37245
3540d66b
AS
372462010-11-11 Andreas Schwab <schwab@redhat.com>
37247
37248 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37249 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37250 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37251 ($(objpfx)tst-fnmatch-mem): New rule.
37252 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37253 * posix/tst-fnmatch.c (main): Call mtrace.
37254
13b69574
L
372552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37256
37257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37258 Support Intel processor model 6 and model 0x2c.
37259
da93d214
LM
372602010-11-10 Luis Machado <luisgpm@br.ibm.com>
37261
37262 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37263 signed comparison.
37264
8ca52c6e
L
372652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37266
37267 [BZ #12205]
37268 * string/test-strncasecmp.c (check_result): New function.
37269 (do_one_test): Use it.
37270 (check1): New function.
37271 (test_main): Use it.
37272 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37273 Support strcasecmp and strncasecmp.
37274
69da074d
UD
372752010-11-08 Ulrich Drepper <drepper@gmail.com>
37276
37277 [BZ #12194]
37278 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37280
ff02d528
L
372812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37282
37283 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37284 IFUNC support.
37285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37286 memset-x86-64.
37287 * sysdeps/x86_64/multiarch/bzero.S: New file.
37288 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37289 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37290 * sysdeps/x86_64/multiarch/memset.S: New file.
37291 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37293 Set bit_Prefer_SSE_for_memop for Intel processors.
37294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37295 Define.
37296 (index_Prefer_SSE_for_memop): Define.
37297 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37298
344d0b54
LM
372992010-11-04 Luis Machado <luisgpm@br.ibm.com>
37300
37301 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37302 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37303
c0dde15b
UD
373042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37305
37306 [BZ #12191]
37307 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37308 (__x86_64_raw_data_cache_size_half): Likewise.
37309 (__x86_64_raw_shared_cache_size): Likewise.
37310 (__x86_64_raw_shared_cache_size_half): Likewise.
37311
37312 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37313 (__x86_64_raw_data_cache_size_half): Likewise.
37314 (__x86_64_raw_shared_cache_size): Likewise.
37315 (__x86_64_raw_shared_cache_size_half): Likewise.
37316 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37317 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37318 and __x86_64_raw_shared_cache_size_half. Round
37319 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37320 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37321 to multiple of 256 bytes.
37322
0e516e0e
MS
373232010-11-03 Ulrich Drepper <drepper@gmail.com>
37324
37325 [BZ #12167]
37326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37327 of inacessible symlinks. Verify result of symlink before returning it.
37328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37329 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37330
0e012e87
ER
373312010-10-28 Erich Ritz <erichritz@gmail.com>
37332
37333 * math/math.h (isinf): Fix typo in comment.
37334
de0ff7bc
UD
373352010-11-01 Ulrich Drepper <drepper@gmail.com>
37336
37337 * po/da.po: Update from translation team.
37338
fa41c84d
UD
373392010-10-26 Ulrich Drepper <drepper@gmail.com>
37340
37341 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37342 is added to the list.
37343
f0967738
AK
373442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37345 Ulrich Drepper <drepper@gmail.com>
37346
37347 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37348 the global list here. Move code to...
37349 (_dl_add_to_namespace_list): ...here. New function.
37350 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37351 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37352 * elf/dl-load.c (lose): Don't remove the element from the list.
37353 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37354 (_dl_map_object): Likewise.
37355
373562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37357
37358 [BZ #12159]
37359 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37360 into all bytes of SSE register.
37361 Patch by Richard Li <richardpku@gmail.com>.
37362
f0967738 373632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37364
37365 [BZ #12140]
37366 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37367 perturbing.
37368
d0b9e94f
MB
373692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37370
37371 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37372 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37373 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37374 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37376 submachine.
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37378
8e9f92e9
AS
373792010-10-22 Andreas Schwab <schwab@redhat.com>
37380
37381 * include/dlfcn.h (__RTLD_SECURE): Define.
37382 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37383 mode & __RTLD_SECURE instead.
37384 (open_path): Rename preloaded parameter to secure.
37385 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37386 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37387 * elf/dl-deps.c (openaux): Likewise.
37388 * elf/rtld.c (struct map_args): Remove is_preloaded.
37389 (map_doit): Don't use it.
37390 (dl_main): Likewise.
37391 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37392 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37393
bc96fbda
AS
373942010-09-09 Andreas Schwab <schwab@redhat.com>
37395
37396 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37397 (sysd-rules-targets): Remove duplicates.
37398 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37399 rtld-%.$o dependency.
37400
22cd1c9b
AS
374012010-10-18 Andreas Schwab <schwab@redhat.com>
37402
37403 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37404 _dl_map_object do it.
37405
18edac48
UD
374062010-10-19 Ulrich Drepper <drepper@gmail.com>
37407
37408 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37409 fast fma builtins, define the macros in the C99 standard.
37410 (FP_FAST_FMAF): Likewise.
37411 (FP_FAST_FMAL): Likewise.
37412 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37413
37414 * bits/mathdef.h: Update copyright year.
37415 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37416
d2050124
MM
374172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37418
37419 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37420 builtins, define the macros in the C99 standard.
37421 (FP_FAST_FMAF): Likewise.
37422 (FP_FAST_FMAL): Likewise.
37423 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37424 multiply/add.
37425 (FP_FAST_FMAF): Likewise.
37426
475facd1
JJ
374272010-10-15 Jakub Jelinek <jakub@redhat.com>
37428
37429 [BZ #3268]
37430 * math/libm-test.inc (fma_test): Some new testcases.
37431 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37432 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37433 y and infinite z. Do multiplication by C already in long double.
37434 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37436 y and infinite z. Do bitwise or of inexact bit into u.d.
37437 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37438 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37439 * sysdeps/i386/fpu/s_fma.S: Removed.
37440 * sysdeps/i386/fpu/s_fmal.S: Removed.
37441
7c08a05c
JJ
374422010-10-16 Jakub Jelinek <jakub@redhat.com>
37443
37444 [BZ #3268]
37445 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37447 computation is not scheduled after fetestexcept. Fix value
37448 of minimum denormal long double.
37449
f3f7372d
JJ
374502010-10-14 Jakub Jelinek <jakub@redhat.com>
37451
37452 [BZ #3268]
37453 * math/libm-test.inc (fma_test): Add some more tests.
37454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37455 correctly.
37456
14d43591
AS
374572010-10-15 Andreas Schwab <schwab@redhat.com>
37458
37459 * scripts/data/localplt-s390-linux-gnu.data: New file.
37460 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37461
5e908464
JJ
374622010-10-13 Jakub Jelinek <jakub@redhat.com>
37463
37464 [BZ #3268]
37465 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37466 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37467 instead of dbl-64.
37468 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37469 inlines.
37470 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37472 if one of x and y is very large and the other is subnormal.
37473 * sysdeps/s390/fpu/s_fmaf.c: New file.
37474 * sysdeps/s390/fpu/s_fma.c: New file.
37475 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37476 * sysdeps/powerpc/fpu/s_fma.S: New file.
37477 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37478 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37479 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37480
374812010-10-12 Jakub Jelinek <jakub@redhat.com>
37482
37483 [BZ #3268]
37484 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37485 fma tests.
37486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37487 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37488 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37489 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37490 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37491 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37492 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37493
b833d51f
UD
374942010-10-12 Ulrich Drepper <drepper@redhat.com>
37495
37496 [BZ #12078]
37497 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37498 * posix/bug-regex31.input: Add test case.
37499
1751705d
UD
375002010-10-11 Ulrich Drepper <drepper@gmail.com>
37501
e9b9cbf5
UD
37502 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37503 * posix/bug-regex31.input: New file.
37504
37505 [BZ #12078]
37506 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37507 (parse_sub_exp): Fix last change, use postorder.
37508
ef06edbe
UD
37509 * posix/bug-regex31.c: New file.
37510 * posix/Makefile: Add rules to build and run bug-regex31.
37511
a129c80d
UD
37512 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37513
37514 [BZ #12078]
37515 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37516
b76b818e
UD
37517 [BZ #12108]
37518 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37519 to have entries in sys_siglist.
37520
1751705d
UD
37521 [BZ #12093]
37522 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37523 be NULL.
37524
9ff8d36f
JJ
375252010-10-07 Jakub Jelinek <jakub@redhat.com>
37526
37527 [BZ #3268]
37528 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37529 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37530 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37531 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37532 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37533 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37534 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37535 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37536 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37537 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37538 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37539 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37540 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37541 * math/ftestexcept.c (fetestexcept): Likewise.
37542 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37543 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37544 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37545 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37546 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37547 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37549
af325969
UD
375502010-10-11 Ulrich Drepper <drepper@gmail.com>
37551
c579b202 37552 [BZ #12107]
af325969
UD
37553 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37554 newline.
37555
67a67b95
UD
375562010-10-06 Ulrich Drepper <drepper@gmail.com>
37557
37558 * string/bug-strstr1.c: New file.
37559 * string/Makefile: Add rules to build and run bug-strstr1.
37560
5fb308bc
EB
375612010-10-05 Eric Blake <eblake@redhat.com>
37562
37563 [BZ #12092]
37564 * string/str-two-way.h (two_way_long_needle): Always clear memory
37565 when skipping input due to the shift table.
37566
45db99c7
UD
375672010-10-03 Ulrich Drepper <drepper@gmail.com>
37568
3b111893
UD
37569 [BZ #12005]
37570 * malloc/mcheck.c: Handle large requests.
37571
45db99c7
UD
37572 [BZ #12077]
37573 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37574 for strncmp and strncasecmp.
37575 * string/stratcliff.c: Add tests for strcmp and strncmp.
37576 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37577
cf7a1eb8
NI
375782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37579
37580 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37581 __set_fpscr.
37582
6484ba5e
AJ
375832010-09-30 Andreas Jaeger <aj@suse.de>
37584
37585 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37586 (CGROUP_SUPER_MAGIC): Define.
37587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37588 Handle btrfs and cgroup file systems.
37589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37590 Likewise.
37591
91c42559
LM
375922010-09-27 Luis Machado <luisgpm@br.ibm.com>
37593
37594 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37595 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37596
87a97932
AK
375972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37598
37599 [BZ #12067]
37600 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37601 trying to locate the ELF header.
37602
c21cc9bc
AS
376032010-09-27 Andreas Schwab <schwab@redhat.com>
37604
37605 [BZ #11611]
37606 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37607 Mask out sign-bit copies when constructing f_fsid.
37608
315970f6
PB
376092010-09-24 Petr Baudis <pasky@suse.cz>
37610
37611 * debug/stack_chk_fail_local.c: Add missing licence exception.
37612 * debug/warning-nop.c: Likewise.
37613
1ac7a2c7
JM
376142010-09-15 Joseph Myers <joseph@codesourcery.com>
37615
37616 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37617 implementing getdents64 using getdents syscall, set d_type if
37618 __ASSUME_GETDENTS32_D_TYPE.
37619
56801c50
AS
376202010-09-16 Andreas Schwab <schwab@redhat.com>
37621
37622 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37623 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37624
dda51327
UD
376252010-09-21 Ulrich Drepper <drepper@redhat.com>
37626
37627 [BZ #12037]
37628 * posix/unistd.h: Undo change of feature selection for ftruncate from
37629 2010-01-11.
37630
8ffcee4a
UD
376312010-09-20 Ulrich Drepper <drepper@redhat.com>
37632
a545ecd9 37633 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37634 detection.
37635
e24f0a8b
AS
376362010-09-20 Andreas Schwab <schwab@redhat.com>
37637
37638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37639 fanotify_mark.
37640 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37641
7291c56f
AS
376422010-09-14 Andreas Schwab <schwab@redhat.com>
37643
37644 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37645 variables after CHECK_SP call.
37646 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37647
bc5fb037
AS
376482010-09-13 Andreas Schwab <schwab@redhat.com>
37649 Ulrich Drepper <drepper@redhat.com>
37650
37651 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37652 re-relocationg ld.so.
37653 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37654 _dl_init_paths call.
37655 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37656 here anymore.
37657
e66e7419
UD
376582010-09-14 Ulrich Drepper <drepper@redhat.com>
37659
37660 * resolv/res_init.c (__res_vinit): Count the default server we added.
37661
c044aa75
CLT
376622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37663 Ulrich Drepper <drepper@redhat.com>
37664
37665 [BZ #11968]
37666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37667 (____longjmp_chk): Use %ebx for saving value across system call.
37668 Add unwind info.
37669
32cf4069
AS
376702010-09-06 Andreas Schwab <schwab@redhat.com>
37671
37672 * manual/Makefile: Don't mix pattern rules with normal rules.
37673
817328ee
AS
376742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37675
37676 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37677 operation.
37678 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37679 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37680 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37681 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37683 Likewise.
37684
29fddf61
UD
376852010-09-04 Ulrich Drepper <drepper@redhat.com>
37686
37687 [BZ #11979]
37688 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37689 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37690
0959ffc9
UD
376912010-09-02 Ulrich Drepper <drepper@redhat.com>
37692
37693 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37694 * sysdeps/x86_64/addmul_1.S: Likewise.
37695 * sysdeps/x86_64/lshift.S: Likewise.
37696 * sysdeps/x86_64/mul_1.S: Likewise.
37697 * sysdeps/x86_64/rshift.S: Likewise.
37698 * sysdeps/x86_64/sub_n.S: Likewise.
37699 * sysdeps/x86_64/submul_1.S: Likewise.
37700
ece29840
ST
377012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37702
0959ffc9
UD
37703 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37704 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37705 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37706 * bits/sched.h [__need_schedparam]
ece29840 37707 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37708 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37709 (__defined_schedparam): Define to 1.
ece29840
ST
37710 (__sched_param): New structure, identical to sched_param.
37711 (__need_schedparam): Undefine.
37712
e53a31fe
MF
377132010-08-31 Mike Frysinger <vapier@gentoo.org>
37714
fdc0c10d
MF
37715 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37716 (epoll_create1): Declare.
37717
e53a31fe
MF
37718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37719
a726d796
AS
377202010-08-31 Andreas Schwab <schwab@redhat.com>
37721
37722 [BZ #7066]
37723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37724 shifting retval into place.
37725
2f3e3dc7
UD
377262010-09-01 Ulrich Drepper <drepper@redhat.com>
37727
f2933da9
UD
37728 * nis/rpcsvc/nis.h: Update copyright notice.
37729 * nis/rpcsvc/nis.x: Likewise.
37730 * nis/rpcsvc/nis_callback.h: Likewise.
37731 * nis/rpcsvc/nis_callback.x: Likewise.
37732 * nis/rpcsvc/nis_object.x: Likewise.
37733 * nis/rpcsvc/nis_tags.h: Likewise.
37734 * nis/rpcsvc/yp.h: Likewise.
37735 * nis/rpcsvc/yp.x: Likewise.
37736 * nis/rpcsvc/ypupd.h: Likewise.
37737 * nis/yp_xdr.c: Likewise.
37738 * nis/ypupdate_xdr.c: Likewise.
37739
2f3e3dc7
UD
37740 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37741 mainly the body of pmap_getport. Add parameters to specify timeouts.
37742 (pmap_getport): Use __libc_rpc_getport.
37743 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37744 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37745 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37746
f3dcc2f9
AS
377472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37748
37749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37750 fanotify_mark.
37751
6d34eb5b
RM
377522010-08-27 Roland McGrath <roland@redhat.com>
37753
37754 * sysdeps/i386/i686/multiarch/Makefile
37755 (CFLAGS-varshift.c): New variable.
37756
9ea3de11
UD
377572010-08-27 Ulrich Drepper <drepper@redhat.com>
37758
c96d23fc
UD
37759 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37760 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37761
9ea3de11
UD
37762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37763
37764 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37765
623aac7f
L
377662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37767
37768 * sysdeps/x86_64/strlen.S: Unroll the loop.
37769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37770 strlen-sse2 strlen-sse2-bsf.
37771 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37772 __strlen_no_bsf if bit_Slow_BSF is set.
37773 (__strlen_sse42): Removed.
37774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37775 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37776
8b2b7715
RM
377772010-08-25 Roland McGrath <roland@redhat.com>
37778
37779 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37780 * sysdeps/x86_64/multiarch/varshift.c: New file.
37781 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37782 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37783 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37784 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37785
e73015f2
L
377862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37787
37788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37789 strlen-sse2 strlen-sse2-bsf.
37790 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37791 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37792 (__strlen_sse2): Removed.
37793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37796 bit_Slow_BSF for Atom.
37797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37798 (index_Slow_BSF): Define.
37799 (HAS_SLOW_BSF): Define.
37800
df24a73e
UD
378012010-08-25 Ulrich Drepper <drepper@redhat.com>
37802
37803 [BZ #10851]
37804 * resolv/res_init.c (__res_vinit): When no server address at all
37805 is given default to loopback.
37806
f2ac4868
RM
378072010-08-24 Roland McGrath <roland@redhat.com>
37808
09055553
RM
37809 * configure.in: Remove config-name.h generation.
37810 * configure: Regenerated.
37811 * config-name.in: File removed.
37812 * scripts/config-uname.sh: New file.
37813 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37814 ($(objdir)config-name.h): New target.
37815
f2ac4868
RM
37816 * sunrpc/rpc_parse.h: Avoid nested comment.
37817
73f27d5e
RH
378182010-08-24 Richard Henderson <rth@redhat.com>
37819 Ulrich Drepper <drepper@redhat.com>
37820 H.J. Lu <hongjiu.lu@intel.com>
37821
37822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37824 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37825 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37826 _mm_alignr_epi8 with _mm_loadu_si128.
37827 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37828 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37829 (__m128i_shift_right): Removed.
37830 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37831 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37832 * sysdeps/x86_64/multiarch/varshift.h: New file.
37833 * sysdeps/x86_64/multiarch/varshift.S: New file.
37834
84b9230c
MF
378352010-08-21 Mike Frysinger <vapier@gentoo.org>
37836
37837 * configure.in: Move assembler checks to before sysdep dir checking.
37838
9bbd0ddc
PB
378392010-08-20 Petr Baudis <pasky@suse.cz>
37840
37841 * LICENSES: Sync the sunrpc license.
37842
9da4bb31
UD
378432010-08-19 Ulrich Drepper <drepper@redhat.com>
37844
a7ab6ec8
UD
37845 * sunrpc/auth_des.c: Update copyright notice once again.
37846 * sunrpc/auth_none.c: Likewise.
37847 * sunrpc/auth_unix.c: Likewise.
37848 * sunrpc/authdes_prot.c: Likewise.
37849 * sunrpc/authuxprot.c: Likewise.
37850 * sunrpc/bindrsvprt.c: Likewise.
37851 * sunrpc/clnt_gen.c: Likewise.
37852 * sunrpc/clnt_perr.c: Likewise.
37853 * sunrpc/clnt_raw.c: Likewise.
37854 * sunrpc/clnt_simp.c: Likewise.
37855 * sunrpc/clnt_tcp.c: Likewise.
37856 * sunrpc/clnt_udp.c: Likewise.
37857 * sunrpc/clnt_unix.c: Likewise.
37858 * sunrpc/des_crypt.c: Likewise.
37859 * sunrpc/des_soft.c: Likewise.
37860 * sunrpc/get_myaddr.c: Likewise.
37861 * sunrpc/getrpcport.c: Likewise.
37862 * sunrpc/key_call.c: Likewise.
37863 * sunrpc/key_prot.c: Likewise.
37864 * sunrpc/openchild.c: Likewise.
37865 * sunrpc/pm_getmaps.c: Likewise.
37866 * sunrpc/pm_getport.c: Likewise.
37867 * sunrpc/pmap_clnt.c: Likewise.
37868 * sunrpc/pmap_prot.c: Likewise.
37869 * sunrpc/pmap_prot2.c: Likewise.
37870 * sunrpc/pmap_rmt.c: Likewise.
37871 * sunrpc/rpc/auth.h: Likewise.
37872 * sunrpc/rpc/auth_unix.h: Likewise.
37873 * sunrpc/rpc/clnt.h: Likewise.
37874 * sunrpc/rpc/des_crypt.h: Likewise.
37875 * sunrpc/rpc/key_prot.h: Likewise.
37876 * sunrpc/rpc/netdb.h: Likewise.
37877 * sunrpc/rpc/pmap_clnt.h: Likewise.
37878 * sunrpc/rpc/pmap_prot.h: Likewise.
37879 * sunrpc/rpc/pmap_rmt.h: Likewise.
37880 * sunrpc/rpc/rpc.h: Likewise.
37881 * sunrpc/rpc/rpc_des.h: Likewise.
37882 * sunrpc/rpc/rpc_msg.h: Likewise.
37883 * sunrpc/rpc/svc.h: Likewise.
37884 * sunrpc/rpc/svc_auth.h: Likewise.
37885 * sunrpc/rpc/types.h: Likewise.
37886 * sunrpc/rpc/xdr.h: Likewise.
37887 * sunrpc/rpc_clntout.c: Likewise.
37888 * sunrpc/rpc_cmsg.c: Likewise.
37889 * sunrpc/rpc_common.c: Likewise.
37890 * sunrpc/rpc_cout.c: Likewise.
37891 * sunrpc/rpc_dtable.c: Likewise.
37892 * sunrpc/rpc_hout.c: Likewise.
37893 * sunrpc/rpc_main.c: Likewise.
37894 * sunrpc/rpc_parse.c: Likewise.
37895 * sunrpc/rpc_parse.h: Likewise.
37896 * sunrpc/rpc_prot.c: Likewise.
37897 * sunrpc/rpc_sample.c: Likewise.
37898 * sunrpc/rpc_scan.c: Likewise.
37899 * sunrpc/rpc_scan.h: Likewise.
37900 * sunrpc/rpc_svcout.c: Likewise.
37901 * sunrpc/rpc_tblout.c: Likewise.
37902 * sunrpc/rpc_util.c: Likewise.
37903 * sunrpc/rpc_util.h: Likewise.
37904 * sunrpc/rpcinfo.c: Likewise.
37905 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37906 * sunrpc/rpcsvc/key_prot.x: Likewise.
37907 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37908 * sunrpc/rpcsvc/mount.x: Likewise.
37909 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37910 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37911 * sunrpc/rpcsvc/rex.x: Likewise.
37912 * sunrpc/rpcsvc/rstat.x: Likewise.
37913 * sunrpc/rpcsvc/rusers.x: Likewise.
37914 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37915 * sunrpc/rpcsvc/spray.x: Likewise.
37916 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37917 * sunrpc/rtime.c: Likewise.
37918 * sunrpc/svc.c: Likewise.
37919 * sunrpc/svc_auth.c: Likewise.
37920 * sunrpc/svc_authux.c: Likewise.
37921 * sunrpc/svc_raw.c: Likewise.
37922 * sunrpc/svc_run.c: Likewise.
37923 * sunrpc/svc_simple.c: Likewise.
37924 * sunrpc/svc_tcp.c: Likewise.
37925 * sunrpc/svc_udp.c: Likewise.
37926 * sunrpc/svc_unix.c: Likewise.
37927 * sunrpc/svcauth_des.c: Likewise.
37928 * sunrpc/xcrypt.c: Likewise.
37929 * sunrpc/xdr.c: Likewise.
37930 * sunrpc/xdr_array.c: Likewise.
37931 * sunrpc/xdr_float.c: Likewise.
37932 * sunrpc/xdr_mem.c: Likewise.
37933 * sunrpc/xdr_rec.c: Likewise.
37934 * sunrpc/xdr_ref.c: Likewise.
37935 * sunrpc/xdr_sizeof.c: Likewise.
37936 * sunrpc/xdr_stdio.c: Likewise.
37937
9da4bb31
UD
37938 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37939 handling.
37940
bdaa77bc
AS
379412010-08-19 Andreas Schwab <schwab@redhat.com>
37942
37943 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37944
fe2f79db
LM
379452010-08-19 Luis Machado <luisgpm@br.ibm.com>
37946
37947 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37949 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37950 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37951 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37952 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37953 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37954 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37956 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37957 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37958 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37959 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37960 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37961
b9b42ee0
AB
379622010-07-26 Anton Blanchard <anton@samba.org>
37963
37964 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37965 * malloc/arena.c (heap_trim): Likewise.
37966
1c06ba31
UD
379672010-08-16 Ulrich Drepper <drepper@redhat.com>
37968
37969 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37970 here. Not...
37971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37972 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37973
f8392f40
L
379742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37975
37976 * sysdeps/i386/elf/Makefile: New file.
37977
3162f12e
AS
379782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37979
37980 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37981 from fanotify_init.
37982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37984
28c90b2c
UD
379852010-08-15 Ulrich Drepper <drepper@redhat.com>
37986
37987 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37988 of strncasecmp_l.
1feccb6c 37989 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37990
ca6bb004
UD
379912010-08-14 Ulrich Drepper <drepper@redhat.com>
37992
e9f82e0d
UD
37993 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37994 strncase_l-nonascii.
37995 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37996 Add strncase_l-ssse3.
37997 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37998 * sysdeps/x86_64/strcmp.S: Likewise.
37999 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38000 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38001 * sysdeps/x86_64/strncase.S: New file.
38002 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38003 * sysdeps/x86_64/strncase_l.S: New file.
38004 * string/Makefile (strop-tests): Add strncasecmp.
38005 * string/test-strncasecmp.c: New file.
38006
38007 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38008 warning.
38009
ca6bb004
UD
38010 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38012
052fa7b3
AS
380132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38014
38015 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38016
962dba78
UD
380172010-08-12 Ulrich Drepper <drepper@redhat.com>
38018
38019 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38020 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38022
bebff237
AM
380232010-05-01 Alan Modra <amodra@gmail.com>
38024
38025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38026 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38027 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38028 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38029 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38030 tidying. Don't tail-call __sigjmp_save for static lib.
38031 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38032 save location.
38033 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38034 (CALL_MCOUNT): Add eh info, and nop after bl.
38035 (TAIL_CALL_SYSCALL_ERROR): New macro.
38036 (PSEUDO_RET): Use it.
38037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38038 Correct save location of integer regs and cr.
38039 (_dl_profile_resolve): Correct cr save location. Delete nops
38040 after bl when SHARED. Reduce cfi size a little by better
38041 placement of cfi directives.
38042 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38043 make a stack frame. Instead use parm save area as a temp.
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38045 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38047 Don't make a stack frame for parent, use parm save area.
38048 Increase child stack frame to 112 bytes. Don't save unused reg,
38049 and adjust reg usage. Set up cfi on error recovery and
38050 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38052 (__makecontext): Add dummy nop after jump to exit.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38054 Use correct parm save area and cr save, reduce stack frame.
38055 Correct cfi for possible PSEUDO_RET frame setup.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38057 Branch to local label emitted by PSEUDO_RET rather than
38058 __syscall_error.
38059
02637374
AS
380602010-08-12 Andreas Schwab <schwab@redhat.com>
38061
38062 [BZ #11904]
38063 * locale/programs/locale.c (print_assignment): New function.
38064 (show_locale_vars): Use it.
38065
c3e2f19b
UD
380662010-08-11 Ulrich Drepper <drepper@redhat.com>
38067
3cdaa6ad
UD
38068 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38069 field.
38070 (struct statfs64): Likewise.
38071 (_STATFS_F_FLAGS): Define.
38072 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38074 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38075 (ST_VALID): Define locally.
38076 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38077 __statvfs_getflags, use the provided value.
38078 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38079 __ASSUME_STATFS_F_FLAGS.
38080
754f7da3
UD
38081 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38082
10b3bedc
UD
38083 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38084 Add sys/fanotify.h.
38085 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38086 fanotify_mask for GLIBC_2.13.
38087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38088 fanotify_init and fanotify_mark.
38089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38090 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38091
c08fb0d7
UD
38092 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38093 Add prlimit.
38094 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38095 prlimit64 for GLIBC_2.13.
38096 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38097 prlimit64.
38098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38099 syscall.
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38101 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38102 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38105 add prlimit alias.
38106 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38107
15bac72b
UD
38108 [BZ #11903]
38109 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38110 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38111
c3e2f19b
UD
38112 * nss/Makefile: Add rules to build and run tst-nss-test1.
38113 * shlib-versions: Add entry for libnss_test1.
38114 * nss/nss_test1.c: New file.
38115 * nss/tst-nss-test1.c: New file.
38116
38117 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38118 (__nss_configure_lookup): Set appropriate entry in
38119 __nss_configure_lookup to true.
38120 * nss/nsswitch.h: Define enum with indeces of databases in
38121 databases and __nss_database_custom arrays. Declare
38122 __nss_database_custom.
38123 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38124 to avoid using nscd when custom rules are installed.
38125 * nss/getXXbyYY_r.c: Likewise.
38126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38127
38128 * nss/nss_files/files-parse.c: Whitespace fixes.
38129
f15ce4d8
UD
381302010-08-09 Ulrich Drepper <drepper@redhat.com>
38131
38132 [BZ #11883]
38133 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38134 * posix/fnmatch_loop.c: Likewise.
38135
d22e4cc9
AK
381362010-07-17 Andi Kleen <ak@linux.intel.com>
38137
38138 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38139 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38140 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38141 * Versions.def [GLIBC_2.13]: Add.
38142
805bc17d
UD
381432010-08-06 Ulrich Drepper <drepper@redhat.com>
38144
38145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38146 Also fail if tpwd after pwuid call is NULL.
38147
5a42321d
ST
381482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38149
38150 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38151 when converting to ms.
38152
fd3ebeda
ST
381532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38154
38155 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38156 EOPNOTSUPP errors with ENOTTY.
38157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38158 EOPNOTSUPP errors with ENOTTY.
38159
73507d3a
UD
381602010-07-31 Ulrich Drepper <drepper@redhat.com>
38161
38162 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38163 Add strcasecmp_l-ssse3.
38164 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38165 strcasecmp.
38166 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38167 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38168 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38169
fe36dd02
UD
381702010-07-30 Ulrich Drepper <drepper@redhat.com>
38171
66f6765a
UD
38172 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38173
42e08a54
UD
38174 * string/Makefile (strop-tests): Add strcasecmp.
38175 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38176 strcasecmp_l-nonascii.
38177 (gen-as-const-headers): Add locale-defines.sym.
38178 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38179 * sysdeps/x86_64/strcasecmp.S: New file.
38180 * sysdeps/x86_64/strcasecmp_l.S: New file.
38181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38182 * sysdeps/x86_64/locale-defines.sym: New file.
38183 * string/test-strcasecmp.c: New file.
38184
fe36dd02
UD
38185 * string/test-strcasestr.c: Test both ends of the range of characters.
38186 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38187
48cbc0d6
RM
381882010-07-29 Roland McGrath <roland@redhat.com>
38189
76e6d6bc 38190 [BZ #11856]
48cbc0d6
RM
38191 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38192
880113d9
UD
381932010-07-27 Ulrich Drepper <drepper@redhat.com>
38194
38195 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38196 for ld.so.
38197
deb9cabb
AS
381982010-07-27 Andreas Schwab <schwab@redhat.com>
38199
38200 * manual/memory.texi (Malloc Tunable Parameters): Document
38201 M_PERTURB.
38202
1c7570ff
RM
382032010-07-26 Roland McGrath <roland@redhat.com>
38204
38205 [BZ #11840]
38206 * configure.in (-fgnu89-inline check): Set and substitute
38207 gnu89_inline, not libc_cv_gnu89_inline.
38208 * configure: Regenerated.
38209 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38210
24fb0f88
UD
382112010-07-26 Ulrich Drepper <drepper@redhat.com>
38212
38213 * string/test-strnlen.c: New file.
38214 * string/Makefile (strop-tests): Add strnlen.
38215 * string/tester.c (test_strnlen): Add a few more test cases.
38216 * string/tst-strlen.c: Better error reporting.
38217
38218 * sysdeps/x86_64/strnlen.S: New file.
38219
8e96b93a
UD
382202010-07-24 Ulrich Drepper <drepper@redhat.com>
38221
38222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38223 lower-latency instructions.
38224
dbc676d4
UD
382252010-07-23 Ulrich Drepper <drepper@redhat.com>
38226
38227 * string/test-strcasestr.c: New file.
38228 * string/test-strstr.c: New file.
38229 * string/Makefile (strop-tests): Add strstr and strcasestr.
38230 * string/str-two-way.h: Don't undefine MAX.
38231 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38232
f6a31e0e
AS
382332010-07-21 Andreas Schwab <schwab@redhat.com>
38234
38235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38236 strcasestr-nonascii.
38237 (CFLAGS-strcasestr-nonascii.c): Define.
38238 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38240 Remove unused attribute.
38241
5dbc3b6c
RM
382422010-07-20 Roland McGrath <roland@redhat.com>
38243
38244 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38245 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38246 ld.so.cache was broken. With it, there is no way to disable dsocaps
38247 like LD_HWCAP_MASK can disable hwcaps.
38248
23d101d8
EPM
382492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38250
38251 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38252
cc9f2e47
UD
382532010-07-16 Ulrich Drepper <drepper@redhat.com>
38254
38255 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38256 call in strcasestr.
38257 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38258 __strcasestr_sse42_nonascii.
38259 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38260 strcasestr-nonascii.c.
38261 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38262
77c1b069
LM
382632010-06-15 Luis Machado <luisgpm@br.ibm.com>
38264
38265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38268 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38269
440566c3
UD
382702010-07-09 Ulrich Drepper <drepper@redhat.com>
38271
38272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38273 fcntl.
38274
5be9d05d
AS
382752010-07-06 Andreas Schwab <schwab@redhat.com>
38276
c30b7ee2 38277 [BZ #11577]
5be9d05d
AS
38278 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38279 dl_signal_cerror.
38280
8a492a67
UD
382812010-07-06 Ulrich Drepper <drepper@redhat.com>
38282
38283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38284 _PC_PIPE_BUF using F_GETPIPE_SZ.
38285
713df3d5
RM
382862010-07-05 Roland McGrath <roland@redhat.com>
38287
38288 * manual/arith.texi (Rounding Functions): Fix rint description
38289 implicit in round description.
38290
702e8f14
UD
382912010-07-02 Ulrich Drepper <drepper@redhat.com>
38292
38293 * elf/Makefile: Fix linking for a few tests to make recent linker
38294 happy.
38295
52ed8be9
AS
382962010-06-30 Andreas Schwab <schwab@redhat.com>
38297
38298 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38299 $(common-objpfx)libc_nonshared.a.
38300
f47c9a11
LM
383012010-06-21 Luis Machado <luisgpm@br.ibm.com>
38302
38303 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38304 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38305 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38306 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38307 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38308 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38309 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38310 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38325 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38326 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38327 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38328 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38329 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38330 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38331 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38332 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38333 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38334 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38335 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38336 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38351
6fb8cbcb
L
383522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38353
38354 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38355 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38356 * string/memmove.c (memmove): Renamed to ...
38357 (MEMMOVE): ...this. Default to memmove.
38358 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38359 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38360 (END_CHK): Define.
38361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38362 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38363 mempcpy-ssse3-back memmove-ssse3-back.
38364 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38367 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38368 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38369 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38370 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38371 * sysdeps/x86_64/multiarch/memmove.c: New file.
38372 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38373 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38374 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38375 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38376 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38378 Define.
38379 (index_Fast_Copy_Backward): Define.
38380 (HAS_ARCH_FEATURE): Define.
38381 (HAS_FAST_REP_STRING): Define.
38382 (HAS_FAST_COPY_BACKWARD): Define.
38383
4e733bac 383842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38385
38386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38387 Restore proper fallback handling.
38388
63c4ed22
UD
383892010-06-19 Ulrich Drepper <drepper@redhat.com>
38390
ac2b484c
UD
38391 [BZ #11701]
38392 * posix/group_member.c (__group_member): Correct checking loop.
38393
63c4ed22
UD
38394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38395 OOM in getpwuid_r correctly. Return error number when the caller
38396 should return, otherwise -1.
38397 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38398 call returning > 0 value.
38399 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38400
765ade4b
AS
384012010-06-07 Andreas Schwab <schwab@redhat.com>
38402
38403 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38404 libc_nonshared.a from targets in modules-names.
38405
80da2e09
KS
384062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38407
38408 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38409 requires it.
38410
158db122
LM
384112010-06-10 Luis Machado <luisgpm@br.ibm.com>
38412
38413 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38414 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38417
caa78cf8
AS
384182010-06-02 Andreas Schwab <schwab@redhat.com>
38419
38420 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38421
b2ef2c01
UD
384222010-06-14 Ulrich Drepper <drepper@redhat.com>
38423
38424 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38425 and F_GETPIPE_SZ.
38426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38431 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38432
fbd643b6
RM
384332010-06-14 Roland McGrath <roland@redhat.com>
38434
38435 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38436
f32f2869
JJ
384372010-06-07 Jakub Jelinek <jakub@redhat.com>
38438
38439 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38440 __REDIRECT followed by __THROW.
38441 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38442 * posix/getopt.h (getopt): Likewise.
38443
2a50c078
EPM
384442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38445
38446 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38447 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38448 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38449 in AT_FLAGS.
38450 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38451 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38452
eb5ad2eb
LM
384532010-05-28 Luis Machado <luisgpm@br.ibm.com>
38454
38455 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38456
3c88fe1e
L
384572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38458
38459 [BZ #11640]
38460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38461 Properly check family and model.
38462
d2f73151
TY
384632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38464
38465 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38466
ebd2e13d
LM
384672010-05-24 Luis Machado <luisgpm@br.ibm.com>
38468
38469 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38470
b32b8b45
UD
384712010-05-21 Ulrich Drepper <drepper@redhat.com>
38472
38473 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38474 symbol reference.
38475
9acbe24d
AS
384762010-05-19 Andreas Schwab <schwab@redhat.com>
38477
38478 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38479 symbol reference.
38480
f0ccf6ea
AS
384812010-05-21 Andreas Schwab <schwab@redhat.com>
38482
3d04ff3a
AS
38483 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38484 and internal_recvmmsg.
38485 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38486 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38487 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38488 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38489
f0ccf6ea
AS
38490 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38491 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38492 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38493
5b08ac57
AS
384942010-05-20 Andreas Schwab <schwab@redhat.com>
38495
38496 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38497
4828935d
LM
384982010-05-17 Luis Machado <luisgpm@br.ibm.com>
38499
38500 POWER7 optimizations.
38501 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38502 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38503
373d545e
UD
385042010-05-19 Ulrich Drepper <drepper@redhat.com>
38505
38506 * version.h: Update for 2.13 development version.
38507
21a2b1ae
AS
385082010-05-12 Andrew Stubbs <ams@codesourcery.com>
38509
38510 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38511 exceptions. Return 0.
38512
3f7dcb2b
RM
385132010-05-07 Roland McGrath <roland@redhat.com>
38514
38515 * elf/ldconfig.c (main): Add a const.
38516
5f24d53a 385172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38518
a160f8d8
UD
38519 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38520 (args_options): Add no-idn option.
38521 (ahosts_keys_int): Add idn_flags to ai_flags.
38522 (parse_option): Handle 'i' option to clear idn_flags.
38523
5f24d53a
UD
38524 * malloc/malloc.c (_int_free): Possible race in the most recently
38525 added check. Only act on the data if no current modification
38526 happened.
265bb1ce
UD
38527
38528See ChangeLog.17 for earlier changes.