]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add bug entry for previous commit in NEWS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af37a8a3
SP
12014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2
d7b00f98
SP
3 [BZ #16506]
4 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5 access beyond array bounds when parsing netgroups file.
6
af37a8a3
SP
7 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8 the old buffer before realloc.
9
0c00f062
AM
102014-01-27 Allan McRae <allan@archlinux.org>
11
12 * po/fr.po: Update French translation from translation project.
13
7d69a1b0
KK
142014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15
16 * sysdeps/sh/libm-test-ulps: Regenerate.
17
6e697ff7
DM
182014-01-24 David S. Miller <davem@davemloft.net>
19
20 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21
9cadb35c
KK
222014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23
24 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26
5d41dadf
SP
272013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28
29 [BZ #16474]
30 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31 string pointers after reallocation.
32
0bad441c
KK
332014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34
35 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36 __SH4A__ instead of __SH_FPU_ANY__.
37
7007c661
KK
382014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39
40 * sysdeps/sh/fpu_control.h: New file.
41 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47 * sysdeps/sh/sys/ucontext.h: Remove.
48 * sysdeps/sh/sys: Remove directory.
49
0f0c35e4
AK
502014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51
52 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53 s390/sys/ucontext.h.
54 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56
4959e284
L
572014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58
59 [BZ #15605]
60 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
61
d98720e0
AZ
622014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
64 [BZ#16431]
65 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66 Adjust the vDSO correctly for internal calls.
67 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
68
91cbd0bc
AM
692014-01-20 Allan McRae <allan@archlinux.org>
70
71 * po/ca.po: Update Catalan translation from translation project.
72
7a02cfad
MF
732014-01-16 Mike Frysinger <vapier@gentoo.org>
74
75 * sysdeps/s390/sotruss-lib.c: New file.
76
736c304a
AZ
772014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 [BZ#16430]
6e077ee5 80 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
81 (__GI___gettimeofday): Alias for a different internal symbol to avoid
82 local calls issues by not having a PLT stub required for IFUNC calls.
83 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
84
94d0cea0
JM
852014-01-16 Joseph Myers <joseph@codesourcery.com>
86
87 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
88 * math/test-fpucw-static.c: Likewise.
89
980cb518
SP
902013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
91
92 [BZ #16453]
93 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
94
2393fc01
AZ
952014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
98 implementation for powerpc.
99
d359bcc2
OB
1002014-01-15 Ondřej Bílka <neleai@seznam.cz>
101
102 [BZ #14782]
103 * sysdeps/posix/system.c (__libc_system): Do not enable
104 asynchronous cancellation.
105
7beb48cb
AK
1062014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
107
108 [BZ #16427]
109 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
110 handling only for numbers special also in the IEEE case.
111
c20d5bf5
AK
1122014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
113
114 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
115
e83bd4ee
AM
1162014-01-11 Allan McRae <allan@archlinux.org>
117
76d0ea69
AM
118 * po/bg.po: Update Bulgarian translation from translation project.
119
e83bd4ee
AM
120 * po/de.po: Update German translation from translation project.
121
bc2ba20a
RM
1222014-01-10 Roland McGrath <roland@hack.frob.com>
123
124 * sysdeps/generic/gcc-compat.h: New file.
125
649ecea2
SP
1262014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
127
128 * benchtests/asin-inputs: Correct slow inputs.
129 * benchtests/acos-inputs: Likewise.
130
1b19c006
AM
1312014-01-10 Allan McRae <allan@archlinux.org>
132
a46dab08
AM
133 * po:sv.po: Update Swedish translation from translation project.
134
421df74a
AM
135 * po/vi.po: Update Vietnamese translation from translation project.
136
d61c51a7
AM
137 * po/eo.po: Update Esperanto translation from translation project.
138
0339a319
AM
139 * po/cs.po: Update Czech translation from translation project.
140
94ad3e99
AM
141 * po/nl.po: Update Dutch translation from translation project.
142
e349ca71
AM
143 * po/pl.po: Update Polish translation from translation project.
144
ddf930c1
AM
145 * po/ru.po: Update Russian translation from translation project.
146
1b19c006
AM
147 * po/uk.po: Update Ukrainian translation from translation project.
148
9f236c49
BM
1492014-01-08 Brooks Moses <bmoses@google.com>
150
151 * elf/dl-load.c: Fix comment typo.
152
cd6701cf
CD
1532014-01-08 Carlos O'Donell <carlos@redhat.com>
154
155 * po/header.pot: Rename to...
156 * po/pot.header: ... this.
157 * po/Makefile: Use pot.header.
158
66671c84
YK
1592014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
160 Maxim Kuvyrkov <maxim@kugelworks.com>
161
162 [BZ #16394]
cd6701cf
CD
163 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
164 SRC and DEST against LEN.
66671c84 165
38f34581
AZ
1662014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167
168 [BZ #16414]
169 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
170 implementation.
171 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
172
1732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
174
175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
176
4c327f2a
JM
1772014-01-08 Joseph Myers <joseph@codesourcery.com>
178
179 [BZ #16408]
180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
181 for large positive arguments.
182
b821f414
JM
1832014-01-07 Joseph Myers <joseph@codesourcery.com>
184
1f0f2067
JM
185 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
186
a5a326f6
JM
187 * math/auto-libm-test-in: Mark various tests with
188 xfail-rounding:ldbl-128ibm.
189 * math/auto-libm-test-out: Regenerated.
190
b821f414
JM
191 [BZ #16407]
192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
193 Increase overflow threshold.
194
94c8a4bc
OB
1952014-01-07 Ondřej Bílka <neleai@seznam.cz>
196
197 [BZ #14286]
198 * stdio-common/vfprintf.c: Check for integer overflow.
199
87ded0c3
AK
2002014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
201
202 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
203 the first argument and return value of __tls_get_addr_internal.
204
c5eebdd0
AK
2052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
206
207 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
208 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
209
05d138ef
AK
2102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
211
212 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
213 * sysdeps/s390/rtld-global-offsets.sym: New file.
214 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
215 GLIBC_2.19 symbol.
216 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
217 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
218 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
219 ... this.
220 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
221 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
222 ... this.
223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
224 Regenerate.
225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
226 Regenerate.
227 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
228 halfs of GPRs for high_gprs contexts.
229 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
230 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
231 field.
232 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
233 uc_flags field.
234 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
235 64 bit versions:
236 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
237 for high GPRs (uc_high_gprs) and for future extensions
238 (__reserved).
239 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
240 for future extensions (__reserved).
241 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
242 64 bit versions:
243 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
244 SC_HIGHGPRS offset definition.
245 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
246 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
247
93a45ff1
AK
2482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
249
250 * Versions.def: Add GLIBC_2.19 for libpthread.
251 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
252 siglongjmp for libpthread with GLIBC_2.19 symver.
253 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
254 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
255 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
256 * sysdeps/s390/__longjmp.c: New file.
257 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
258 * sysdeps/s390/longjmp.c: New file.
259 * sysdeps/s390/setjmp.S: New file.
260 * sysdeps/s390/sigjmp.S: New file.
261 * sysdeps/s390/v1-longjmp.c: New file.
262 * sysdeps/s390/v1-setjmp.h: New file.
263 * sysdeps/s390/v1-sigjmp.c: New file.
264 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
265 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
266 GLIBC_2.19 version.
267 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
268 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
269 versioned symbols for ____longjmp_chk.
270 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
271 Likewise.
272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
273 Regenerate.
274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
275 Regenerate.
276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
277 Regenerate.
278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
279 Regenerate.
280 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
281 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
282 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
283 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
284 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
285 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
286 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
287 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
288 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
289 * sysdeps/s390/rtld-__longjmp.c: New file.
290 * sysdeps/s390/rtld-setjmp.S: New file.
291
eb3fc44b
JM
2922014-01-06 Joseph Myers <joseph@codesourcery.com>
293
294 [BZ #16400]
295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
296 Return -__logl (x) for small positive arguments without evaluating
297 a polynomial.
298
9341dde4
MF
2992014-01-06 Mike Frysinger <vapier@gentoo.org>
300
301 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
302 Rename to ...
303 (__ptrace_peeksiginfo_args): ... this.
304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
307
4cff0293
AM
3082014-01-06 Allan McRae <allan@archlinux.org>
309
310 * inet/netinet/in.h: Fix typo in comment.
311
75595dcf
AJ
3122014-01-05 Andreas Jaeger <aj@suse.de>
313
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315
79c1e109
AM
3162014-01-05 Allan McRae <allan@archlinux.org>
317
dd804818
AM
318 * po/libc.pot: Regenerated.
319
79c1e109
AM
320 * malloc/memusagestat.c: Fix gettext call formatting.
321
0c813d1f
SK
3222014-01-04 Sami Kerola <kerolasa@iki.fi>
323
324 * nscd/nscd.c: Improve usage() output.
325
20f4a8d9
MF
3262014-01-04 Mike Frysinger <vapier@gentoo.org>
327
328 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
329 * sysdeps/unix/sysv/linux/configure: Regenerated.
330 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
331 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
332
22562bb2
JM
3332014-01-03 Joseph Myers <joseph@codesourcery.com>
334
335 [BZ #16390]
336 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
337 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
338
d7ad2d9b
AZ
3392014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
342 extra tokens at end of #undef directive.
343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
345 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
346
7f507ee1
AH
3472014-01-03 Andrew Hunter <ahh@google.com>
348
0da43124 349 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
350 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
351 atomic_compare_and_exchange_bool_acq
352 (_dl_allocate_static_tls): Block signals.
353 * elf/dl-tls.c (allocate_and_init): Return void.
354 (_dl_update_slotinfo): Block signals, use atomic update.
355
7dd009d8
JM
3562014-01-03 Joseph Myers <joseph@codesourcery.com>
357
24db925a
JM
358 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
359
7dd009d8
JM
360 * math/auto-libm-test-in: Mark various tests with
361 xfail-rounding:ldbl-128ibm.
362 * math/auto-libm-test-out: Regenerated.
363
396e3ecf
JM
3642014-01-02 Joseph Myers <joseph@codesourcery.com>
365
819e5d50
JM
366 [BZ #16386]
367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
368 numbers with subnormal high part when calculating exponent.
369
90b6a1e5
JM
370 [BZ #16385]
371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
372 fabs.
373
396e3ecf
JM
374 [BZ #16384]
375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
376 M_LN2l.
377 (__ieee754_acoshl): Use __log1pl not __log1p.
378
6c8dbf00
OB
3792013-01-02 Ondřej Bílka <neleai@seznam.cz>
380
381 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
382 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
383 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
384 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
385 Convert to GNU style.
386 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
387 mem2mem_check, mem2chunk_check, top_check, realloc_check,
388 memalign_check, __malloc_set_state): Likewise.
389 * malloc/mallocbug.c (main): Likewise.
390 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
391 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
392 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
393 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
394 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
395 * malloc/malloc.h: Likewise.
396 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
397 memalignhook, reallochook, mabort): Likewise.
398 * malloc/mcheck.h: Likewise.
399 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
400 mmap64, mremap, munmap, dest): Likewise.
401 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
402 * malloc/morecore.c (__default_morecore): Likewise.
403 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
404 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
405 _obstack_allocated_p, obstack_free, _obstack_memory_used,
406 print_and_abort): Likewise.
407 * malloc/obstack.h: Likewise.
408 * malloc/set-freeres.c (__libc_freeres): Likewise.
409 * malloc/tst-mallocstate.c (main): Likewise.
410 * malloc/tst-mtrace.c (main): Likewise.
411 * malloc/tst-realloc.c (do_test): Likewise.
412
d4124212
SP
4132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
414
9a3c6a6f
SP
415 [BZ #16366]
416 * nscd/netgroupcache.c (do_notfound): New function.
417 (addgetnetgrentX): Use it.
418
d4124212
SP
419 [BZ # 16365]
420 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
421 NSS_STATUS_NOTFOUND.
422
97b9a009
JM
4232014-01-01 Joseph Myers <joseph@codesourcery.com>
424
425 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
427
d4697bc9
AM
4282014-01-01 Allan McRae <allan@archlinux.org>
429
ddb3687f
AM
430 * scripts/update-copyrights: Update configure input file suffix.
431
88726d48
AM
432 * NEWS: Update copyright year.
433 * catgets/gencat.c: Likewise.
434 * csu/version.c: Likewise.
435 * debug/catchsegv.sh: Likewise.
436 * debug/pcprofiledump.c: Likewise.
437 * debug/xtrace.sh: Likewise.
438 * elf/ldconfig.c: Likewise.
439 * elf/ldd.bash.in: Likewise.
440 * elf/pldd.c: Likewise.
441 * elf/sotruss.ksh: Likewise.
442 * elf/sprof.c: Likewise.
443 * iconv/iconv_prog.c: Likewise.
444 * iconv/iconvconfig.c: Likewise.
445 * locale/programs/locale.c: Likewise.
446 * locale/programs/localedef.c: Likewise.
447 * login/programs/pt_chown.c: Likewise.
448 * malloc/memusage.sh: Likewise.
449 * malloc/memusagestat.c: Likewise.
450 * malloc/mtrace.pl: Likewise.
451 * manual/libc.texinfo: Likewise.
452 * nscd/nscd.c: Likewise.
453 * nss/getent.c: Likewise.
454 * nss/makedb.c: Likewise.
455 * posix/getconf.c: Likewise.
456 * scripts/test-installation.pl: Likewise.
457
d4697bc9
AM
458 * All files with FSF copyright notices: Update copyright dates
459 using scripts/update-copyrights.
460 * intl/plural.c: Regenerated.
461 * locale/programs/charmap-kw.h: Likewise.
462 * locale/programs/locfile-kw.h: Likewise.
463
c8590f9d
MF
4642013-12-31 Mike Frysinger <vapier@gentoo.org>
465
466 * sysdeps/unix/sysv/linux/configure: Regenerated.
467 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
468 the linux/fanotify.h header.
469 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
470 HAVE_LINUX_FANOTIFY_H is defined.
471
b19221b9
SP
4722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
473
dd1d85e5
SP
474 * benchtests/cos-inputs: New inputs.
475 * benchtests/sin-inputs: Likewise.
476
1acbb90f
SP
477 * benchtests/atan-inputs: New inputs. Fix name of multiple
478 precision fallback inputs.
479
4c012ed3
SP
480 * benchtests/atanh-inputs: New inputs.
481 * benchtests/tanh-inputs: Likewise.
482
eff98324
SP
483 * benchtests/acosh-inputs: New inputs.
484 * benchtests/asinh-inputs: Likewise.
485
ce641152
SP
486 * benchtests/cosh-inputs: New inputs.
487 * benchtests/sinh-inputs: Likewise.
488
b19221b9
SP
489 * benchtests/acos-inputs: Add more inputs.
490 * benchtests/asin-inputs: Likewise.
491
030a4976 4922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 493
030a4976 494 [BZ #16375]
9dcc8f11
VS
495 * manual/arith.texi: Fix spelling.
496 * manual/charset.texi: Likewise.
497 * manual/errno.texi: Likewise.
498 * manual/filesys.texi: Likewise.
499 * manual/lang.texi: Likewise.
500 * manual/llio.texi: Likewise.
501 * manual/locale.texi: Likewise.
502 * manual/message.texi: Likewise.
503 * manual/resource.texi: Likewise.
504 * manual/search.texi: Likewise.
505 * manual/setjmp.texi: Likewise.
506 * manual/stdio.texi: Likewise.
507 * manual/string.texi: Likewise.
508 * manual/sysinfo.texi: Likewise.
509 * manual/time.texi: Likewise.
510
11520a57
CD
5112013-12-27 Carlos O'Donell <carlos@redhat.com>
512
513 * po/sl.po: New file.
514
471103ae
MF
5152013-12-27 Mike Frysinger <vapier@gentoo.org>
516
517 * .gitignore: Add core/.gdbinit/.gdb_history.
518
6c9642ed
AM
5192013-12-27 Allan McRae <allan@archlinux.org>
520
521 [BZ #16369]
522 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
523 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
524
3f637079
BM
5252013-12-24 Brooks Moses <bmoses@google.com>
526
527 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
528 all compilers that claim C++98 compliance, not just GCC.
529 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
530 Likewise.
531
abc26e99
MK
5322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
533
534 * NEWS: Restore accidentally deleted bug-fix entries.
535
362b47fe
MK
5362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
537 Ondřej Bílka <neleai@seznam.cz>
538
539 [BZ #15073]
540 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 541 have_lock.
362b47fe 542
b9bcbbcb
OB
5432013-12-23 Ondřej Bílka <neleai@seznam.cz>
544
545 [BZ #12986]
546 * manual/stdio.texi (String Input Conversions): Clarify that character
547 classes are not supported.
548
fb55fcd2
AZ
5492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
550
551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
552
ef7344f0
JM
5532013-12-22 Joseph Myers <joseph@codesourcery.com>
554
4f40e4b3
JM
555 [BZ #16337]
556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
557 Calculate results for small negative arguments directly rather
558 than using reflection formula with special underflow handling.
559
ef7344f0
JM
560 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
561 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
562 sysdeps/unix/bsd/bsd4.4/syscalls.list.
563 (fchflags): Likewise.
564 (revoke): Likewise.
565 (setlogin): Likewise.
566 (sigaltstack): Likewise.
567 (wait4): Likewise.
568 (sigblock): Remove.
569 (sigsetmask): Likewise.
570 (wait3): Likewise.
571 (waitpid): Likewise.
572 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
573 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
574 file.
575 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
576 * sysdeps/unix/bsd/Makefile: ... here.
577 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
578 * sysdeps/unix/bsd/Versions: ... here.
579 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
580 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
581 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
582 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
583 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
584 * sysdeps/unix/bsd/sigblock.c: ... here.
585 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
586 * sysdeps/unix/bsd/sigsetmask.c: ... here.
587 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
588 * sysdeps/unix/bsd/sigvec.c: ... here.
589 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
590 * sysdeps/unix/bsd/tcdrain.c: ... here.
591 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
592 * sysdeps/unix/bsd/tcgetattr.c: ... here.
593 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
594 * sysdeps/unix/bsd/tcsetattr.c: ... here.
595 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
596 * sysdeps/unix/bsd/wait.c: ... here.
597 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
598 * sysdeps/unix/bsd/wait3.c: ... here.
599 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
600 * sysdeps/unix/bsd/waitpid.c: ... here.
601
5b0626b9
JM
6022013-12-21 Joseph Myers <joseph@codesourcery.com>
603
604 [BZ #16356]
605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
606 round-to-nearest for [!USE_AS_EXPM1L].
607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
608 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
609 more tests of exp and exp10. Expect some exp10 tests to miss
610 exceptions or fail in directed rounding modes.
611 * math/auto-libm-test-out: Regenerated.
612 * math/libm-test.inc (exp10_tonearest_test_data): New array.
613 (exp10_test_tonearest): New function.
614 (exp10_towardzero_test_data): New array.
615 (exp10_test_towardzero): New function.
616 (exp10_downward_test_data): New array.
617 (exp10_test_downward): New function.
618 (exp10_upward_test_data): New array.
619 (exp10_test_upward): New function.
620 (main): Call the new functions.
621 * sysdeps/i386/fpu/libm-test-ulps: Update.
622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
623
7fda5682
JM
6242013-12-20 Joseph Myers <joseph@codesourcery.com>
625
31e3a405
JM
626 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
627 asinh, atan, atan2, atanh, cbrt, cos and cosh.
628 * math/auto-libm-test-out: Regenerated.
629 * math/libm-test.inc (acosh_test_data): Add more tests.
630 (atanh_test_data): Likewise.
631 (ceil_test_data): Likewise.
632 (copysign_test_data): Likewise.
633 * sysdeps/i386/fpu/libm-test-ulps: Update.
634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635
85bff96a
JM
636 * timezone/checktab.awk: Update from tzcode 2013i.
637 * timezone/private.h: Likewise.
638 * timezone/scheck.c: Likewise.
639 * timezone/tzfile.h: Likewise.
640 * timezone/tzselect.ksh: Likewise.
641 * timezone/zdump.c: Likewise.
642 * timezone/zic.c: Likewise.
643
b7867a3b
JM
644 * math/auto-libm-test-in: Add tests of cpow.
645 * math/auto-libm-test-out: Regenerated.
646 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
647 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
648 mpc_cc_c.
649 (func_calc_desc): Add mpc_cc_c union field.
650 (test_functions): Add cpow.
651 (special_fill_2pi): New function.
652 (special_real_inputs): Add 2pi.
653 (calc_generic_results): Handle mpc_cc_c.
654 * sysdeps/i386/fpu/libm-test-ulps: Update.
655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
656
7fda5682
JM
657 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
658 csqrt, ctan and ctanh.
659 * math/auto-libm-test-out: Regenerated.
660 * math/libm-test.inc (TEST_COND_x86_64): New macro.
661 (TEST_COND_x86): Likewise.
662 (ccos_test_data): Use AUTO_TESTS_c_c.
663 (ccosh_test_data): Likewise.
664 (cexp_test_data): Likewise.
665 (clog_test_data): Likewise.
666 (csqrt_test_data): Likewise.
667 (ctan_test_data): Likewise.
668 (ctan_tonearest_test_data): Likewise.
669 (ctan_towardzero_test_data): Likewise.
670 (ctan_downward_test_data): Likewise.
671 (ctan_upward_test_data): Likewise.
672 (ctanh_test_data): Likewise.
673 (ctanh_tonearest_test_data): Likewise.
674 (ctanh_towardzero_test_data): Likewise.
675 (ctanh_downward_test_data): Likewise.
676 (ctanh_upward_test_data): Likewise.
677 * math/gen-auto-libm-tests.c (func_calc_method): Add value
678 mpc_c_c.
679 (func_calc_desc): Add mpc_c_c union field.
680 (FUNC_mpc_c_c): New macro.
681 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
682 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
683 ctanh.
684 (special_fill_min_subnorm_p120): New function.
685 (special_real_inputs): Add min_subnorm_p120.
686 (calc_generic_results): Handle mpc_c_c.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
5ff8d60e
SP
6902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
691
392dd2de
SP
692 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
693 do_sin_slow): New functions.
694 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
695 cslow2, csloww1, csloww2): Use the new functions.
696
84ba214c
SP
697 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
698 Use M to change sign of result instead of X. Assume X is
699 positive.
700 (csloww1): Likewise.
701 (__sin): Adjust.
702 (__cos): Adjust.
703
975195e4
SP
704 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
705 arguments A and DA.
706 (__sin): Adjust.
707 (__cos): Likewise.
708
5ff8d60e
SP
709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
710 (__cos): Likewise.
711 (sloww1): Don't adjust sign of DX.
712 (csloww1): Likewise.
713 (sloww2): Use X directly and don't adjust sign of DX.
714 (csloww2): Likewise.
715
eb983568
JM
7162013-12-19 Joseph Myers <joseph@codesourcery.com>
717
64a17f1a
JM
718 * math/auto-libm-test-in: Add tests of cabs and carg.
719 * math/auto-libm-test-out: Regenerated.
720 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
721 (carg_test_data): Likewise.
722 * math/gen-auto-libm-tests.c (func_calc_method): Add value
723 mpc_c_f.
724 (func_calc_desc): Add mpc_c_f union field.
725 (test_functions): Add cabs and carg.
726 (calc_generic_results): Handle mpc_c_f.
727
eb983568
JM
728 * sysdeps/powerpc/powerpc32/libgcc-compat.S
729 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
730 as a macro and a compat symbol.
731 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
732 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
733 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
734 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
735 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
736 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
737 not use .hidden.
738 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
739 Likewise.
740 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
741 Likewise.
742 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
743 Likewise.
744 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
745 Likewise.
746 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
747 Likewise.
748 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
749 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
750 from GLIBC_2.3.2.
751
6eeb678a
AZ
7522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753
754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755
063b2acb
PP
7562013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
757
758 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
759 (__signal_safe_memalign, __signal_safe_free): Use it.
760 (__signal_safe_realloc): Likewise.
761
6f6fc482
JM
7622013-12-19 Joseph Myers <joseph@codesourcery.com>
763
21fea2e2
JM
764 * manual/texinfo.tex: Update to version 2013-11-26.10 with
765 trailing whitespace removed.
766 * scripts/config.guess: Update to version 2013-11-29.
767 * scripts/config.sub: Update to version 2013-10-01.
768
6f6fc482
JM
769 * math/auto-libm-test-in: Add tests of sincos.
770 * math/auto-libm-test-out: Regenerated.
771 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
773 mpfr_f_11.
774 (func_calc_desc): Add mpfr_f_11 union field.
775 (test_functions): Add sincos.
776 (calc_generic_results): Handle mpfr_f_11.
777 * sysdeps/i386/fpu/libm-test-ulps: Update.
778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
779
83f5c32d
AS
7802013-12-19 Andreas Schwab <schwab@suse.de>
781
782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
783 CALL_MCOUNT.
784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
786 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
787
c688b419
JM
7882013-12-19 Joseph Myers <joseph@codesourcery.com>
789
335ee092
JM
790 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
793
f88acd39
JM
794 [BZ #16293]
795 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
796 round-to-nearest mode when using frndint.
797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
798 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
800 Likewise.
801 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
802 sinh test to fail.
803 * math/auto-libm-test-out: Regenerated.
804 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
805 (TEST_COND_x86): Likewise.
806 (expm1_tonearest_test_data): New array.
807 (expm1_test_tonearest): New function.
808 (expm1_towardzero_test_data): New array.
809 (expm1_test_towardzero): New function.
810 (expm1_downward_test_data): New array.
811 (expm1_test_downward): New function.
812 (expm1_upward_test_data): New array.
813 (expm1_test_upward): New function.
814 (main): Run the new test functions.
815 * sysdeps/i386/fpu/libm-test-ulps: Update.
816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
817
c688b419
JM
818 * include/features.h: Update comment documenting feature test
819 macros. Mention _DEFAULT_SOURCE in comment.
820 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
821 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
822 _BSD_SOURCE and _SVID_SOURCE.
823 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
824 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
825 !_SVID_SOURCE]: Likewise.
826 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
827 (__USE_POSIX_IMPLICITLY): Define.
828 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
829 (_POSIX_SOURCE): Undefine and redefine.
830 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
831 (_POSIX_C_SOURCE): Likewise.
832 * manual/creature.texi (_DEFAULT_SOURCE): Document.
833 (Feature Test Macros): Update documentation of default features.
834
9f6e964c
RS
8352013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
836
837 * benchtests/Makefile: Add bench-strtok.
838 * benchtests/bench-strtok.c: New file: strtok benchtest.
839
ee0a148a
AM
8402013-12-19 Allan McRae <allan@archlinux.org>
841
842 * manual/install.texi: Suppress menu for plain text output.
843 * INSTALL: Regenerated.
844
1f33d36a
PP
8452013-12-18 Andrew Hunter <ahh@google.com>
846
847 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
848 (__signal_safe_malloc, __signal_safe_free): Likewise.
849 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
850 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
851 (__signal_safe_memalign, __signal_safe_malloc): New function.
852 (__signal_safe_free, __signal_safe_realloc): Likewise.
853 (__signal_safe_calloc): Likewise.
854 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
855 functions.
856 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
857
35e8f7ab
PP
8582013-12-18 Andrew Hunter <ahh@google.com>
859
860 * elf/Versions (ld): Add _dl_clear_dtv.
861 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
862 * elf/dl-tls.c (_dl_clear_dtv): New function.
863 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
864
69a17d9d
PP
8652013-12-18 Andrew Hunter <ahh@google.com>
866
867 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
868 (_dl_unmask_signals): Likewise.
869 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
870 (_dl_unmask_all_signals): Likewise.
871 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
872 (_dl_unmask_all_signals): Likewise.
873 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
874 (_dl_unmask_signals): Likewise.
875
b9ab448f
BM
8762013-12-18 Brooks Moses <bmoses@google.com>
877
878 [BZ #15846]
879 * misc/getauxval.c: Include errno.h.
880 (__getauxval): Set errno to ENOENT if the requested type is not
881 found.
882 * misc/sys/auxv.h (getauxval): Document that it may set errno;
883 don't declare with __attribute_const__.
884 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
885 * manual/startup.texi: Document that getauxval sets errno.
886
23776487
JM
8872013-12-18 Joseph Myers <joseph@codesourcery.com>
888
f889953b
JM
889 * math/auto-libm-test-in: Add tests of jn and yn.
890 * math/auto-libm-test-out: Regenerated.
891 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
892 (yn_test_data): Likewise.
893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
894 mpfr_if_f.
895 (func_calc_desc): Add mpfr_if_f union field.
896 (FUNC_mpfr_if_f): New macro.
897 (test_functions): Add jn and yn.
898 (calc_generic_results): Assert type of second input for
899 mpfr_ff_f. Handle mpfr_if_f.
900 (output_for_one_input_case): Disable all checking for arguments
901 fitting floating-point types in case of an integer argument.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904
23776487
JM
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
906 Don't expect fegetround reference in libm.so.
907
cb756c6d
MS
9082013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
909
910 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
911 $(config-cflags-nofma).
912
2dec468f
JM
9132013-12-18 Joseph Myers <joseph@codesourcery.com>
914
5953eb3a
JM
915 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
916 * math/auto-libm-test-out: Regenerated.
917
2dec468f
JM
918 [BZ #16338]
919 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
920 to determine exponent and adjust argument to have exponent of -1.
921 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
922 log2.
923 * math/auto-libm-test-out: Regenerated.
924 * sysdeps/i386/fpu/libm-test-ulps: Update.
925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
926
4d84e6ad
OB
9272013-12-18 Ondřej Bílka <neleai@seznam.cz>
928
929 * manual/probes.texi: Remove cases when per-thread arenas are
930 disabled.
931
1818483b
AS
9322013-12-18 Andreas Schwab <schwab@suse.de>
933
934 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
935 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
936 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
937 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
938 * sysdeps/i386/i686/multiarch/Makefile: Update.
939 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
940
25de95bf
JM
9412013-12-17 Joseph Myers <joseph@codesourcery.com>
942
943 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
944 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
945
674762d9
PE
9462013-12-17 Paul Eggert <eggert@cs.ucla.edu>
947
0748546f
PE
948 Support TZ transition times < 00:00:00.
949 This is needed for version-3 tz-format files; it supports time
950 stamps past 2037 for America/Godthab (the only entry in the tz
951 database for which this change is relevant).
952 * manual/time.texi (TZ Variable): Document transition times
953 from -167:59:59 through -00:00:01.
954 * time/tzset.c (tz_rule): Time of day is now signed.
955 (__tzset_parse_tz): Parse negative time of day.
956
4480e934
PE
957 Document TZ transition times >= 25:00:00.
958 * manual/time.texi (TZ Variable): Document transition times from
959 25:00:00 through 167:59:59. These are already supported, and this
960 support will help with version-3 tz-format files.
961
69947401
PE
962 * manual/time.texi (TZ Variable): Modernize North America example
963 to reflect current (i.e., 2007-and-later) daylight saving rules.
964
674762d9
PE
965 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
966
7011c262
JM
9672013-12-17 Joseph Myers <joseph@codesourcery.com>
968
2fc6557e
JM
969 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
970 * sysdeps/unix/bsd/bits/stat.h: Likewise.
971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
973 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
974 * sysdeps/unix/bsd/bsdstat.h: Likewise.
975 * sysdeps/unix/bsd/clock.c: Likewise.
976 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
977 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
978 * sysdeps/unix/bsd/init-posix.c: Likewise.
979 * sysdeps/unix/bsd/poll.c: Likewise.
980 * sysdeps/unix/bsd/ptsname.c: Likewise.
981 * sysdeps/unix/bsd/seekdir.c: Likewise.
982 * sysdeps/unix/bsd/setegid.c: Likewise.
983 * sysdeps/unix/bsd/seteuid.c: Likewise.
984 * sysdeps/unix/bsd/setgid.c: Likewise.
985 * sysdeps/unix/bsd/setrgid.c: Likewise.
986 * sysdeps/unix/bsd/setruid.c: Likewise.
987 * sysdeps/unix/bsd/setsid.c: Likewise.
988 * sysdeps/unix/bsd/setuid.c: Likewise.
989 * sysdeps/unix/bsd/sigaction.c: Likewise.
990 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
991 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
992 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
993 * sysdeps/unix/bsd/telldir.c: Likewise.
994 * sysdeps/unix/bsd/times.c: Likewise.
995 * sysdeps/unix/bsd/usleep.c: Likewise.
996
029c7b25
JM
997 * misc/Makefile (install-lib): Remove libbsd-compat.a.
998 ($(objpfx)libbsd-compat.a): Remove rule.
999
7011c262
JM
1000 * include/features.h (__FAVOR_BSD): Do not define.
1001 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1002 features conflicting with POSIX.
1003 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1004 (_BSD_SOURCE): Remove description of not being a subset of other
1005 feature test macros.
1006 * manual/job.texi (getpgrp): Do not document BSD version.
1007 (getpgid): Do not document by reference to BSD getpgrp.
1008 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1009 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1010 * signal/signal.h [__FAVOR_BSD]: Likewise.
1011 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1012 instead of making contents conditional on [__FAVOR_BSD].
1013 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1014
affb6f78
AZ
10152013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016
1017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1018
c88769dd
JM
10192013-12-17 Joseph Myers <joseph@codesourcery.com>
1020
6432a540
JM
1021 [BZ #16314]
1022 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1023 values below 2**-450, not 2**-500.
1024 * math/auto-libm-test-in: Don't allow spurious underflow from
1025 hypot.
1026 * math/auto-libm-test-out: Regenerated.
1027
c88769dd
JM
1028 [BZ #16316]
1029 [BZ #16330]
1030 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1031 values of ha and hb and sort them after adjusting subnormal
1032 arguments.
1033 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1034 Likewise.
1035 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1036 values of ea and eb and sort them after adjusting subnormal
1037 arguments.
1038 * math/auto-libm-test-in: Do not expect some hypot tests of
1039 subnormals to fail. Add more hypot tests.
1040 * math/auto-libm-test-out: Regenerated.
1041
29618f6b
KK
10422013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1043
1044 [BZ #13304]
1045 * sysdeps/sh/s_fma.c: New file.
1046 * sysdeps/sh/s_fmaf.c: New file.
1047 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1048 version.
1049 * sysdeps/sh/Implies: Add sh/soft-fp.
1050
eacfdfbf
RM
10512013-12-16 Roland McGrath <roland@hack.frob.com>
1052
1053 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1054 level of indirection to members `objname', `errstring', `malloced'.
1055 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1056 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1057 it as the __longjmp argument (just pass 1 instead).
1058 (_dl_catch_error): Initialize C with argument pointers and address of
1059 volatile local ERRCODE rather than copying values out of C at return.
1060
ff362e5b
JM
10612013-12-16 Joseph Myers <joseph@codesourcery.com>
1062
1063 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1064 * math/auto-libm-test-out: Regenerated.
1065 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1066 (hypot_test_data): Likewise.
1067 (pow_test_data): Likewise.
1068 (pow_tonearest_test_data): Likewise.
1069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1070 mpfr_ff_f.
1071 (func_calc_desc): Add mpfr_ff_f union field.
1072 (FUNC_mpfr_ff_f): New macro.
1073 (test_functions): Add atan2, hypot and pow.
1074 (special_fill_min): New function.
1075 (special_fill_minus_min): Likewise.
1076 (special_fill_min_subnorm): Likewise.
1077 (special_fill_minus_min_subnorm): Likewise.
1078 (special_real_inputs): Add min, -min, min_subnorm and
1079 -min_subnorm.
1080 (calc_generic_results): Handle mpfr_ff_f.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update.
1082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1083
5764c27f
WN
10842013-12-16 Will Newton <will.newton@linaro.org>
1085
1086 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1087 (Aligned Memory Blocks): Add documentation for aligned_alloc
1088 and suggest it as an alternative to posix_memalign.
1089 (Hooks for Malloc): Document __memalign_hook is also called
1090 for aligned_alloc. (Summary of Malloc): Add summary for
1091 aligned alloc. Document __memalign_hook is also called
1092 for aligned_alloc.
1093
0a096e44
WN
10942013-12-16 Will Newton <will.newton@linaro.org>
1095
1096 * manual/memory.texi (Malloc Examples): Clarify default
1097 alignment documentation. Suggest posix_memalign rather
1098 than memalign or valloc.
1099 (Aligned Memory Blocks): Remove suggestion to use memalign
1100 or valloc. Remove obsolete comment about BSD.
1101 Document memalign errno values and mark the function obsolete.
1102 Document posix_memalign returned error codes. Mark valloc
1103 as obsolete. (Hooks for Malloc): __memalign_hook is also
1104 called for posix_memalign and valloc.
1105 (Summary of Malloc): Add posix_memalign to function summary.
1106 __memalign_hook is also called for posix_memalign and valloc.
1107
8d561986
SP
11082013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1109
1110 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1111 TAYLOR_SIN.
1112 (__sin): Adjust.
1113 (__cos): Likewise.
1114 (sloww): Use mynumber union. Expand ternary operator into
1115 if-else statements.
1116 (cslow): use mynumber union.
1117
73616a74
AM
11182013-12-16 Allan McRae <allan@archlinux.org>
1119
9e8ac24b
AM
1120 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1121 * configure: Regenerated.
1122
6f8e37eb
AM
1123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1124
8894bad3
AM
1125 [BZ #14120]
1126 * configure.ac: Added --enable-maintainer-mode. Check for
1127 autoconf when enabled.
1128 * configure: Regenerated.
1129
73616a74
AM
1130 * nscd/nscd.service: New file.
1131 * nscd/nscd.tmpfiles: New file.
1132
584b18eb
OB
11332013-12-14 Ondřej Bílka <neleai@seznam.cz>
1134
1135 [BZ #12100]
1136 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1137 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1138 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1139 (strstr): Add __strstr_sse2_unaligned ifunc.
1140 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1141 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1142 (strcasestr): Remove __strcasestr_sse42 ifunc.
1143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1146
8a5c7897
KK
11472013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1148
1149 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1150 * sysdeps/sh/bits/fenv.h: ... here.
1151 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1152
fd712ef3
AZ
11532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1154
1155 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1156
42fcb46c
AZ
11572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158
1159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1160 hypotf multiarch implementations.
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1164 multiarch hypot for PPC64.
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1168 multiarch hypotf for PPC64.
1169
83efded4
AZ
11702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1173 modff multiarch implementations.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1177 multiarch modf for PPC64.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1181 multiarch modff for PPC64.
1182
43e246d2
AZ
11832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1186 and logl multiarch implementations.
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1190 multiarch logb for PPC64.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1194 multiarch logb for PPC64.
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1198 multiarch logb for PPC64.
1199
8fdad123
AZ
12002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1203 isinff multiarch implementation.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1205 file.
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1208 multiarch isinf for PPC64.
1209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1210 file.
1211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1212 multiarch isinff for PPC64.
1213
1481d706
AZ
12142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215
1216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1217 finitef multiarch implementation.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1219 file.
1220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1222 multiarch finite for PPC64.
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1224 file.
1225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1226 multiarch finitef for PPC64.
1227
5ccd5fc8
AZ
12282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229
1230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1231 lrint multiarch implementation.
1232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1233 file.
1234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1236 multiarch llrint for PPC64.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1238 multiarch lrint for PPC64.
1239
2568f3fa
AZ
12402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1243 copysignf multiarch implementation.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1245 file.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1247 file.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1249 multiarch copysign for PPC64.
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1251 multiarch copysignf for PPC64.
1252
1cb341fd
AZ
12532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1256 multiarch implementation.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1258 file.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1260 file.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1262 file.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1264 file.
1265 multiarch llround for PPC64.
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1267 multiarch trunc for PPC64.
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1269 multiarch truncf for PPC64.
1270
59a3e194
AZ
12712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1274 multiarch implementation.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1276 file.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1278 file.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1280 file.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1282 file.
1283 multiarch llround for PPC64.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1285 multiarch round for PPC64.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1287 multiarch roundf for PPC64.
1288
357fd3b4
AZ
12892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1292 multiarch implementation.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1294 file.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1296 file.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1298 file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1300 file.
1301 multiarch llround for PPC64.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1303 multiarch floor for PPC64.
1304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1305 multiarch floorf for PPC64.
1306
96770f12
AZ
13072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1310 multiarch implementation.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1312 file.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1314 file.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1316 file.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1318 file.
1319 multiarch llround for PPC64.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1321 multiarch ceil for PPC64.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1323 multiarch ceilf for PPC64.
1324
c3627f6e
AZ
13252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1328 multiarch implementation.
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1330 file.
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1332 file.
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1334 file.
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1336 multiarch llround for PPC64.
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1338 multiarch lround for PPC64.
1339
b2284ad7
AZ
13402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1343 multiarch implementation.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1347 file.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1351 multiarch isnan for PPC64.
1352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1353 multiarch isnanf for PPC64.
1354
69bbc63d
AZ
13552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1356
1357 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1358 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1359 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1360 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1361 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1363
c24517c9
AZ
13642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365
1366 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1367 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1370
a52374e8
AZ
13712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1374 multiarch implementations.
1375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1376 (__libc_ifunc_impl_list): Likewise.
1377 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1379 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1380 multiarch stpcpy for PPC64.
1381
7f5ec113
AZ
13822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1385 multiarch implementations.
1386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1387 (__libc_ifunc_impl_list): Likewise.
1388 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1389 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1390 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1391 multiarch strcpy for PPC64.
1392
e28bcd42
AZ
13932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394
1395 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1396 redefine function name.
1397 (_wordcopy_fwd_dest_aligned): Likewise.
1398 (_wordcopy_bwd_aligned): Likewise.
1399 (_wordcopy_bwd_dest_aligned): Likewise.
1400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1401 multiarch implementations.
1402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1403 (__libc_ifunc_impl_list): Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1407 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1408 multiarch wcscpy for PPC64.
1409
92cacfce
AZ
14102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1411
1412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1413 multiarch implementations.
1414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1415 (__libc_ifunc_impl_list): Likewise.
1416 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1417 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1418 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1420 multiarch wcscpy for PPC64.
1421
7b714620
AZ
14222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423
1424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1425 multiarch implementations.
1426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1427 (__libc_ifunc_impl_list): Likewise.
1428 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1429 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1430 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1432 multiarch wcsrchr for PPC64.
1433
16fd2ae3
AZ
14342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1437 multiarch implementations.
1438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1439 (__libc_ifunc_impl_list): Likewise.
1440 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1442 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1443 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1444 multiarch wcschr for PPC64.
1445
9ee2969b
AZ
14462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447
1448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1449 multiarch implementations.
1450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1451 (__libc_ifunc_impl_list): Likewise.
1452 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1453 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1454 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1455 multiarch strchrnul for PPC64.
1456
372dc060
AZ
14572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
1459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1460 implementations.
1461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1462 (__libc_ifunc_impl_list): Likewise.
1463 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1464 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1465 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1466 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1467 strchr for PPC64.
1468
24c2c3b9
AZ
14692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1472 implementations.
1473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1474 (__libc_ifunc_impl_list): Likewise.
1475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1477 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1478 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1479 strncmp for PPC64.
1480
1c92d9a0
AZ
14812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482
1483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1484 multiarch implementations.
1485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1486 (__libc_ifunc_impl_list): Likewise.
1487 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1488 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1489 strncasecmp for PPC64.
1490 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1491 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1492 multiarch strncasecmp_l for PPC64.
1493
17de3ee3
AZ
14942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1497 multiarch implementations.
1498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1499 (__libc_ifunc_impl_list): Likewise.
1500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1502 multiarch strcasecmp for PPC64.
1503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1504 file.
1505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1506 multiarch strcasecmp_l for PPC64.
1507
62982bf9
AZ
15082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509
1510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1511 implementations.
1512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1513 (__libc_ifunc_impl_list): Likewise.
1514 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1515 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1516 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1517 strnlen for PPC64.
1518
a65f4904
AZ
15192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1520
1521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1522 implementations.
1523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1524 (__libc_ifunc_impl_list): Likewise.
1525 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1526 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1528 strlen for PPC64.
1529
1fd005ad
AZ
15302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531
1532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1533 implementations.
1534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1535 (__libc_ifunc_impl_list): Likewise.
1536 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1538 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1539 rawmemrchr for PPC64.
1540
cd05ba91
AZ
15412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542
1543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1544 implementation.
1545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Likewise.
1547 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1549 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1550 memrchr for PPC64.
1551
870f8676
AZ
15522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1555 implementation.
1556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1557 (__libc_ifunc_impl_list): Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1559 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1561 memchr for PPC64.
1562
f00be62b
AZ
15632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1566 implementation.
1567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1568 (__libc_ifunc_impl_list): Likewise.
1569 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1570 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1571 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1572 mempcpy for PPC64.
1573
8a29a3d0
AZ
15742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575
1576 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1577 avoid cretion of __bzero symbol.
1578 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1579 Likewise.
1580 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1581 Likewise.
1582 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1583 Likewise.
1584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1585 multiarch implementations.
1586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1587 (__libc_ifunc_impl_list): Likewise.
1588 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1589 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1590 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1591 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1592 bzero for PPC32.
1593 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1594 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1595 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1596 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1597 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1598 memset for PPC64.
1599 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1600
07253fcf
AZ
16012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602
1603 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1605 implementations.
1606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1607 (__libc_ifunc_impl_list): Likewise.
1608 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1609 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1610 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1611 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1612 memcmp for PPC64.
1613
b5beafbc
AZ
16142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1617 multiarch for POWER/PPC64.
1618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1619 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1626 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1627 memcpy for PPC64.
1628
5e6a4d4b
AZ
16292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630
1631 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1632 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1633 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1634 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1635 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1636 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1637 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1638 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1639 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1640 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1641 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1642 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1643 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1644 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1645 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1653
ddfab6dc
KK
16542013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1655
1656 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1657
19b5525e
SP
16582013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1659
1660 * benchtests/Makefile (bench): Add exp2 and log2.
1661 (LDLIBS-bench-exp2): Add -lm.
1662 (LDLIBS-bench-log2): Likewise.
1663 * benchtests/exp2-inputs: New inputs file.
1664 * benchtests/log2-inputs: New inputs file.
1665 * benchtests/log-inputs: Add new inputs.
1666 * benchtests/tan-inputs: Likewise.
1667
196f7f5d
SP
16682013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1669
7a74607f
SP
1670 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1671 definition...
1672 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1673 csloww1, csloww2): ... from here.
1674
196f7f5d
SP
1675 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1676 instead of structures.
1677 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1678 (POLYNOMIAL): Likewise.
1679 (TAYLOR_SLOW): Likewise.
1680 (__sin): Likewise.
1681 (__cos): Likewise.
1682 (slow1): Likewise.
1683 (slow2): Likewise.
1684 (sloww): Likewise.
1685 (sloww1); Likewise.
1686 (sloww2): Likewise.
1687 (bsloww1): Likewise.
1688 (bsloww2): Likewise.
1689 (cslow2): Likewise.
1690 (csloww): Likewise.
1691 (csloww1): Likewise.
1692 (csloww2): Likewise.
1693
0dfa665c
OB
16942013-12-10 Ondřej Bílka <neleai@seznam.cz>
1695
1696 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1697 (__malloc_assert, __libc_realloc, __libc_calloc,
1698 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1699 memcpy and memset.
1700 * malloc/hooks.c (realloc_check): Likewise.
1701
5782a80f
OB
17022013-12-10 Ondřej Bílka <neleai@seznam.cz>
1703
1704 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1705 * malloc/arena.c: Remove PER_THREAD conditional.
1706 [!PER_THREAD]: Remove code.
1707 (ptmalloc_unlock_all2): Likewise.
1708 (ptmalloc_init): Likewise.
1709 (_int_new_arena): Likewise.
1710 (arena_get2): Likewise.
1711 * malloc/hooks.c (__malloc_get_state): Likewise.
1712 (__malloc_set_state): Likewise.
1713 * malloc/malloc.c: Likewise.
1714 (struct malloc_state): Likewise.
1715 (struct malloc_par): Likewise.
1716 (__libc_realloc): Likewise.
1717 (__libc_mallopt): Likewise.
1718
aeb95445
AZ
17192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720
1721 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1722
e8349efd
OB
17232013-12-09 Ondřej Bílka <neleai@seznam.cz>
1724
1725 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1726 macro to a function. Check for zero perturb_byte.
1727 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1728
f3eeb3fc
OB
17292013-12-09 Ondřej Bílka <neleai@seznam.cz>
1730
1731 * malloc/malloc.c: (force_reg): Remove.
1732 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1733 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1734 force_reg by atomic_forced_read.
1735 * malloc/arena.c (ptmalloc_init): Likewise.
1736 * malloc/hooks.c (top_check): Likewise.
1737
be2f9009
AZ
17382013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1741
e7b914bd
MT
17422013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1743
1744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1745
9f0be4f8
JM
17462013-12-08 Joseph Myers <joseph@codesourcery.com>
1747
1748 * math/auto-libm-test-in: Add tests of lgamma.
1749 * math/auto-libm-test-out: Regenerated.
1750 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1751 (M_LOG_2_SQRT_PIl): Likewise.
1752 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1754 mpfr_f_f1.
1755 (func_calc_desc): Add mpfr_f_f1 union field.
1756 (ARGS1): New macro.
1757 (ARGS2): Likewise.
1758 (ARGS3): Likewise.
1759 (ARGS4): Likewise.
1760 (RET1): Likewise.
1761 (RET2): Likewise.
1762 (CALC): Likewise.
1763 (FUNC): Likewise.
1764 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1765 (test_functions): Add lgamma.
1766 (calc_generic_results): Handle mpfr_f_f1.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
24eeafdb
AZ
17702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1773 __mpn_add_n for PowerPC64/POWER7.
1774 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1775 __mpn_sub_n for PowerPC64/POWER7.
1776
4a2c0fd4
AZ
17772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778
1779 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1780 __mpn_addmul_1 for PowerPC64.
1781 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1782 __mpn_submul_1 for PowerPC64.
1783 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1784 for PowerPC64.
1785 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1786 for PowerPC64.
1787
4b5b548c
FS
17882013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1789
1790 [BZ #15089]
1791 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1792
0a3ac0aa
AZ
17932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1796
ccdc8438
AZ
17972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1800 add multiarch folders.
1801 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1802 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1803 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1804 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1805 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1806 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1807 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1808 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1809 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1810 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1811 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1818
2e973d99
AZ
18192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1822 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1824 New file.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1826 New file.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1828 multiarch __ieee754_hypot for PowerPC32.
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1830 New file.
1831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1832 New file.
1833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1834 multiarch __ieee754_hypotf for PowerPC32.
1835
2d9470b2
AZ
18362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837
1838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1839 long_double_symbol only if __logbl is defined.
1840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1841 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1843 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1845 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1847 path for implementation.
1848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1851 logb, and logbl multiarch implementations for PowerPC32.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1853 file.
1854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1855 file.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1857 multiarch logb for PowerPC32.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1859 file.
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1861 file.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1863 multiarch logbf for PowerPC32.
1864 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1866 file.
1867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1868 multiarch logbl implementation for PowerPC32.
1869
5212ffce
AZ
18702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1873 and modff multiarch implementations.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1875 New file.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1877 New file.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1879 multiarch modf for PowerPC32.
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1881 New file.
1882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1883 New file.
1884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1885 multiarch modff for PowerPC32.
1886
79dccf31
AZ
18872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1890 and lrintf multiarch implementations.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1892 New file.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1894 New file.
1895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1896 multiarch lrint for PowerPC32.
1897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1898 file: multiarch lrintf for PowerPC32.
1899
deb66480
AZ
19002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1903 and lroundf multiarch implementations.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1905 New file.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1907 New file.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1909 New file.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1911 multiarch lround for PowerPC32.
1912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1913 file: multiarch lroundf for PowerPC32.
1914
264b036b
AZ
19152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1918 copysign and copysignf multiarch implementations.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1920 New file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1922 New file.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1924 file: multiarch copysign for PowerPC32.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1926 file: multiarch copysignf for PowerPC32.
1927
d47db6c9
AZ
19282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1931 and truncf multiarch implementations.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1933 New file.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1935 file.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1937 multiarch trunc for PowerPC32.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1939 New file.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1941 New file.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1943 multiarch truncf for PowerPC32.
1944
ddb60b5a
AZ
19452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1948 and roundf multiarch implementations.
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1950 New file.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1952 file.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1954 multiarch round for PowerPC32.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1956 New file.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1958 New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1960 multiarch roundf for PowerPC32.
1961
bedcf49b
AZ
19622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
1964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1965 and floorf multiarch implementations.
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1967 New file.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1969 file.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1971 multiarch floor for PowerPC32.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1973 New file.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1975 New file.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1977 multiarch floorf for PowerPC32.
1978
35ae5b40
AZ
19792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1982 and ceilf multiarch implementations.
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1984 New file.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1986 file.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1988 multiarch ceil for PowerPC32.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1990 New file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1992 file.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1994 multiarch ceilf for PowerPC32.
1995
ae1a4cd9
AZ
19962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1997
1998 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1999 is defined.
2000 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2001 FINITEF is defined.
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2003 and finitef multiarch implementations.
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2005 New file.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2007 file.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2009 multiarch finite for PowerPC32.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2011 New file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2013 file: multiarch finitef for PowerPC32.
2014
64fffd65
AZ
20152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016
2017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2018 and isinff multiarch implementations.
2019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2020 file.
2021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2022 file.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2024 multiarch isinf for PowerPC32.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2026 New file.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2028 multiarch isinff for PowerPC32.
2029
8e4e7ba2
AZ
20302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031
2032 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2033 alias when __isnan is defined.
2034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2035 and isnanf multiarch implementations.
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2037 file.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2039 file.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2041 file.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2043 file.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2045 multiarch isnan for PowerPC32.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2049 New file.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2051 multiarch isnanf for PowerPC32.
2052
ddba588e
AZ
20532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2056 and sqrtf multiarch implementations.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2058 file.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2060 file.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2062 multiarch sqrt for PowerPC32.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2064 file.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2066 file.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2068 multiarch sqrtf for PowerPC32.
2069
0f96a2f0
AZ
20702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071
2072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2073 and llroundf multiarch implementations.
2074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2075 New file.
2076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2077 New file.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2079 New file.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2081 file: multiarch llround for PowerPC32.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2083 file: multiarch llroundf for PowerPC32.
2084
c9b5d79e
AZ
20852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2088 multiarch PowerPC32 fpu implementations.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2090 New file.
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2092 New file.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2094 multiarch llrint for PowerPC32.
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2096 New file.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2098 New file.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2100 file.
2101
9cbb3aab
AZ
21022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2105
ea5a72f8
AZ
21062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2109 file.
2110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2111 file.
2112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2113 file.
2114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2115 multiarch wordcopy for PPC32.
2116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2117 wordcopy objects.
2118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2119 (__libc_ifunc_impl_list): Likewise.
2120 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2121 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2122 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2123 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2125 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2126
93be09e7
AZ
21272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128
2129 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2131 file.
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2133 file.
2134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2135 file.
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2137 multiarch wcscpy for PPC32.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2139 multiarch objects.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2141 (__libc_ifunc_impl_list): Likewise.
2142 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2143 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2144 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2145 sysdeps/powerpc/power6/wcscpy.c.
2146
bb04e529
AZ
21472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148
2149 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2151 file.
2152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2153 file.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2155 file.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2157 multiarch wcsrchr for PPC32.
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2159 multiarch objects.
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2161 (__libc_ifunc_impl_list): Likewise.
2162 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2163 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2164 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2165 sysdeps/powerpc/power6/wcsrchr.c.
2166
05b5cd1c
AZ
21672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2170 file.
2171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2172 file.
2173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2175 multiarch wcschr for PPc32.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2177 multiarch objects.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2179 (__libc_ifunc_impl_list): Likewise.
2180 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2181 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2182 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2183 sysdeps/powerpc/power6/wcschr.c.
2184
ba964147
AZ
21852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2191 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2192 file: multiarch strchr for PPC32.
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2194 multiarch objects.
2195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2196 (__libc_ifunc_impl_list): Likewise.
2197
31c81aaa
AZ
21982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199
2200 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2201 name.
2202 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2203 file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2205 file.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2207 multiarch strchrnul for PPC32.
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2209 multiarch objects.
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2211 (__libc_ifunc_impl_list): Likewise.
2212
0d0607d9
AZ
22132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2216 file.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2218 multiarch strncasecmp for PPC32.
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2220 file.
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2222 multiarch strncasecmp_l for PPC32.
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2224 strncasecmp multiarch objects.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2226 (__libc_ifunc_impl_list): Likewise.
2227
4dfd5c86
AZ
22282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2231 file.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2233 multiarch strncasecmp for PPC32.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2235 New file.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2237 multiarch strcasecmp_l for PPC32.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2239 multiarch objects.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2241 (__libc_ifunc_impl_list): Likewise.
2242
a19e01a3
AZ
22432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2244
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2246 file.
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2248 file.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2250 multiarch strncmp for PPC32.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2252 multiarch objects.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2254 (__libc_ifunc_impl_list): Likewise.
2255
ae9cf7a2
AZ
22562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2259 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2260 file.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2264 multiarch objects.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2266 (__libc_ifunc_impl_list): Likewise.
2267
3148bb7d
AZ
22682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2271 file.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2273 file.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2276 multiarch objects.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2278 (__libc_ifunc_impl_list): Likewise.
2279
7af8b946
AZ
22802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2281
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2283 file.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2285 file.
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2287 multiarch rawmemchr for PPC32.
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2289 multiarch objects.
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2291 (__libc_ifunc_impl_list): Likewise.
2292
03a6aa6a
AZ
22932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2296 file.
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2298 file.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2300 file: memrchr multiarch for PPC32.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2302 multiarch objects.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2304 (__libc_ifunc_impl_list): Likewise.
2305
1c62e6d9
AZ
23062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307
2308 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2310 file.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2313 multiarch memchr for PPC32.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2315 multiarch objects.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2317 (__libc_ifunc_impl_list): Likewise.
2318
87da8bdb
AZ
23192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320
2321 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2323 file.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2325 file.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2327 file: multiarch mempcpy for PPC32.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2329 multiarch objects.
2330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2331 (__libc_ifunc_impl_list): Likewise.
2332
20ed4714
AZ
23332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2339 multiarch bzero for PPC32.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2341 file.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2343 file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2345 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2346 file: multiarch memset for PPC32.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2349 memset multiarch objects.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2351 (__libc_ifunc_impl_list): Likewise.
2352
ab3e3a46
AZ
23532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2354
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2356 file.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2359 memcmp for PPC32.
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2362 multiarch objects.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2364 (__libc_ifunc_impl_list): Likewise.
2365
930de6f0
AZ
23662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2371 file.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2373 file.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2375 file.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2377 multiarch memcpy for PPC32.
2378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2379 multiarch objects.
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2381 (__libc_ifunc_impl_list): Likewise.
2382
4c628e00
AZ
23832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2386 support multiarch for POWER/PPC32.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2388 Likewise.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2391 Implies file to make multiarch folder appers before the fpu and
2392 default folder for power4 configuration.
2393
f4479220
SP
23942013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2395
2396 * scripts/bench.pl: Append volatile keyword to type.
2397
8517800f
KK
23982013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2399
2400 * sysdeps/sh/sotruss-lib.c: New file.
2401 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2402
180138f1
AZ
24032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2406
bbf37bdc
JM
24072013-12-05 Joseph Myers <joseph@codesourcery.com>
2408
e47cc4e0
JM
2409 [BZ #6810]
2410 * math/w_tgamma.c: Include <errno.h>.
2411 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2412 * math/w_tgammaf.c: Include <errno.h>.
2413 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2414 * math/w_tgammal.c: Include <errno.h>.
2415 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2416 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2417 underflow. Add more tgamma tests.
2418 * math/auto-libm-test-out: Regenerated.
2419 * sysdeps/i386/fpu/libm-test-ulps: Update.
2420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421
bbf37bdc
JM
2422 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2423 sin, sinh, tan, tanh, tgamma, y0 and y1.
2424 * math/auto-libm-test-out: Regenerated.
2425 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2426 (TEST_COND_x86): Likewise.
2427 (M_E2l): Remove macro.
2428 (M_E3l): Likewise.
2429 (M_2_SQRT_PIl): Likewise.
2430 (M_SQRT_PIl): Likewise.
2431 (M_1_DIV_El): Likewise.
2432 (log_test_data): Use AUTO_TESTS_f_f.
2433 (log10_test_data): Likewise.
2434 (log1p_test_data): Likewise.
2435 (log2_test_data): Likewise.
2436 (sin_test_data): Likewise.
2437 (sin_tonearest_test_data): Likewise.
2438 (sin_towardzero_test_data): Likewise.
2439 (sin_downward_test_data): Likewise.
2440 (sin_upward_test_data): Likewise.
2441 (sinh_test_data): Likewise.
2442 (sinh_tonearest_test_data): Likewise.
2443 (sinh_towardzero_test_data): Likewise.
2444 (sinh_downward_test_data): Likewise.
2445 (sinh_upward_test_data): Likewise.
2446 (tan_test_data): Likewise.
2447 (tan_tonearest_test_data): Likewise.
2448 (tan_towardzero_test_data): Likewise.
2449 (tan_downward_test_data): Likewise.
2450 (tan_upward_test_data): Likewise.
2451 (tanh_test_data): Likewise.
2452 (tgamma_test_data): Likewise.
2453 (y0_test_data): Likewise.
2454 (y1_test_data): Likewise.
2455 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2456 (special_real_inputs): Add pi/4.
2457 * sysdeps/i386/fpu/libm-test-ulps: Update.
2458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2459
eb5ad6b9
AZ
24602013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461
2462 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2463 "longjmp_target" static probes.
2464 (__longjmp): Rename to __longjmp_symbol.
2465 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2466 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2467 on which longjmp to generate.
2468 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2470 probe.
2471 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2472 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2473 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2475 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2476 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2478 __longjmp_symbol based on which __longjmp to generate.
2479 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2480 probe.
2481 (setjmp): Rename to setjmp_symbol.
2482 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2483 (_setjmp): Rename to _setjmp_symbol.
2484 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2485 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2486 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2487 which setjmp to generate.
2488 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2489 "longjmp_target" static probes.
2490
d136c6dc
SP
24912013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2492
9298ecba
SP
2493 * benchtests/README: Add note about output arguments.
2494 * benchtests/bench-sincos.c: Remove file.
2495 * benchtests/sincos-inputs: New file.
2496 * scripts/bench.pl: Identify output arguments and define
2497 static variables for them.
2498
232983e9
SP
2499 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2500
d136c6dc
SP
2501 [BZ #15941]
2502 * Makefile (INSTALL): Add install-plain.texi as the primary
2503 dependency.
2504 * manual/install-plain.texi: New file.
2505 * manual/install.texi: Include node directive only for
2506 non-plaintext output.
2507
699ff837
JM
25082013-12-04 Joseph Myers <joseph@codesourcery.com>
2509
ab07cea8
JM
2510 * stdlib/longlong.h: Update from GCC.
2511
699ff837
JM
2512 [BZ #6807]
2513 [BZ #15901]
2514 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2515 * math/w_j0f.c (y0f): Likewise.
2516 * math/w_j0l.c (__y0l): Likewise.
2517 * math/w_j1.c (y1): Likewise.
2518 * math/w_j1f.c (y1f): Likewise.
2519 * math/w_j1l.c (__y1l): Likewise
2520 * math/w_jn.c (yn): Likewise.
2521 * math/w_jnf.c (ynf): Likewise.
2522 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2523 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2524 value for Bessel function domain errors outside _SVID_ mode.
2525 Adjust sign of return value for yn (negative integer, 0).
2526 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2527 by zero in return for negative x and set sign appropriately for
2528 negative n.
2529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2531 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2532 expectations in error cases.
2533 (y1_test_data): Likewise.
2534 (yn_test_data): Likewise.
2535 * sysdeps/i386/fpu/libm-test-ulps: Update.
2536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2537
5b118558
UW
25382013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2539
2540 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2541 "64" to "64-v1". Add "64-v2".
2542 (abi-64-options): Rename to ...
2543 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2544 (abi-64-condition): Rename to ...
2545 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2546 (abi-64-ld-soname): Rename to ...
2547 (abi-64-v1-ld-soname): ... this.
2548 (abi-64-v2-options): Define.
2549 (abi-64-v2-condition): Likewise.
2550 (abi-64-v2-ld-soname): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2556
61cd8fe4
UW
25572013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2558 Alan Modra <amodra@gmail.com>
2559
2560 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2561 New versions for use with the ELFv2 ABI.
2562 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2563 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2564 declaration.
2565 (struct La_ppc64v2_retval): Likewise.
2566 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2567 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2568 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2569 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2570 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2572 Do not save or restore CR.
2573 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2574 (_dl_profile_resolve): Do no save or restore CR. Support extended
2575 return values for ELFv2 ABI. Fix location of FPR return registers.
2576 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2577 updated values for _CALL_ELF == 2.
2578 (La_regs, La_retval, int_retval): Likewise.
2579
8b8a692c
UW
25802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2581
2582 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2583 (FRAME_MIN_SIZE_PARM): Likewise.
2584 (FRAME_BACKCHAIN): Likewise.
2585 (FRAME_CR_SAVE): Likewise.
2586 (FRAME_LR_SAVE): Likewise.
2587 (FRAME_TOC_SAVE): Likewise.
2588 (FRAME_PARM_SAVE): Likewise.
2589 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2590 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2591 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2592 (call_mcount_parm_offset): New macro.
2593 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2594 (PROF): Use symbolic stack frame offsets.
2595 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2597 Redefine in terms of FRAME_MIN_SIZE.
2598 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2599 (_dl_profile_resolve): Likewise. Update comment.
2600 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2601 symbols stack frame offsets.
2602 (__sigsetjmp): Likewise.
2603 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2604 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2605 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2606 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2607
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2609 (FRAME_BACKCHAIN): Remove.
2610 (FRAME_CR_SAVE): Likewise.
2611 (FRAME_LR_SAVE): Likewise.
2612 (FRAME_COMPILER_DW): Likewise.
2613 (FRAME_LINKER_DW): Likewise.
2614 (FRAME_TOC_SAVE): Likewise.
2615 (FRAME_PARM_SAVE): Likewise.
2616 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2617 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2618 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2620 (CHECK_SP): Use symbolic stack frame offsets.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2622 zone" instead of caller's parameter save area for temp storage.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2624 Likewise. Also, use symbolic stack frame offsets.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2626 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2627 our own stack frame instead of the caller's.
2628 (__socket): Use symbolic stack frame offsets.
2629
122b66de
UW
26302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2631 Alan Modra <amodra@gmail.com>
2632
2633 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2634 Define.
2635 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2636 PPC64_LOCAL_ENTRY_OFFSET): Define.
2637 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2638 New function.
2639 (elf_machine_fixup_plt): Call it.
2640 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2641 reloc arguments.
2642 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2644 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2645 r2 before calling target.
2646
696caf1d
UW
26472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2648 Alan Modra <amodra@gmail.com>
2649
2650 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2651 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2652 versions of macros to support ELFv2 ABI.
2653 (LOCALENTRY): New macro.
2654 (ENTRY, EALIGN): Use it.
2655 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2656 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2657 fall through into ENTRY entry point.
2658 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2659 Only define if _CALL_ELF != 2.
2660
2661 (elf_machine_matches_host): Verify ABI version matches.
2662 (RTLD_START): Use LOCALENTRY.
2663 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2664 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2665 (PLT_ENTRY_WORDS): New macro.
2666 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2667 (elf_machine_runtime_setup): Support ELFv2 ABI.
2668 (elf_machine_fixup_plt): Likewise.
2669 (elf_machine_plt_conflict): Likewise.
2670 (resolve_ifunc): Likewise.
2671 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2673 Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2675 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2677 (makecontext): Support ELFv2 ABI.
2678 * elf/elf.h (EF_PPC64_ABI): Define.
2679
d31beafa
UW
26802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2681
2682 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2683 New assembler macro.
2684 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2685 [ASSEMBLER] (ENTRY): ... but instead here ...
2686 [ASSEMBLER] (EALIGN): ... and here.
2687 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2688 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2689 [!ASSEMBLER] (ENTRY_2): Use it.
2690 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2691 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2693 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2694 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2696 Use PPC64_LOAD_FUNCPTR.
2697
b525166b
UW
26982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2699
2700 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2701
7ec07d9a
AM
27022013-12-04 Alan Modra <amodra@gmail.com>
2703
2704 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2705 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2706 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2707 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2708
2709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2710 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2711 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2712 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2713 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2714 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2715
5162e7dd
UW
27162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2717
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2719 (__makecontext): Fix incorrect CFI when backtracing out of
2720 context created via makecontext.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2722 (__setcontext): Fix incorrect CFI during switch to new context.
2723 (__novec_setcontext): Likewise.
2724
19e3372b
OB
27252013-12-04 Ondřej Bílka <neleai@seznam.cz>
2726
2727 [BZ #4772]
2728 * time/strptime_l.c (__strptime_internal): Allow modifiers
2729 in strptime.
2730 * time/tst-strptime.c (day_tests): Add testcase.
2731
2732
ecaf142d
SP
27332013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2734
2735 * scripts/bench.pl: Skip over blank lines.
2736
fbf964ae
PE
27372013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2738
2739 [BZ #926]
2740 * manual/time.texi (Calendar Time): Clarify what timezone functions
2741 use.
2742
fa60a674
AZ
27432013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744
2745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2746
d674f0ef
OB
27472013-12-04 Ondřej Bílka <neleai@seznam.cz>
2748
2749 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2750 implementation.
2751 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2752 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2753 * debug/memset_chk.c (__memset_chk): Likewise.
2754 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2755 * debug/strncpy_chk.c: Likewise.
2756
17dea188
JM
27572013-12-03 Joseph Myers <joseph@codesourcery.com>
2758
749008ff
JM
2759 [BZ #15268]
2760 [BZ #15425]
2761 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2762 (__ieee754_exp): For possibly underflowing results, check size of
2763 result and force underflow exception if required.
2764 * math/auto-libm-test-in: Add more tests of exp.
2765 * math/auto-libm-test-out: Regenerated.
2766 * sysdeps/i386/fpu/libm-test-ulps: Update.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2768
17dea188
JM
2769 [BZ #16283]
2770 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2771 * math/w_exp2f.c (__exp2f): Likewise.
2772 * math/w_exp2l.c (__exp2l): Likewise.
2773 * math/auto-libm-test-in: Do not allow missing errno on exp2
2774 underflow.
2775 * math/auto-libm-test-out: Regenerated.
2776
b20de2c3
OB
27772013-12-03 Ondřej Bílka <neleai@seznam.cz>
2778
2779 [BZ #16274]
2780 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2781 handle filename validation.
2782 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2783 (do_open): Delete.
2784
d8e2dbe3
JM
27852013-12-03 Joseph Myers <joseph@codesourcery.com>
2786
34e16df5
JM
2787 [BZ #6786]
2788 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2789 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2790 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2791 <float.h>.
2792 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2794 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2796 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2798 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2799 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2800 Add more erfc tests.
2801 * math/auto-libm-test-out: Regenerated.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804
d8e2dbe3
JM
2805 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2806 exp2, expm1, j0 and j1.
2807 * math/auto-libm-test-out: Regenerated.
2808 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2809 (erfc_test_data): Likewise.
2810 (exp_test_data): Likewise.
2811 (exp_tonearest_test_data): Likewise.
2812 (exp_towardzero_test_data): Likewise.
2813 (exp_downward_test_data): Likewise.
2814 (exp_upward_test_data): Likewise.
2815 (exp10_test_data): Likewise.
2816 (exp2_test_data): Likewise.
2817 (expm1_test_data): Likewise.
2818 (j0_test_data): Likewise.
2819 (j1_test_data): Likewise.
2820 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2821 (input_flag_type): Add flag_xfail_rounding.
2822 (input_flags): Add xfail-rounding.
2823 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2824 (output_for_one_input_case): Handle flag_xfail_rounding.
2825 * sysdeps/i386/fpu/libm-test-ulps: Update.
2826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2827
18d14251
AJ
28282013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2829
3d2e6075 2830 [BZ #16289]
18d14251
AJ
2831 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2832 division by 0.
2833
520d437b
SP
28342013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2835
2836 [BZ #16195]
2837 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2838 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2839 (STAP_PROBE0): New macro.
2840 (STAP_PROBE1): Likewise.
2841 (STAP_PROBE2): Likewise.
2842 (STAP_PROBE3): Likewise.
2843 (STAP_PROBE4): Likewise.
2844
416e0145
OB
28452013-12-02 Ondřej Bílka <neleai@seznam.cz>
2846
2847 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2848
9d17796a
SE
28492013-12-02 Steve Ellcey <sellcey@mips.com>
2850
2851 * benchtests/Makefile (bench): Add sqrt.
2852 (LDLIBS-bench-sqrt): New.
2853 * benchtests/sqrt-input: New.
2854
f524d6a8
PS
28552013-12-02 Pavel Simerda <psimerda@redhat.com>
2856
639a0ef8
PS
2857 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2858 (GAIH_EAI): Likewise.
2859 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2860 (gaih_inet): Likewise.
2861 (getaddrinfo): Don't use GAIH_EAI.
2862
f524d6a8
PS
2863 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2864 (struct gaih): Remove definition.
2865
df3aedaf
SP
28662013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2867
2868 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2869 Use HERRNOP directly.
2870
1ab19dec
AZ
28712013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
b42ad38d 2873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2874
176b0c79
JM
28752013-11-30 Joseph Myers <joseph@codesourcery.com>
2876
2877 * math/gen-auto-libm-tests.c (test_functions): Add more
2878 single-argument functions.
2879 (special_fill_pi_2): New function.
2880 (special_fill_minus_pi_2): Likewise.
2881 (special_fill_pi_6): Likewise.
2882 (special_fill_minus_pi_6): Likewise.
2883 (special_fill_pi_3): Likewise.
2884 (special_fill_2pi_3): Likewise.
2885 (special_fill_e): Likewise.
2886 (special_fill_1_e): Likewise.
2887 (special_fill_e_minus_1): Likewise.
2888 (special_real_inputs): Add more special inputs.
2889 (output_for_one_input_case): Do not require ERANGE on underflow to
2890 zero if round-to-nearest result does not underflow to zero, unless
2891 exact results required.
2892 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2893 atan, atanh, cbrt, cos and cosh.
2894 * math/auto-libm-test-out: Regenerated.
2895 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2896 (acos_tonearest_test_data): Likewise.
2897 (acos_towardzero_test_data): Likewise.
2898 (acos_downward_test_data): Likewise.
2899 (acos_upward_test_data): Likewise.
2900 (acosh_test_data): Likewise.
2901 (asin_test_data): Likewise.
2902 (asin_tonearest_test_data): Likewise.
2903 (asin_towardzero_test_data): Likewise.
2904 (asin_upward_test_data): Likewise.
2905 (asinh_test_data): Likewise.
2906 (atan_test_data): Likewise.
2907 (atanh_test_data): Likewise.
2908 (cbrt_test_data): Likewise.
2909 (cos_test_data): Likewise.
2910 (cos_tonearest_test_data): Likewise.
2911 (cos_towardzero_test_data): Likewise.
2912 (cos_downward_test_data): Likewise.
2913 (cos_upward_test_data): Likewise.
2914 (cosh_test_data): Likewise.
2915 (cosh_tonearest_test_data): Likewise.
2916 (cosh_towardzero_test_data): Likewise.
2917 (cosh_downward_test_data): Likewise.
2918 (cosh_upward_test_data): Likewise.
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2921
ffb536d0
JM
29222013-11-29 Joseph Myers <joseph@codesourcery.com>
2923
2a77a467
JM
2924 [BZ #6787]
2925 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2926 * math/w_exp10f.c (__exp10f): Likewise.
2927 * math/w_exp10l.c (__exp10l): Likewise.
2928 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2929 errno settings in existing tests.
2930
ea3bc4e8
JM
2931 [BZ #14032]
2932 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2933 precision control set to double precision.
2934 * sysdeps/i386/fpu/w_sqrt.c: New file.
2935 * math/auto-libm-test-in: Add more tests.
2936 * math/auto-libm-test-out: Update.
2937
0712c9d8
JM
2938 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2939 (sqrt_test_tonearest): New function.
2940 (sqrt_towardzero_test_data): New variable.
2941 (sqrt_test_towardzero): New function.
2942 (sqrt_downward_test_data): New variable.
2943 (sqrt_test_downward): New function.
2944 (sqrt_upward_test_data): New variable.
2945 (sqrt_test_upward): New function.
2946 (main): Call the new functions.
2947
ffb536d0
JM
2948 * math/gen-auto-libm-tests.c: New file.
2949 * math/auto-libm-test-in: Likewise.
2950 * math/auto-libm-test-out: New generated file.
2951 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2952 variables.
2953 (%beautify): Add generated representations of zero.
2954 (top level): Set $auto_input and call parse_auto_input.
2955 (beautify): Remove trailing "f" from hex float constants.
2956 (parse_args): Handle XFAIL_TEST.
2957 (convert_condition): New function.
2958 (or_value): Likewise.
2959 (or_cond_value): Likewise.
2960 (generate_testfile): Handle AUTO_TESTS_* lines.
2961 (parse_auto_input): New function.
2962 * math/libm-test.inc (XFAIL_TEST): New macro.
2963 (ERRNO_UNCHANGED): Update value.
2964 (ERRNO_EDOM): Likewise.
2965 (ERRNO_ERANGE): Likewise.
2966 (IGNORE_RESULT): Likewise.
2967 (TEST_COND_flt_32): New macro.
2968 (TEST_COND_dbl_64): Likewise.
2969 (TEST_COND_ldbl_96_intel): Likewise.
2970 (TEST_COND_ldbl_96_m68k): Likewise.
2971 (TEST_COND_ldbl_128): Likewise.
2972 (TEST_COND_ldbl_128ibm): Likewise.
2973 (TEST_COND_long32): Likewise.
2974 (TEST_COND_long64): Likewise.
2975 (TEST_COND_before_rounding): Likewise.
2976 (TEST_COND_after_rounding): Likewise.
2977 (enable_test): Handle XFAIL_TEST flag.
2978 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2979 with finite results.
2980 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2981 auto-libm-test-out.
2982
acd98a8e
AK
29832013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2984 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2985
2986 [BZ #16214]
2987 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2988 __tls_get_addr_internal instead of __tls_get_offset in order to
2989 avoid GOT pointer dependency. Make rtld export
2990 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2991 __tls_get_addr since we are a __tls_get_offset platform.
2992 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2993 GOT pointer being set up before.
2994 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2995
3c1c46a6
JM
29962013-11-28 Joseph Myers <joseph@codesourcery.com>
2997
7475aef5
JM
2998 * manual/math.texi (Errors in Math Functions): Document accuracy
2999 goals.
3000
8bca7cd8
JM
3001 [BZ #15004]
3002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3015 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3018
91a1f3fe
JM
3019 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3020 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3021 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3022 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3024 Likewise.
3025 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3026 Likewise.
3027 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3028 Likewise.
3029 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3031 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3032 atomic-feupdateenv and flt-rounds.
3033 * sysdeps/powerpc/nofpu/Versions (libc): Add
3034 __atomic_feholdexcept, __atomic_feclearexcept,
3035 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3036 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3037 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3038 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3039 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3040 here.
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3042 Update.
3043
c5df7609
JM
3044 * manual/arith.texi (FP Exceptions): Document that exceptions may
3045 not be raised when matherr is used.
3046 (Math Error Reporting): Document overflow in directed rounding
3047 modes. Document that errno may not be set when finite values are
3048 returned on overflow. Document intent to set errno on underflow
3049 only for underflow to zero.
3050
3c1c46a6
JM
3051 [BZ #16271]
3052 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3053 round-to-nearest then adjust result for other rounding modes.
3054 * include/fenv.h (fegetround): Use libm_hidden_proto.
3055 * math/fegetround.c (fegetround): Use libm_hidden_def.
3056 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3057 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3058 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3059 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3060 Likewise.
3061 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3062 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3063 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3064 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3065
5a4c6d53
SP
30662013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3067
3068 [BZ #16077]
3069 * nss/Versions (libnss_files): Add
3070 _nss_files_gethostbyname3_r.
3071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3072 New function.
3073 (HOST_DB_LOOKUP): Remove macro.
3074 (_nss_files_gethostbyname_r): Implement function without the
3075 HOST_DB_LOOKUP macro.
3076 (_nss_files_gethostbyname2_r): Likewise.
3077
897b98ba
OB
30782013-11-28 Ondřej Bílka <neleai@seznam.cz>
3079
3080 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3081
6f476861
UB
30822013-11-26 Uros Bizjak <ubizjak@gmail.com>
3083
3084 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3085 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3086 warning.
3087
bd12ab55
AZ
30882013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3089
3090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3091 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3093 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3094 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3095 __fe_nomask_env_priv and attribute_hidden.
3096 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3097 (libc_feupdateenv_test_ppc): Likewise.
3098 (libc_feresetround_ppc): Likewise.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3100 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3101 compat_symbol macro.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3103 (__fe_nomask_env): Likewise.
3104 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3105
52bb6543
OB
31062013-11-26 Ondřej Bílka <neleai@seznam.cz>
3107
3108 * string/Makefile: Remove ifunc tests.
3109 * string/test-string.h: Define TEST_IFUNC.
3110 * string/test-bcopy-ifunc.c: Remove.
3111 * string/test-bzero-ifunc.c: Likewise.
3112 * string/test-memccpy-ifunc.c: Likewise.
3113 * string/test-memchr-ifunc.c: Likewise.
3114 * string/test-memcmp-ifunc.c: Likewise.
3115 * string/test-memcpy-ifunc.c: Likewise.
3116 * string/test-memmem-ifunc.c: Likewise.
3117 * string/test-memmove-ifunc.c: Likewise.
3118 * string/test-mempcpy-ifunc.c: Likewise.
3119 * string/test-memrchr-ifunc.c: Likewise.
3120 * string/test-memset-ifunc.c: Likewise.
3121 * string/test-rawmemchr-ifunc.c: Likewise.
3122 * string/test-stpcpy-ifunc.c: Likewise.
3123 * string/test-stpncpy-ifunc.c: Likewise.
3124 * string/test-strcasecmp-ifunc.c: Likewise.
3125 * string/test-strcasestr-ifunc.c: Likewise.
3126 * string/test-strcat-ifunc.c: Likewise.
3127 * string/test-strchr-ifunc.c: Likewise.
3128 * string/test-strchrnul-ifunc.c: Likewise.
3129 * string/test-strcmp-ifunc.c: Likewise.
3130 * string/test-strcpy-ifunc.c: Likewise.
3131 * string/test-strcspn-ifunc.c: Likewise.
3132 * string/test-strlen-ifunc.c: Likewise.
3133 * string/test-strncasecmp-ifunc.c: Likewise.
3134 * string/test-strncat-ifunc.c: Likewise.
3135 * string/test-strncmp-ifunc.c: Likewise.
3136 * string/test-strncpy-ifunc.c: Likewise.
3137 * string/test-strnlen-ifunc.c: Likewise.
3138 * string/test-strpbrk-ifunc.c: Likewise.
3139 * string/test-strrchr-ifunc.c: Likewise.
3140 * string/test-strspn-ifunc.c: Likewise.
3141 * string/test-strstr-ifunc.c: Likewise.
3142
ab260039 31432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3144
3145 * benchtests/Makefile: Remove ifunc tests.
3146 * benchtests/bench-string.h: Define TEST_IFUNC.
3147 * benchtests/bench-bcopy-ifunc.c: Remove.
3148 * benchtests/bench-bzero-ifunc.c: Likewise.
3149 * benchtests/bench-memccpy-ifunc.c: Likewise.
3150 * benchtests/bench-memchr-ifunc.c: Likewise.
3151 * benchtests/bench-memcmp-ifunc.c: Likewise.
3152 * benchtests/bench-memcpy-ifunc.c: Likewise.
3153 * benchtests/bench-memmem-ifunc.c: Likewise.
3154 * benchtests/bench-memmove-ifunc.c: Likewise.
3155 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3156 * benchtests/bench-memrchr-ifunc.c: Likewise.
3157 * benchtests/bench-memset-ifunc.c: Likewise.
3158 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3159 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3160 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3161 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3162 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3163 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3164 * benchtests/bench-strcat-ifunc.c: Likewise.
3165 * benchtests/bench-strchr-ifunc.c: Likewise.
3166 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3167 * benchtests/bench-strcmp-ifunc.c: Likewise.
3168 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3169 * benchtests/bench-strcpy-ifunc.c: Likewise.
3170 * benchtests/bench-strcspn-ifunc.c: Likewise.
3171 * benchtests/bench-strlen-ifunc.c: Likewise.
3172 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3173 * benchtests/bench-strncat-ifunc.c: Likewise.
3174 * benchtests/bench-strncmp-ifunc.c: Likewise.
3175 * benchtests/bench-strncpy-ifunc.c: Likewise.
3176 * benchtests/bench-strnlen-ifunc.c: Likewise.
3177 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3178 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3179 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3180 * benchtests/bench-strspn-ifunc.c: Likewise.
3181 * benchtests/bench-strstr-ifunc.c: Likewise.
3182
31832013-11-26 Ondřej Bílka <neleai@seznam.cz>
3184
ab260039
OB
3185 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3186
d1d9eaf4 31872013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3188
d1d9eaf4
OB
3189 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3190 * rt/aio.h: Likewise.
3191 * sysdeps/gnu/bits/utmp.h: Likewise.
3192 * sysdeps/gnu/bits/utmpx.h: Likewise.
3193 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3194 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3195 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3196 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3197 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3198 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3199 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3200 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3201 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3203 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3208 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3209 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3210 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3211 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3212 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3213 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3214 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3215 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3225 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3227 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3229 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3230 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3231 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3232 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3233 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3234 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3235
a7624ed9
CD
32362013-11-25 Carlos O'Donell <carlos@redhat.com>
3237
3238 [BZ #16245]
3239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3240 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3241
63cfe52b
JM
32422013-11-25 Joseph Myers <joseph@codesourcery.com>
3243
3244 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3246 Likewise.
3247
41e8926a
AZ
32482013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249
3250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3251 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3252 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3253 (__fesetround): Remove define.
3254 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3255 rounding and exceptions handling.
3256 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3257 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3258 (__fe_nomask_env): Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3260 __fegetround instead of fegetround.
3261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3263
6851bd4d
RM
32642013-11-21 Roland McGrath <roland@hack.frob.com>
3265
070906ff
RM
3266 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3267 it's there.
3268
6851bd4d
RM
3269 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3270
84ae135d
MI
32712013-11-21 Meador Inge <meadori@codesourcery.com>
3272
3273 [BZ #11157]
3274 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3275 (encrypt_r): Likewise.
3276 * malloc/obstack.h (obstack_free): Likewise.
3277 * posix/unistd.h (encrypt): Likewise.
3278
daf75146
GM
32792013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3280
3281 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3282 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3283 DL_CALL_DT_FINI() that call the functions directly.
3284 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3285 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3286 * elf/dl-fini.c: Likewise.
3287
10ad46bc
OB
32882013-11-20 Ondřej Bílka <neleai@seznam.cz>
3289
3290 * malloc/hooks.c (memalign_check): Add alignment rounding.
3291 * malloc/malloc.c (_mid_memalign): New function.
3292 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3293 Implement by calling _mid_memalign.
3294 * manual/probes.texi (Memory Allocation Probes): Remove
3295 memory_valloc_retry and memory_pvalloc_retry.
3296
f3fd2628
SP
32972013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3298
4712799f
SP
3299 * locale/programs/locarchive.c (open_archive): Add const
3300 qualifier to ARCHIVEFNAME and copy default fname to
3301 DEFAULT_FNAME.
3302
0417b20f
SP
3303 [BZ #15601]
3304 * libio/tst-widetext.input: Rename Oriya to Odia.
3305 * locale/iso-639.def: Likewise.
3306
f3fd2628
SP
3307 * manual/probes.texi (Mathematical Function Probes): Add
3308 documentation for sin, cos, asin and acos probes.
3309 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3310 (__sin32): Add slowasin probe.
3311 (__cos32): Add slowacos probe.
3312 (__mpsin): Add slowsin probe.
3313 (__mpcos): Add slowcos probe.
3314
73c1ce4f
JM
33152013-11-19 Joseph Myers <joseph@codesourcery.com>
3316
3317 [BZ #15483]
3318 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3319 thread-local __sim_exceptions_thread and global
3320 __sim_exceptions_global.
3321 (__sim_disabled_exceptions): Change to thread-local
3322 __sim_disabled_exceptions_thread and global
3323 __sim_disabled_exceptions_global.
3324 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3325 and global __sim_round_mode_global.
3326 (__simulate_exceptions): Use thread-local floating-point state and
3327 set global state from it as needed.
3328 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3329 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3330 __sim_round_mode_thread.
3331 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3332 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3333 and global __sim_exceptions_global.
3334 (__sim_disabled_exceptions): Change to thread-local
3335 __sim_disabled_exceptions_thread and global
3336 __sim_disabled_exceptions_global.
3337 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3338 and global __sim_round_mode_global.
3339 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3340 (SIM_SET_GLOBAL): Likewise.
3341 * sysdeps/powerpc/soft-fp/sfp-machine.h
3342 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3343 __sim_round_mode_thread.
3344 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3345 __sim_disabled_exceptions_thread.
3346 (__sim_exceptions): Change to __sim_exceptions_thread.
3347 (__sim_disabled_exceptions): Change to
3348 __sim_disabled_exceptions_thread.
3349 (__sim_round_mode): Change to __sim_round_mode_thread.
3350 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3351 thread-local floating-point state and set global state from it as
3352 needed.
3353 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3354 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3355 (__sim_disabled_exceptions): Remove extern declaration.
3356 (feenableexcept): Use thread-local floating-point state and set
3357 global state from it as needed.
3358 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3359 extern declaration.
3360 (__sim_disabled_exceptions): Likewise.
3361 (__sim_round_mode): Likewise.
3362 (__fegetenv): Use thread-local floating-point state.
3363 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3364 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3365 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3366 floating-point state and set global state from it as needed.
3367 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3368 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3369 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3370 Likewise.
3371 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3372 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3373 Likewise.
3374 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3375 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3376 Use __sim_round_mode_thread.
3377 * math/test-fenv-tls.c: New file.
3378 * math/Makefile (tests): Add test-fenv-tls.
3379 ($(objpfx)test-fenv-tls): Depend on
3380 $(common-objpfx)nptl/libpthread.so.
3381
b5449b12
AS
33822013-11-19 Andreas Schwab <schwab@suse.de>
3383
3384 * locale/programs/locale.c (show_info): Decode wordarray elements.
3385 * locale/categories.def (LC_MONETARY): Add element for
3386 _NL_MONETARY_CRNCYSTR.
3387 * locale/C-monetary.c (conversion_rate): New variable.
3388 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3389 element.
3390
e186536b
CM
33912013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3392
3393 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3394 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3395
5c349950
PP
33962013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3397
3398 * elf/Makefile (tst-auxv): New test.
3399 * elf/tst-auxv.c: New
3400 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3401
699df45b
JM
34022013-11-18 Joseph Myers <joseph@codesourcery.com>
3403
3404 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3405 (hidden_proto): Caller changed.
3406 (hidden_tls_proto): New macro.
3407 (libc_hidden_tls_proto): Likewise.
3408 (rtld_hidden_tls_proto): Likewise.
3409 (libm_hidden_tls_proto): Likewise.
3410 (libresolv_hidden_tls_proto): Likewise.
3411 (librt_hidden_tls_proto): Likewise.
3412 (libdl_hidden_tls_proto): Likewise.
3413 (libnss_files_hidden_tls_proto): Likewise.
3414 (libnsl_hidden_tls_proto): Likewise.
3415 (libnss_nisplus_hidden_tls_proto): Likewise.
3416 (libutil_hidden_tls_proto): Likewise.
3417
b7589107
OB
34182013-11-18 Ondřej Bílka <neleai@seznam.cz>
3419
3420 [BZ #10253]
3421 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3422 (decompose_rpath): Defer expansion to fillin_rpath.
3423 (_dl_init_paths): Pass linkmap to fillin_rpath.
3424
250c23bd
RS
34252013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3426
3427 * benchtests/Makefile: Add strsep.
3428 * benchtests/bench-strsep.c: New file: strsep benchtest.
3429 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3430
a7931fcf
AS
34312013-11-18 Andreas Schwab <schwab@suse.de>
3432
3433 * locale/programs/locale.c (show_info) [case byte]: Check for
3434 '\377' instead of '\177'.
3435 * locale/C-monetary.c (not_available): Always use "\377".
3436 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3437 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3438 detect unavailable sign_posn locale elements.
3439 * locale/localeconv.c (__localeconv): For grouping and
3440 mon_grouping handle "\177" and "\377" like no grouping.
3441 (INT_ELEM): New macro. Use it to set all numeric members.
3442 * locale/programs/ld-monetary.c (monetary_read)
3443 <tok_mon_grouping>: Normalize single -1 to the empty string.
3444 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3445 Likewise.
3446
728dab0e
OB
34472013-11-07 Ondřej Bílka <neleai@seznam.cz>
3448
3449 [BZ #16055]
3450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3451 when we match (nil).
3452 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3453
66294491
JM
34542013-11-16 Joseph Myers <joseph@codesourcery.com>
3455
ce665817
JM
3456 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3457 (NO_TEST_INLINE): Update value.
3458 (ERRNO_UNCHANGED): Likewise.
3459 (ERRNO_EDOM): Likewise.
3460 (ERRNO_ERANGE): Likewise.
3461 (IGNORE_RESULT): Likewise.
3462 (check_float_internal): Check signs of NaN results if
3463 TEST_NAN_SIGN used.
3464 (check_complex): Pass TEST_NAN_SIGN flag through to second
3465 check_float_internal call.
3466 (copysign_test_data): Add tests with quiet NaNs as second
3467 argument. Use TEST_NAN_SIGN.
3468 (fabs_test_data): Add test of negative quiet NaN argument. Use
3469 TEST_NAN_SIGN.
3470 (signbit_test_data): Add tests of quiet NaN argument.
3471 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3472
ee1466a9
JM
3473 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3474 $ignore_result.
3475 (parse_args): Handle function results specified as IGNORE.
3476 * math/libm-test.inc (IGNORE_RESULT): New macro.
3477 (check_float_internal): Do not check numerical result if flag
3478 IGNORE_RESULT set.
3479 (check_complex): Pass through IGNORE_RESULT to second
3480 check_float_internal call.
3481 (check_int): Do not check numerical result if flag IGNORE_RESULT
3482 set.
3483 (check_long): Likewise.
3484 (check_bool): Likewise.
3485 (check_longlong): Likewise.
3486 (lrint_test_data): Add tests of infinite and NaN arguments.
3487 (lrint_tonearest_test_data): Likewise.
3488 (lrint_towardzero_test_data): Likewise.
3489 (lrint_downward_test_data): Likewise.
3490 (lrint_upward_test_data): Likewise.
3491 (llrint_test_data): Likewise.
3492 (llrint_tonearest_test_data): Likewise.
3493 (llrint_towardzero_test_data): Likewise.
3494 (llrint_downward_test_data): Likewise.
3495 (llrint_upward_test_data): Likewise.
3496 (lround_test_data): Likewise.
3497 (llround_test_data): Likewise.
3498
14407b7e
JM
3499 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3500 (ERRNO_UNCHANGED): Update value.
3501 (ERRNO_EDOM): Likewise.
3502 (ERRNO_ERANGE): Likewise.
3503 (NO_TEST_INLINE_FLOAT): New macro.
3504 (NO_TEST_INLINE_DOUBLE): Likewise.
3505 (enable_test): New function.
3506 (RUN_TEST_f_f): Check enable_test before running test.
3507 (RUN_TEST_2_f): Likewise.
3508 (RUN_TEST_fff_f): Likewise.
3509 (RUN_TEST_c_f): Likewise.
3510 (RUN_TEST_f_f1): Likewise.
3511 (RUN_TEST_fF_f1): Likewise.
3512 (RUN_TEST_fI_f1): Likewise.
3513 (RUN_TEST_ffI_f1): Likewise.
3514 (RUN_TEST_c_c): Likewise.
3515 (RUN_TEST_cc_c): Likewise.
3516 (RUN_TEST_f_i): Likewise.
3517 (RUN_TEST_f_i_tg): Likewise.
3518 (RUN_TEST_ff_i_tg): Likewise.
3519 (RUN_TEST_f_b): Likewise.
3520 (RUN_TEST_f_b_tg): Likewise.
3521 (RUN_TEST_f_l): Likewise.
3522 (RUN_TEST_f_L): Likewise.
3523 (RUN_TEST_fFF_11): Likewise.
3524 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3525 conditionals.
3526 (cosh_test_data): Likewise.
3527 (exp_test_data): Likewise.
3528 (expm1_test_data): Likewise.
3529 (hypot_test_data): Likewise.
3530 (pow_test_data): Likewise.
3531 (sinh_test_data): Likewise.
3532 (tanh_test_data): Likewise.
3533 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3534 flags argument.
3535
ca07f197
JM
3536 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3537 tests with quiet NaN input and output.
3538 (acosh_test_data): Likewise.
3539 (asin_test_data): Likewise.
3540 (asinh_test_data): Likewise.
3541 (atan_test_data): Likewise.
3542 (atanh_test_data): Likewise.
3543 (atan2_test_data): Likewise.
3544 (cbrt_test_data): Likewise.
3545 (cos_test_data): Likewise.
3546 (cosh_test_data): Likewise.
3547 (erf_test_data): Likewise.
3548 (erfc_test_data): Likewise.
3549 (exp_test_data): Likewise.
3550 (exp10_test_data): Likewise.
3551 (exp2_test_data): Likewise.
3552 (expm1_test_data): Likewise.
3553 (hypot_test_data): Likewise.
3554 (j0_test_data): Likewise.
3555 (j1_test_data): Likewise.
3556 (jn_test_data): Likewise.
3557 (lgamma_test_data): Likewise.
3558 (log_test_data): Likewise.
3559 (log10_test_data): Likewise.
3560 (log1p_test_data): Likewise.
3561 (log2_test_data): Likewise.
3562 (pow_test_data): Likewise.
3563 (scalb_test_data): Likewise.
3564 (sin_test_data): Likewise.
3565 (sincos_test_data): Likewise.
3566 (sinh_test_data): Likewise.
3567 (tan_test_data): Likewise.
3568 (tanh_test_data): Likewise.
3569 (tgamma_test_data): Likewise.
3570 (y0_test_data): Likewise.
3571 (y1_test_data): Likewise.
3572 (yn_test_data): Likewise.
3573
66294491
JM
3574 [BZ #16167]
3575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3576 argument being NaN and avoid computations with second argument in
3577 that case.
3578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3580 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3581
1820b143
CL
35822013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3583
3584 * locale/iso-639.def: Add Chitwani Tharu (the).
3585
714bd261
AS
35862013-11-14 Andreas Schwab <schwab@suse.de>
3587
3588 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3589 word instead of empty string.
3590
7ab44563
AZ
35912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3594 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3596 (__fe_nomask_env): Likewise.
3597
e8470ea2
SE
35982013-11-13 Steve Ellcey <sellcey@mips.com>
3599
3600 * benchtests/bench-timing.h: Include time.h.
3601
17c1d9f0
L
36022013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 [BZ #15997]
3605 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3606 to 3.4.0 for x32.
3607 * sysdeps/unix/sysv/linux/configure: Regenerated.
3608
9310c284
JM
36092013-11-13 Joseph Myers <joseph@codesourcery.com>
3610
3611 [BZ #16151]
3612 * stdlib/strtod_l.c (round_and_return): Do not consider
3613 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3614 exponent one less than half the least subnormal exponent.
3615 * stdlib/test-strtod-round-data: Add more tests.
3616 * stdlib/tst-strtod-round.c (tests): Regenerated.
3617
7a2ad8cf
AZ
36182013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619
3620 [BZ #14143]
3621 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3622 (__fe_mask_env): Likewise.
3623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3624 libm_hidden_proto and add function prototype.
3625 (__fe_mask_env): Add function prototype.
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3627 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3629 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3631 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3632
50727aa7
MS
36332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3634
b2f386c1 3635 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3636 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3637
a615be46
MS
36382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3639
3640 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3641 of htab_find_slot().
3642
7ddace62
DM
36432013-11-11 David S. Miller <davem@davemloft.net>
3644
3645 [BZ #16150]
3646 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3647 symbol in the non-vis3 case in static builds.
3648 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3649 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3650 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3652
9182aa67
JK
36532013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3654
3655 [BZ #387]
3656 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3657 it is empty.
3658
450a2e2d
AZ
36592013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660
b2f386c1
SP
3661 * benchtests/Makefile: Add bench-strtod.
3662 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3663
8ec3f656
AS
36642013-11-11 Andreas Schwab <schwab@suse.de>
3665
3666 [BZ #16153]
3667 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3668 terminating NUL in key length.
3669
76a9b998
AZ
36702013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3671
3672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3673 Add artificial ODP entry for vDSO symbol for PPC64.
3674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3675 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3676
e4368156
OB
36772013-11-07 Ondřej Bílka <neleai@seznam.cz>
3678
3679 [BZ #15374]
3680 * nss/getent.c (services_keys): Recognize services starting with digit.
3681
8d6bb57c
DM
36822013-11-06 David S. Miller <davem@davemloft.net>
3683
3684 [BZ #15985]
3685 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3686 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3687
e256c421
WN
36882013-11-06 Will Newton <will.newton@linaro.org>
3689
3690 * manual/memory.texi (Malloc Examples): Remove register
3691 keyword from examples.
3692
f6e12daa 36932013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3694
f6e12daa 3695 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3696
9d880655
AS
36972013-11-04 Joseph Myers <joseph@codesourcery.com>
3698
3699 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3700 depending on [__GCC_IEC_559 > 0].
3701 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3702 depending on [__GCC_IEC_559_COMPLEX > 0].
3703
ae129d3c
CL
37042013-11-03 Chris Leonard <cjl@sugarlabs.org>
3705
3706 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3707 to iso-639.def.
3708
4a15c2a4 37092013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3710
3711 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3712
8b35e35d
OB
37132013-11-01 Ondřej Bílka <neleai@seznam.cz>
3714
3715 [BZ #16112]
3716 * malloc/malloc (malloc_info): Do not handle first bin as
3717 special case.
3718
1d70fd6c
CL
37192013-11-01 Chris Leonard <cjl@sugarlabs.org>
3720
3721 * locale/iso-639.def: Add Central Nahuatl (nhn).
3722
8c5c2600
BH
37232013-11-01 Bruno Haible <bruno@clisp.org>
3724
3725 [BZ #7003]
3726 * manual/math.texi (BSD Random): Specify range upper bound as
3727 in POSIX.
3728
da5579c2
CL
37292013-10-31 Chris Leonard <cjl@sugarlabs.org>
3730
3731 * locale/iso-639.def: Add Meadow Mari (mhr).
3732
5d30d853
OB
37332013-10-31 Ondřej Bílka <neleai@seznam.cz>
3734
3735 [BZ #14752], [BZ #15763]
3736 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3737 Validate name.
3738 * rt/tst_shm.c: Add test for escaping directory.
3739
a4966c61
AS
37402013-10-31 Andreas Schwab <schwab@suse.de>
3741
8a43e768 3742 [BZ #15917]
a4966c61
AS
3743 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3744 followed by 'x' as part of digit sequence.
3745 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3746
28d708c4
MAP
37472013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3748
3749 [BZ #16037]
3750 * configure.ac: allow GNU Make 4.0 and greater.
3751 * configure: Regenerated.
3752
a56ee40b
WN
37532013-10-30 Will Newton <will.newton@linaro.org>
3754
3755 [BZ #16038]
3756 * malloc/hooks.c (memalign_check): Limit alignment to the
3757 maximum representable power of two.
3758 * malloc/malloc.c (__libc_memalign): Likewise.
3759 * malloc/tst-memalign.c (do_test): Add test for very
3760 large alignment values.
3761 * malloc/tst-posix_memalign.c (do_test): Likewise.
3762
c6e4925d
OB
37632013-10-30 Ondřej Bílka <neleai@seznam.cz>
3764
3765 [BZ #11087]
3766 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3767 (munmap_chunk): Likewise.
3768 (mremap_chunk): Likewise.
3769
37702013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3771
8a43e768 3772 [BZ #15799]
bbea82f7
OB
3773 * stdlib/div.c (div): Remove obsolete code.
3774 * stdlib/ldiv.c (ldiv): Likewise.
3775 * stdlib/lldiv.c (lldiv): Likewise.
3776
977f4b31
SP
37772013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3778
3779 [BZ #16071]
3780 * nss/nss_files/files-XXX.c (get_contents_ret): New
3781 enumerator.
3782 (get_contents): New function.
3783 (internal_getent): Use it. Expand size of LINEBUFLEN.
3784
cb8a6dbd
MF
37852013-10-30 Mike Frysinger <vapier@gentoo.org>
3786
3787 * configure.in: Moved to ...
3788 * configure.ac: ... here. Change reference to configure.in
3789 to configure.ac.
3790 * sysdeps/arm/preconfigure.ac: ... here.
3791 configure.in to configure.ac.
3792 * sysdeps/gnu/configure.in: Moved to ...
3793 * sysdeps/gnu/configure.ac: ... here.
3794 * sysdeps/i386/configure.in: Moved to ...
3795 * sysdeps/i386/configure.ac: ... here.
3796 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3797 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3798 * sysdeps/mach/configure.in: Moved to ...
3799 * sysdeps/mach/configure.ac: ... here.
3800 * sysdeps/mach/hurd/configure.in: Moved to ...
3801 * sysdeps/mach/hurd/configure.ac: ... here.
3802 * sysdeps/powerpc/configure.in: Moved to ...
3803 * sysdeps/powerpc/configure.ac: ... here.
3804 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3805 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3806 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3807 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3808 * sysdeps/s390/s390-32/configure.in: Moved to ...
3809 * sysdeps/s390/s390-32/configure.ac: ... here.
3810 * sysdeps/s390/s390-64/configure.in: Moved to ...
3811 * sysdeps/s390/s390-64/configure.ac: ... here.
3812 * sysdeps/sh/configure.in: Moved to ...
3813 * sysdeps/sh/configure.ac: ... here.
3814 * sysdeps/sparc/configure.in: Moved to ...
3815 * sysdeps/sparc/configure.ac: ... here.
3816 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3817 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3818 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3819 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3820 * sysdeps/x86_64/configure.in: Moved to ...
3821 * sysdeps/x86_64/configure.ac: ... here.
3822 * sysdeps/x86_64/preconfigure.in: Moved to ...
3823 * sysdeps/x86_64/preconfigure.ac: ... here.
3824 * aclocal.m4: Change reference to configure.in to configure.ac.
3825 * config.h.in: Likewise.
3826 * manual/install.texi: Likewise.
3827 * manual/maint.texi: Likewise.
3828 * Makefile: Likewise.
3829 * malloc/Makefile: Likewise.
3830 * nscd/Makefile: Likewise.
3831 * Makeconfig: Change reference to configure.in and
3832 preconfigure.in to configure.ac and preconfigure.ac
3833 respectively.
3834 * INSTALL: Regenerated.
3835 * configure: Likewise.
3836 * sysdeps/gnu/configure: Likewise.
3837 * sysdeps/i386/configure: Likewise.
3838 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3839 * sysdeps/mach/configure: Likewise.
3840 * sysdeps/mach/hurd/configure: Likewise.
3841 * sysdeps/powerpc/configure: Likewise.
3842 * sysdeps/powerpc/powerpc32/configure: Likewise.
3843 * sysdeps/powerpc/powerpc64/configure: Likewise.
3844 * sysdeps/s390/s390-32/configure: Likewise.
3845 * sysdeps/s390/s390-64/configure: Likewise.
3846 * sysdeps/sh/configure: Likewise.
3847 * sysdeps/sparc/configure: Likewise.
3848 * sysdeps/unix/sysv/linux/configure: Likewise.
3849 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3850 * sysdeps/x86_64/configure: Likewise.
3851 * sysdeps/x86_64/preconfigure: Likewise.
3852
36a4953a
AS
38532013-10-29 Andreas Schwab <schwab@suse.de>
3854
3855 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3856
c79a1204
SP
38572013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
dfa1b402
SP
3859 * benchtests/pow-inputs: Add new inputs.
3860
54f73d9c
SP
3861 * benchtests/exp-inputs: Add new inputs.
3862
c79a1204
SP
3863 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3864 conditional check for return value.
3865 (__cos32): Likewise.
3866
67beb545 38672013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3868
3869 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3870 to provide a boost for large inputs with word alignment.
3871 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3872 implementation based on optimized PPC64 strcpy.
3873 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3874 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3875 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3876 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3877
151659f6
OB
38782013-10-25 Ondřej Bílka <neleai@seznam.cz>
3879
482a077e 3880 [BZ #2801]
151659f6
OB
3881 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3882
10b0f26b
OB
38832013-10-25 Ondřej Bílka <neleai@seznam.cz>
3884
3885 [BZ #14876]
3886 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3887 * time/tst-strptime.c (day_tests): Add testcase.
3888
ca42d35e
OB
38892013-10-25 Ondřej Bílka <neleai@seznam.cz>
3890
482a077e 3891 [BZ #14029]
ca42d35e
OB
3892 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3893
52e6d801
FB
38942013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3895
3896 [BZ #16074]
3897 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3898 MAP_FAILED on error.
3899
7cbcdb36
SP
39002013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3901
3902 [BZ #16072]
3903 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3904 heap for large requests.
3905
894f3f10
AM
39062013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3907
3908 [BZ #9954]
3909 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3910 result if the result has no associated interface.
3911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3912 interface for all 127.X.Y.Z addresses.
3913
b85545a6
CL
39142013-10-24 Chris Leonard <cjl@sugarlabs.org>
3915
3916 * locale/iso-639.def: Add Ligurian (lij)
3917
d1f23d46
OB
39182013-10-21 Ondřej Bílka <neleai@seznam.cz>
3919
3920 [BZ #15825]
3921 * sunrpc/rpc_main.c: Document rpcgen -5.
3922
4db5b08f
MS
39232013-10-19 Michael Stahl <mstahl@redhat.com>
3924
3925 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3926
a471e96a
OB
39272013-10-19 Ondřej Bílka <neleai@seznam.cz>
3928
d1f23d46 3929 [BZ #10278]
a471e96a
OB
3930 * posix/glob.c: Match only directories when trailing slash is present.
3931 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3932 (main): Add testcase.
3933
45c30c61
OB
39342013-10-19 Ondřej Bílka <neleai@seznam.cz>
3935
3936 [BZ #15670]
3937 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3938
484c12fb
CD
39392013-10-18 Carlos O'Donell <carlos@redhat.com>
3940
3d7dc513
CD
3941 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3942 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3943 AUTH_DES and cindex for FIPS 140-2.
3944 (DES Encryption): Add cindex FIPS 46-3.
3945
484c12fb
CD
3946 * locale/locarchive.h (struct locarhandle): Add fname.
3947 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3948 if an optional argument was specified to --list-archive,
3949 otherwise NULL.
3950 * locale/programs/locarchive.c (show_archive_content): Take new
3951 argument fname and pass it via ah.fname to open_archive.
3952 * locale/programs/localedef.h: Update decl.
3953 (open_archive): If AH->fname is non-null, open that file
3954 rather than the default file name, and don't ignore ENOENT.
3955 (create_archive): Set AH.fname to NULL.
3956 (delete_locales_from_archive): Likewise.
3957 (add_locales_to_archive): Likewise.
3958 * locale/programs/locfile.c (write_all_categories): Likewise.
3959
3c8325fb
JM
39602013-10-18 Joseph Myers <joseph@codesourcery.com>
3961 Aldy Hernandez <aldyh@redhat.com>
3962
3963 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3964 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3965 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3966 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3967 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3968 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3969 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3971 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3972 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3973 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3974 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3975 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3976 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3977 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3978 Likewise.
3979 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3980 Likewise.
3981 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3982 Likewise.
3983 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3984 Likewise.
3985 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3987 Likewise.
3988 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3989 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3990 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3991 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3992 Likewise.
3993 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3995 * sysdeps/powerpc/preconfigure: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3997 Likewise.
3998 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3999 Replace contents of file by #include of <fenv_libc.h>.
4000 * sysdeps/powerpc/soft-fp/sfp-machine.h
4001 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4002 and <sys/prctl.h>.
4003 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4016 Allow copysignl PLT reference to be missing.
4017
5abe0682
RS
40182013-10-18 Richard Sandiford <richard@codesourcery.com>
4019 Joseph Myers <joseph@codesourcery.com
4020
4021 [BZ #15948]
4022 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4023 single character.
4024 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4025
c7738d08
SP
40262013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
4028 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4029 * elf/tst-tls1.c: Likewise.
4030 * elf/tst-tls10.h: Likewise.
4031 * elf/tst-tls14.c: Likewise.
4032 * elf/tst-tls2.c: Likewise.
4033 * elf/tst-tls3.c: Likewise.
4034 * elf/tst-tls4.c: Likewise.
4035 * elf/tst-tls5.c: Likewise.
4036 * elf/tst-tls6.c: Likewise.
4037 * elf/tst-tls7.c: Likewise.
4038 * elf/tst-tls8.c: Likewise.
4039 * elf/tst-tls9.c: Likewise.
4040 * elf/tst-tlsmod1.c: Likewise.
4041 * elf/tst-tlsmod13.c: Likewise.
4042 * elf/tst-tlsmod13a.c: Likewise.
4043 * elf/tst-tlsmod14a.c: Likewise.
4044 * elf/tst-tlsmod16a.c: Likewise.
4045 * elf/tst-tlsmod16b.c: Likewise.
4046 * elf/tst-tlsmod2.c: Likewise.
4047 * elf/tst-tlsmod3.c: Likewise.
4048 * elf/tst-tlsmod4.c: Likewise.
4049 * elf/tst-tlsmod5.c: Likewise.
4050 * elf/tst-tlsmod6.c: Likewise.
4051
0bfcf2c7
OB
40522013-10-18 Ondřej Bílka <neleai@seznam.cz>
4053
4054 [BZ #12486]
4055 * malloc/malloc.c: remove checks for statistics.
4056
264aad1e
OB
40572013-10-17 Ondřej Bílka <neleai@seznam.cz>
4058
4059 [BZ #15277]
4060 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4061 * inet/tst-network.c: Add testcase.
4062
b957ced8
AS
40632013-10-17 Andreas Schwab <schwab@suse.de>
4064
4065 [BZ #15218]
4066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4067 to determine canonical name.
4068
c5d5d574
OB
40692013-10-17 Ondřej Bílka <neleai@seznam.cz>
4070
4071 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4072 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4095 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4096 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4129
e5c2c2d0
JM
41302013-10-17 Joseph Myers <joseph@codesourcery.com>
4131
4132 [BZ #16041]
4133 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4134 make result into a quiet NaN.
4135
51ca9e29
JM
41362013-10-16 Joseph Myers <joseph@codesourcery.com>
4137
4138 * soft-fp/adddf3.c: Fix horizontal whitespace.
4139 * soft-fp/addsf3.c: Likewise.
4140 * soft-fp/addtf3.c: Likewise.
4141 * soft-fp/divdf3.c: Likewise.
4142 * soft-fp/divsf3.c: Likewise.
4143 * soft-fp/divtf3.c: Likewise.
4144 * soft-fp/double.h: Likewise.
4145 * soft-fp/eqdf2.c: Likewise.
4146 * soft-fp/eqsf2.c: Likewise.
4147 * soft-fp/eqtf2.c: Likewise.
4148 * soft-fp/extenddftf2.c: Likewise.
4149 * soft-fp/extended.h: Likewise.
4150 * soft-fp/extendsfdf2.c: Likewise.
4151 * soft-fp/extendsftf2.c: Likewise.
4152 * soft-fp/extendxftf2.c: Likewise.
4153 * soft-fp/fixdfdi.c: Likewise.
4154 * soft-fp/fixdfsi.c: Likewise.
4155 * soft-fp/fixdfti.c: Likewise.
4156 * soft-fp/fixsfdi.c: Likewise.
4157 * soft-fp/fixsfsi.c: Likewise.
4158 * soft-fp/fixsfti.c: Likewise.
4159 * soft-fp/fixtfdi.c: Likewise.
4160 * soft-fp/fixtfsi.c: Likewise.
4161 * soft-fp/fixtfti.c: Likewise.
4162 * soft-fp/fixunsdfdi.c: Likewise.
4163 * soft-fp/fixunsdfsi.c: Likewise.
4164 * soft-fp/fixunsdfti.c: Likewise.
4165 * soft-fp/fixunssfdi.c: Likewise.
4166 * soft-fp/fixunssfsi.c: Likewise.
4167 * soft-fp/fixunssfti.c: Likewise.
4168 * soft-fp/fixunstfdi.c: Likewise.
4169 * soft-fp/fixunstfsi.c: Likewise.
4170 * soft-fp/fixunstfti.c: Likewise.
4171 * soft-fp/floatdidf.c: Likewise.
4172 * soft-fp/floatdisf.c: Likewise.
4173 * soft-fp/floatditf.c: Likewise.
4174 * soft-fp/floatsidf.c: Likewise.
4175 * soft-fp/floatsisf.c: Likewise.
4176 * soft-fp/floatsitf.c: Likewise.
4177 * soft-fp/floattidf.c: Likewise.
4178 * soft-fp/floattisf.c: Likewise.
4179 * soft-fp/floattitf.c: Likewise.
4180 * soft-fp/floatundidf.c: Likewise.
4181 * soft-fp/floatundisf.c: Likewise.
4182 * soft-fp/floatunditf.c: Likewise.
4183 * soft-fp/floatunsidf.c: Likewise.
4184 * soft-fp/floatunsisf.c: Likewise.
4185 * soft-fp/floatunsitf.c: Likewise.
4186 * soft-fp/floatuntidf.c: Likewise.
4187 * soft-fp/floatuntisf.c: Likewise.
4188 * soft-fp/floatuntitf.c: Likewise.
4189 * soft-fp/fmadf4.c: Likewise.
4190 * soft-fp/fmasf4.c: Likewise.
4191 * soft-fp/fmatf4.c: Likewise.
4192 * soft-fp/gedf2.c: Likewise.
4193 * soft-fp/gesf2.c: Likewise.
4194 * soft-fp/getf2.c: Likewise.
4195 * soft-fp/ledf2.c: Likewise.
4196 * soft-fp/lesf2.c: Likewise.
4197 * soft-fp/letf2.c: Likewise.
4198 * soft-fp/muldf3.c: Likewise.
4199 * soft-fp/mulsf3.c: Likewise.
4200 * soft-fp/multf3.c: Likewise.
4201 * soft-fp/negdf2.c: Likewise.
4202 * soft-fp/negsf2.c: Likewise.
4203 * soft-fp/negtf2.c: Likewise.
4204 * soft-fp/op-1.h: Likewise.
4205 * soft-fp/op-2.h: Likewise.
4206 * soft-fp/op-4.h: Likewise.
4207 * soft-fp/op-8.h: Likewise.
4208 * soft-fp/op-common.h: Likewise.
4209 * soft-fp/quad.h: Likewise.
4210 * soft-fp/single.h: Likewise.
4211 * soft-fp/soft-fp.h: Likewise.
4212 * soft-fp/sqrtdf2.c: Likewise.
4213 * soft-fp/sqrtsf2.c: Likewise.
4214 * soft-fp/sqrttf2.c: Likewise.
4215 * soft-fp/subdf3.c: Likewise.
4216 * soft-fp/subsf3.c: Likewise.
4217 * soft-fp/subtf3.c: Likewise.
4218 * soft-fp/truncdfsf2.c: Likewise.
4219 * soft-fp/trunctfdf2.c: Likewise.
4220 * soft-fp/trunctfsf2.c: Likewise.
4221 * soft-fp/trunctfxf2.c: Likewise.
4222 * soft-fp/unorddf2.c: Likewise.
4223 * soft-fp/unordsf2.c: Likewise.
4224 * soft-fp/unordtf2.c: Likewise.
4225
9ebb0332
JM
42262013-10-15 Joseph Myers <joseph@codesourcery.com>
4227
4228 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4229 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4230
4b1a6d8b
OB
42312013-10-15 Ondřej Bílka <neleai@seznam.cz>
4232
4233 * elf/dl-libc.c: Clear initfini list after freeing.
4234
1e145589
JM
42352013-10-14 Joseph Myers <joseph@codesourcery.com>
4236
4237 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4238 * soft-fp/addsf3.c: Likewise.
4239 * soft-fp/addtf3.c: Likewise.
4240 * soft-fp/divdf3.c: Likewise.
4241 * soft-fp/divsf3.c: Likewise.
4242 * soft-fp/divtf3.c: Likewise.
4243 * soft-fp/double.h: Likewise.
4244 * soft-fp/eqdf2.c: Likewise.
4245 * soft-fp/eqsf2.c: Likewise.
4246 * soft-fp/eqtf2.c: Likewise.
4247 * soft-fp/extenddftf2.c: Likewise.
4248 * soft-fp/extended.h: Likewise.
4249 * soft-fp/extendsfdf2.c: Likewise.
4250 * soft-fp/extendsftf2.c: Likewise.
4251 * soft-fp/extendxftf2.c: Likewise.
4252 * soft-fp/fixdfdi.c: Likewise.
4253 * soft-fp/fixdfsi.c: Likewise.
4254 * soft-fp/fixdfti.c: Likewise.
4255 * soft-fp/fixsfdi.c: Likewise.
4256 * soft-fp/fixsfsi.c: Likewise.
4257 * soft-fp/fixsfti.c: Likewise.
4258 * soft-fp/fixtfdi.c: Likewise.
4259 * soft-fp/fixtfsi.c: Likewise.
4260 * soft-fp/fixtfti.c: Likewise.
4261 * soft-fp/fixunsdfdi.c: Likewise.
4262 * soft-fp/fixunsdfsi.c: Likewise.
4263 * soft-fp/fixunsdfti.c: Likewise.
4264 * soft-fp/fixunssfdi.c: Likewise.
4265 * soft-fp/fixunssfsi.c: Likewise.
4266 * soft-fp/fixunssfti.c: Likewise.
4267 * soft-fp/fixunstfdi.c: Likewise.
4268 * soft-fp/fixunstfsi.c: Likewise.
4269 * soft-fp/fixunstfti.c: Likewise.
4270 * soft-fp/floatdidf.c: Likewise.
4271 * soft-fp/floatdisf.c: Likewise.
4272 * soft-fp/floatditf.c: Likewise.
4273 * soft-fp/floatsidf.c: Likewise.
4274 * soft-fp/floatsisf.c: Likewise.
4275 * soft-fp/floatsitf.c: Likewise.
4276 * soft-fp/floattidf.c: Likewise.
4277 * soft-fp/floattisf.c: Likewise.
4278 * soft-fp/floattitf.c: Likewise.
4279 * soft-fp/floatundidf.c: Likewise.
4280 * soft-fp/floatundisf.c: Likewise.
4281 * soft-fp/floatunsidf.c: Likewise.
4282 * soft-fp/floatunsisf.c: Likewise.
4283 * soft-fp/floatuntidf.c: Likewise.
4284 * soft-fp/floatuntisf.c: Likewise.
4285 * soft-fp/floatuntitf.c: Likewise.
4286 * soft-fp/fmadf4.c: Likewise.
4287 * soft-fp/fmasf4.c: Likewise.
4288 * soft-fp/fmatf4.c: Likewise.
4289 * soft-fp/gedf2.c: Likewise.
4290 * soft-fp/gesf2.c: Likewise.
4291 * soft-fp/getf2.c: Likewise.
4292 * soft-fp/ledf2.c: Likewise.
4293 * soft-fp/lesf2.c: Likewise.
4294 * soft-fp/letf2.c: Likewise.
4295 * soft-fp/muldf3.c: Likewise.
4296 * soft-fp/mulsf3.c: Likewise.
4297 * soft-fp/multf3.c: Likewise.
4298 * soft-fp/negdf2.c: Likewise.
4299 * soft-fp/negsf2.c: Likewise.
4300 * soft-fp/negtf2.c: Likewise.
4301 * soft-fp/op-1.h: Likewise.
4302 * soft-fp/op-2.h: Likewise.
4303 * soft-fp/op-4.h: Likewise.
4304 * soft-fp/op-8.h: Likewise.
4305 * soft-fp/op-common.h: Likewise.
4306 * soft-fp/quad.h: Likewise.
4307 * soft-fp/single.h: Likewise.
4308 * soft-fp/soft-fp.h: Likewise.
4309 * soft-fp/sqrtdf2.c: Likewise.
4310 * soft-fp/sqrtsf2.c: Likewise.
4311 * soft-fp/sqrttf2.c: Likewise.
4312 * soft-fp/subdf3.c: Likewise.
4313 * soft-fp/subsf3.c: Likewise.
4314 * soft-fp/subtf3.c: Likewise.
4315 * soft-fp/truncdfsf2.c: Likewise.
4316 * soft-fp/trunctfdf2.c: Likewise.
4317 * soft-fp/trunctfsf2.c: Likewise.
4318 * soft-fp/trunctfxf2.c: Likewise.
4319 * soft-fp/unorddf2.c: Likewise.
4320 * soft-fp/unordsf2.c: Likewise.
4321 * soft-fp/unordtf2.c: Likewise.
4322
17c48a60
OB
43232013-10-14 Ondřej Bílka <neleai@seznam.cz>
4324
4325 [BZ #15672]
4326 * misc/error.c (error_tail): Fix possible buffer overflow.
4327
cabba934
OB
43282013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4329
4330 [BZ #13028]
4331 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4332 address.
4333
94bf958a
PM
43342013-10-14 P. J. McDermott <pj@pehjota.net>
4335
4336 [BZ #832]
4337 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4338 testing pipefail option.
4339
71b4dea7
JM
43402013-10-12 Joseph Myers <joseph@codesourcery.com>
4341
4342 * soft-fp/double.h: Indent preprocessor directives inside #if.
4343 * soft-fp/extended.h: Likewise.
4344 * soft-fp/op-2.h: Likewise.
4345 * soft-fp/op-4.h: Likewise.
4346 * soft-fp/op-common.h: Likewise.
4347 * soft-fp/quad.h: Likewise.
4348 * soft-fp/single.h: Likewise.
4349 * soft-fp/soft-fp.h: Likewise.
4350
55602758
YC
43512013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4352
4353 * iconv/iconv_prog.c: Fix typos.
4354 * stdio-common/psiginfo-data.h: Likewise.
4355
9cd83302
RT
43562013-10-12 Reuben Thomas <rrt@sc3d.org>
4357
4358 [BZ #15764]
4359 * locale/setlocale.c: Fix typo.
4360
99fd9f47
JM
43612013-10-12 Joseph Myers <joseph@codesourcery.com>
4362
b7ea74f0
JM
4363 [BZ #16036]
4364 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4365 signaling NaN arguments.
4366 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4367 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4368
8a509447
JM
4369 [BZ #14910]
4370 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4371 unordered operands.
4372 * soft-fp/gesf2.c (__gesf2): Likewise.
4373 * soft-fp/getf2.c (__getf2): Likewise.
4374 * soft-fp/ledf2.c (__ledf2): Likewise.
4375 * soft-fp/lesf2.c (__lesf2): Likewise.
4376 * soft-fp/letf2.c (__letf2): Likewise.
4377
98998e9f
JM
4378 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4379 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4380 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4381 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4382 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4383 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4384 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4385 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4386 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4387 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4388 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4389 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4390 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4391 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4392 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4393 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4394 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4395 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4396 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4397 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4398 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4399 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4400 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4401 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4402 * soft-fp/floattidf.c (__floattidf): Likewise.
4403 * soft-fp/floattisf.c (__floattisf): Likewise.
4404 * soft-fp/floattitf.c (__floattitf): Likewise.
4405 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4406 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4407 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4408 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4409 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4410 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4411 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4412 * soft-fp/gesf2.c (__gesf2): Likewise.
4413 * soft-fp/getf2.c (__getf2): Likewise.
4414 * soft-fp/ledf2.c (__ledf2): Likewise.
4415 * soft-fp/lesf2.c (__lesf2): Likewise.
4416 * soft-fp/letf2.c (__letf2): Likewise.
4417
8edc4a11
JM
4418 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4419 Undefine and redefine.
4420 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4421 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4422 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4423 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4424 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4425 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4426 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4427 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4428 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4429 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4430 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4431 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4432 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4433 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4434 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4435
8399acaf
JM
4436 [BZ #16032]
4437 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4438 without decrementing exponent if mantissa >= that for the
4439 denominator, not >.
4440 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4441 denominator, not >. Decrement exponent in < case instead of
4442 incrementing in >= case.
4443 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4444 without decrementing exponent if mantissa >= that for the
4445 denominator, not >.
4446
99fd9f47
JM
4447 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4448 computing saturated result for unsigned overflow.
4449
10e1cf6b
SP
44502013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4451 Jeff Law <law@redhat.com>
4452
4453 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4454 (atan2Mp): Add systemtap probe marker.
4455 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4456 (__ieee754_log): Add systemtap probe marker.
4457 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4458 (atanMp): Add systemtap probe marker.
4459 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4460 (tanMp): Add systemtap probe marker.
4461 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4462 (__slowexp): Add systemtap probe marker.
4463 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4464 (__slowpow): Add systemtap probe marker.
4465 * manual/probes.texi: Document probes.
4466
3d110c7c
EB
44672013-10-11 Eric Biggers <ebiggers3@gmail.com>
4468
4469 [BZ #15362]
4470 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4471 written.
4472 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4473 written.
4474 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4475 written to buffer but not flushed.
4476 * libio/iofwrite_u.c: Likewise.
4477 * libio/iopadn.c: Return bytes returned even if EOF was
4478 encountered.
4479 * libio/iowpadn.c: Likewise.
4480 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4481 if _IO_padn does not write the whole buffer.
4482 [!COMPILE_WPRINTF] (PAD): Likewise.
4483
75b4202a
DM
44842013-10-10 David S. Miller <davem@davemloft.net>
4485
4486 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4487 directory block.
4488
6c6352e6
JM
44892013-10-10 Joseph Myers <joseph@codesourcery.com>
4490
33b853c3
JM
4491 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4492 instead of FSF address.
4493 * soft-fp/fixdfti.c: Likewise.
4494 * soft-fp/fixsfti.c: Likewise.
4495 * soft-fp/fixtfti.c: Likewise.
4496 * soft-fp/fixunsdfti.c: Likewise.
4497 * soft-fp/fixunssfti.c: Likewise.
4498 * soft-fp/fixunstfti.c: Likewise.
4499 * soft-fp/floattidf.c: Likewise.
4500 * soft-fp/floattisf.c: Likewise.
4501 * soft-fp/floattitf.c: Likewise.
4502 * soft-fp/floatuntidf.c: Likewise.
4503 * soft-fp/floatuntisf.c: Likewise.
4504 * soft-fp/floatuntitf.c: Likewise.
4505 * soft-fp/trunctfxf2.c: Likewise.
4506
6c6352e6
JM
4507 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4508 * soft-fp/fixdfti.c: Likewise.
4509 * soft-fp/fixsfti.c: Likewise.
4510 * soft-fp/fixtfti.c: Likewise.
4511 * soft-fp/fixunsdfti.c: Likewise.
4512 * soft-fp/fixunssfti.c: Likewise.
4513 * soft-fp/fixunstfti.c: Likewise.
4514 * soft-fp/floattidf.c: Likewise.
4515 * soft-fp/floattisf.c: Likewise.
4516 * soft-fp/floattitf.c: Likewise.
4517 * soft-fp/floatuntidf.c: Likewise.
4518 * soft-fp/floatuntisf.c: Likewise.
4519 * soft-fp/floatuntitf.c: Likewise.
4520 * soft-fp/trunctfxf2.c: Likewise.
4521
3bf78b71
DM
45222013-10-10 David S. Miller <davem@davemloft.net>
4523
4524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4525
6f10289e
JM
45262013-10-10 Joseph Myers <joseph@codsourcery.com>
4527
bd878fc0
JM
4528 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4529 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4530 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4535
6f10289e
JM
4536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4537 for NaNs before doing comparisons on argument.
4538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4539 Likewise.
4540
321e2684
WN
45412013-10-10 Will Newton <will.newton@linaro.org>
4542
4543 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4544 passed to _int_memalign does not overflow.
4545
40fefba1
TR
45462013-10-10 Torvald Riegel <triegel@redhat.com>
4547
4548 * scripts/bench.pl: Add include-sources directive.
4549 * benchtests/README: Update documentation.
4550
2ae21ed2
JM
45512013-10-10 Joseph Myers <joseph@codesourcery.com>
4552
dcc2dd3f
JM
4553 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4554 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4555 instead of FP_INIT_ROUNDMODE.
4556 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4557 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4558
2ae21ed2
JM
4559 [BZ #16034]
4560 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4561 copy class of input value.
4562 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4563 not handle exceptions.
4564 * soft-fp/negsf2.c (__negsf2): Likewise.
4565 * soft-fp/negtf2.c (__negtf2): Likewise.
4566 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4567
cb8f9562
JM
45682013-10-09 Joseph Myers <joseph@codesourcery.com>
4569
4570 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4571 semicolon. From Linux kernel.
4572
5b60c59d
AB
45732013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4574
4575 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4576
b86835ca
YC
45772013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4578
4579 [BZ #156]
4580 * manual/socket.texi: Added statement about buffer
4581 for gethostbyname2_r.
4582
e7044ea7
OB
45832013-10-08 Ondřej Bílka <neleai@seznam.cz>
4584
4585 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4586 Use .p2align directive instead, throughout.
4587 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4588 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4589 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4592 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4593 * sysdeps/x86_64/strchr.S: Likewise.
4594 * sysdeps/x86_64/strrchr.S: Likewise.
4595
09544cbc
SP
45962013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4597
88576635
SP
4598 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4599
e7b2d1dd
SP
4600 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4601
09544cbc
SP
4602 * sysdeps/generic/math_private.h (__mpsin1): Remove
4603 declaration.
4604 (__mpcos1): Likewise.
4605 (__mpsin): New argument __range_reduce.
4606 (__mpcos): Likewise.
4607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4608 (slow): Use __mpsin and __mpcos.
4609 (slow1): Likewise.
4610 (slow2): Likewise.
4611 (sloww): Likewise.
4612 (sloww1): Likewise.
4613 (sloww2): Likewise.
4614 (bsloww): Likewise.
4615 (bsloww1): Likewise.
4616 (bsloww2): Likewise.
4617 (cslow2): Likewise.
4618 (csloww): Likewise.
4619 (csloww1): Likewise.
4620 (csloww2): Likewise.
4621 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4622 range_reduce. Merge in __mpsin1.
4623 (__mpcos): Likewise.
4624 (__mpsin1): Remove.
4625 (__mpcos1): Likewise.
4626
7602d070
JM
46272013-10-07 Joseph Myers <joseph@codesourcery.com>
4628
4629 * locale/loadlocale.c (_nl_intern_locale_data): Use
4630 LOCFILE_ALIGNED_P.
4631 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4632 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4633 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4634 obstack data is appropriately aligned.
4635 (obstack_int32_grow_fast): Likewise.
4636 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4637 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4638 (add_locale_uint32_array): Likewise.
4639
a357259b
SP
46402013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4641
4642 * benchtests/Makefile: Remove ARGLIST and RET variables.
4643 ($(objpfx)bench-%.c): Pass only function name to the script.
4644 * benchtests/README: Update documentation.
4645 * benchtests/acos-inputs: Add new directives.
4646 * benchtests/acosh-inputs: Likewise.
4647 * benchtests/asin-inputs: Likewise.
4648 * benchtests/asinh-inputs: Likewise.
4649 * benchtests/atan-inputs: Likewise.
4650 * benchtests/atanh-inputs: Likewise.
4651 * benchtests/cos-inputs: Likewise.
4652 * benchtests/cosh-inputs: Likewise.
4653 * benchtests/exp-inputs: Likewise.
4654 * benchtests/log-inputs: Likewise.
4655 * benchtests/pow-inputs: Likewise.
4656 * benchtests/rint-inputs: Likewise.
4657 * benchtests/sin-inputs: Likewise.
4658 * benchtests/sinh-inputs: Likewise.
4659 * benchtests/tan-inputs: Likewise.
4660 * benchtests/tanh-inputs: Likewise.
4661 * scripts/bench.pl: Add support for new directives.
4662
9ec1b13d
AM
46632013-10-07 Alan Modra <amodra@gmail.com>
4664
4665 * README: Fix careless merge.
4666
8b7d57cd
AM
46672013-10-05 Alan Modra <amodra@gmail.com>
4668
4669 * NEWS: Mention powerpc64le support and bugs fixed.
4670 * README: Both big-endian and little-endian powerpc64 supported.
4671
7b7bab13
ST
46722013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4673
4674 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4675 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4676 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4677 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4678
d39baad1
RA
46792013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4680
4681 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4682 match prototype.
4683
cd78f7e7
JM
46842013-10-04 Joseph Myers <joseph@codesourcery.com>
4685
29d73d86
JM
4686 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4687 Move -mhard-float appending from
4688 ports/sysdeps/powerpc/powerpc32/Makefile.
4689 [$(with-fp) = yes] (ASFLAGS): Likewise.
4690 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4691 * sysdeps/powerpc/nofpu: Move directory from
4692 ports/sysdeps/powerpc/nofpu.
4693 * sysdeps/powerpc/soft-fp: Move directory from
4694 ports/sysdeps/powerpc/soft-fp.
4695 * sysdeps/powerpc/powerpc32/405: Move directory from
4696 ports/sysdeps/powerpc/powerpc32/405.
4697 * sysdeps/powerpc/powerpc32/440: Move directory from
4698 ports/sysdeps/powerpc/powerpc32/440.
4699 * sysdeps/powerpc/powerpc32/464: Move directory from
4700 ports/sysdeps/powerpc/powerpc32/464.
4701 * sysdeps/powerpc/powerpc32/476: Move directory from
4702 ports/sysdeps/powerpc/powerpc32/476.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4704 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4706 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4710 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4712 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4713 * README: Update for powerpc-*-linux-gnu software floating point
4714 support in libc.
4715
e246b347
JM
4716 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4717 case to powerpc/powerpc32*.
4718 * sysdeps/unix/sysv/linux/configure: Regenerated.
4719
89c2003e
JM
4720 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4721 (_FPU_MASK_OM): Define as 0x04.
4722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4724 0x00c10080.
4725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4726 0x0000003c.
4727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4728
cd78f7e7
JM
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4730 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4731 getcontext_e500.
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4733 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4734 setcontext_e500.
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4736 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4737 and setcontext_e500.
4738
c755294d
CL
47392013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4740
4741 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4742
e16d221c
SP
47432013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4744
4745 * manual/threads.texi (Default Thread Attributes): Fix typo.
4746
215c7d43
WN
47472013-10-04 Will Newton <will.newton@linaro.org>
4748
4749 * malloc/Makefile: Add tst-memalign.
4750 * malloc/tst-memalign.c: New file.
4751
27d0461b
WN
4752 * malloc/tst-posix_memalign.c: Add comments.
4753 (do_test): Add comments and call free on all potentially
4754 allocated pointers. Add space after cast.
4755
1bc92709
WN
4756 * malloc/tst-pvalloc.c: Add comments.
4757 (do_test): Add comments and call free on all potentially
4758 allocated pointers. Remove duplicate check for NULL pointer.
4759 Add space after cast.
4760
66a9be9d
WN
4761 * malloc/tst-valloc.c: Add comments.
4762 (do_test): Add comments and call free on all potentially
4763 allocated pointers. Remove duplicate check for NULL pointer.
4764 Add space after cast.
4765
4cb81307
AM
47662013-10-04 Alan Modra <amodra@gmail.com>
4767
4768 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4769 Use stdint types in rather than __attribute__((mode())).
4770 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4771
f8e3e9f3
AM
47722013-10-04 Alan Modra <amodra@gmail.com>
4773
4774 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4775 Correct handling of unaligned relocs for little-endian.
4776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4777
8f9ebb08
AM
47782013-10-04 Alan Modra <amodra@gmail.com>
4779
4780 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4781 * configure: Regenerate.
4782 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4783 * shlib-versions: Likewise.
4784
0edf96c2
AM
47852013-10-04 Alan Modra <amodra@gmail.com>
4786
4787 * string/tester.c (test_memrchr): Increment reported test cycle.
4788
e0f7a380
AM
47892013-10-04 Alan Modra <amodra@gmail.com>
4790
4791 * string/test-memcpy.c (do_one_test): When reporting errors, print
4792 string address and don't overrun end of string.
4793
466b0393
AM
47942013-10-04 Alan Modra <amodra@gmail.com>
4795
4796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4797 insrdi. Make better use of reg selection to speed exit slightly.
4798 Schedule entry path a little better. Remove useless "are we done"
4799 checks on entry to main loop. Handle wrapping around zero address.
4800 Correct main loop count. Handle single left-over word from main
4801 loop inline rather than by using loop_small. Remove extra word
4802 case in loop_small caused by wrong loop count. Add little-endian
4803 support.
4804 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4805 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4806 cache hint.
4807 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4808 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4809 support. Avoid rlwimi.
4810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4811
3be87c77
AM
48122013-10-04 Alan Modra <amodra@gmail.com>
4813
4814 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4815 insrdi. Formatting.
3be87c77
AM
4816 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4817 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4818 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4819 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4820 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4821 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4822
759cfef3
AM
48232013-10-04 Alan Modra <amodra@gmail.com>
4824
4825 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4828 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4829 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4830 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4831 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4834 use of regs. Use power7 mtocrf. Tidy function tails.
4835
fe6e95d7
AM
48362013-10-04 Alan Modra <amodra@gmail.com>
4837
4838 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4839 Formatting. Consistently use rXXX register defines or rN defines.
4840 Use early exit labels that avoid restoring unused non-volatile regs.
4841 Make cr field use more consistent with rWORDn compares. Rename
4842 regs used as shift registers for unaligned loop, using rN defines
4843 for short lifetime/multiple use regs.
4844 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4846 addi 1,1,64 to pop stack frame. Simplify return value code.
4847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4848
664318c3
AM
48492013-10-04 Alan Modra <amodra@gmail.com>
4850
4851 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4852 support. Correct typos, formatting. Optimize tail. Use insrdi
4853 rather than rlwimi.
4854 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4855 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4856 little-endian support. Correct typos.
4857 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4858 rather than rlwimi.
4859 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4860 in loop and entry code to keep "and." results.
4861 (strchr): Add little-endian support. Comment. Move cntlzd
4862 earlier in tail.
4863 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4864
43b84013
AM
48652013-10-04 Alan Modra <amodra@gmail.com>
4866
4867 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4868 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4869 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4870 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4871
8a7413f9
AM
48722013-10-04 Alan Modra <amodra@gmail.com>
4873
4874 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4875 (rTMP): Define as r11.
4876 (strcmp): Add little-endian support. Optimise tail.
4877 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4878 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4879 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4880 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4881 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4882 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4883 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4884
33ee81de
AM
48852013-10-04 Alan Modra <amodra@gmail.com>
4886
4887 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4888 little-endian support. Remove unnecessary "are we done" tests.
4889 Handle "s" wrapping around zero and extremely large "size".
4890 Correct main loop count. Handle single left-over word from main
4891 loop inline rather than by using small_loop. Correct comments.
4892 Delete "zero" tail, use "end_max" instead.
4893 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4894
db9b4570
AM
48952013-10-04 Alan Modra <amodra@gmail.com>
4896
4897 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4898 support. Don't branch over align.
4899 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4900 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4901 support. Rearrange tmp reg use to suit. Comment.
4902 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4903
f7c399cf
AM
49042013-10-04 Alan Modra <amodra@gmail.com>
4905
4906 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4907
0b2c2ace
AM
49082013-10-04 Alan Modra <amodra@gmail.com>
4909
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4911 conditional form of branch and link when obtaining pc.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4913
02f04a6c
AM
49142013-10-04 Alan Modra <amodra@gmail.com>
4915
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4917 HIWORD/LOWORD.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4920
9b874b2f
AM
49212013-10-04 Alan Modra <amodra@gmail.com>
4922
4923 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4924 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4925 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4927 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4928 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4929 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4930 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4931 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4932 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4933
be1e5d31
AB
49342013-10-04 Anton Blanchard <anton@au1.ibm.com>
4935 Alistair Popple <alistair@ozlabs.au.ibm.com>
4936 Alan Modra <amodra@gmail.com>
4937
4938 [BZ #15723]
4939 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4940 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4941 _dl_hwcap access for little-endian.
4942 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4943 destroy vmx regs when saving unaligned.
4944 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4946 destroy vmx regs when saving unaligned.
4947
fef13a78
AM
49482013-10-04 Alan Modra <amodra@gmail.com>
4949
4950 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4951 Don't use a union to pack hi/low value.
4952
76a66d51
AB
49532013-10-04 Anton Blanchard <anton@au1.ibm.com>
4954
4955 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4956 for little-endian.
4957 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4959 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4961 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4962
6a31fe7f
AM
49632013-10-04 Alan Modra <amodra@gmail.com>
4964
4965 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4966 constants to usual value for .cst8 section, and remove redundant
4967 high address load.
4968 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4969 constant for 0x1p52. Load little-endian words of double from
4970 correct stack offsets.
4971
7b88401f
AM
49722013-10-04 Alan Modra <amodra@gmail.com>
4973
4974 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4975 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4976 words of double from correct stack offsets.
4977 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4987 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4990 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4993 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4994
9c008155
AM
49952013-10-04 Alan Modra <amodra@gmail.com>
4996
4997 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4998 64-bit int/double union.
4999 (_FPU_SETCW): Likewise.
5000 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5001 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5002
da13146d
AM
50032013-10-04 Alan Modra <amodra@gmail.com>
5004
5005 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5006 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5007
603e8410
AM
50082013-10-04 Alan Modra <amodra@gmail.com>
5009
5010 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5011 use vector int constants.
5012 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5013
4a28b3ca
AB
50142013-10-04 Anton Blanchard <anton@au1.ibm.com>
5015
5016 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5017 array with long long.
5018 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5019 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5020 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5021 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5022 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5023 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5024 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5025 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5026 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5027 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5028 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5029 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5030 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5031
2ca85d2b
AB
50322013-10-04 Anton Blanchard <anton@au1.ibm.com>
5033
5034 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5035 (__signbit): Likewise. Correct for little-endian.
5036 (__signbitl): Call __signbit.
5037 (lrint): Correct for little-endian.
5038 (lrintf): Call lrint.
5039
62a728ae
AM
50402013-10-04 Alan Modra <amodra@gmail.com>
5041
5042 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5043 union 32-bit int array member with 64-bit int array.
5044 (t515, tm256): Double rather than long double.
5045 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5046
32c301df
AM
50472013-10-04 Alan Modra <amodra@gmail.com>
5048
5049 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5050 Delete.
5051 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5053 version of math_ldbl.h.
5054
650ef4bd
AM
50552013-10-04 Alan Modra <amodra@gmail.com>
5056
5057 [BZ #15734], [BZ #15735]
5058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5059 all uses of ieee875 long double macros and unions. Simplify test
5060 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5061 ldbl_extract_mantissa value for ix,iy exponents. Properly
5062 normalize after ldbl_extract_mantissa, and don't add hidden bit
5063 already handled. Don't treat low word of ieee854 mantissa like
5064 low word of IBM long double and mask off bit when testing for
5065 zero.
5066 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5067 all uses of ieee875 long double macros and unions. Simplify tests
5068 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5069 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5070 two1022, instead use their values. Recognise that tests for large
5071 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5072 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5073 Rewrite all uses of ieee875 long double macros and unions. Simplify
5074 test for 0.0L and nan. Correct negation.
5075 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5076 ieee875 long double macros and unions. Correct output for large
5077 magnitude x. Correct absolute value calculation.
5078 (__erfcl): Likewise.
5079 * math/libm-test.inc: Add tests for errors discovered in IBM long
5080 double versions of fmodl, remainderl, erfl and erfcl.
5081
765714ca
AM
50822013-10-04 Alan Modra <amodra@gmail.com>
5083
5084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5085 all uses of ieee854 long double macros and unions. Simplify tests
5086 for long doubles that are fully specified by the high double.
5087 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5088 Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5090 Remove dead code too.
5091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5092 (__ieee754_ynl): Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5096 Remove dead code too.
5097 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5101 Simplify.
5102 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5103 Simplify.
5104 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5107 Comment on variable precision.
5108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5110 Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5115 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5116
4ebd120c
AM
51172013-10-04 Alan Modra <amodra@gmail.com>
5118
5119 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5120 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5121 all uses of ieee854 long double macros and unions.
5122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5128 Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5135 Simplify sign and nan test too.
5136 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5137 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5138 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5139 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5140 Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5142 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5143 Likewise.
5144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5145 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5150
1b6adf88
AM
51512013-10-04 Alan Modra <amodra@gmail.com>
5152
5153 * stdio-common/printf_size.c (__printf_size): Don't use
5154 union ieee854_long_double in fpnum union.
5155 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5156 signbit macro to retrieve sign from long double.
5157 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5158 retrieve sign from long double.
5159 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5160 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5162 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5163 * math/test-misc.c (main): Don't use union ieee854_long_double.
5164
4cf69995
AM
51652013-10-04 Alan Modra <amodra@gmail.com>
5166
5167 [BZ #15680]
5168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5169 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5170 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5171 calculation. Remove unnecessary test for denormal exponent.
5172 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5173 Correct handling of denormals. Avoid undefined shift behaviour.
5174 Correct normalisation of low mantissa when low double is denormal.
5175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5176 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5177 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5178 Correct normalisation of low mantissa. Test for overflow of high
5179 mantissa and normalise.
5180 (ldbl_nearbyint): Use more readable constant for two52.
5181 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5182 (__mpn_construct_long_double): Fix test for overflow of high
5183 mantissa and correct normalisation. Avoid undefined shift.
5184
9605ca6c
AM
51852013-10-04 Alan Modra <amodra@gmail.com>
5186
5187 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5188 (union ibm_extended_long_double): Define as an array of ieee754_double.
5189 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5190 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5191 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5192 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5200
975569d0
JM
52012013-10-03 Joseph Myers <joseph@codesourcery.com>
5202
d3d23756
JM
5203 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5204 page size instead of calling getpagesize.
5205
975569d0
JM
5206 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5207 (LOCFILE_ALIGN_MASK): Likewise.
5208 (LOCFILE_ALIGN_UP): Likewise.
5209 (LOCFILE_ALIGNED_P): Likewise.
5210 * locale/programs/ld-collate.c (collate_output): Use the new
5211 macros instead of __alignof__ (int32_t).
5212 * locale/weight.h (findidx): Likewise.
5213
b1fe1f2b
OB
52142013-10-03 Ondřej Bílka <neleai@seznam.cz>
5215
5216 [BZ #431]
5217 * manual/string.texi: Fix strncat and wcsncat.
5218
5f855e35
BM
52192013-10-03 Brooks Moses <bmoses@google.com>
5220
5221 [BZ #15915]
5222 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5223 * Makerules: ...here, and adjust associated comments.
5224
3cef6009
WN
52252013-10-02 Will Newton <will.newton@linaro.org>
5226
5227 * malloc/Makefile: Add tst-pvalloc.
5228 * malloc/tst-pvalloc.c: New file.
5229
7815420b
WN
52302013-10-02 Will Newton <will.newton@linaro.org>
5231
5232 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5233 improve test coverage.
5234
4868b204
WN
52352013-10-02 Will Newton <will.newton@linaro.org>
5236
5237 * malloc/Makefile: Add tst-posix_memalign.
5238 * malloc/tst-posix_memalign.c: New file.
5239
29c793b3
EB
52402013-10-01 Eric Blake <eblake@redhat.com>
5241
5242 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5243 Use __THROWNL rather than __THROW on static functions.
5244
fd967522
PM
52452013-09-30 Petr Machata <pmachata@redhat.com>
5246
5247 * elf/elf.h (R_AARCH64_ABS16): New macro.
5248 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5249 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5250 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5251 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5252 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5253 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5254 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5255 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5256 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5257 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5258 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5259 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5260 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5261 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5262 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5263 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5264 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5265 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5266 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5267 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5268 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5269 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5270 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5271 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5272 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5273 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5274 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5275 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5276 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5277 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5278 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5279 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5280 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5281 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5282 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5283 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5284 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5285 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5286 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5287 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5288 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5289 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5290 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5291 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5292 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5293 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5294 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5295 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5296 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5297 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5298 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5299 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5300 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5301 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5302 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5303 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5304 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5305 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5306 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5307 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5308 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5309 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5310 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5311 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5312 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5313 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5314 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5315 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5316 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5317 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5318 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5319 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5320 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5321 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5322 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5323 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5324 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5325 (R_AARCH64_TLSDESC_LDR): Likewise.
5326 (R_AARCH64_TLSDESC_ADD): Likewise.
5327 (R_AARCH64_TLSDESC_CALL): Likewise.
5328
b2179107
AS
53292013-09-30 Andreas Schwab <schwab@suse.de>
5330
5331 [BZ #15048]
5332 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5333 the nss database lookup.
5334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5336
47f28d0a
MF
53372013-09-28 Mike Frysinger <vapier@gentoo.org>
5338
5339 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5340
53412013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5342
5343 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5344 ${Bash-specific parameter/pattern/string} parameter expansion.
5345 * sysdeps/unix/make-syscalls.sh: Likewise.
5346
f4518a17
KK
53472013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5348
5349 * sysdeps/sh/stackguard-macros.h: New file.
5350
dc1a95c7
OB
53512013-09-26 Ondřej Bílka <neleai@seznam.cz>
5352
5353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5355 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5356 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5357 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5358 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5359
5ebbff8f
AZ
53602013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5361
5362 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5363 Fix thread ID register.
5364
4fd2cf9f
JM
53652013-09-25 Joseph Myers <joseph@codesourcery.com>
5366
5367 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5368 [POSIX || UNIX98]: Require rather than permitting all symbols from
5369 <time.h>.
5370 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5371 element of struct sched_param.
5372 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5373 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5374 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5375 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5376 constant.
5377
12c22bc4
OL
53782013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5379
5380 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5381 argument calculation.
5382
a03d8ea7
JM
53832013-09-24 Joseph Myers <joseph@codesourcery.com>
5384
5385 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5386 Expect macro.
5387 [POSIX] (pthread_attr_t): Do not require type.
5388 [POSIX] (pthread_cond_t): Likewise.
5389 [POSIX] (pthread_condattr_t): Likewise.
5390 [POSIX] (pthread_key_t): Likewise.
5391 [POSIX] (pthread_mutex_t): Likewise.
5392 [POSIX] (pthread_mutexattr_t): Likewise.
5393 [POSIX] (pthread_once_t): Likewise.
5394 [POSIX] (pthread_t): Likewise.
5395 [POSIX-based standards] (pthread_atfork): Expect function.
5396
6055173a
JM
53972013-09-24 Joseph Myers <joseph@codesourcery.com>
5398 Richard Sandiford <richard@codesourcery.com>
5399
5400 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5401 (swap_endianness_p): New extern variable.
5402 (set_big_endian): New inline function.
5403 (maybe_swap_uint32): Likewise.
5404 (maybe_swap_uint32_array): Likewise.
5405 (maybe_swap_uint32_obstack): Likewise.
5406 * locale/programs/locfile.c: Include <stdbool.h>.
5407 (swap_endianness_p): New variable.
5408 (add_locale_uint32): Call maybe_swap_uint32.
5409 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5410 (write_locale_data): Call maybe_swap_uint32_array.
5411 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5412 maybe_swap_uint32.
5413 (obstack_int32_grow_fast): Likewise.
5414 (output_weightwc): Call maybe_swap_uint32_obstack.
5415 (collate_output): Likewise.
5416 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5417 (OPT_LITTLE_ENDIAN): Likewise.
5418 (options): Add --little-endian and --big-endian options.
5419 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5420 * locale/programs/locarchive.c: Include "locfile.h".
5421 (GET): New macro.
5422 (SET): Likewise.
5423 (INC): Likewise.
5424 (create_archive): Use the new macros to access fields of
5425 structures directly mapped from or written to locale archives.
5426 (oldlocrecentcmp): Likewise.
5427 (enlarge_archive): Likewise.
5428 (insert_name): Likewise.
5429 (add_alias): Likewise.
5430 (add_locale): Likewise.
5431 (delete_locales_from_archive): Likewise.
5432 (show_archive_content): Likewise.
5433 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5434 locale data.
5435
39bf0bb4
RM
54362013-09-24 Roland McGrath <roland@hack.frob.com>
5437
5438 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5439 http://www.gnu.org/doc/freemanuals.texi.
5440 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5441
f02eed10
WN
54422013-09-24 Will Newton <will.newton@linaro.org>
5443
5444 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5445 macro.
5446
a3a6c312
JM
54472013-09-23 Joseph Myers <joseph@codesourcery.com>
5448
5449 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5450 unsigned char.
5451
107375ac
MR
54522013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5453
5454 * manual/threads.texi (POSIX Threads): Fix a typo.
5455
141f3a77
SP
54562013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5457
303e567a
SP
5458 [BZ #14547]
5459 * string/tst-strcoll-overflow.c: New test case.
5460 * string/Makefile (xtests): Add tst-strcoll-overflow.
5461 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5462 cache if string sizes may cause integer overflow.
5463
141f3a77
SP
5464 [BZ #14547]
5465 * string/strcoll_l.c (coll_seq): New members rule, idx,
5466 save_idx and back_us.
5467 (get_next_seq_nocache): New function.
5468 (do_compare_nocache): New function.
5469 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5470 when malloc fails.
5471
c61b4d41
CD
54722013-09-23 Carlos O'Donell <carlos@redhat.com>
5473
0b1f8e35
CD
5474 [BZ #15754]
5475 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5476 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5477 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5478
c61b4d41
CD
5479 [BZ #15754]
5480 * elf/Makefile (tests): Add tst-ptrguard1.
5481 (tests-static): Add tst-ptrguard1-static.
5482 (tst-ptrguard1-ARGS): Define.
5483 (tst-ptrguard1-static-ARGS): Define.
5484 * elf/tst-ptrguard1.c: New file.
5485 * elf/tst-ptrguard1-static.c: New file.
5486 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5487 * sysdeps/i386/stackguard-macros.h: Likewise.
5488 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5489 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5490 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5491 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5492 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5493 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5494
54952013-09-23 Hector Marco <hecmargi@upv.es>
5496 Ismael Ripoll <iripoll@disca.upv.es>
5497 Carlos O'Donell <carlos@redhat.com>
5498
5499 [BZ #15754]
5500 * sysdeps/generic/stackguard-macros.h: Define
5501 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5502 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5503 Define __pointer_chk_guard_local.
5504 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5505 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5506
f5f4e7b4
VV
55072013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5508
5509 [BZ #15859]
5510 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5511
5bb43a43
AS
55122013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5513
5514 * include/string.h (__ffs): Declare as hidden.
5515 * string/ffs.c (__ffs): Define as hidden.
5516 * sysdeps/i386/ffs.c (__ffs): Likewise.
5517 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5518 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5519 * sysdeps/s390/ffs.c (__ffs): Likewise.
5520 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5521
3ea5be54
AO
55222013-09-20 Alexandre Oliva <aoliva@redhat.com>
5523
ffb89e53
AO
5524 * NEWS: Mention malloc probes.
5525
322dea08
AO
5526 * malloc/arena.c (new_heap): New memory_heap_new probe.
5527 (grow_heap): New memory_heap_more probe.
5528 (shrink_heap): New memory_heap_less probe.
5529 (heap_trim): New memory_heap_free probe.
5530 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5531 (systrim): New memory_sbrk_less probe.
5532 * manual/probes.texi: Document them.
5533
655673f3
AO
5534 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5535 * manual/probes.texi: Document it.
5536
35fed6f1
AO
5537 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5538 (__libc_realloc): Add memory_realloc_retry probe.
5539 (__libc_memalign): Add memory_memalign_retry probe.
5540 (__libc_valloc): Add memory_valloc_retry probe.
5541 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5542 (__libc_calloc): Add memory_calloc_retry probe.
5543 * manual/probes.texi: Document them.
5544
6999d38c
AO
5545 * malloc/arena.c (get_free_list): Add probe
5546 memory_arena_reuse_free_list.
5547 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5548 and memory_arena_reuse.
5549 (arena_get2) [!PER_THREAD]: Likewise.
5550 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5551 memory_arena_reuse_realloc.
5552 * manual/probes.texi: Document them.
5553
0653427f
AO
5554 * malloc/malloc.c (__libc_free): Add
5555 memory_mallopt_free_dyn_thresholds probe.
5556 (__libc_mallopt): Add multiple memory_mallopt probes.
5557 * manual/probes.texi: Document them.
5558
3ea5be54
AO
5559 * malloc/malloc.c: Include stap-probe.h.
5560 (__libc_mallopt): Add memory_mallopt probe.
5561 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5562 * manual/probes.texi: New.
5563 * manual/Makefile (chapters): Add probes.
5564 * manual/threads.texi: Set next node.
5565
e35696c3 55662013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5567
e35696c3
CL
5568 [BZ #15963, #13985]
5569 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5570 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5571 Add `Chinese' to `nan' entry name.
5572
4aafb73c
SP
55732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5574
5575 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5576 (POLYNOMIAL): Likewise.
5577 (TAYLOR_SINCOS): Likewise.
5578 (TAYLOR_SLOW): Likewise.
5579 (__sin): Use TAYLOR_SINCOS.
5580 (__cos): Likewise.
5581 (slow): Use TAYLOR_SLOW.
5582 (sloww): Likewise.
5583 (bsloww): Likewise.
5584 (csloww): Likewise.
5585
d84f25c7
LD
55862013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5587
5588 * stdlib/strtod_l.c: Fix buffer overrun.
5589
5eea0404
SP
55902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5591
7849ff93
SP
5592 * benchtests/Makefile (bench): Add sincos.
5593 * benchtests/bench-sincos.c: New file.
5594
cfa3c886
SP
5595 * math/libm-test.inc (cos_test_data): New test inputs.
5596 (sin_test_data): Likewise.
5597
b348e1e3
SP
5598 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5599 macro.
5600 (__sin): Use it.
5601 (__cos): Likewise.
5602 (slow1): Likewise.
5603 (slow2): Likewise.
5604 (sloww1): Likewise.
5605 (sloww2): Likewise.
5606 (bsloww1): Likewise.
5607 (bsloww2): Likewise.
5608 (cslow2): Likewise.
5609 (csloww1): Likewise.
5610 (csloww2): Likewise.
5611
6cce25f8
SP
5612 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5613 function.
5614 (__sin): Use it.
5615 (__cos): Likewise.
5616
5eea0404
SP
5617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5618 gotos.
5619 (__cos): Likewise.
5620
9c21573c
MR
56212013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5622
5623 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5624 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5625 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5626 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5627 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5628 * elf/cache.c (print_entry): Handle the new cache flags.
5629
24d22e65
JM
56302013-09-18 Joseph Myers <joseph@codesourcery.com>
5631 Aldy Hernandez <aldyh@redhat.com>
5632
5633 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5634 Change condition to [_SOFT_FLOAT].
5635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5647 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5650 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5651 declaration.
5652
d13ef066
JM
56532013-09-18 Joseph Myers <joseph@codesourcery.com>
5654
2e071de0
JM
5655 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5656 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5657 (__longjmp): Use LOAD_GP to load saved GPRs.
5658 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5659 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5660 (__sigsetjmp): Use SAVE_GP to save GPRs.
5661
d13ef066
JM
5662 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5663 Do not append -msoft-float.
5664 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5665
97a0650b
SP
56662013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5667
5668 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5669
11ca09e9
JM
56702013-09-17 Joseph Myers <joseph@codesourcery.com>
5671
5672 [BZ #15966]
5673 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5674 (_FPU_GETCW): Use initial "__" on variable and field names but not
5675 on macro parameter name.
5676 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5677 parentheses around reference to macro parameter.
5678
08ffcf34
RS
56792013-09-13 Richard Sandiford <richard@codesourcery.com>
5680
5681 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5682 prototype.
5683 (ctype_startup): Use uint32_t in cast and sizeof for
5684 ctype->charnames.
5685
ae7080d3
JL
56862013-09-11 Jia Liu <proljc@gmail.com>
5687
5688 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5689 __daddr_t_defined.
5690 [__FreeBSD__]: Likewise.
5691
5905e7b3
OB
56922013-09-11 Ondřej Bílka <neleai@seznam.cz>
5693
5694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5695 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5696 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5697 (strchr): Remove __strchr_sse42 ifunc selection.
5698 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5699 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5700
b987c776
WN
57012013-09-11 Will Newton <will.newton@linaro.org>
5702
5703 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5704 parameter to RES. Remove hardcoded 1000 value.
5705 * benchtests/bench-skeleton.c (main): Pass RES parameter
5706 to TIMING_INIT and multiply result by 1000.
5707
ddf985af
AZ
57082013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5709
5710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5711
ffdd3181
AS
57122013-09-11 Andreas Schwab <schwab@suse.de>
5713
5714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5715 if not defined.
5716 (O_TMPFILE) [__USE_GNU]: Define.
5717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5718 Define.
5719
b73ed247
WN
57202013-09-11 Will Newton <will.newton@linaro.org>
5721
5722 [BZ #15857]
5723 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5724 does not overflow.
5725
55e17aad
WN
57262013-09-11 Will Newton <will.newton@linaro.org>
5727
5728 [BZ #15856]
5729 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5730 does not overflow.
5731
1159a193
WN
57322013-09-11 Will Newton <will.newton@linaro.org>
5733
5734 [BZ #15855]
5735 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5736 does not overflow.
5737
5905e7b3 57382013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5739
5740 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5741 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5745
cdfc721b
AM
57462013-09-10 Allan McRae <allan@archlinux.org>
5747
aa04af00
AM
5748 [BZ #15748]
5749 * manual/arith.texi (Parsing of Floats): Clarify
5750 cross-reference.
5751
cdfc721b
AM
5752 [BZ #15849]
5753 * manual/install.texi (Running make install): Mention
5754 --enable-pt-chown.
5755 * INSTALL: Regenerated.
5756
95e7cf29
MR
57572013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5758
5759 * csu/init-first.c (_init): Remove the !SHARED condition around
5760 FPU control word initialization.
5761 * elf/dl-support.c (_dl_fpu_control): New variable.
5762 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5763 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5764 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5765 * math/test-fpucw-static.c: New file.
5766 * math/test-fpucw-ieee.c: New file.
5767 * math/test-fpucw-ieee-static.c: New file.
5768 * math/Makefile (tests): Add `test-fpucw-ieee' and
5769 `$(tests-static)'.
5770 (tests-static): New variable.
5771 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5772 dependency to...
5773 [($(build-shared),yes)]
5774 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5775 ... this.
5776 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5777 New dependency.
5778
83e43bf0
AM
57792013-09-09 Allan McRae <allan@archlinux.org>
5780
a9f5ce09
AM
5781 [BZ #15939]
5782 * manual/string.texi (Collation Functions): Fix typo in
5783 strcoll example.
5784 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5785
34829bc2
AM
5786 [BZ #15893]
5787 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5788
3932737d
AM
5789 [BZ #15892]
5790 * libio/memstream.c (open_memstream): Fix memory leak.
5791 * libio/wmemstream.c (open_wmemstream): Likewise.
5792
83e43bf0
AM
5793 [BZ #15895]
5794 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5795
0c66b8e9
WN
57962013-09-09 Will Newton <will.newton@linaro.org>
5797
5798 * malloc/Makefile: Add tst-realloc to tests.
5799 * malloc/tst-realloc.c: New file.
5800
f6b00fd1
AM
58012013-09-09 Allan McRae <allan@archlinux.org>
5802
5803 [BZ #15844]
5804 * COPYING: Update from GNU website to fix FSF address.
5805 * COPYING.LIB: Likewise.
5806
eec55e16
DM
58072013-09-06 David S. Miller <davem@davemloft.net>
5808
5809 * po/zh_TW.po: Update Chinese (traditional) translation from
5810 translation project.
5811
1ecbb381
RS
58122013-09-06 Richard Sandiford <richard@codesourcery.com>
5813 Joseph Myers <joseph@codesourcery.com>
5814
5815 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5816 "localeinfo.h".
5817 (obstack_chunk_alloc): New macro.
5818 (obstack_chunk_free): Likewise.
5819 (record_offset): New function.
5820 (init_locale_data): Likewise.
5821 (align_locale_data): Likewise.
5822 (add_locale_empty): Likewise.
5823 (add_locale_raw_data): Likewise.
5824 (add_locale_raw_obstack): Likewise.
5825 (add_locale_string): Likewise.
5826 (add_locale_wstring): Likewise.
5827 (add_locale_uint32): Likewise.
5828 (add_locale_uint32_array): Likewise.
5829 (add_locale_char): Likewise.
5830 (start_locale_structure): Likewise.
5831 (end_locale_structure): Likewise.
5832 (start_locale_prelude): Likewise.
5833 (end_locale_prelude): Likewise.
5834 (write_locale_data): Take locale_file structure rather than an
5835 iovec.
5836 * locale/programs/locfile.h: Include "obstack.h".
5837 (struct locale_file): Change to store locale file contents instead
5838 of header.
5839 (init_locale_data): New prototype.
5840 (align_locale_data): Likewise.
5841 (add_locale_empty): Likewise.
5842 (add_locale_raw_data): Likewise.
5843 (add_locale_raw_obstack): Likewise.
5844 (add_locale_string): Likewise.
5845 (add_locale_wstring): Likewise.
5846 (add_locale_uint32): Likewise.
5847 (add_locale_uint32_array): Likewise.
5848 (add_locale_char): Likewise.
5849 (start_locale_structure): Likewise.
5850 (end_locale_structure): Likewise.
5851 (start_locale_prelude): Likewise.
5852 (end_locale_prelude): Likewise.
5853 (write_locale_data): Update prototype.
5854 * locale/programs/3level.h (struct TABLE): Remove result field.
5855 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5856 Use new locale_file interface.
5857 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5858 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5859 * locale/programs/ld-address.c (address_output): Use new
5860 locale_file interface.
5861 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5862 NO_ADD_LOCALE.
5863 (collate_finish): Don't call collseq_table_finalize.
5864 (collate_output): Use new locale_file interface.
5865 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5866 in file.
5867 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5868 (TABLE): Move defines earlier in file.
5869 (ELEMENT): Likewise.
5870 (DEFAULT): Likewise.
5871 (wctrans_table_add): Move macro and inline function earlier in
5872 file.
5873 (struct wctype_table): Move type earlier in file.
5874 (add_locale_wctype_table): New static prototype.
5875 (struct locale_ctype_t): Use logical types instead of struct iovec
5876 pointers for members.
5877 (ctype_output): Use new locale_file interface.
5878 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5879 new locale_file interface.
5880 (allocate_arrays): Update for use of new locale_file interface.
5881 * locale/programs/ld-identification.c (identification_output): Use
5882 new locale_file interface.
5883 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5884 * locale/programs/ld-messages.c (messages_output): Likewise.
5885 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5886 * locale/programs/ld-name.c (name_output): Likewise.
5887 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5888 * locale/programs/ld-paper.c (paper_output): Likewise.
5889 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5890 * locale/programs/ld-time.c (time_output): Likewise.
5891
e029e2e5
AZ
58922013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5893
5894 * benchtests/Makefile: Add memrchr benchmark.
5895 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5896 benchmark as memrchr.
5897 * benchtests/bench-memrchr-ifunc.c: New file.
5898 * benchtests/bench-memrchr.c: New file.
5899
bbf6e8e4
WN
59002013-09-06 Will Newton <will.newton@linaro.org>
5901
5902 * benchtests/Makefile (string-bench): Add memcpy.
5903
6c82a2f8
CD
59042013-09-05 Carlos O'Donell <carlos@redhat.com>
5905 Cong Wang <amwang@redhat.com>
5906
e732c5f0 5907 [BZ #15850]
6c82a2f8
CD
5908 * sysdeps/unix/sysv/linux/bits/in.h
5909 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5910 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5911 before __USE_KERNEL_IPV6_DEFS uses.
5912 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5913 IPPROTO_BEETPH.
5914 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5915 sockaddr_in6, or ipv6_mreq.
5916
5430fc65
AZ
59172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918
5919 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5920 memory access for final bytes in some large inputs.
5921 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5922
4660856c
AZ
59232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * string/test-memrchr.c: New file.
5926 * string/test-memrchr-ifunc.c: New file.
5927 * string/Makefile: Add new memrchr testcase.
5928
bb8ea713
MF
59292013-09-05 Mike Frysinger <vapier@gentoo.org>
5930
5931 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5932 fanotify_init returns EPERM.
5933
b92a20b5
JM
59342013-09-04 Joseph Myers <joseph@codesourcery.com>
5935
5936 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5937 errors.
5938 (top level): Treat second token from macro or constant entries for
5939 allowed headers as allowed.
5940 * include/complex.h: Condition internal declarations on
5941 [!_ISOMAC].
5942 * include/fenv.h: Condition include of <stdbool.h> and internal
5943 declarations on [!_ISOMAC].
7447ccd9
CL
5944
59452013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5946
3e181dda 5947 [BZ #15923]
7447ccd9
CL
5948 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5949
3f2e46a4
JM
59502013-09-04 Joseph Myers <joseph@codesourcery.com>
5951
5952 * configure.in (--enable-versioning): Remove configure option.
5953 (libc_cv_asm_symver_directive): Remove configure test.
5954 (libc_cv_ld_version_script_option): Likewise.
5955 (VERSIONING): Remove variable and AC_SUBST.
5956 (DO_VERSIONING): Remove AC_DEFINE.
5957 * configure: Regenerated.
5958 * config.h.in (DO_VERSIONING): Remove macro.
5959 * Makerules [$(versioning) = yes]: Change conditionals to
5960 [$(build-shared) = yes].
5961 * config.make.in (versioning): Remove variable.
5962 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5963 [$(build-shared) = yes].
5964 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5965 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5966 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5967 [$(build-shared) = yes].
5968 * extra-lib.mk [$(versioning) = yes]: Likewise.
5969 * hurd/Makefile [$(versioning) = yes]: Likewise.
5970 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5971 [SHARED].
5972 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5973 [SHARED].
5974 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5975 [SHARED && !NO_HIDDEN].
5976 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5977 [SHARED].
5978 [SHARED && DO_VERSIONING]: Likewise..
5979 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5980 [$(build-shared) = yes].
5981 * manual/install.texi (--disable-versioning): Remove
5982 documentation.
5983 * INSTALL: Regenerated.
5984 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5985 to [SHARED].
5986 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5987 [$(build-shared) = yes].
5988 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5989 * sysdeps/i386/i686/multiarch/strstr-c.c
5990 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5991 [SHARED && !NO_HIDDEN].
5992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5993 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5994 * sysdeps/powerpc/powerpc32/dl-machine.c
5995 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5996 * sysdeps/powerpc/powerpc32/sysdep.h
5997 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5998 to [SHARED && PIC && !NO_HIDDEN].
5999 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6000 conditional to [SHARED].
6001
44558701
WN
60022013-09-04 Will Newton <will.newton@linaro.org>
6003
6004 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6005 * benchtests/bench-string.h: Include bench-timing.h instead
6006 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6007 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6008 call to HP_TIMING_DIFF_INIT.
6009 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6010 instead of hp-timing.h macros.
6011 * benchtests/bench-memchr.c: Likewise.
6012 * benchtests/bench-memcmp.c: Likewise.
6013 * benchtests/bench-memcpy.c: Likewise.
6014 * benchtests/bench-memmem.c: Likewise.
6015 * benchtests/bench-memmove.c: Likewise.
6016 * benchtests/bench-memset.c: Likewise.
6017 * benchtests/bench-rawmemchr.c: Likewise.
6018 * benchtests/bench-strcasecmp.c: Likewise.
6019 * benchtests/bench-strcasestr.c: Likewise.
6020 * benchtests/bench-strcat.c: Likewise.
6021 * benchtests/bench-strchr.c: Likewise.
6022 * benchtests/bench-strcmp.c: Likewise.
6023 * benchtests/bench-strcpy.c: Likewise.
6024 * benchtests/bench-strcpy_chk.c: Likewise.
6025 * benchtests/bench-strlen.c: Likewise.
6026 * benchtests/bench-strncasecmp.c: Likewise.
6027 * benchtests/bench-strncat.c: Likewise.
6028 * benchtests/bench-strncmp.c: Likewise.
6029 * benchtests/bench-strncpy.c: Likewise.
6030 * benchtests/bench-strnlen.c: Likewise.
6031 * benchtests/bench-strpbrk.c: Likewise.
6032 * benchtests/bench-strrchr.c: Likewise.
6033 * benchtests/bench-strspn.c: Likewise.
6034 * benchtests/bench-strstr.c: Likewise.
6035
cae16d66
WN
60362013-09-04 Will Newton <will.newton@linaro.org>
6037
6038 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6039
ffa3cd7f
JM
60402013-09-03 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #15427]
6043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6044 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6045 * math/libm-test.inc (lgamma_test_data): Add more tests.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update.
6047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6048
8f02859f
OB
60492013-09-03 Ondřej Bílka <neleai@seznam.cz>
6050
6051 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6053 Add ifunc.
6054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6055 Add strcmp-sse2-unaligned
6056 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6057
18d43716
MF
60582013-09-02 Mike Frysinger <vapier@gentoo.org>
6059
6060 * Versions.def (libc): Add GLIBC_2.19.
6061
ac444012
MF
60622013-09-02 Mike Frysinger <vapier@gentoo.org>
6063
6064 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6065 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6066
b7835e32
JM
60672013-09-02 Joseph Myers <joseph@codesourcery.com>
6068
6069 [BZ #14155]
6070 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6071 intermediate calculations in recurrence.
6072 (__ieee754_ynf): Likewise.
6073 * math/libm-test.inc (jn_test_data): Do not allow spurious
6074 underflow exception. Add more tests.
6075 (yn_test_data): Add more tests.
6076 * sysdeps/i386/fpu/libm-test-ulps: Update.
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078
8220f4f0
OB
60792013-09-02 Ondřej Bílka <neleai@seznam.cz>
6080
6081 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6082
f24a6d08
OB
60832013-08-30 Ondřej Bílka <neleai@seznam.cz>
6084
6085 * csu/init-first.c: Fix then/than typos.
6086 * locale/programs/ld-collate.c: Likewise.
6087 * locale/programs/linereader.h: Likewise.
6088 * manual/charset.texi: Likewise.
6089 * manual/filesys.texi: Likewise.
6090 * manual/stdio.texi: Likewise.
6091 * manual/string.texi: Likewise.
6092 * stdlib/fmtmsg.c: Likewise.
6093 * sysdeps/i386/stpncpy.S: Likewise.
6094 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6095 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6096 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6097 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6098
382466e0
OB
60992013-08-30 Ondřej Bílka <neleai@seznam.cz>
6100
6101 * elf/dl-open.c: Fix typos.
6102 * iconvdata/gbbig5.c: Likewise.
6103 * iconvdata/iso-2022-jp.c: Likewise.
6104 * iconv/gconv_int.h: Likewise.
6105 * iconv/loop.c: Likewise.
6106 * nis/rpcsvc/nis.h: Likewise.
6107 * resolv/ns_name.c: Likewise.
6108 * stdio-common/vfscanf.c: Likewise.
6109 * streams/stropts.h: Likewise.
6110 * sunrpc/rpc_thread.c: Likewise.
6111 * sysdeps/i386/strpbrk.S: Likewise.
6112 * sysdeps/ieee754/k_standard.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6115 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6116 * sysdeps/mach/hurd/profil.c: Likewise.
6117 * sysdeps/s390/dl-procinfo.h: Likewise.
6118 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6119 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6121 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6123
0186c6e9
OB
61242013-08-30 Ondřej Bílka <neleai@seznam.cz>
6125
6126 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6128
d4e16af1
OB
61292013-08-29 Ondřej Bílka <neleai@seznam.cz>
6130
6131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6132 aix specific files.
6133 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6134 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6136 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6138 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6139 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6140 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6141
88335980
TS
61422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6143 Roland McGrath <roland@hack.frob.com>
6144
6145 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6146 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6147
ed479b02
ST
61482013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149
6150 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6151 __executable_start symbol instead of _start.
6152
f1cc4c86
TS
61532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6154
d821f07c
TS
6155 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6156 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6157 Move macros to...
6158 * sysdeps/gnu/ldsodefs.h: ... this new file.
6159
c54290cf
TS
6160 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6161 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6162 instead of ELFOSABI_LINUX.
6163
0007fc9b 6164 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6165 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6166 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6167 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6168 Likewise.
6169 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6170 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6172 Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6174 (ibm_extended_long_double): Add ieee_nan member.
6175 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6176 (do_test): New function.
6177
f1cc4c86
TS
6178 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6179 TEST_TRUNC.
6180 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6181 functions, renamed from truncdfsf_test, trunctfsf_test,
6182 trunctfdf_test.
6183 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6184 functions.
6185 (do_test): Run all these.
6186
6f65e668
OB
61872013-08-29 Ondřej Bílka <neleai@seznam.cz>
6188
6189 * argp/argp-help.c: Fix typos.
6190 * argp/argp-parse.c: Likewise.
6191 * debug/backtracesyms.c: Likewise.
6192 * elf/elf.h: Likewise.
6193 * malloc/malloc.c: Likewise.
6194 * nis/nis_print.c: Likewise.
6195 * resolv/res_comp.c: Likewise.
6196 * stdlib/stdlib.h: Likewise.
6197 * sunrpc/clnt_tcp.c: Likewise.
6198 * sunrpc/clnt_udp.c: Likewise.
6199 * sunrpc/clnt_unix.c: Likewise.
6200 * sysdeps/unix/bsd/ptsname.c: Likewise.
6201 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6202 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6204 Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6206 Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6208 Likewise.
6f65e668
OB
6209 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6210
3a309239
SP
62112013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6212
6213 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6215
3b813b29
MF
62162013-08-27 Mike Frysinger <vapier@gentoo.org>
6217
6218 [BZ #15897]
6219 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6220 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6221 ($(objpfx)bug-dl-leaf): New rule.
6222 ($(objpfx)bug-dl-leaf.so): Likewise.
6223 ($(objpfx)bug-dl-leaf.out): Likewise.
6224 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6225 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6226 * dlfcn/bug-dl-leaf.c: New test.
6227 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6228 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6229 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6230 (dlclose): Likewise.
6231 (dlmopen): Likewise.
6232
8cc3269f
RM
62332013-08-27 Roland McGrath <roland@hack.frob.com>
6234
7f9d0034
RM
6235 * include/netdb.h [!_ISOMAC]:
6236 Don't include <tls.h>.
6237 (h_errno, __libc_h_errno): Move declaration and macros out of
6238 [_LIBC_REENTRANT].
6239
fb431262
RM
6240 * include/resolv.h [_RESOLV_H_]:
6241 Don't include <tls.h>.
6242 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6243 * resolv/res_libc.c: Don't include <tls.h>.
6244 (_res): Use __attribute__ ((nocommon)) in place of
6245 __attribute__ ((section (".bss"))).
6246
bd81123a
RM
6247 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6248 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6249
c4e42566
RM
6250 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6251
f890a59b
RM
6252 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6253 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6254
6255 * resolv/res_mkquery.c: Include <sys/time.h>.
6256
5d1f0a09
RM
6257 * inet/ifreq.c: Moved to ...
6258 * sysdeps/unix/ifreq.c: ... here.
6259 * inet/ifreq.c: New file, true stub version.
6260
6fcf28b3
RM
6261 * socket/sa_len.c: New file.
6262 * socket/Makefile (aux): Add it.
6263 * sysdeps/unix/sysv/linux/Makefile
6264 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6265 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6266 and #include <socket/sa_len.c>.
6267 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6268 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6269
e041fb8b
RM
6270 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6271 * bits/socket.h: ... here.
6272
8cc3269f
RM
6273 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6274 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6275 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6276
5d228a43
AS
62772013-08-27 Andreas Schwab <schwab@suse.de>
6278
45b8accc
AS
6279 [BZ #15736]
6280 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6281 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6282 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6283 * string/test-strcasecmp.c (test_main): Run tests in several
6284 locales.
6285 * string/test-strncasecmp.c (test_main): Likewise.
6286
5d228a43
AS
6287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6288 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6289 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6291 (__strncasecmp_ssse3) [PIC]: Likewise.
6292
59d112a4
RM
62932013-08-26 Roland McGrath <roland@hack.frob.com>
6294
53234cc3
RM
6295 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6296
59d112a4
RM
6297 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6298 instead of explicitly declaring xdecrypt.
6299 * nis/nss_nis/nis-publickey.c: Likewise.
6300
595aba70
SP
63012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
6303 [BZ #15890]
6304 * nscd/aicache.c: Include res_hconf.h.
6305 (addhstaiX): Initialize res_hconf.
6306
ffabd393
AS
63072013-08-26 Andreas Schwab <schwab@suse.de>
6308
6309 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6310 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6311
e0a69f5c
SP
63122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6313
6314 * nscd/aicache.c (addhstaiX): Fix indentation.
6315
8c12f01d
MF
63162013-08-25 Mike Frysinger <vapier@gentoo.org>
6317
6318 * configure.ac: Quote $build_pt_chown test.
6319 * configure: Regenerated.
6320
8fe89494
JM
63212013-08-23 Joseph Myers <joseph@codesourcery.com>
6322
6323 [BZ #15532]
6324 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6325 * math/s_cexpf.c (__cexpf): Likewise.
6326 * math/s_cexpl.c (__cexpl): Likewise.
6327 * math/libm-test.inc (cexp_test_data): Correct expected return
6328 value for NaN + i0. Add another test.
6329
75b181d6
DM
63302013-08-22 David S. Miller <davem@davemloft.net>
6331
6332 * po/ca.po: Update Catalan translation from translation project.
936241e4 6333 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6334
acd06bb1
JM
63352013-08-21 Joseph Myers <joseph@codesourcery.com>
6336
6337 [BZ #15797]
6338 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6339 is infinite, not alongside NaN test.
6340 * math/s_fdimf.c (__fdimf): Likewise.
6341 * math/s_fdiml.c (__fdiml): Likewise.
6342 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6343 errno is unchanged.
6344
c0c3f78a
OB
63452013-08-21 Ondřej Bílka <neleai@seznam.cz>
6346
6347 * argp/argp-help.c: Fix typos.
6348 * crypt/speeds.c: Likewise.
6349 * csu/check_fds.c: Likewise.
6350 * elf/dl-load.c: Likewise.
6351 * elf/dl-open.c: Likewise.
6352 * elf/reldep3.c: Likewise.
6353 * elf/reldep.c: Likewise.
6354 * elf/sprof.c: Likewise.
6355 * iconv/iconv_charmap.c: Likewise.
6356 * iconv/skeleton.c: Likewise.
6357 * iconv/strtab.c: Likewise.
6358 * io/lockf64.c: Likewise.
6359 * libio/libioP.h: Likewise.
6360 * resolv/gai_notify.c: Likewise.
6361 * resolv/ns_name.c: Likewise.
6362 * resolv/ns_samedomain.c: Likewise.
6363 * resolv/res_send.c: Likewise.
6364 * stdlib/random.c: Likewise.
6365 * sunrpc/rpc/xdr.h: Likewise.
6366 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6367 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6368 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6369 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6373 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6374 * sysdeps/mach/hurd/check_fds.c: Likewise.
6375 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6376 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6377 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6378 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6379 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6380 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6381 * sysdeps/pthread/aio_notify.c: Likewise.
6382 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6383 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6384 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6386 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6387
46ed1038
LD
63882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6389
6390 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6391 version if bit_Slow_SSE4_2 is set.
6392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6394
d400dcac
AZ
63952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 [BZ #15867]
6398 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6399 trampoline stack frame information.
6400 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6402 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6403 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6404 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6405 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6406 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6407 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6408 sa_flags value.
6409 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6410 interrupting a syscall and set with option SA_SIGINFO.
6411
42c8fdd8
JM
64122013-08-20 Joseph Myers <joseph@codesourcery.com>
6413
c980f2f4
JM
6414 [BZ #15531]
6415 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6416 argument is infinite.
6417 * math/s_cprojf.c (__cprojf): Likewise.
6418 * math/s_cprojl.c (__cprojl): Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6420 * math/libm-test.inc (cproj_test_data): Add more tests.
6421
0716c4fc
JM
6422 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6423
42c8fdd8
JM
6424 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6425 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6426 size. Use __ffs to determine corresponding shift.
6427
b31469d0
JM
64282013-08-20 Joseph Myers <joseph@codesourcery.com>
6429 Roland McGrath <roland@hack.frob.com>
6430
6431 * Makefile (INSTALL): Remove trailing blank lines from output of
6432 makeinfo.
6433
4e39af6e
AK
64342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6435
6436 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6437 Align 32 bit compat elf_greg to 8 bytes.
6438
f315524e
AA
64392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6440
6441 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6442
1326ba1a
SP
64432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6444
6445 * string/strcoll_l.c (coll_seq): New structure.
6446 (get_next_seq_cached): New function.
6447 (get_next_seq): New function.
6448 (do_compare): New function.
6449 (STRCOLL): Use GNU style definition. Simplify implementation
6450 by using get_next_seq, get_next_seq_cached and do_compare.
6451
91ce4085
FW
64522013-08-16 Florian Weimer <fweimer@redhat.com>
6453
6454 [BZ #14699]
6455 CVE-2013-4237
6456 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6457 member.
6458 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6459 member.
6460 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6461 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6462 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6463 conditional.
6464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6465 GETDENTS_64BIT_ALIGNED.
6466 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6467 * manual/filesys.texi (Reading/Closing Directory): Document
6468 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6469 strongly.
6470 * manual/conf.texi (Limits for Files): Add portability note to
6471 NAME_MAX, PATH_MAX.
6472 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6473
ca0a6bc4
AS
64742013-08-13 Andreas Schwab <schwab@suse.de>
6475
6476 [BZ #15749]
6477 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6478 of fabs.
6479 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6480 LDBL_MAX_EXP >= 16384]: Add tests for it.
6481
6c1fd795
DM
64822013-08-12 David S. Miller <davem@davemloft.net>
6483
6484 * version.h (RELEASE): Set to "development".
6485 (VERSION): Set to "2.18.90".
6486 * NEWS: Add 2.19 section.
6487
31ad488d
DM
64882013-08-03 David S. Miller <davem@davemloft.net>
6489
6490 * po/ko.po: Update Korean translation from translation project.
6491
db24e684
DM
64922013-08-01 David S. Miller <davem@davemloft.net>
6493
6494 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6495 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6496 Bilka.
6497
f723285b
DM
64982013-07-30 David S. Miller <davem@davemloft.net>
6499
6500 * po/fr.po: Update French translation from translation project.
6501
3cbc52db
DM
65022013-07-28 David S. Miller <davem@davemloft.net>
6503
30bbc0cc
DM
6504 * po/cs.po: Update Czech translation from translation project.
6505
3cbc52db
DM
6506 * po/sv.po: Update Swedish translation from translation project.
6507
d492e6d0
DM
65082013-07-27 David S. Miller <davem@davemloft.net>
6509
f1a7f492
DM
6510 * po/eo.po: Update Esperanto translation from translation project.
6511
90e62a4a
DM
6512 * po/vi.po: Update Vietnamese translation from translation project.
6513
d492e6d0
DM
6514 * po/de.po: Update German translation from translation project.
6515
d4baa62d
DM
65162013-07-26 David S. Miller <davem@davemloft.net>
6517
641aa7b4
DM
6518 * po/bg.po: Update Bulgarian translation from translation project.
6519
d4baa62d
DM
6520 * po/nl.po: Update Dutch translation from translation project.
6521 * po/pl.po: Update Polish translation from translation project.
6522 * po/ru.po: Update Russian translation from translation project.
6523
61a9dcb9
DM
65242013-07-24 David S. Miller <davem@davemloft.net>
6525
6526 * po/libc.pot: Update.
6527
7b1f8b58
AZ
65282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
6530 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6531 variable page size.
6532 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6533 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6534 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6535
a8fc7a03
AK
65362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6537
6538 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6539
e4608715
CD
65402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 Andreas Schwab <schwab@suse.de>
6542 Roland McGrath <roland@hack.frob.com>
6543 Joseph Myers <joseph@codesourcery.com>
6544 Carlos O'Donell <carlos@redhat.com>
6545
6546 [BZ #15755]
6547 * config.h.in: Define HAVE_PT_CHOWN.
6548 * config.make.in (build-pt-chown): New variable.
6549 * configure.in (--enable-pt_chown): New configure option.
6550 * configure: Regenerate.
6551 * login/Makefile: Include Makeconfig. Build pt_chown only if
6552 build-pt-chown is enabled.
6553 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6554 pt_chown to fix pty ownership.
6555 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6556 CLOSE_ALL_FDS.
6557 * manual/install.texi (Configuring and compiling): Mention
6558 --enable-pt_chown. Add @findex for grantpt.
6559 * INSTALL: Regenerate.
6560
da2d62df
DM
65612013-07-20 David S. Miller <davem@davemloft.net>
6562
6563 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6564 difference between 32-bit and 64-bit.
6565
d7e06450
CD
65662013-07-15 Carlos O'Donell <carlos@redhat.com>
6567
6568 [BZ #15711]
6569 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6570 Avoid system header dependency with -ffreestanding.
6571 ($(objpfx)bits/syscall%d): Likewise.
6572
f959cfd7
DM
65732013-07-13 David S. Miller <davem@davemloft.net>
6574
6575 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6576 underflows from atanl/atan2l due to bug 15319.
6577 (casinh_test_data): Likewise.
6578
c61f8513
DM
65792013-07-07 David S. Miller <davem@davemloft.net>
6580
6581 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6582
72c90ed0
JA
65832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6584
6585 * sysdeps/i386/fpu/libm-test-ulps: Update.
6586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6587
52dfbe13
SP
65882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6589
6590 * configure.in (--enable-lock-elision): Fix message text.
6591 * INSTALL: Regenerate.
6592 * configure: Regenerate.
6593
3f169543
AZ
65942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595
6596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6597
521c6785
AJ
65982013-07-03 Andreas Jaeger <aj@suse.de>
6599
6600 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6601 define.
6602 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6603 (ptrace_peeksiginfo_args): Add.
6604 (__ptrace_peeksiginfo_flags): Add.
6605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6608
d2cc15cb
AM
66092013-07-03 Allan McRae <allan@archlinux.org>
6610
6611 * sysdeps/i386/fpu/libm-test-ulps: Update.
6612
3aaeeca7
DM
66132013-07-02 David S. Miller <davem@davemloft.net>
6614
6615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6616
5314ed1a
MT
66172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6618
6619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6620
67338156
JM
66212013-07-02 Joseph Myers <joseph@codesourcery.com>
6622
6623 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625
1717da59
AK
66262013-07-02 Andi Kleen <ak@linux.intel.com>
6627
6628 * config.h.in (ENABLE_LOCK_ELISION): Add.
6629 * configure.in (--enable-lock-elision): Add option.
6630 * manual/install.texi: Document --enable lock elision.
6631 * configure: Regenerate
6632 * INSTALL: Regenerate.
6633
1c81621c
L
66342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6637 SSE4.2 strcasecmp for libc.a.
6638 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6639
77f01ab5
JM
66402013-07-02 Joseph Myers <joseph@codesourcery.com>
6641
6642 [BZ #13304]
6643 * soft-fp/op-common.h (_FP_FMA): New macro.
6644 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6645 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6646 (_FP_MUL_MEAT_1_imm): ... here.
6647 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6648 (_FP_MUL_MEAT_1_wide): ... here.
6649 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6650 (_FP_MUL_MEAT_1_hard): ... here.
6651 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6652 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6653 (_FP_MUL_MEAT_2_wide): ... here.
6654 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6655 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6656 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6657 (_FP_MUL_MEAT_2_gmp): ... here.
6658 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6659 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6660 (_FP_MUL_MEAT_4_wide): ... here.
6661 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6662 (_FP_MUL_MEAT_4_gmp): ... here.
6663 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6664 (_FP_WFRACBITS_DW_S): Likewise.
6665 (_FP_WFRACXBITS_DW_S): Likewise.
6666 (_FP_HIGHBIT_DW_S): Likewise.
6667 (FP_FMA_S): Likewise.
6668 (_FP_FRAC_HIGH_DW_S): Likewise.
6669 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6670 (_FP_WFRACBITS_DW_D): Likewise.
6671 (_FP_WFRACXBITS_DW_D): Likewise.
6672 (_FP_HIGHBIT_DW_D): Likewise.
6673 (FP_FMA_D): Likewise.
6674 (_FP_FRAC_HIGH_DW_D): Likewise.
6675 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6676 (_FP_WFRACBITS_DW_E): Likewise.
6677 (_FP_WFRACXBITS_DW_E): Likewise.
6678 (_FP_HIGHBIT_DW_E): Likewise.
6679 (FP_FMA_E): Likewise.
6680 (_FP_FRAC_HIGH_DW_E): Likewise.
6681 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6682 (_FP_WFRACBITS_DW_Q): Likewise.
6683 (_FP_WFRACXBITS_DW_Q): Likewise.
6684 (_FP_HIGHBIT_DW_Q): Likewise.
6685 (FP_FMA_Q): Likewise.
6686 (_FP_FRAC_HIGH_DW_Q): Likewise.
6687 * soft-fp/fmasf4.c: New file.
6688 * soft-fp/fmadf4.c: Likewise.
6689 * soft-fp/fmatf4.c: Likewise.
6690
6308fd9a
LD
66912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6692
6693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6694 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6695 Silvermont.
6696 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6697 macro.
6698 (index_Slow_SSE4_2): Likewise.
6699 (index_Prefer_PMINUB_for_stringop): Likewise.
6700 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6701 bit_Slow_SSE4_2 is set.
6702 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6703 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6704
89cd9569
RA
67052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6706
6707 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6708 rtld_global._dl_hwcap2.
6709 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6710 POWER8.
6711 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6712 POWER8 feature descriptions defined in _dl_hwcap2.
6713 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6714 string handling for POWER8 feature bits.
6715 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6716 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6717 _dl_powerpc_cap_flags.
6718 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6719 * sysdeps/powerpc/rtld-global-offsets.sym
6720 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6721 _dl_hwcap2 in the rtld_global_ro structure.
6722
1ae8bfe0
RA
67232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6724
6725 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6726 hardware capabilities in support of AT_HWCAP2.
6727 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6728 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6729 GLRO(dl_hwcap2).
6730 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6731 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6732 explicitly the unknown a_type display mechanism is used.
6733 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6734 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6735 struct member.
6736 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6737 to macro prototype for AT_HWCAP2 support.
6738 * sysdeps/i386/dl-procinfo.h: Likewise.
6739 * sysdeps/s390/dl-procinfo.h: Likewise.
6740 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6741 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6742 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6743 return -1 for unknown a_type display fallback.
6744 * sysdeps/sparc/dl-procinfo.h: Likewise.
6745 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6746 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6747
8fbec010
JM
67482013-06-28 Joseph Myers <joseph@codesourcery.com>
6749
6750 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6751 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6752
0432680e
PY
67532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6754
6755 [BZ #12492]
6756 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6757 mprotect making __stack_prot writable.
6758
ce61a2ad
NF
67592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6760 Joseph Myers <joseph@codesourcery.com>
6761
6762 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6763 as being properly aligned.
6764
f91f1c0f
MR
67652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6766
3d0f5d0c
MR
6767 * dlfcn/modstatic5.c: New file.
6768 * dlfcn/tststatic5.c: New file.
6769 * dlfcn/Makefile (tests): Add tststatic5.
6770 (tests-static): Likewise.
6771 (modules-names): Add modstatic5.
6772 (tststatic5-ENV): New variable.
6773 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6774
f91f1c0f
MR
6775 [BZ #15022]
6776 * elf/dl-support.c (_dl_main_map): New variable.
6777 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6778 (_dl_nns, _dl_load_adds): Set to 1.
6779 (_dl_initial_searchlist): Refer to _dl_main_map.
6780 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6781 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6782 call to _dl_get_origin.
6783 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6784 around call_map.
6785 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6786 * dlfcn/modstatic3.c: New file.
6787 * dlfcn/tststatic3.c: New file.
6788 * dlfcn/tststatic4.c: New file.
6789 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6790 (tests-static): Likewise.
6791 (modules-names): Add modstatic3.
6792 (tststatic3-ENV, tststatic4-ENV): New variables.
6793 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6794 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6795
cbe7d24b
JM
67962013-06-26 Joseph Myers <joseph@codesourcery.com>
6797
6798 * configure.in (CC): Require GCC version 4.4 or later.
6799 * configure: Regenerated.
6800 * manual/install.texi (Tools for Compilation): Update GCC version
6801 requirement.
6802 * INSTALL: Regenerated.
6803
11b8a0e1
LD
68042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6805
6806 [BZ #15674]
bb5bb87c
L
6807 * string/test-memcmp.c (check2): New.
6808 (main): Call check2.
6809
11b8a0e1
LD
6810 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6811
b0037103
MR
68122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6813
6814 [BZ #15022]
6815 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6816 over to...
6817 (dl_open_worker) [!SHARED]: ... here.
6818
c18c701d
RA
68192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6820
6821 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6822
1d17fa5f
RH
68232013-06-25 Richard Henderson <rth@redhat.com>
6824
6825 * locale/programs/locarchive.c: Include <libc-internal.h>
6826
8fcb833a
JM
68272013-06-25 Joseph Myers <joseph@codesourcery.com>
6828
6829 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6830 trailing whitespace removed.
6831
17db6e8d
MF
68322013-06-24 Mike Frysinger <vapier@gentoo.org>
6833
6834 [BZ #10283]
17db6e8d
MF
6835 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6836 * locale/programs/locarchive.c: Include libc-mmap.h.
6837 (prepare_address_space): Take two new outputs (the mmap base and len).
6838 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6839 values.
6840 (create_archive): Declare new mmap base and len values for
6841 prepare_address_space, and store the result in ah.
6842 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6843 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6844 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6845 Declare new mmap base and len values for
6846 prepare_address_space, and store the result in new_ah.
6847 (open_archive): Declare new mmap base and len values for
6848 prepare_address_space, and store the result in ah.
6849 (close_archive): If ah->mmap_base is not NULL, use that and
6850 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6851 * sysdeps/generic/libc-mmap.h: New file.
6852
d605071e
MF
68532013-06-24 Mike Frysinger <vapier@gentoo.org>
6854
6855 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6856 (ALIGN_UP): Likewise.
6857 (PTR_ALIGN_DOWN): Likewise.
6858 (PTR_ALIGN_UP): Likewise.
6859
2f063a6e
RA
68602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6861
6862 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6863 entry mapped to PPC_PLATFORM_POWER8.
6864 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6865 POWER8.
6866 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6867 (_dl_string_platform): Add case for exporting platform position for
6868 POWER8.
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6870 search path to sysdeps/powerpc/powerpc32/power8 directory.
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6872 search path to sysdeps/powerpc/powerpc64/power8 directory.
6873 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6874 power7 directories.
6875 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6876 power7 directories.
6877
a31ee4b3
SP
68782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6879
a74ca98f
SP
6880 * INSTALL: Regenerate.
6881
a31ee4b3
SP
6882 * nscd/connections.c (nscd_init): Fix comment.
6883
695c378f
JM
68842013-06-22 Joseph Myers <joseph@codesourcery.com>
6885
d8412221
JM
6886 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6887
695c378f
JM
6888 [BZ #15667]
6889 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6890 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6891
d1d54715
MR
68922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6893
6894 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6895 DL_DST_REQ_STATIC.
6896 (DL_DST_REQ_STATIC): Remove macro.
6897
8fdda7af
JM
68982013-06-21 Joseph Myers <joseph@codesourcery.com>
6899
6900 [BZ #7006]
6901 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6902 with a shift of 0 bits.
6903
f3bc5e5a
MR
69042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6905
6906 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6907 $(tststatic-ENV).
6908
be09e8c9
KK
69092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6910
6911 [BZ #15655]
6912 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6913
85c2e611
AZ
69142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915
6916 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6917 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6918 accepts -fno-tree-loop-distribute-patterns.
6919 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6920 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6921 recursive call.
6922 * string/memset.c (memset): Likewise.
6923 * string/test-memmove.c (simple_memmove): Disable loop transformation
6924 to library calls.
6925 * string/test-memset.c (simple_memset): Likewise.
6926 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6927 * benchtests/bench-memset.c (simple_memset): Likewise.
6928 * configure: Regenerated.
6929
c91e0825
JM
69302013-06-20 Joseph Myers <joseph@codesourcery.com>
6931
b8c792af
JM
6932 * math/test-misc.c (main): Ignore fesetround failure when failures
6933 of subsequent rounding tests would be ignored.
6934
c91e0825
JM
6935 [BZ #15654]
6936 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6937 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6938 * math/fegetenv.c (__fegetenv): Return 0.
6939 * math/fegetexcept.c (fegetexcept): Return 0.
6940 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6941 FE_TONEAREST.
6942 * math/feholdexcpt.c (feholdexcept): Return 0.
6943 * math/fesetenv.c (__fesetenv): Return 0.
6944 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6945 argument FE_TONEAREST.
6946 * math/feupdateenv.c (__feupdateenv): Return 0.
6947 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6948
bfcacbde
RM
69492013-06-18 Roland McGrath <roland@hack.frob.com>
6950
6951 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6952 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6953 ($(objpfx)rtld-%.os rules): Use them.
6954
e55a9b25
AZ
69552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956
6957 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6958 fields.
6959
346d65b3
RM
69602013-06-17 Roland McGrath <roland@hack.frob.com>
6961
12086fb4
RM
6962 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6963 length of target pattern, then descending length of dependency pattern.
6964 * configure.in (AWK): Require gawk 3.1.2 or newer.
6965 * manual/install.texi (Tools for Compilation): Say that we do.
6966 * configure: Regenerated.
6967
346d65b3
RM
6968 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6969 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6970 * scripts/sysd-rules.awk: ... this new script.
6971 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6972 than a glob-style pattern.
6973
1a846317
JM
69742013-06-17 Joseph Myers <joseph@codesourcery.com>
6975
6976 * math/test-misc.c (main): Do not treat incorrectly rounded
6977 conversions as failure unless ROUNDING_TESTS passes.
6978
8fc75e6f
JM
69792013-06-15 Joseph Myers <joseph@codesourcery.com>
6980
3711a167
JM
6981 [BZ #15631]
6982 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6983 restore exception state around main square root computation, then
6984 check for inexactness explicitly.
6985
8fc75e6f
JM
6986 * math/libm-test.inc (fma_test_data): Add another test.
6987
61dd6208
SP
69882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6989
adf23d2c
SP
6990 * manual/threads.texi (Non-POSIX Extensions): New document
6991 node. Document pthread_getattr_default_np and
6992 pthread_setattr_default_np.
6993
61dd6208
SP
6994 * Versions.def (libpthread): Add GLIBC_2.18.
6995 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6997 Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6999 Likewise.
7000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7001 Likewise.
7002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7003 Likewise.
7004 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7005 Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7007 Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7009 Likewise.
7010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7011 Likewise.
7012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7013 Likewise.
7014
d086fc7b
LD
70152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7016
7017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7018 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7019
747ef469
SP
70202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7021 H.J. Lu <hjl.tools@gmail.com>
7022
7023 [BZ #15627]
7024 * sysdeps/x86_64/rtld-memset.c: Remove file.
7025 * sysdeps/x86_64/rtld-memset.S: New file.
7026
1b2feed2
JM
70272013-06-14 Joseph Myers <joseph@codesourcery.com>
7028
7029 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7030 (test_in_one_mode): Take arguments for whether the rounding mode
7031 is supported for each floating-point type.
7032 (do_test): Pass new arguments to test_in_one_mode using
7033 ROUNDING_TESTS.
7034
a58ad3f8
RM
70352013-06-13 Roland McGrath <roland@hack.frob.com>
7036
7037 * posix/tst-waitid.c (do_test): Distinguish different instances of
7038 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7039 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7040 before entering the kernel for waitpid.
7041
c204ab28
SP
70422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7043
7044 * NEWS: Fix note on clock function precision. Text by Roland
7045 McGrath.
7046
f4a29fba
RM
70472013-06-13 Roland McGrath <roland@hack.frob.com>
7048
7049 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7050 it into place only when and if the sanity check passes.
7051
1f24b9ad
JM
70522013-06-13 Joseph Myers <joseph@codesourcery.com>
7053
7054 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7055 output for whether conversion result is exact. Take argument
7056 indicating whether type is IBM long double.
7057 (round_for_all): Change need_exact field to ibm_ld.
7058 * stdlib/tst-strtod-round.c (struct exactness): New type.
7059 (struct test): Change bool ld_ok field to struct exactness exact.
7060 (TEST): Update all definitions for change to field.
7061 (tests): Regenerate array contents.
7062 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7063 field value. Check for IBM long double here.
7064 (do_test): Update calls to test_in_one_mode.
7065
58206c68
SP
70662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7067
7068 [BZ #12515]
7069 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7070 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7071
2d6f4c5b 70722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7073
7074 [BZ #15605]
7075 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7076 generated by the compiler on loop optimizations.
7077 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7078 general definitions.
7079
94f2c076
JM
70802013-06-12 Joseph Myers <joseph@codesourcery.com>
7081
7082 * math/bug-nextafter.c: Include <math-tests.h>.
7083 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7084 the relevant type.
7085 * math/bug-nexttoward.c: Include <math-tests.h>.
7086 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7087 the relevant type.
7088 * math/test-misc.c: Include <math-tests.h>.
7089 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7090 the relevant type.
7091
e0e50a0a
AJ
70922013-06-12 Andreas Jaeger <aj@suse.de>
7093
7094 * po/ia.po: Update Interlingua translation from translation
7095 project.
7096
25061094
SP
70972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7098
7099 * include/fenv.h: Include stdbool.h.
7100 (struct rm_ctx): New structure.
7101 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7102 Define macro.
7103 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7104 (SET_RESTORE_ROUNDF): Likewise.
7105 (SET_RESTORE_ROUNDL): Likewise.
7106 (SET_RESTORE_ROUND_NOEX): Likewise.
7107 (SET_RESTORE_ROUND_NOEXF): Likewise.
7108 (SET_RESTORE_ROUND_NOEXL): Likewise.
7109 (SET_RESTORE_ROUND_53BIT): Likewise.
7110 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7111 (libc_feresetround_noexf_ctx): Likewise.
7112 (libc_feresetround_noexl_ctx): Likewise.
7113 (libc_feholdsetround_53bit_ctx): Likewise.
7114 (libc_feresetround_53bit_ctx): Likewise.
7115 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7116 (libc_feholdexcept_setround_sse_ctx): New function.
7117 (libc_fesetenv_sse_ctx): Likewise.
7118 (libc_feupdateenv_sse_ctx): Likewise.
7119 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7120 (libc_feholdexcept_setround_387_ctx): Likewise.
7121 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7122 (libc_feholdsetround_387_prec_ctx): Likewise.
7123 (libc_feholdsetround_387_ctx): Likewise.
7124 (libc_feholdsetround_387_53bit_ctx): Likewise.
7125 (libc_feholdsetround_sse_ctx): Likewise.
7126 (libc_feresetround_sse_ctx): Likewise.
7127 (libc_feresetround_387_ctx): Likewise.
7128 (libc_feupdateenv_387_ctx): Likewise.
7129 (libc_feholdexcept_setroundf_ctx): Define macro.
7130 (libc_fesetenvf_ctx): Likewise.
7131 (libc_feupdateenvf_ctx): Likewise.
7132 (libc_feholdsetroundf_ctx): Likewise.
7133 (libc_feresetroundf_ctx): Likewise.
7134 (libc_feholdexcept_setround_ctx): Likewise.
7135 (libc_fesetenv_ctx): Likewise.
7136 (libc_feupdateenv_ctx): Likewise.
7137 (libc_feholdsetround_ctx): Likewise.
7138 (libc_feresetround_ctx): Likewise.
7139 (libc_feholdexcept_setroundl_ctx): Likewise.
7140 (libc_feupdateenvl_ctx): Likewise.
7141 (libc_feholdsetroundl_ctx): Likewise.
7142 (libc_feresetroundl_ctx): Likewise.
7143 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7144 (libc_feresetround_53bit_ctx): Likewise.
7145
59b30555
SP
71462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
7148 * locale/iso-639.def: Convert to UTF-8.
7149
f1d73d30
JM
71502013-06-11 Joseph Myers <joseph@codesourcery.com>
7151
7152 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7153 (EXCEPTION_TESTS_double): Likewise.
7154 (EXCEPTION_TESTS_long_double): Likewise.
7155 (EXCEPTION_TESTS): Likewise.
7156 * math/libm-test.inc (test_exceptions): Only test exceptions if
7157 EXCEPTION_TESTS (FLOAT).
7158
94aca5e7
SP
71592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7160
7161 * benchtests/Makefile (string-bench): Add strcpy_chk and
7162 stpcpy_chk.
7163 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7164 * benchtests/bench-stpcpy_chk.c: New file.
7165 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7166 * benchtests/bench-strcpy_chk.c: New file.
7167 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7168 code.
7169 (do_test): Likewise.
7170
fac0c5f2
RA
71712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7172
7173 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7174 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7175 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7176 with tabs where appropriate.
7177 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7178 dl-procinfo.h.
7179 [PPC_PLATFORM_PPC440]: Likewise.
7180 [PPC_PLATFORM_PPC464]: Likewise.
7181 [PPC_PLATFORM_PPC476]: Likewise.
7182 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7183 ppc464, and ppc476 platform strings merging from ports/
7184 dl-procinfo.h.
7185
f22bc486
AS
71862013-06-11 Andreas Schwab <schwab@suse.de>
7187
7188 [BZ #14991]
7189 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7190 (from_ucs4_idx): Regenerate.
7191 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7192 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7193 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7194 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7195 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7196 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7197 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7198 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7199 from FROM_LOOP and TO_LOOP specific macros.
7200 (BODY): Handle combining characters.
7201 * iconvdata/BIG5HKSCS.irreversible: Update.
7202 * iconvdata/BIG5HKSCS.precomposed: New file.
7203 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7204 characters.
7205 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7206
c1f75dc3
SP
72072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7208
4eacded2
SP
7209 * include/sys/time.h: Fix indentation and add copyright header.
7210
fec799f8
SP
7211 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7212 (do_test): Likewise.
7213 * string/test-memchr.c (do_one_test): Likewise.
7214 (do_test): Likewise.
7215 * string/test-memcmp.c (do_one_test): Likewise.
7216 (do_test): Likewise.
7217 * string/test-memcpy.c (do_one_test): Likewise.
7218 (do_test): Likewise.
7219 * string/test-memmem.c (do_one_test): Likewise.
7220 (do_test): Likewise.
7221 (do_random_tests): Likewise.
7222 * string/test-memmove.c (do_one_test): Likewise.
7223 (do_test): Likewise.
7224 * string/test-memset.c (do_one_test): Likewise.
7225 (do_test): Likewise.
7226 * string/test-rawmemchr.c (do_one_test): Likewise.
7227 (do_test): Likewise.
7228 * string/test-strcasecmp.c (do_one_test): Likewise.
7229 (do_test): Likewise.
7230 * string/test-strcasestr.c (do_one_test): Likewise.
7231 (do_test): Likewise.
7232 * string/test-strcat.c (do_one_test): Likewise.
7233 (do_test): Likewise.
7234 * string/test-strchr.c (do_one_test): Likewise.
7235 (do_test): Likewise.
7236 * string/test-strcmp.c (do_one_test): Likewise.
7237 (do_test): Likewise.
7238 * string/test-strcpy.c (do_one_test): Likewise.
7239 (do_test): Likewise.
7240 * string/test-string.h: Likewise.
7241 (test_init): Likewise.
7242 * string/test-strlen.c (do_one_test): Likewise.
7243 (do_test): Likewise.
7244 * string/test-strncasecmp.c (do_one_test): Likewise.
7245 (do_test): Likewise.
7246 * string/test-strncat.c (do_one_test): Likewise.
7247 (do_test): Likewise.
7248 * string/test-strncmp.c (do_one_test): Likewise.
7249 (do_test_limit): Likewise.
7250 (do_test): Likewise.
7251 * string/test-strncpy.c (do_one_test): Likewise.
7252 (do_test): Likewise.
7253 * string/test-strnlen.c (do_one_test): Likewise.
7254 (do_test): Likewise.
7255 * string/test-strpbrk.c (do_one_test): Likewise.
7256 (do_test): Likewise.
7257 * string/test-strrchr.c (do_one_test): Likewise.
7258 (do_test): Likewise.
7259 * string/test-strspn.c (do_one_test): Likewise.
7260 (do_test): Likewise.
7261 * string/test-strstr.c (do_one_test): Likewise.
7262 (do_test): Likewise.
7263
97020474
SP
7264 * benchtests/Makefile (string-bench): Add string benchmarks.
7265 * benchtests/bench-bcopy-ifunc.c: New file.
7266 * benchtests/bench-bcopy.c: New file.
7267 * benchtests/bench-bzero-ifunc.c: New file.
7268 * benchtests/bench-bzero.c: New file.
7269 * benchtests/bench-memccpy-ifunc.c: New file.
7270 * benchtests/bench-memccpy.c: New file.
7271 * benchtests/bench-memchr-ifunc.c: New file.
7272 * benchtests/bench-memchr.c: New file.
7273 * benchtests/bench-memcmp-ifunc.c: New file.
7274 * benchtests/bench-memcmp.c: New file.
7275 * benchtests/bench-memmem-ifunc.c: New file.
7276 * benchtests/bench-memmem.c: New file.
7277 * benchtests/bench-memmove-ifunc.c: New file.
7278 * benchtests/bench-memmove.c: New file.
7279 * benchtests/bench-mempcpy-ifunc.c: New file.
7280 * benchtests/bench-mempcpy.c: New file.
7281 * benchtests/bench-memset-ifunc.c: New file.
7282 * benchtests/bench-memset.c: New file.
7283 * benchtests/bench-rawmemchr-ifunc.c: New file.
7284 * benchtests/bench-rawmemchr.c: New file.
7285 * benchtests/bench-stpcpy-ifunc.c: New file.
7286 * benchtests/bench-stpcpy.c: New file.
7287 * benchtests/bench-stpncpy-ifunc.c: New file.
7288 * benchtests/bench-stpncpy.c: New file.
7289 * benchtests/bench-strcasecmp-ifunc.c: New file.
7290 * benchtests/bench-strcasecmp.c: New file.
7291 * benchtests/bench-strcasestr-ifunc.c: New file.
7292 * benchtests/bench-strcasestr.c: New file.
7293 * benchtests/bench-strcat-ifunc.c: New file.
7294 * benchtests/bench-strcat.c: New file.
7295 * benchtests/bench-strchr-ifunc.c: New file.
7296 * benchtests/bench-strchr.c: New file.
7297 * benchtests/bench-strchrnul-ifunc.c: New file.
7298 * benchtests/bench-strchrnul.c: New file.
7299 * benchtests/bench-strcmp-ifunc.c: New file.
7300 * benchtests/bench-strcmp.c: New file.
7301 * benchtests/bench-strcpy-ifunc.c: New file.
7302 * benchtests/bench-strcpy.c: New file.
7303 * benchtests/bench-strcspn-ifunc.c: New file.
7304 * benchtests/bench-strcspn.c: New file.
7305 * benchtests/bench-strlen-ifunc.c: New file.
7306 * benchtests/bench-strlen.c: New file.
7307 * benchtests/bench-strncasecmp-ifunc.c: New file.
7308 * benchtests/bench-strncasecmp.c: New file.
7309 * benchtests/bench-strncat-ifunc.c: New file.
7310 * benchtests/bench-strncat.c: New file.
7311 * benchtests/bench-strncmp-ifunc.c: New file.
7312 * benchtests/bench-strncmp.c: New file.
7313 * benchtests/bench-strncpy-ifunc.c: New file.
7314 * benchtests/bench-strncpy.c: New file.
7315 * benchtests/bench-strnlen-ifunc.c: New file.
7316 * benchtests/bench-strnlen.c: New file.
7317 * benchtests/bench-strpbrk-ifunc.c: New file.
7318 * benchtests/bench-strpbrk.c: New file.
7319 * benchtests/bench-strrchr-ifunc.c: New file.
7320 * benchtests/bench-strrchr.c: New file.
7321 * benchtests/bench-strspn-ifunc.c: New file.
7322 * benchtests/bench-strspn.c: New file.
7323 * benchtests/bench-strstr-ifunc.c: New file.
7324 * benchtests/bench-strstr.c: New file.
7325
c1f75dc3
SP
7326 * benchtests/Makefile: Disable parallel execution of targets.
7327 (string-bench): Add memcpy.
7328 (benchset): New variable to store a list of benchmark sets.
7329 (bench-func): Renamed from bench.
7330 (bench-set): New target.
7331 (bench): Depend on bench-func and bench-set.
7332 * benchtests/README: Add section on benchmark sets.
7333 * benchtests/bench-memcpy-ifunc.c: New file.
7334 * benchtests/bench-memcpy.c: New file.
7335 * benchtests/bench-string.h: New file.
7336
50fd745b
AS
73372013-06-11 Andreas Schwab <schwab@suse.de>
7338
7339 [BZ #15577]
7340 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7341 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7342 values in the triple.
7343 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7344 terminator in the group key.
7345
3ee7e9fe
AJ
73462013-06-11 Andreas Jaeger <aj@suse.de>
7347
7348 * po/zh_TW.po: Update Chinese (traditional) translation from
7349 translation project.
7350
89fb6835
SP
73512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7352
7353 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7354 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7355 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7356 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7357 (clock_getcpuclockid): Likewise.
7358 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7359 Add weak_alias and libc_hidden_def.
7360 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7361 * rt/clock_gettime.c (clock_gettime): Rename to
7362 __clock_gettime. Add weak_alias and libc_hidden_def.
7363 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7364 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7365 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7366 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7367 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7368 Likewise.
7369 * rt/clock_settime.c (clock_settime): Rename to
7370 __clock_settime. Add weak_alias and libc_hidden_def.
7371 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7372
0efa6f8b
JM
73732013-06-10 Joseph Myers <joseph@codesourcery.com>
7374
b8c61b4b
JM
7375 * mach/err_boot.sub: Remove trailing whitespace.
7376 * mach/err_ipc.sub: Likewise.
7377 * mach/err_mach.sub: Likewise.
7378
0efa6f8b
JM
7379 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7380 (ROUNDING_TESTS_double): Likewise.
7381 (ROUNDING_TESTS_long_double): Likewise.
7382 (ROUNDING_TESTS): Likewise.
7383 * math/libm-test.inc: Include <math-tests.h>.
7384 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7385 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7386 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7387 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7388
50b818bf
SP
73892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7390
7391 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7392 of assigning.
7393
60d2f8f3
JM
73942013-06-08 Joseph Myers <joseph@codesourcery.com>
7395
4902d2c3
JM
7396 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7397 otherwise empty TRANS lines.
7398 * sysdeps/gnu/errlist.c: Regenerated.
7399
60d2f8f3
JM
7400 * catgets/gencat.c (error_print): Use (void) in function
7401 definition.
7402 * crypt/crypt_util.c (__init_des): Likewise.
7403 * crypt/speeds.c (Stop): Likewise.
7404 (main): Likewise.
7405 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7406 * inet/ruserpass.c (token): Likewise.
7407 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7408 * intl/localealias.c (extend_alias_table): Likewise.
7409 * intl/plural-exp.c (init_germanic_plural): Likewise.
7410 * libio/fcloseall.c (__fcloseall): Likewise.
7411 * libio/genops.c (_IO_flush_all): Likewise.
7412 (_IO_flush_all_linebuffered): Likewise.
7413 (_IO_cleanup): Likewise.
7414 (_IO_iter_begin): Likewise.
7415 (_IO_iter_end): Likewise.
7416 (_IO_list_lock): Likewise.
7417 (_IO_list_unlock): Likewise.
7418 (_IO_list_resetlock): Likewise.
7419 * libio/getchar.c (getchar): Likewise.
7420 * libio/getchar_u.c (getchar_unlocked): Likewise.
7421 * libio/getwchar.c (getwchar): Likewise.
7422 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7423 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7424 * login/getpt.c (__getpt): Likewise.
7425 * login/tst-utmp.c (main): Likewise.
7426 * malloc/hooks.c (__malloc_check_init): Likewise.
7427 * malloc/malloc.c (__malloc_stats): Likewise.
7428 * malloc/mtrace.c (tr_break): Likewise.
7429 (mtrace): Likewise.
7430 (muntrace): Likewise.
7431 * misc/fstab.c (endfsent): Likewise.
7432 * misc/getclktck.c (__getclktck): Likewise.
7433 * misc/getdtsz.c (__getdtablesize): Likewise.
7434 * misc/gethostid.c (gethostid): Likewise.
7435 * misc/getpagesize.c (__getpagesize): Likewise.
7436 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7437 (__get_nprocs): Likewise.
7438 (__get_phys_pages): Likewise.
7439 (__get_avphys_pages): Likewise.
7440 * misc/getttyent.c (getttyent): Likewise.
7441 (setttyent): Likewise.
7442 (endttyent): Likewise.
7443 * misc/getusershell.c (getusershell): Likewise.
7444 (endusershell): Likewise.
7445 (setusershell): Likewise.
7446 (initshells): Likewise.
7447 * misc/hsearch.c (__hdestroy): Likewise.
7448 * misc/sync.c (sync): Likewise.
7449 * misc/syslog.c (closelog_internal): Likewise.
7450 (closelog): Likewise.
7451 * misc/ttyslot.c (ttyslot): Likewise.
7452 * misc/vhangup.c (vhangup): Likewise.
7453 * posix/fork.c (__fork): Likewise.
7454 * posix/getegid.c (__getegid): Likewise.
7455 * posix/geteuid.c (__geteuid): Likewise.
7456 * posix/getgid.c (__getgid): Likewise.
7457 * posix/getpid.c (__getpid): Likewise.
7458 * posix/getppid.c (__getppid): Likewise.
7459 * posix/getuid.c (__getuid): Likewise.
7460 * posix/pause.c (pause): Likewise.
7461 * posix/setpgrp.c (setpgrp): Likewise.
7462 * posix/setsid.c (__setsid): Likewise.
7463 * posix/test-vfork.c (noop): Likewise.
7464 * resolv/gethnamaddr.c (_endhtent): Likewise.
7465 (_gethtent): Likewise.
7466 (ht_endhostent): Likewise.
7467 (gethostent): Likewise.
7468 (dns_service): Likewise.
7469 * stdlib/drand48.c (drand48): Likewise.
7470 * stdlib/lrand48.c (lrand48): Likewise.
7471 * stdlib/mrand48.c (mrand48): Likewise.
7472 * stdlib/rand.c (rand): Likewise.
7473 * stdlib/random.c (__random): Likewise.
7474 * stdlib/setenv.c (clearenv): Likewise.
7475 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7476 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7477 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7478 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7479 (__get_nprocs): Likewise.
7480 (__get_phys_pages): Likewise.
7481 (__get_avphys_pages): Likewise.
7482 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7483 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7484 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7485 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7486 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7487 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7488 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7489 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7490 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7491 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7492 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7493 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7494 * sysdeps/posix/clock.c (clock): Likewise.
7495 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7496 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7497 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7498 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7499 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7501 (__get_nprocs_conf): Likewise.
7502 (__get_phys_pages): Likewise.
7503 (__get_avphys_pages): Likewise.
7504 * time/clock.c (clock): Likewise.
7505 * time/tzset.c (__tzname_max): Likewise.
7506
2e09a79a
JM
75072013-06-07 Joseph Myers <joseph@codesourcery.com>
7508
7509 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7510 (__bswap_32): Do not use "register".
7511 * crypt/crypt.c (_ufc_doit_r): Likewise.
7512 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7513 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7514 * gmon/gmon.c (__monstartup): Likewise.
7515 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7516 * hurd/hurdmalloc.c (more_memory): Likewise.
7517 (malloc): Likewise.
7518 (free): Likewise.
7519 (realloc): Likewise.
7520 (malloc_fork_prepare): Likewise.
7521 (malloc_fork_parent): Likewise.
7522 (malloc_fork_child): Likewise.
7523 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7524 (_svcauth_des): Likewise.
7525 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7526 * inet/inet_net.c (inet_network): Likewise.
7527 * inet/inet_netof.c (inet_netof): Likewise.
7528 * inet/rcmd.c (__validuser2_sa): Likewise.
7529 * io/fts.c (fts_open): Likewise.
7530 (fts_load): Likewise.
7531 (fts_close): Likewise.
7532 (fts_read): Likewise.
7533 (fts_children): Likewise.
7534 (fts_build): Likewise.
7535 (fts_stat): Likewise.
7536 (fts_sort): Likewise.
7537 (fts_alloc): Likewise.
7538 (fts_lfree): Likewise.
7539 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7540 (_IO_file_xsgetn): Likewise.
7541 (_IO_file_xsgetn_mmap): Likewise.
7542 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7543 (_IO_cookie_write): Likewise.
7544 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7545 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7546 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7547 * malloc/obstack.c (_obstack_begin): Likewise.
7548 (_obstack_begin_1): Likewise.
7549 (_obstack_newchunk): Likewise.
7550 (_obstack_allocated_p): Likewise.
7551 (obstack_free): Likewise.
7552 (_obstack_memory_used): Likewise.
7553 * misc/getttyent.c (getttynam): Likewise.
7554 (getttyent): Likewise.
7555 (skip): Likewise.
7556 (value): Likewise.
7557 * misc/getusershell.c (initshells): Likewise.
7558 * misc/syslog.c (__vsyslog_chk): Likewise.
7559 * misc/ttyslot.c (ttyslot): Likewise.
7560 * nis/nis_hash.c (__nis_hash): Likewise.
7561 * posix/fnmatch_loop.c (FCT): Likewise.
7562 * posix/getconf.c (print_all): Likewise.
7563 (main): Likewise.
7564 * posix/getopt.c (exchange): Likewise.
7565 * posix/glob.c (globfree): Likewise.
7566 (prefix_array): Likewise.
7567 (__glob_pattern_type): Likewise.
7568 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7569 (NS_GET32): Likewise.
7570 (NS_PUT16): Likewise.
7571 (NS_PUT32): Likewise.
7572 * resolv/gethnamaddr.c (getanswer): Likewise.
7573 (gethostbyname2): Likewise.
7574 (gethostbyaddr): Likewise.
7575 (_gethtent): Likewise.
7576 (_gethtbyname2): Likewise.
7577 (_gethtbyaddr): Likewise.
7578 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7579 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7580 * resolv/res_init.c (__res_vinit): Likewise.
7581 (net_mask): Likewise.
7582 * resolv/res_mkquery.c (outchar): Likewise.
7583 (PRINT): Likewise.
7584 * stdio-common/printf_fp.c (outchar): Likewise.
7585 (PRINT): Likewise.
7586 * stdio-common/printf_fphex.c (outchar): Likewise.
7587 (PRINT): Likewise.
7588 * stdio-common/printf_size.c (outchar): Likewise.
7589 (PRINT): Likewise.
7590 * stdio-common/test_rdwr.c (main): Likewise.
7591 * stdio-common/tfformat.c (matches): Likewise.
7592 * stdio-common/vfprintf.c (outchar): Likewise.
7593 (printf_unknown): Likewise.
7594 (buffered_vfprintf): Likewise.
7595 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7596 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7597 (ReadFile): Likewise.
7598 * stdlib/qsort.c (SWAP): Likewise.
7599 (_quicksort): Likewise.
7600 * stdlib/setenv.c (__add_to_environ): Likewise.
7601 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7602 * stdlib/strtol_l.c (__strtol_l): Likewise.
7603 * stdlib/tst-strtod.c (main): Likewise.
7604 * stdlib/tst-strtol.c (main): Likewise.
7605 * stdlib/tst-strtoll.c (main): Likewise.
7606 * string/bits/string2.h (__strcmp_cc): Likewise.
7607 (__strcmp_cg): Likewise.
7608 (__strcspn_c1): Likewise.
7609 (__strcspn_c2): Likewise.
7610 (__strcspn_c3): Likewise.
7611 (__strspn_c1): Likewise.
7612 (__strspn_c2): Likewise.
7613 (__strspn_c3): Likewise.
7614 (__strsep_1c): Likewise.
7615 (__strsep_2c): Likewise.
7616 (__strsep_3c): Likewise.
7617 * string/memccpy.c (__memccpy): Likewise.
7618 * string/stpcpy.c (__stpcpy): Likewise.
7619 * string/strcmp.c (strcmp): Likewise.
7620 * string/strrchr.c (strrchr): Likewise.
7621 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7622 Likewise.
7623 * sysdeps/mach/hurd/getcwd.c
7624 (_hurd_canonicalize_directory_name_internal): Likewise.
7625 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7626 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7627 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7628 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7629 Likewise, in both definitions.
7630 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7631 definitions.
7632 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7633 64] (__bswap_64): Likewise.
7634 * time/test_time.c (main): Likewise.
7635 * time/tzfile.c (__tzfile_read): Likewise.
7636 (__tzfile_compute): Likewise.
7637 * time/tzset.c (__tzset_parse_tz): Likewise.
7638 (tzset_internal): Likewise.
7639 (compute_change): Likewise.
7640 * wcsmbs/wcscat.c (__wcscat): Likewise.
7641 * wcsmbs/wcschr.c (wcschr): Likewise.
7642 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7643 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7644 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7645 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7646 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7647 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7648 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7649 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7650 * wcsmbs/wmemset.c (wmemset): Likewise.
7651
9e54314b
JM
76522013-06-06 Joseph Myers <joseph@codesourcery.com>
7653
7654 * scripts/config.guess: Update to version 2013-05-16.
7655 * scripts/config.sub: Update to version 2013-04-24.
7656 * scripts/install-sh: Update to version 2011-11-20.07.
7657 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7658 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7659
350635a5
OB
76602013-06-06 Ondřej Bílka <neleai@seznam.cz>
7661
7662 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7663 * elf/sln.c: Likewise.
7664 * hurd/hurd/ioctl.h: Likewise.
7665 * hurd/hurdmalloc.c: Likewise.
7666 * hurd/xattr.c: Likewise.
7667 * include/shlib-compat.h: Likewise.
7668 * inet/ruserpass.c: Likewise.
7669 * libio/iofgets_u.c: Likewise.
7670 * libio/iofgetws_u.c: Likewise.
7671 * locale/programs/ld-identification.c: Likewise.
7672 * locale/programs/ld-time.c: Likewise.
7673 * mach/msg-destroy.c: Likewise.
7674 * nss/nss_files/files-netgrp.c: Likewise.
7675 * resolv/res_data.c: Likewise.
7676 * soft-fp/op-1.h: Likewise.
7677 * soft-fp/op-2.h: Likewise.
7678 * soft-fp/op-4.h: Likewise.
7679 * soft-fp/op-common.h: Likewise.
7680 * stdio-common/printf_fphex.c: Likewise.
7681 * stdlib/strtod_l.c: Likewise.
7682 * sunrpc/rpc/clnt.h: Likewise.
7683 * sysdeps/generic/framestate.c: Likewise.
7684 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7685 * sysdeps/i386/bsd-setjmp.S: Likewise.
7686 * sysdeps/i386/__longjmp.S: Likewise.
7687 * sysdeps/i386/setjmp.S: Likewise.
7688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7689 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7706 * sysdeps/ieee754/support.c: Likewise.
7707 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7708 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7709 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7710 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7711 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7712 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7713 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7714 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7715 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7716 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7717 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7718 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7719 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7720 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7722 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7723 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7725
44a988af
OB
77262013-06-05 Ondřej Bílka <neleai@seznam.cz>
7727
25506f09 7728 * posix/transbug.c: Remove executable mode.
44a988af 7729
9c84384c
JM
77302013-06-05 Joseph Myers <joseph@codesourcery.com>
7731
7732 * crypt/speeds.c: Remove trailing whitespace.
7733 * dlfcn/default.c: Likewise.
7734 * elf/ifuncdep2.c: Likewise.
7735 * elf/ifuncmain1.c: Likewise.
7736 * elf/ifuncmain1vis.c: Likewise.
7737 * elf/testobj.h: Likewise.
7738 * elf/tst-stackguard1.c: Likewise.
7739 * gmon/sys/gmon.h: Likewise.
7740 * hurd/hurdmsg.c: Likewise.
7741 * hurd/new-fd.c: Likewise.
7742 * hurd/ports-get.c: Likewise.
7743 * iconvdata/ibm1008_420.c: Likewise.
7744 * inet/tst-getni1.c: Likewise.
7745 * inet/tst-getni2.c: Likewise.
7746 * libio/ioungetc.c: Likewise.
7747 * libio/wfiledoalloc.c: Likewise.
7748 * manual/libm-err-tab.pl: Likewise.
7749 * math/w_dremf.c: Likewise.
7750 * misc/ftruncate.c: Likewise.
7751 * posix/bug-glob2.c: Likewise.
7752 * posix/tst-pcre.c: Likewise.
7753 * posix/wait4.c: Likewise.
7754 * resolv/README: Likewise.
7755 * resolv/res_debug.h: Likewise.
7756 * resolv/tst-inet_ntop.c: Likewise.
7757 * setjmp/bug269-setjmp.c: Likewise.
7758 * soft-fp/extended.h: Likewise.
7759 * soft-fp/op-1.h: Likewise.
7760 * soft-fp/op-2.h: Likewise.
7761 * soft-fp/op-4.h: Likewise.
7762 * soft-fp/op-8.h: Likewise.
7763 * soft-fp/testit.c: Likewise.
7764 * stdio-common/bug16.c: Likewise.
7765 * stdlib/random.c: Likewise.
7766 * sunrpc/rpcsvc/rquota.x: Likewise.
7767 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7768 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7770 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7773 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7796 * sysdeps/ieee754/s_lib_version.c: Likewise.
7797 * sysdeps/mach/hurd/check_fds.c: Likewise.
7798 * sysdeps/mach/hurd/getsockname.c: Likewise.
7799 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7800 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7801 * sysdeps/powerpc/bits/link.h: Likewise.
7802 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7803 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7804 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7805 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7806 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7807 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7808 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7809 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7810 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7811 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7812 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7813 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7814 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7815 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7816 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7817 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7818 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7819 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7821 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7822 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7823 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7825 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7826 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7828 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7829 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7830 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7834 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7836 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7837 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7838 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7839 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7840 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7841 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7842 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7843 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7844 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7845 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7846 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7847 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7848 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7849 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7850 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7851 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7854 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7855 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7856 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7857 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7858 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7859 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7860 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7861 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7862 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7864 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7865 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7866 * sysdeps/powerpc/sysdep.h: Likewise.
7867 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7868 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7869 * sysdeps/sh/dl-trampoline.S: Likewise.
7870 * sysdeps/sh/memset.S: Likewise.
7871 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7872 * sysdeps/sh/strlen.S: Likewise.
7873 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7874 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7875 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7876 * sysdeps/sparc/sparc32/rem.S: Likewise.
7877 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7878 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7879 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7880 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7881 * sysdeps/sparc/sparc32/urem.S: Likewise.
7882 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7883 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7884 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7885 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7886 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7887 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7888 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7889 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7890 * sysdeps/unix/bsd/times.c: Likewise.
7891 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7892 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7897 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7898 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7899 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7900 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7901 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7902 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7905 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7906 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7907 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7909 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7910 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7911 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7912 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7913 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7914 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7915 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7916 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7917 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7919 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7920 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7921 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7922 * sysdeps/x86_64/strcspn.S: Likewise.
7923
869378a5
RA
79242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7925
7926 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7927 generated file. Regenerate properly from gen-translit.pl.
7928 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7929 locale/C-translit.h.
7930
840e2943
AS
79312013-06-05 Andreas Schwab <schwab@suse.de>
7932
7933 [BZ #15100]
7934 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7935 week as 6 instead of -1.
7936 * time/tst-strptime.c (day_tests): Add test case.
7937
4c60cb0c
SP
79382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7939
7940 * sysdeps/generic/math_private.h
7941 (libc_feholdexcept_setround_53bit): Replace with
7942 libc_feholdsetround_53bit.
7943 (libc_feupdateenv_53bit): Replace with
7944 libc_feresetround_53bit.
7945 (SET_RESTORE_ROUND_53BIT): Adjust.
7946
d180203e
SP
79472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7948
96df079a
SP
7949 * string/test-strchrnul.c: Add copyright header.
7950
d180203e
SP
7951 * posix/tst-getaddrinfo4.c: Increase test timeout.
7952
8b0ccb2d
CD
79532013-06-03 Carlos O'Donell <carlos@redhat.com>
7954
7955 [BZ #15536]
7956 * math/libm-test.inc (MAX_EXP): Remove
7957 (MIN_EXP): Define.
7958 (ulp): Use MIN_EXP - MANT_DIG.
7959 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7960
3b3c4d40
CD
79612013-05-31 Carlos O'Donell <carlos@redhat.com>
7962
7963 * po/be.po: Revert last change.
7964 * po/zh_CN.po: Likewise.
7965 * po/header.pot: Likewise.
7966
fab7ce3f
JM
79672013-05-31 Joseph Myers <joseph@codesourcery.com>
7968
7969 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7970 link-libc-deps to empty as target-specific variable.
7971 * Makerules (link-libc-args): New variable.
7972 (libc-for-link): Likewise.
7973 (link-libc-deps): Likewise.
7974 (lib%.so): Depend on $(link-libc-deps). Link with
7975 $(link-libc-args).
7976 (build-module): Link with $(link-libc-args).
7977 (build-module-asneeded): Likewise.
7978 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7979 list of objects.
7980 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7981 target-specific variable.
7982 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7983 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7984 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7985 libc.
7986 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7987 libc and ld.so.
7988 ($(objpfx)libpcprofile.so): Likewise.
7989 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7990 libc_nonshared.a.
7991 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7992 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7993 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7994 $(link-libc-deps).
7995 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7996 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7997 * login/Makefile ($(objpfx)libutil.so): Likewise.
7998 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7999 * math/Makefile ($(objpfx)libm.so): Likewise.
8000 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8001 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8002 variable instead of depending directly on libc.
8003 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8004 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8005 $(link-libc-deps).
8006 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8007 libc.
8008 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8009 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8010 ($(objpfx)libanl.so): Likewise.
8011 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8012 ld.so.
8013 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8014 $(link-libc-deps).
8015 * sysdeps/i386/fpu/Makefile: Remove file.
8016 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8017 ($(objpfx)libm.so): Remove dependency on ld.so.
8018
eca5920c
PF
80192013-05-30 Patsy Franklin <pfrankli@redhat.com>
8020
8021 [BZ # 15553]
8022 * nis/yp_xdr.c (XDRMAXNAME): Define.
8023 (XDRMAXRECORD): Define.
8024 (xdr_domainname): Use XDRMAXNAME.
8025 (xdr_mapname): Likewise.
8026 (xdr_peername): Likewise.
8027 (xdr_keydat): Use XDRMAXRECORD.
8028 (xdr_valdat): Likewise.
8029
80302013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8031
8032 [BZ #14256]
8033 * manual/errno.texi (ESTALE): Update to account for more than
8034 just NFS file systems.
8035 * sysdeps/gnu/errlist.c: Regenerated.
8036
b9375348
SP
80372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8038
8039 [BZ #15465]
8040 * elf/Makefile (tests): Add tst-null-argv.
8041 (modules-names): Add tst-null-argv-lib.
8042 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8043 (tst-null-argv-ENV): Set environment for tst-null-argv.
8044 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8045 (RTLD_PROGNAME): New macro.
8046 * elf/tst-null-argv.c: New test case.
8047 * elf/tst-null-argv-lib.c: Library for test case.
8048 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8049 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8050 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8051 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8052 * elf/dl-init.c (call_init): Likewise.
8053 (_dl_init): Likewise.
8054 * elf/dl-load.c (print_search_path): Likewise.
8055 (_dl_map_object): Likewise.
8056 * elf/dl-lookup.c (do_lookup_x): Likewise.
8057 (add_dependency): Likewise.
8058 (_dl_lookup_symbol_x): Likewise.
8059 (_dl_debug_bindings): Likewise.
8060 * elf/dl-open.c (_dl_show_scope): Likewise.
8061 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8062 * elf/dl-version.c (match_symbol): Likewise.
8063 (_dl_check_map_versions): Likewise.
8064 * elf/rtld.c (dl_main): Likewise.
8065 (print_unresolved): Use RTLD_PROGNAME.
8066 (print_missing_version): Likewise.
8067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8068 (elf_machine_rela): Likewise.
8069 * sysdeps/powerpc/powerpc32/dl-machine.c
8070 (__process_machine_rela): Likewise.
8071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8072 Likewise.
8073 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8074 Likewise.
8075 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8076 Likewise.
8077 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8078 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8079 Likewise.
8080 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8081 Likewise.
8082 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8083
8a9f20c8
CD
80842013-05-28 Carlos O'Donell <carlos@redhat.com>
8085
8086 * po/be.po: Add descriptive title.
8087 * po/zh_CN.po: Likewise.
8088 * po/header.pot: Likewise.
8089
0e60d68e
MF
80902013-05-28 Mike Frysinger <vapier@gentoo.org>
8091
8092 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8093 error message.
8094 (enlarge_archive): Likewise.
8095
56b672e9
BN
80962013-05-28 Ben North <ben@redfrontdoor.org>
8097
8098 * manual/arith.texi (frexp): It is the magnitude of the return
8099 value which lies in [0.5, 1), not the return value itself.
8100
5e056687
AZ
81012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8102
8103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8104
2b66ef5d
TS
81052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8106
528c2405
TS
8107 * stdio-common/bug26.c (main): Correct fscanf template.
8108
07b4c13d
TS
8109 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8110 declare _dl_skip_args.
8111
ec9dd97c
TS
8112 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8113 Don't declare.
8114
2b66ef5d
TS
8115 * manual/platform.texi: Add missing @end deftypefun.
8116
4f8dfe27
JM
81172013-05-24 Joseph Myers <joseph@codesourcery.com>
8118
0323d086
JM
8119 [BZ #15529]
8120 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8121 bit of mantissa of 2^16382.
8122 * math/libm-test.inc (hypot_test_data): Add more tests.
8123
dd4259b9
JM
8124 * math/libm-test.inc: Add drem and pow10 to list of tested
8125 functions.
8126 (pow10_test): New function.
8127 (drem_test): Likewise.
8128 (drem_test_tonearest): Likewise.
8129 (drem_test_towardzero): Likewise.
8130 (drem_test_downward): Likewise.
8131 (drem_test_upward): Likewise.
8132 (main): Call the new functions.
8133
4f8dfe27
JM
8134 * math/libm-test.inc (finite_test_data): Remove.
8135 (finite_test): Run tests from isfinite_test_data.
8136 (gamma_test_data): Remove.
8137 (gamma_test): Run tests from lgamma_test_data.
8138 * sysdeps/i386/fpu/libm-test-ulps: Update.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8140
d116b7c4
AZ
81412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8142
8143 * manual/platform.texi: Add PowerPC PPR function set documentation.
8144 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8145 implementation.
8146
e96e3767
CD
81472013-05-24 Carlos O'Donell <carlos@redhat.com>
8148
8149 * math/libm-test.inc (MAX_EXP): Define.
8150 (ULPDIFF): Define.
8151 (ulp): New function.
8152 (check_float_internal): Use ULPDIFF.
8153 (cpow_test): Disable failing test.
8154 (check_ulp): Test ulp() implemetnation.
8155 (main): Call check_ulp before starting tests.
8156
b679a606
JM
81572013-05-24 Joseph Myers <joseph@codesourcery.com>
8158
e8bdba36
JM
8159 * math/gen-libm-test.pl (generate_testfile): Do not handle
8160 START_DATA and END_DATA.
8161 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8162 END_DATA.
8163 (acos_tonearest_test_data): Likewise.
8164 (acos_towardzero_test_data): Likewise.
8165 (acos_downward_test_data): Likewise.
8166 (acos_upward_test_data): Likewise.
8167 (acosh_test_data): Likewise.
8168 (asin_test_data): Likewise.
8169 (asin_tonearest_test_data): Likewise.
8170 (asin_towardzero_test_data): Likewise.
8171 (asin_downward_test_data): Likewise.
8172 (asin_upward_test_data): Likewise.
8173 (asinh_test_data): Likewise.
8174 (atan_test_data): Likewise.
8175 (atanh_test_data): Likewise.
8176 (atan2_test_data): Likewise.
8177 (cabs_test_data): Likewise.
8178 (cacos_test_data): Likewise.
8179 (cacosh_test_data): Likewise.
8180 (carg_test_data): Likewise.
8181 (casin_test_data): Likewise.
8182 (casinh_test_data): Likewise.
8183 (catan_test_data): Likewise.
8184 (catanh_test_data): Likewise.
8185 (cbrt_test_data): Likewise.
8186 (ccos_test_data): Likewise.
8187 (ccosh_test_data): Likewise.
8188 (ceil_test_data): Likewise.
8189 (cexp_test_data): Likewise.
8190 (cimag_test_data): Likewise.
8191 (clog_test_data): Likewise.
8192 (clog10_test_data): Likewise.
8193 (conj_test_data): Likewise.
8194 (copysign_test_data): Likewise.
8195 (cos_test_data): Likewise.
8196 (cos_tonearest_test_data): Likewise.
8197 (cos_towardzero_test_data): Likewise.
8198 (cos_downward_test_data): Likewise.
8199 (cos_upward_test_data): Likewise.
8200 (cosh_test_data): Likewise.
8201 (cosh_tonearest_test_data): Likewise.
8202 (cosh_towardzero_test_data): Likewise.
8203 (cosh_downward_test_data): Likewise.
8204 (cosh_upward_test_data): Likewise.
8205 (cpow_test_data): Likewise.
8206 (cproj_test_data): Likewise.
8207 (creal_test_data): Likewise.
8208 (csin_test_data): Likewise.
8209 (csinh_test_data): Likewise.
8210 (csqrt_test_data): Likewise.
8211 (ctan_test_data): Likewise.
8212 (ctan_tonearest_test_data): Likewise.
8213 (ctan_towardzero_test_data): Likewise.
8214 (ctan_downward_test_data): Likewise.
8215 (ctan_upward_test_data): Likewise.
8216 (ctanh_test_data): Likewise.
8217 (ctanh_tonearest_test_data): Likewise.
8218 (ctanh_towardzero_test_data): Likewise.
8219 (ctanh_downward_test_data): Likewise.
8220 (ctanh_upward_test_data): Likewise.
8221 (erf_test_data): Likewise.
8222 (erfc_test_data): Likewise.
8223 (exp_test_data): Likewise.
8224 (exp_tonearest_test_data): Likewise.
8225 (exp_towardzero_test_data): Likewise.
8226 (exp_downward_test_data): Likewise.
8227 (exp_upward_test_data): Likewise.
8228 (exp10_test_data): Likewise.
8229 (exp2_test_data): Likewise.
8230 (expm1_test_data): Likewise.
8231 (fabs_test_data): Likewise.
8232 (fdim_test_data): Likewise.
8233 (finite_test_data): Likewise.
8234 (floor_test_data): Likewise.
8235 (fma_test_data): Likewise.
8236 (fma_towardzero_test_data): Likewise.
8237 (fma_downward_test_data): Likewise.
8238 (fma_upward_test_data): Likewise.
8239 (fmax_test_data): Likewise.
8240 (fmin_test_data): Likewise.
8241 (fmod_test_data): Likewise.
8242 (fpclassify_test_data): Likewise.
8243 (frexp_test_data): Likewise.
8244 (gamma_test_data): Likewise.
8245 (hypot_test_data): Likewise.
8246 (ilogb_test_data): Likewise.
8247 (isfinite_test_data): Likewise.
8248 (isgreater_test_data): Likewise.
8249 (isgreaterequal_test_data): Likewise.
8250 (isinf_test_data): Likewise.
8251 (isless_test_data): Likewise.
8252 (islessequal_test_data): Likewise.
8253 (islessgreater_test_data): Likewise.
8254 (isnan_test_data): Likewise.
8255 (isnormal_test_data): Likewise.
8256 (issignaling_test_data): Likewise.
8257 (isunordered_test_data): Likewise.
8258 (j0_test_data): Likewise.
8259 (j1_test_data): Likewise.
8260 (jn_test_data): Likewise.
8261 (ldexp_test_data): Likewise.
8262 (lgamma_test_data): Likewise.
8263 (lrint_test_data): Likewise.
8264 (lrint_tonearest_test_data): Likewise.
8265 (lrint_towardzero_test_data): Likewise.
8266 (lrint_downward_test_data): Likewise.
8267 (lrint_upward_test_data): Likewise.
8268 (llrint_test_data): Likewise.
8269 (llrint_tonearest_test_data): Likewise.
8270 (llrint_towardzero_test_data): Likewise.
8271 (llrint_downward_test_data): Likewise.
8272 (llrint_upward_test_data): Likewise.
8273 (log_test_data): Likewise.
8274 (log10_test_data): Likewise.
8275 (log1p_test_data): Likewise.
8276 (log2_test_data): Likewise.
8277 (logb_test_data): Likewise.
8278 (logb_downward_test_data): Likewise.
8279 (lround_test_data): Likewise.
8280 (llround_test_data): Likewise.
8281 (modf_test_data): Likewise.
8282 (nearbyint_test_data): Likewise.
8283 (nextafter_test_data): Likewise.
8284 (nexttoward_test_data): Likewise.
8285 (pow_test_data): Likewise.
8286 (pow_tonearest_test_data): Likewise.
8287 (pow_towardzero_test_data): Likewise.
8288 (pow_downward_test_data): Likewise.
8289 (pow_upward_test_data): Likewise.
8290 (remainder_test_data): Likewise.
8291 (remainder_tonearest_test_data): Likewise.
8292 (remainder_towardzero_test_data): Likewise.
8293 (remainder_downward_test_data): Likewise.
8294 (remainder_upward_test_data): Likewise.
8295 (remquo_test_data): Likewise.
8296 (rint_test_data): Likewise.
8297 (rint_tonearest_test_data): Likewise.
8298 (rint_towardzero_test_data): Likewise.
8299 (rint_downward_test_data): Likewise.
8300 (rint_upward_test_data): Likewise.
8301 (round_test_data): Likewise.
8302 (scalb_test_data): Likewise.
8303 (scalbn_test_data): Likewise.
8304 (scalbln_test_data): Likewise.
8305 (signbit_test_data): Likewise.
8306 (sin_test_data): Likewise.
8307 (sin_tonearest_test_data): Likewise.
8308 (sin_towardzero_test_data): Likewise.
8309 (sin_downward_test_data): Likewise.
8310 (sin_upward_test_data): Likewise.
8311 (sincos_test_data): Likewise.
8312 (sinh_test_data): Likewise.
8313 (sinh_tonearest_test_data): Likewise.
8314 (sinh_towardzero_test_data): Likewise.
8315 (sinh_downward_test_data): Likewise.
8316 (sinh_upward_test_data): Likewise.
8317 (sqrt_test_data): Likewise.
8318 (tan_test_data): Likewise.
8319 (tan_tonearest_test_data): Likewise.
8320 (tan_towardzero_test_data): Likewise.
8321 (tan_downward_test_data): Likewise.
8322 (tan_upward_test_data): Likewise.
8323 (tanh_test_data): Likewise.
8324 (tgamma_test_data): Likewise.
8325 (trunc_test_data): Likewise.
8326 (y0_test_data): Likewise.
8327 (y1_test_data): Likewise.
8328 (yn_test_data): Likewise.
8329 (significand_test_data): Likewise.
8330
b679a606
JM
8331 * math/gen-libm-test.pl (@functions): Remove variable.
8332 (generate_testfile): Don't handle START and END lines.
8333 * math/libm-test.inc (START): New macro.
8334 (END): Likewise.
8335 (END_COMPLEX): Likewise.
8336 (acos_test): Use END macro without arguments.
8337 (acos_test_tonearest): Likewise.
8338 (acos_test_towardzero): Likewise.
8339 (acos_test_downward): Likewise.
8340 (acos_test_upward): Likewise.
8341 (acosh_test): Likewise.
8342 (asin_test): Likewise.
8343 (asin_test_tonearest): Likewise.
8344 (asin_test_towardzero): Likewise.
8345 (asin_test_downward): Likewise.
8346 (asin_test_upward): Likewise.
8347 (asinh_test): Likewise.
8348 (atan_test): Likewise.
8349 (atanh_test): Likewise.
8350 (atan2_test): Likewise.
8351 (cabs_test): Likewise.
8352 (cacos_test): Use END_COMPLEX macro without arguments.
8353 (cacosh_test): Likewise.
8354 (carg_test): Use END macro without arguments.
8355 (casin_test): Use END_COMPLEX macro without arguments.
8356 (casinh_test): Likewise.
8357 (catan_test): Likewise.
8358 (catanh_test): Likewise.
8359 (cbrt_test): Use END macro without arguments.
8360 (ccos_test): Use END_COMPLEX macro without arguments.
8361 (ccosh_test): Likewise.
8362 (ceil_test): Use END macro without arguments.
8363 (cexp_test): Use END_COMPLEX macro without arguments.
8364 (cimag_test): Use END macro without arguments.
8365 (clog_test): Use END_COMPLEX macro without arguments.
8366 (clog10_test): Likewise.
8367 (conj_test): Likewise.
8368 (copysign_test): Use END macro without arguments.
8369 (cos_test): Likewise.
8370 (cos_test_tonearest): Likewise.
8371 (cos_test_towardzero): Likewise.
8372 (cos_test_downward): Likewise.
8373 (cos_test_upward): Likewise.
8374 (cosh_test): Likewise.
8375 (cosh_test_tonearest): Likewise.
8376 (cosh_test_towardzero): Likewise.
8377 (cosh_test_downward): Likewise.
8378 (cosh_test_upward): Likewise.
8379 (cpow_test): Use END_COMPLEX macro without arguments.
8380 (cproj_test): Likewise.
8381 (creal_test): Use END macro without arguments.
8382 (csin_test): Use END_COMPLEX macro without arguments.
8383 (csinh_test): Likewise.
8384 (csqrt_test): Likewise.
8385 (ctan_test): Likewise.
8386 (ctan_test_tonearest): Likewise.
8387 (ctan_test_towardzero): Likewise.
8388 (ctan_test_downward): Likewise.
8389 (ctan_test_upward): Likewise.
8390 (ctanh_test): Likewise.
8391 (ctanh_test_tonearest): Likewise.
8392 (ctanh_test_towardzero): Likewise.
8393 (ctanh_test_downward): Likewise.
8394 (ctanh_test_upward): Likewise.
8395 (erf_test): Use END macro without arguments.
8396 (erfc_test): Likewise.
8397 (exp_test): Likewise.
8398 (exp_test_tonearest): Likewise.
8399 (exp_test_towardzero): Likewise.
8400 (exp_test_downward): Likewise.
8401 (exp_test_upward): Likewise.
8402 (exp10_test): Likewise.
8403 (exp2_test): Likewise.
8404 (expm1_test): Likewise.
8405 (fabs_test): Likewise.
8406 (fdim_test): Likewise.
8407 (finite_test): Likewise.
8408 (floor_test): Likewise.
8409 (fma_test): Likewise.
8410 (fma_test_towardzero): Likewise.
8411 (fma_test_downward): Likewise.
8412 (fma_test_upward): Likewise.
8413 (fmax_test): Likewise.
8414 (fmin_test): Likewise.
8415 (fmod_test): Likewise.
8416 (fpclassify_test): Likewise.
8417 (frexp_test): Likewise.
8418 (gamma_test): Likewise.
8419 (hypot_test): Likewise.
8420 (ilogb_test): Likewise.
8421 (isfinite_test): Likewise.
8422 (isgreater_test): Likewise.
8423 (isgreaterequal_test): Likewise.
8424 (isinf_test): Likewise.
8425 (isless_test): Likewise.
8426 (islessequal_test): Likewise.
8427 (islessgreater_test): Likewise.
8428 (isnan_test): Likewise.
8429 (isnormal_test): Likewise.
8430 (issignaling_test): Likewise.
8431 (isunordered_test): Likewise.
8432 (j0_test): Likewise.
8433 (j1_test): Likewise.
8434 (jn_test): Likewise.
8435 (ldexp_test): Likewise.
8436 (lgamma_test): Likewise.
8437 (lrint_test): Likewise.
8438 (lrint_test_tonearest): Likewise.
8439 (lrint_test_towardzero): Likewise.
8440 (lrint_test_downward): Likewise.
8441 (lrint_test_upward): Likewise.
8442 (llrint_test): Likewise.
8443 (llrint_test_tonearest): Likewise.
8444 (llrint_test_towardzero): Likewise.
8445 (llrint_test_downward): Likewise.
8446 (llrint_test_upward): Likewise.
8447 (log_test): Likewise.
8448 (log10_test): Likewise.
8449 (log1p_test): Likewise.
8450 (log2_test): Likewise.
8451 (logb_test): Likewise.
8452 (logb_test_downward): Likewise.
8453 (lround_test): Likewise.
8454 (llround_test): Likewise.
8455 (modf_test): Likewise.
8456 (nearbyint_test): Likewise.
8457 (nextafter_test): Likewise.
8458 (nexttoward_test): Likewise.
8459 (pow_test): Likewise.
8460 (pow_test_tonearest): Likewise.
8461 (pow_test_towardzero): Likewise.
8462 (pow_test_downward): Likewise.
8463 (pow_test_upward): Likewise.
8464 (remainder_test): Likewise.
8465 (remainder_test_tonearest): Likewise.
8466 (remainder_test_towardzero): Likewise.
8467 (remainder_test_downward): Likewise.
8468 (remainder_test_upward): Likewise.
8469 (remquo_test): Likewise.
8470 (rint_test): Likewise.
8471 (rint_test_tonearest): Likewise.
8472 (rint_test_towardzero): Likewise.
8473 (rint_test_downward): Likewise.
8474 (rint_test_upward): Likewise.
8475 (round_test): Likewise.
8476 (scalb_test): Likewise.
8477 (scalbn_test): Likewise.
8478 (scalbln_test): Likewise.
8479 (signbit_test): Likewise.
8480 (sin_test): Likewise.
8481 (sin_test_tonearest): Likewise.
8482 (sin_test_towardzero): Likewise.
8483 (sin_test_downward): Likewise.
8484 (sin_test_upward): Likewise.
8485 (sincos_test): Likewise.
8486 (sinh_test): Likewise.
8487 (sinh_test_tonearest): Likewise.
8488 (sinh_test_towardzero): Likewise.
8489 (sinh_test_downward): Likewise.
8490 (sinh_test_upward): Likewise.
8491 (sqrt_test): Likewise.
8492 (tan_test): Likewise.
8493 (tan_test_tonearest): Likewise.
8494 (tan_test_towardzero): Likewise.
8495 (tan_test_downward): Likewise.
8496 (tan_test_upward): Likewise.
8497 (tanh_test): Likewise.
8498 (tgamma_test): Likewise.
8499 (trunc_test): Likewise.
8500 (y0_test): Likewise.
8501 (y1_test): Likewise.
8502 (yn_test): Likewise.
8503 (significand_test): Likewise.
8504
bae143d2
OB
85052013-05-24 Ondřej Bílka <neleai@seznam.cz>
8506
8507 [BZ #15381]
8508 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8509
9323d39b
EM
85102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8511
d4ea44a0 8512 [BZ #14894]
9323d39b
EM
8513 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8514 __ppc_mdoio and __ppc_mdoom.
8515 * manual/platform.texi: Document new functions __ppc_yield,
8516 __ppc_mdoio and __ppc_mdoom.
8517
13e23af7
CD
85182013-05-22 Carlos O'Donell <carlos@redhat.com>
8519
8520 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8521 (main): Mention "tls" pseudo-hwcap is legacy.
8522 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8523
351fe550
JM
85242013-05-22 Joseph Myers <joseph@codesourcery.com>
8525
8526 * math/gen-libm-test.pl (parse_args): Output only string of
8527 arguments as text for test name, not full call or descriptions of
8528 tests for extra outputs.
8529 (generate_testfile): Do not pass function name to parse_args.
8530 Generate this_func variable from START.
8531 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8532 field to arg_str.
8533 (struct test_ff_f_data): Likewise.
8534 (test_ff_f_data_nexttoward): Likewise.
8535 (struct test_fi_f_data): Likewise.
8536 (struct test_fl_f_data): Likewise.
8537 (struct test_if_f_data): Likewise.
8538 (struct test_fff_f_data): Likewise.
8539 (struct test_c_f_data): Likewise.
8540 (struct test_f_f1_data): Likewise. Remove field extra_name.
8541 (struct test_fF_f1_data): Likewise.
8542 (struct test_ffI_f1_data): Likewise.
8543 (struct test_c_c_data): Rename test_name field to arg_str.
8544 (struct test_cc_c_data): Likewise.
8545 (struct test_f_i_data): Likewise.
8546 (struct test_ff_i_data): Likewise.
8547 (struct test_f_l_data): Likewise.
8548 (struct test_f_L_data): Likewise.
8549 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8550 and extra2_name.
8551 (COMMON_TEST_SETUP): New macro.
8552 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8553 (COMMON_TEST_CLEANUP): Likewise.
8554 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8555 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8556 macros.
8557 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8558 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8559 macros.
8560 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8561 (RUN_TEST_fff_f): Take argument string. Call new setup and
8562 cleanup macros.
8563 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8564 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8565 macros.
8566 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8567 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8568 macros.
8569 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8570 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8571 cleanup macros.
8572 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8573 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8574 cleanup macros.
8575 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8576 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8577 cleanup macros.
8578 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8579 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8580 macros.
8581 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8582 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8583 macros.
8584 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8585 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8586 macros.
8587 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8588 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8589 cleanup macros.
8590 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8591 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8592 cleanup macros.
8593 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8594 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8595 macros.
8596 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8597 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8598 cleanup macros.
8599 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8600 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8601 macros.
8602 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8603 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8604 macros.
8605 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8606 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8607 cleanup macros.
8608 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8609
85118d4d
EBM
86102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8611
8612 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8613 to _sifields.sigfault.
8614 (si_addr_lsb): Define new macro.
8615 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8616 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8618
7a44c18f
CD
86192013-05-03 Carlos O'Donell <carlos at redhat.com>
8620
8621 [BZ #15441]
8622 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8623 returns -1.
8624 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8625 null return -1.
8626 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8627 loading the domain.
8628
b50a7181
JM
86292013-05-22 Joseph Myers <joseph@codesourcery.com>
8630
8631 * math/gen-libm-test.pl (parse_args): Do not include expected
8632 result in test name.
8633 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8634 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8635 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8636 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8637 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8639
051063c8
SP
86402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8641
3ce9e010
SP
8642 * benchtests/Makefile: Sort function entries.
8643
051063c8
SP
8644 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8645 tanh, asinh, acosh, atanh.
8646 * benchtests/acos-inputs: New file.
8647 * benchtests/acosh-inputs: New file.
8648 * benchtests/asin-inputs: New file.
8649 * benchtests/asinh-inputs: New file.
8650 * benchtests/atanh-inputs: New file.
8651 * benchtests/cosh-inputs: New file.
8652 * benchtests/log-inputs: New file.
8653 * benchtests/sinh-inputs: New file.
8654 * benchtests/tanh-inputs: New file.
8655
47c22455
DL
86562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8657
8658 [BZ #15339]
8659 * posix/tst-getaddrinfo4.c: New test.
8660 * posix/Makefile (tests): Add it.
8661
3d04f5db
SP
86622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8663
8664 [BZ #15339]
8665 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8666 when no services were used.
8667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8668 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8669
d5dd6189
AS
86702013-05-21 Andreas Schwab <schwab@suse.de>
8671
8672 [BZ #15014]
8673 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8674 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8675 successful.
8676 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8677 redundant variable declarations and reallocation of buffer when
8678 parsing as IPv6 address. Always set NSS status when called from
8679 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8680 buffer too small. Correct computation of needed size.
8681 * nss/Makefile (tests): Add test-digits-dots.
8682 * nss/test-digits-dots.c: New test.
8683
fef94eab
SP
86842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8685
8686 * benchtests/Makefile: Remove instructions for adding
8687 benchmark tests.
8688 * benchtests/README: New file to explain how to execute and
8689 enhance the benchmark tests.
8690
e39adf43
AS
86912013-05-21 Andreas Schwab <schwab@suse.de>
8692
8693 [BZ #15493]
8694 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8695 * setjmp/tst-sigsetjmp.c: New test.
8696
b2b671b6
OB
86972013-05-20 Ondřej Bílka <neleai@seznam.cz>
8698
8699 * sysdeps/x86_64/memset.S (memset): New implementation.
8700 (__bzero): Likewise.
8701 (__memset_tail): New function.
8702
2d48b41c
OB
87032013-05-20 Ondřej Bílka <neleai@seznam.cz>
8704
8705 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8706 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8707 __memcpy_sse2_unaligned ifunc selection.
8708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8709 Add memcpy-sse2-unaligned.S.
8710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8711 Add: __memcpy_sse2_unaligned.
8712
f16cc3eb
JM
87132013-05-19 Joseph Myers <joseph@codesourcery.com>
8714
3e694268
JM
8715 [BZ #15490]
8716 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8717 math_force_eval before restoring floating-point envrionment.
8718 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8720 Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8722 <math_private.h>.
8723 (__nearbyintl): Use math_force_eval before restoring
8724 floating-point environment.
8725 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8726
db62a907
JM
8727 * math/gen-libm-test.pl (special_functions): Remove.
8728 (parse_args): Don't handle TEST_extra. Handle functions with no
8729 return value.
8730 * math/libm-test.inc (struct test_sincos_data): Replace with
8731 struct test_fFF_11_data.
8732 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8733 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8734 (sincos_test_data): Change element type to struct
8735 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8736 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8737 RUN_TEST_LOOP_sincos.
8738 * math/README.libm-test: Don't mention special handling of
8739 individual functions.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8742 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8743 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8744 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746
f16cc3eb
JM
8747 * math/gen-libm-test.pl (get_variable): Remove function.
8748 (parse_args): Don't show pointer parameters to call in test
8749 names. Use "extra output N" in test names for extra outputs
8750 rather than naming variables.
8751
3779b5b6
JM
87522013-05-18 Joseph Myers <joseph@codesourcery.com>
8753
2ee094ff
JM
8754 [BZ #15488]
8755 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8756 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8757 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8758 double tests.
8759 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8760 disable.
8761 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8762 check_long_double.
8763
3779b5b6
JM
8764 * math/gen-libm-test.pl (@tests): Remove variable.
8765 ($count): Likewise.
8766 (new_test): Remove function.
8767 (show_exceptions): New function.
8768 (special_functions): Use show_exceptions instead of new_test.
8769 (parse_args): Likewise.
8770 (generate_testfile): Pass only function name in generated call to
8771 print_max_error or print_complex_max_error.
8772 (get_ulps): Do not handle complex tests specially.
8773 (output_test): Rename to ...
8774 (get_all_ulps_for_test): ... this. Return a string rather than
8775 printing to a file. Require ulps to be present.
8776 (output_ulps): Generate arrays rather than #defines.
8777 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8778 (struct ulp_data): New type.
8779 (BUILD_COMPLEX_ULP): Remove macro.
8780 (compare_ulp_data): New function.
8781 (find_ulps): Likewise.
8782 (find_test_ulps): Likewise.
8783 (find_function_ulps): Likewise.
8784 (find_complex_function_ulps): Likewise.
8785 (print_max_error): Determine allowed ulps using
8786 find_function_ulps.
8787 (print_complex_max_error): Determine allowed ulps using
8788 find_complex_function_ulps.
8789 (check_float_internal): Determine max ulps using find_test_ulps.
8790 (check_float): Do not take max_ulp parameter. Update call to
8791 check_float_internal.
8792 (check_complex): Likewise.
8793 (check_int): Do not take max_ulp parameter.
8794 (check_long): Likewise.
8795 (check_bool): Likewise.
8796 (check_longlong): Likewise.
8797 (struct test_f_f_data): Remove max_ulp field.
8798 (struct test_ff_f_data): Likewise.
8799 (struct test_ff_f_data_nexttoward): Likewise.
8800 (struct test_fi_f_data): Likewise.
8801 (struct test_fl_f_data): Likewise.
8802 (struct test_if_f_data): Likewise.
8803 (struct test_fff_f_data): Likewise.
8804 (struct test_c_f_data): Likewise.
8805 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8806 (struct test_fF_f1_data): Likewise.
8807 (struct test_ffI_f1_data): Likewise.
8808 (struct test_c_c_data): Remove max_ulp field.
8809 (struct test_cc_c_data): Likewise.
8810 (struct test_f_i_data): Likewise.
8811 (struct test_ff_i_data): Likewise.
8812 (struct test_f_l_data): Likewise.
8813 (struct test_f_L_data): Likewise.
8814 (struct test_sincos_data): Likewise.
8815 (RUN_TEST_f_f): Do not handle ulps.
8816 (RUN_TEST_LOOP_f_f): Likewise.
8817 (RUN_TEST_2_f): Likewise.
8818 (RUN_TEST_LOOP_2_f): Likewise.
8819 (RUN_TEST_fff_f): Likewise.
8820 (RUN_TEST_LOOP_fff_f): Likewise.
8821 (RUN_TEST_c_f): Likewise.
8822 (RUN_TEST_LOOP_c_f): Likewise.
8823 (RUN_TEST_f_f1): Likewise.
8824 (RUN_TEST_LOOP_f_f1): Likewise.
8825 (RUN_TEST_fF_f1): Likewise.
8826 (RUN_TEST_LOOP_fF_f1): Likewise.
8827 (RUN_TEST_fI_f1): Likewise.
8828 (RUN_TEST_LOOP_fI_f1): Likewise.
8829 (RUN_TEST_ffI_f1): Likewise.
8830 (RUN_TEST_LOOP_ffI_f1): Likewise.
8831 (RUN_TEST_c_c): Likewise.
8832 (RUN_TEST_LOOP_c_c): Likewise.
8833 (RUN_TEST_cc_c): Likewise.
8834 (RUN_TEST_LOOP_cc_c): Likewise.
8835 (RUN_TEST_f_i): Likewise.
8836 (RUN_TEST_LOOP_f_i): Likewise.
8837 (RUN_TEST_f_i_tg): Likewise.
8838 (RUN_TEST_LOOP_f_i_tg): Likewise.
8839 (RUN_TEST_ff_i_tg): Likewise.
8840 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8841 (RUN_TEST_f_b): Likewise.
8842 (RUN_TEST_LOOP_f_b): Likewise.
8843 (RUN_TEST_f_b_tg): Likewise.
8844 (RUN_TEST_LOOP_f_b_tg): Likewise.
8845 (RUN_TEST_f_l): Likewise.
8846 (RUN_TEST_LOOP_f_l): Likewise.
8847 (RUN_TEST_f_L): Likewise.
8848 (RUN_TEST_LOOP_f_L): Likewise.
8849 (RUN_TEST_sincos): Likewise.
8850 (RUN_TEST_LOOP_sincos): Likewise.
8851
8269107f
JM
88522013-05-17 Joseph Myers <joseph@codesourcery.com>
8853
bb38759d
JM
8854 [BZ #15480]
8855 [BZ #15485]
8856 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8857 main case of finite arguments, set rounding mode to FE_TONEAREST
8858 and discard exceptions.
8859 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8860 exceptions.
8861 (remainder_tonearest_test_data): New variable.
8862 (remainder_test_tonearest): New function.
8863 (remainder_towardzero_test_data): New variable.
8864 (remainder_test_towardzero): New function.
8865 (remainder_downward_test_data): New variable.
8866 (remainder_test_downward): New function.
8867 (remainder_upward_test_data): New variable.
8868 (remainder_test_upward): New function.
8869 (main): Call the new test functions.
8870
a00bdcf0
JM
8871 * math/libm-test.inc (struct test_f_f1_data): Remove field
8872 extra_init.
8873 (struct test_fF_f1_data): Likewise.
8874 (struct test_ffI_f1_data): Likewise.
8875 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8876 based on value of EXTRA_EXPECTED.
8877 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8878 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8879 EXTRA_VAR based on value of EXTRA_EXPECTED.
8880 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8881 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8882 EXTRA_VAR based on value of EXTRA_EXPECTED.
8883 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8884 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8885 EXTRA_VAR based on value of EXTRA_EXPECTED.
8886 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8887 * math/gen-libm-test.pl (parse_args): Don't output initializers
8888 for extra output values.
8889
de407f79
JM
8890 * math/libm-test.inc (check_int): Expect result to be exactly
8891 equal to expected value and do not handle ulps.
8892 (check_long): Likewise.
8893 (check_longlong): Likewise.
8894
8269107f
JM
8895 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8896 exceptions.
8897 (cimag_test_data): Likewise.
8898 (conj_test_data): Likewise.
8899 (copysign_test_data): Likewise.
8900 (cproj_test_data): Likewise.
8901 (creal_test_data): Likewise.
8902 (fabs_test_data): Likewise.
8903 (fdim_test_data): Likewise.
8904 (finite_test_data): Likewise.
8905 (floor_test_data): Likewise.
8906 (fmax_test_data): Likewise.
8907 (fmin_test_data): Likewise.
8908 (fmod_test_data): Likewise.
8909 (fpclassify_test_data): Likewise.
8910 (frexp_test_data): Likewise.
8911 (ilogb_test_data): Likewise.
8912 (isfinite_test_data): Likewise.
8913 (isgreater_test_data): Likewise.
8914 (isgreaterequal_test_data): Likewise.
8915 (isinf_test_data): Likewise.
8916 (isless_test_data): Likewise.
8917 (islessequal_test_data): Likewise.
8918 (islessgreater_test_data): Likewise.
8919 (isnan_test_data): Likewise.
8920 (isnormal_test_data): Likewise.
8921 (issignaling_test_data): Likewise.
8922 (isunordered_test_data): Likewise.
8923 (ldexp_test_data): Likewise.
8924 (lrint_test_data): Likewise.
8925 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8926 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8927 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8928 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8929 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8930 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8931 test input.
8932 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8933 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8934 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8935 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8936 that test input.
8937 (lrint_downward_test_data): Test for "inexact" exceptions.
8938 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8939 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8940 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8941 test input.
8942 (lrint_upward_test_data): Test for "inexact" exceptions.
8943 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8944 test input.
8945 (llrint_test_data): Test for "inexact" exceptions.
8946 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8947 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8948 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8949 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8950 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8951 (llrint_downward_test_data): Test for "inexact" exceptions.
8952 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8953 (llrint_upward_test_data): Test for "inexact" exceptions.
8954 (logb_test_data): Likewise.
8955 (logb_downward_test_data): Likewise.
8956 (nextafter_test_data): Likewise.
8957 (nexttoward_test_data): Likewise.
8958 (remainder_test_data): Likewise.
8959 (remquo_test_data): Likewise.
8960 (scalbn_test_data): Likewise.
8961 (scalbln_test_data): Likewise.
8962 (signbit_test_data): Likewise.
8963 (sqrt_test_data): Likewise.
8964 (significand_test_data): Likewise.
8965
48a18de1
SP
89662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8967
8968 [BZ #15424]
8969 * benchtests/bench-modf.c (struct args): Mark arg0 as
8970 volatile.
8971 * scripts/bench.pl: Mark members of struct args as volatile.
8972
13d3b41a
AZ
89732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8974
68191c1d 8975 [BZ # 15497]
13d3b41a
AZ
8976 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8977 negative infinity on POWER6 or lower.
8978 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8979
2848b105
MR
89802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8981
8982 [BZ #15442]
8983 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8984 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8985 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8986 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8987 (_FP_SETQNAN): New macro.
8988 (_FP_SETQNAN_SEMIRAW): Likewise.
8989 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8990 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8991 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8992 (FP_EXTEND): Use _FP_FRAC_SNANP.
8993 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8994 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8995 into account.
8996 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8997 New macro.
8998 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8999 Likewise.
9000
323e5cb7
JM
90012013-05-16 Joseph Myers <joseph@codesourcery.com>
9002
c58b274f
JM
9003 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9004 with DIVIDE_BY_ZERO_EXCEPTION.
9005 (gamma_test_data): Likewise.
9006 (lgamma_test_data): Likewise.
9007 (log_test_data): Likewise.
9008 (log10_test_data): Likewise.
9009 (log2_test_data): Likewise.
9010 (tgamma_test_data): Likewise.
9011
0ab34904
JM
9012 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9013 (acos_test_tonearest): Likewise.
9014 (acos_test_towardzero): Likewise.
9015 (acos_test_downward): Likewise.
9016 (acos_test_upward): Likewise.
9017 (acosh_test): Likewise.
9018 (asin_test): Likewise.
9019 (asin_test_tonearest): Likewise.
9020 (asin_test_towardzero): Likewise.
9021 (asin_test_downward): Likewise.
9022 (asin_test_upward): Likewise.
9023 (asinh_test): Likewise.
9024 (atan_test): Likewise.
9025 (atanh_test): Likewise.
9026 (atan2_test): Likewise.
9027 (cabs_test): Likewise.
9028 (cacos_test): Likewise.
9029 (cacosh_test): Likewise.
9030 (casin_test): Likewise.
9031 (casinh_test): Likewise.
9032 (catan_test): Likewise.
9033 (catanh_test): Likewise.
9034 (cbrt_test): Likewise.
9035 (ccos_test): Likewise.
9036 (ccosh_test): Likewise.
9037 (cexp_test): Likewise.
9038 (clog_test): Likewise.
9039 (clog10_test): Likewise.
9040 (cos_test): Likewise.
9041 (cos_test_tonearest): Likewise.
9042 (cos_test_towardzero): Likewise.
9043 (cos_test_downward): Likewise.
9044 (cos_test_upward): Likewise.
9045 (cosh_test): Likewise.
9046 (cosh_test_tonearest): Likewise.
9047 (cosh_test_towardzero): Likewise.
9048 (cosh_test_downward): Likewise.
9049 (cosh_test_upward): Likewise.
9050 (cpow_test): Likewise.
9051 (csin_test): Likewise.
9052 (csinh_test): Likewise.
9053 (csqrt_test): Likewise.
9054 (ctan_test): Likewise.
9055 (ctan_test_tonearest): Likewise.
9056 (ctan_test_towardzero): Likewise.
9057 (ctan_test_downward): Likewise.
9058 (ctan_test_upward): Likewise.
9059 (ctanh_test): Likewise.
9060 (ctanh_test_tonearest): Likewise.
9061 (ctanh_test_towardzero): Likewise.
9062 (ctanh_test_downward): Likewise.
9063 (ctanh_test_upward): Likewise.
9064 (erf_test): Likewise.
9065 (erfc_test): Likewise.
9066 (exp_test): Likewise.
9067 (exp_test_tonearest): Likewise.
9068 (exp_test_towardzero): Likewise.
9069 (exp_test_downward): Likewise.
9070 (exp_test_upward): Likewise.
9071 (exp10_test): Likewise.
9072 (exp2_test): Likewise.
9073 (expm1_test): Likewise.
9074 (fmod_test): Likewise.
9075 (gamma_test): Likewise.
9076 (hypot_test): Likewise.
9077 (j0_test): Likewise.
9078 (j1_test): Likewise.
9079 (jn_test): Likewise.
9080 (lgamma_test): Likewise.
9081 (log_test): Likewise.
9082 (log10_test): Likewise.
9083 (log1p_test): Likewise.
9084 (log2_test): Likewise.
9085 (logb_test_downward): Likewise.
9086 (pow_test): Likewise.
9087 (pow_test_tonearest): Likewise.
9088 (pow_test_towardzero): Likewise.
9089 (pow_test_downward): Likewise.
9090 (pow_test_upward): Likewise.
9091 (remainder_test): Likewise.
9092 (remquo_test): Likewise.
9093 (sin_test): Likewise.
9094 (sin_test_tonearest): Likewise.
9095 (sin_test_towardzero): Likewise.
9096 (sin_test_downward): Likewise.
9097 (sin_test_upward): Likewise.
9098 (sincos_test): Likewise.
9099 (sinh_test): Likewise.
9100 (sinh_test_tonearest): Likewise.
9101 (sinh_test_towardzero): Likewise.
9102 (sinh_test_downward): Likewise.
9103 (sinh_test_upward): Likewise.
9104 (sqrt_test): Likewise.
9105 (tan_test): Likewise.
9106 (tan_test_tonearest): Likewise.
9107 (tan_test_towardzero): Likewise.
9108 (tan_test_downward): Likewise.
9109 (tan_test_upward): Likewise.
9110 (tanh_test): Likewise.
9111 (tgamma_test): Likewise.
9112 (y0_test): Likewise.
9113 (y1_test): Likewise.
9114 (yn_test): Likewise.
9115
323e5cb7
JM
9116 * math/gen-libm-test.pl (adjust_arg): Remove function.
9117 (special_function): Remove argument $in_func. Only handle
9118 generating output for tables of tests, not inside functions.
9119 (parse_args): Likewise.
9120 (generate_testfile): Remove variable $in_func. Update call to
9121 parse_args.
9122 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9123 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9124 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9125 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9126 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9127 (MAX_VALUE_INIT): Rename macro to max_value.
9128 (MIN_VALUE_INIT): Rename macro to min_value.
9129 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9130 (plus_zero): Remove variable.
9131 (minus_zero): Likewise.
9132 (plus_infty): Likewise.
9133 (minus_infty): Likewise.
9134 (qnan_value): Likewise.
9135 (max_value): Likewise.
9136 (min_value): Likewise.
9137 (min_subnorm_value): Likewise.
9138
e054f494
RA
91392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9140
9141 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9142 uint64_t or uint32_t usage.
9143 * crypt/sha256-block.c: Likewise.
9144 * crypt/sha256-crypt.c: Likewise.
9145 * crypt/sha256.c: Likewise.
9146 * crypt/sha512-block.c: Likewise.
9147 * crypt/sha512-crypt.c: Likewise.
9148 * crypt/sha512.c: Likewise.
9149 * debug/backtrace-tst.c: Likewise.
9150 * debug/pcprofiledump.c: Likewise.
9151 * elf/cache.c: Likewise.
9152 * elf/dl-cache.c: Likewise.
9153 * elf/dl-misc.c: Likewise.
9154 * elf/dl-profile.c: Likewise.
9155 * elf/dl-support.c: Likewise.
9156 * elf/ldconfig.c: Likewise.
9157 * elf/sprof.c: Likewise.
9158 * iconv/dummy-repertoire.c: Likewise.
9159 * iconv/iconv_charmap.c: Likewise.
9160 * iconv/skeleton.c: Likewise.
9161 * iconvdata/8bit-generic.c: Likewise.
9162 * iconvdata/cp737.h: Likewise.
9163 * iconvdata/cp775.h: Likewise.
9164 * iconvdata/ibm1008.h: Likewise.
9165 * iconvdata/ibm1025.h: Likewise.
9166 * iconvdata/ibm1046.h: Likewise.
9167 * iconvdata/ibm1097.h: Likewise.
9168 * iconvdata/ibm1112.h: Likewise.
9169 * iconvdata/ibm1122.h: Likewise.
9170 * iconvdata/ibm1123.h: Likewise.
9171 * iconvdata/ibm1124.h: Likewise.
9172 * iconvdata/ibm1129.h: Likewise.
9173 * iconvdata/ibm1130.h: Likewise.
9174 * iconvdata/ibm1132.h: Likewise.
9175 * iconvdata/ibm1133.h: Likewise.
9176 * iconvdata/ibm1137.h: Likewise.
9177 * iconvdata/ibm1140.h: Likewise.
9178 * iconvdata/ibm1141.h: Likewise.
9179 * iconvdata/ibm1142.h: Likewise.
9180 * iconvdata/ibm1143.h: Likewise.
9181 * iconvdata/ibm1144.h: Likewise.
9182 * iconvdata/ibm1145.h: Likewise.
9183 * iconvdata/ibm1146.h: Likewise.
9184 * iconvdata/ibm1147.h: Likewise.
9185 * iconvdata/ibm1148.h: Likewise.
9186 * iconvdata/ibm1149.h: Likewise.
9187 * iconvdata/ibm1153.h: Likewise.
9188 * iconvdata/ibm1154.h: Likewise.
9189 * iconvdata/ibm1155.h: Likewise.
9190 * iconvdata/ibm1156.h: Likewise.
9191 * iconvdata/ibm1157.h: Likewise.
9192 * iconvdata/ibm1158.h: Likewise.
9193 * iconvdata/ibm1160.h: Likewise.
9194 * iconvdata/ibm1161.h: Likewise.
9195 * iconvdata/ibm1162.h: Likewise.
9196 * iconvdata/ibm1163.h: Likewise.
9197 * iconvdata/ibm1164.h: Likewise.
9198 * iconvdata/ibm1166.h: Likewise.
9199 * iconvdata/ibm1167.h: Likewise.
9200 * iconvdata/ibm12712.h: Likewise.
9201 * iconvdata/ibm1390.h: Likewise.
9202 * iconvdata/ibm1399.h: Likewise.
9203 * iconvdata/ibm16804.h: Likewise.
9204 * iconvdata/ibm4517.h: Likewise.
9205 * iconvdata/ibm4899.h: Likewise.
9206 * iconvdata/ibm4909.h: Likewise.
9207 * iconvdata/ibm4971.h: Likewise.
9208 * iconvdata/ibm5347.h: Likewise.
9209 * iconvdata/ibm803.h: Likewise.
9210 * iconvdata/ibm856.h: Likewise.
9211 * iconvdata/ibm901.h: Likewise.
9212 * iconvdata/ibm902.h: Likewise.
9213 * iconvdata/ibm9030.h: Likewise.
9214 * iconvdata/ibm9066.h: Likewise.
9215 * iconvdata/ibm921.h: Likewise.
9216 * iconvdata/ibm922.h: Likewise.
9217 * iconvdata/ibm9448.h: Likewise.
9218 * iconvdata/isiri-3342.h: Likewise.
9219 * iconvdata/jis0201.h: Likewise.
9220 * include/link.h: Likewise.
9221 * include/netdb.h: Likewise.
9222 * inet/check_native.c: Likewise.
9223 * inet/check_pf.c: Likewise.
9224 * inet/getipv4sourcefilter.c: Likewise.
9225 * inet/getnameinfo.c: Likewise.
9226 * inet/getsourcefilter.c: Likewise.
9227 * inet/htonl.c: Likewise.
9228 * inet/setipv4sourcefilter.c: Likewise.
9229 * inet/setsourcefilter.c: Likewise.
9230 * inet/test-inet6_opt.c: Likewise.
9231 * inet/tst-network.c: Likewise.
9232 * locale/C-collate.c: Likewise.
9233 * locale/C-ctype.c: Likewise.
9234 * locale/C-time.c: Likewise.
9235 * locale/C-translit.h: Likewise.
9236 * locale/loadarchive.c: Likewise.
9237 * locale/programs/3level.h: Likewise.
9238 * locale/programs/charmap.c: Likewise.
9239 * locale/programs/charmap.h: Likewise.
9240 * locale/programs/ld-address.c: Likewise.
9241 * locale/programs/ld-collate.c: Likewise.
9242 * locale/programs/ld-ctype.c: Likewise.
9243 * locale/programs/ld-identification.c: Likewise.
9244 * locale/programs/ld-measurement.c: Likewise.
9245 * locale/programs/ld-messages.c: Likewise.
9246 * locale/programs/ld-monetary.c: Likewise.
9247 * locale/programs/ld-name.c: Likewise.
9248 * locale/programs/ld-numeric.c: Likewise.
9249 * locale/programs/ld-paper.c: Likewise.
9250 * locale/programs/ld-telephone.c: Likewise.
9251 * locale/programs/ld-time.c: Likewise.
9252 * locale/programs/linereader.c: Likewise.
9253 * locale/programs/locale.c: Likewise.
9254 * locale/programs/locarchive.c: Likewise.
9255 * locale/programs/locfile.h: Likewise.
9256 * locale/programs/repertoire.c: Likewise.
9257 * locale/programs/simple-hash.c: Likewise.
9258 * locale/programs/simple-hash.h: Likewise.
9259 * malloc/memusage.c: Likewise.
9260 * malloc/memusagestat.c: Likewise.
9261 * nis/nis_defaults.c: Likewise.
9262 * nis/nis_hash.c: Likewise.
9263 * nis/nis_print.c: Likewise.
9264 * nis/nis_xdr.c: Likewise.
9265 * nscd/connections.c: Likewise.
9266 * nscd/hstcache.c: Likewise.
9267 * nscd/nscd_gethst_r.c: Likewise.
9268 * nscd/nscd_getserv_r.c: Likewise.
9269 * nscd/nscd_helper.c: Likewise.
9270 * nscd/servicescache.c: Likewise.
9271 * nss/makedb.c: Likewise.
9272 * nss/nss_db/db-XXX.c: Likewise.
9273 * nss/nss_db/db-initgroups.c: Likewise.
9274 * nss/nss_db/db-netgrp.c: Likewise.
9275 * nss/nss_files/files-network.c: Likewise.
9276 * nss/nss_files/files-parse.c: Likewise.
9277 * posix/bug-regex5.c: Likewise.
9278 * posix/fnmatch_loop.c: Likewise.
9279 * posix/regcomp.c: Likewise.
9280 * posix/regexec.c: Likewise.
9281 * posix/tst-rfc3484-2.c: Likewise.
9282 * posix/tst-rfc3484-3.c: Likewise.
9283 * posix/tst-rfc3484.c: Likewise.
9284 * resolv/nss_dns/dns-canon.c: Likewise.
9285 * resolv/nss_dns/dns-network.c: Likewise.
9286 * resolv/res_init.c: Likewise.
9287 * resolv/res_mkquery.c: Likewise.
9288 * resolv/tst-aton.c: Likewise.
9289 * stdlib/cxa_atexit.c: Likewise.
9290 * stdlib/cxa_finalize.c: Likewise.
9291 * stdlib/gen-fpioconst.c: Likewise.
9292 * stdlib/strtol_l.c: Likewise.
9293 * string/tst-endian.c: Likewise.
9294 * sunrpc/auth_des.c: Likewise.
9295 * sunrpc/clnt_udp.c: Likewise.
9296 * sunrpc/rtime.c: Likewise.
9297 * sunrpc/svcauth_des.c: Likewise.
9298 * sunrpc/xdr.c: Likewise.
9299 * sunrpc/xdr_intXX_t.c: Likewise.
9300 * sunrpc/xdr_rec.c: Likewise.
9301 * sysdeps/generic/ldconfig.h: Likewise.
9302 * sysdeps/generic/ldsodefs.h: Likewise.
9303 * sysdeps/generic/memusage.h: Likewise.
9304 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9314 * sysdeps/posix/getaddrinfo.c: Likewise.
9315 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9317 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9319 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9320 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9321 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9322 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9323 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9324 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9325 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9326 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9327 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9328 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9329 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9330 * sysdeps/x86_64/dl-tls.h: Likewise.
9331 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9332 * time/alt_digit.c: Likewise.
9333 * time/era.c: Likewise.
9334 * wcsmbs/tst-c16c32-1.c: Likewise.
9335
8c75f674
JM
93362013-05-16 Joseph Myers <joseph@codesourcery.com>
9337
9338 * math/libm-test.inc (struct test_sincos_data): New type.
9339 (RUN_TEST_LOOP_sincos): New macro.
9340 (sincos_test_data): New variable.
9341 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9342
e6e49e59
RH
93432013-05-16 Richard Henderson <rth@redhat.com>
9344
9345 * math/atest-exp2.c (LIMB64): New macro.
9346 (CONSTSZ): New macro.
9347 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9348 (hexdig): Move ...
9349 (print_mpn_fp): ... to function scope.
9350 (read_mpn_hex): Remove.
9351 (get_log2): Remove.
9352 (exp2_mpn): Use mp_log2.
9353 (main): Use mp_exp1.
9354
15c7c18d
JM
93552013-05-16 Joseph Myers <joseph@codesourcery.com>
9356
105a07df
JM
9357 * math/libm-test.inc: Remove comment about not testing "inexact"
9358 exceptions.
9359 (INEXACT_EXCEPTION): New macro.
9360 (NO_INEXACT_EXCEPTION): Likewise.
9361 (INVALID_EXCEPTION_OK): Update value.
9362 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9363 (OVERFLOW_EXCEPTION_OK): Likewise.
9364 (UNDERFLOW_EXCEPTION_OK): Likewise.
9365 (IGNORE_ZERO_INF_SIGN): Likewise.
9366 (ERRNO_UNCHANGED): Likewise.
9367 (ERRNO_EDOM): Likewise.
9368 (ERRNO_ERANGE): Likewise.
9369 (test_exceptions): Handle testing "inexact" exceptions.
9370 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9371 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9372 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9373 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9374 INEXACT_EXCEPTION.
9375 (rint_towardzero_test_data): Likewise.
9376 (rint_downward_test_data): Likewise.
9377 (rint_upward_test_data): Likewise.
9378
e9eee333
JM
9379 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9380 with OVERFLOW_EXCEPTION.
9381 (exp10_test_data): Likewise.
9382 (exp2_test_data): Likewise.
9383 (expm1_test_data): Likewise.
9384 (lgamma_test_data): Likewise.
9385 (pow_test_data): Likewise.
9386 (tgamma_test_data): Likewise.
9387 (yn_test_data): Remove duplicate test of overflow.
9388
1c38ff73
JM
9389 * math/libm-test.inc (struct test_cc_c_data): New type.
9390 (RUN_TEST_LOOP_cc_c): New macro.
9391 (cpow_test_data): New variable.
9392 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9393
15c7c18d
JM
9394 * math/libm-test.inc (struct test_f_L_data): New type.
9395 (RUN_TEST_LOOP_f_L): New macro.
9396 (llrint_test_data): New variable.
9397 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9398 (llrint_tonearest_test_data): New variable.
9399 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9400 (llrint_towardzero_test_data): New variable.
9401 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9402 (llrint_downward_test_data): New variable.
9403 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9404 (llrint_upward_test_data): New variable.
9405 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9406 (llround_test_data): New variable.
9407 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9408
f137ff13
PC
94092013-05-13 Peter Collingbourne <pcc@google.com>
9410
9411 * math/atest-exp2.c (get_log2): Remove const attribute.
9412
3608cb24
JM
94132013-05-15 Joseph Myers <joseph@codesourcery.com>
9414
9415 * math/libm-test.inc (struct test_f_l_data): New type.
9416 (RUN_TEST_LOOP_f_l): New macro.
9417 (lrint_test_data): New variable.
9418 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9419 (lrint_tonearest_test_data): New variable.
9420 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9421 (lrint_towardzero_test_data): New variable.
9422 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9423 (lrint_downward_test_data): New variable.
9424 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9425 (lrint_upward_test_data): New variable.
9426 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9427 (lround_test_data): New variable.
9428 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9429
39b1f617
PC
94302013-05-15 Peter Collingbourne <pcc@google.com>
9431
1deff3dc
PC
9432 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9433 (EXTRACT_WORDS64) Use where appropriate.
9434 (INSERT_WORDS64) Likewise.
9435
791f3ba0
PC
9436 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9437 constraints with x constraints.
9438 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9439
39b1f617
PC
9440 * malloc/obstack.c (_obstack_compat): Add initializer.
9441
12fba011
EM
94422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9443
9444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9445 si_trapno and add si_addr_lsb to _sifields.sigfault.
9446 (si_trapno): Remove macro.
9447 (si_addr_lsb): Define new macro.
9448 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9449
d369f531
JM
94502013-05-15 Joseph Myers <joseph@codesourcery.com>
9451
b861c6c4
JM
9452 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9453 instead of TEST_f_l.
9454 (llrint_test_tonearest): Likewise.
9455 (llrint_test_towardzero): Likewise.
9456 (llrint_test_downward): Likewise.
9457 (llrint_test_upward): Likewise.
9458 (llround_test): Likewise.
9459
7abeee12
JM
9460 * math/libm-test.inc (struct test_f_i_data): Add comment.
9461 (RUN_TEST_LOOP_f_b): New macro.
9462 (RUN_TEST_LOOP_f_b_tg): Likewise.
9463 (finite_test_data): New variable.
9464 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9465 (isfinite_test_data): New variable.
9466 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9467 (isinf_test_data): New variable.
9468 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9469 (isnan_test_data): New variable.
9470 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9471 (isnormal_test_data): New variable.
9472 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9473 (issignaling_test_data): New variable.
9474 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9475 (signbit_test_data): New variable.
9476 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9477
cbe8c4d3
JM
9478 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9479 with INVALID_EXCEPTION.
9480 (acosh_test_data): Likewise.
9481 (asin_test_data): Likewise.
9482 (atanh_test_data): Likewise.
9483 (fmod_test_data): Likewise.
9484 (log_test_data): Likewise.
9485 (log10_test_data): Likewise.
9486 (log2_test_data): Likewise.
9487 (pow_test_data): Likewise.
9488 (sqrt_test_data): Likewise.
9489 (y0_test_data): Likewise.
9490 (y1_test_data): Likewise.
9491 (yn_test_data): Likewise.
9492
5575c0e5
JM
9493 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9494 function contents.
9495
d369f531
JM
9496 * math/libm-test.inc (struct test_ff_i_data): New type.
9497 (RUN_TEST_LOOP_ff_i_tg): New macro.
9498 (isgreater_test_data): New variable.
9499 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9500 (isgreaterequal_test_data): New variable.
9501 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9502 (isless_test_data): New variable.
9503 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9504 (islessequal_test_data): New variable.
9505 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9506 (islessgreater_test_data): New variable.
9507 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9508 (isunordered_test_data): New variable.
9509 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9510
781fd748
DM
95112013-05-14 David S. Miller <davem@davemloft.net>
9512
9513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9514
87aa21df
JM
95152013-05-14 Joseph Myers <joseph@codesourcery.com>
9516
5e908270
JM
9517 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9518
f71172e5
JM
9519 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9520 extra_test to int.
9521 (struct test_f_i_data): Change type of max_ulp to int.
9522
8cfa635a
JM
9523 * math/libm-test.inc (test_ffI_f1_data): New type.
9524 (RUN_TEST_LOOP_ffI_f1): New macro.
9525 (remquo_test_data): New variable.
9526 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9527
2bcb36b2
JM
9528 * setjmp/tst-setjmp-fp.c: New file.
9529 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9530 (link-libm): New variable.
9531 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9532
acbd839a
JM
9533 * math/libm-test.inc (struct test_f_i_data): New type.
9534 (RUN_TEST_LOOP_f_i): New macro.
9535 (RUN_TEST_LOOP_f_i_tg): Likewise.
9536 (fpclassify_test_data): New variable.
9537 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9538 (ilogb_test_data): New variable.
9539 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9540
e414d745
JM
9541 * math/libm-test.inc (scalbln_test): Correct function name in END
9542 call.
9543
d9c2a0fd
JM
9544 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9545 (RUN_TEST_LOOP_fI_f1): New macro.
9546 (frexp_test_data): New variable.
9547 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9548
9dc9095d
JM
9549 * math/libm-test.inc (struct test_fF_f1_data): New type.
9550 (RUN_TEST_LOOP_fF_f1): New macro.
9551 (modf_test_data): New variable.
9552 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9553
87aa21df
JM
9554 * math/libm-test.inc (struct test_f_f1_data): New type.
9555 (RUN_TEST_LOOP_f_f1): New macro.
9556 (gamma_test_data): New variable.
9557 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9558 (lgamma_test_data): New variable.
9559 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9560
141af660
CD
95612013-05-13 Carlos O'Donell <carlos@redhat.com>
9562
9563 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9564 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9565 (main): Comment "tls" pseudo-hwcap.
9566
6d33265c
JM
95672013-05-13 Joseph Myers <joseph@codesourcery.com>
9568
68fc074c
JM
9569 * math/libm-test.inc (struct test_fl_f_data): New type.
9570 (RUN_TEST_LOOP_fl_f): New variable.
9571 (scalbln_test_data): New variable.
9572 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9573
243216e1
JM
9574 * math/libm-test.inc (struct test_fi_f_data): New type.
9575 (RUN_TEST_LOOP_fi_f): New macro.
9576 (ldexp_test_data): New variable.
9577 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9578 (scalbn_test_data): New variable.
9579 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9580
6a1992e2
JM
9581 * math/libm-test.inc (struct test_c_f_data): New type.
9582 (RUN_TEST_LOOP_c_f): New macro.
9583 (cabs_test_data): New variable.
9584 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9585 (carg_test_data): New variable.
9586 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9587 (cimag_test_data): New variable.
9588 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9589 (creal_test_data): New variable.
9590 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9591
0e400df5
JM
9592 * math/libm-test.inc (struct test_if_f_data): New type.
9593 (RUN_TEST_LOOP_if_f): New macro.
9594 (jn_test_data): New variable.
9595 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9596 (yn_test_data): New variable.
9597 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9598
6d33265c
JM
9599 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9600
f98ece5f
AZ
96012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9602
9603 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9604 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9605
0f7d347b
SP
96062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9607
43fe811b
SP
9608 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9609 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9610 (bench-deps): Add bench-timing.h.
9611 * benchtests-bench-skeleton.c: Include bench-timing.h.
9612 (main): Use TIMING_* macros instead of clock_gettime.
9613 * benchtests/bench-timing.h: New file.
9614
0f7d347b
SP
9615 [BZ #14582]
9616 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9617 Renamed from _LIB_VERSION.
9618 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9619
601a3a5f
JM
96202013-05-12 Joseph Myers <joseph@codesourcery.com>
9621
4f184d30
JM
9622 * math/libm-test.inc (struct test_fff_f_data): New type.
9623 (RUN_TEST_LOOP_fff_f): New macro.
9624 (fma_test_data): New variable.
9625 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9626 (fma_towardzero_test_data): New variable.
9627 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9628 (fma_downward_test_data): New variable.
9629 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9630 (fma_upward_test_data): New variable.
9631 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9632
08198877
JM
9633 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9634 (struct test_c_c_data): New type.
9635 (RUN_TEST_LOOP_c_c): New macro.
9636 (cacos_test_data): New variable.
9637 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9638 (cacosh_test_data): New variable.
9639 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9640 (casin_test_data): New variable.
9641 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9642 (casinh_test_data): New variable.
9643 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9644 (catan_test_data): New variable.
9645 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9646 (catanh_test_data): New variable.
9647 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9648 (ccos_test_data): New variable.
9649 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9650 (ccosh_test_data): New variable.
9651 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9652 (cexp_test_data): New variable.
9653 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9654 (clog_test_data): New variable.
9655 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9656 (clog10_test_data): New variable.
9657 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9658 (conj_test_data): New variable.
9659 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9660 (cproj_test_data): New variable.
9661 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9662 (csin_test_data): New variable.
9663 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9664 (csinh_test_data): New variable.
9665 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9666 (csqrt_test_data): New variable.
9667 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9668 (ctan_test_data): New variable.
9669 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9670 (ctan_tonearest_test_data): New variable.
9671 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9672 (ctan_towardzero_test_data): New variable.
9673 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9674 (ctan_downward_test_data): New variable.
9675 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9676 (ctan_upward_test_data): New variable.
9677 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9678 (ctanh_test_data): New variable.
9679 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9680 (ctanh_tonearest_test_data): New variable.
9681 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9682 (ctanh_towardzero_test_data): New variable.
9683 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9684 (ctanh_downward_test_data): New variable.
9685 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9686 (ctanh_upward_test_data): New variable.
9687 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9688 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9689 of BUILD_COMPLEX.
9690
601a3a5f
JM
9691 * math/libm-test.inc (struct test_ff_f_data): New type.
9692 (struct test_ff_f_data_nexttoward): Likewise.
9693 (RUN_TEST_LOOP_2_f): New macro.
9694 (RUN_TEST_LOOP_ff_f): Likewise.
9695 (atan2_test_data): New variable.
9696 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9697 (copysign_test_data): New variable.
9698 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9699 (fdim_test_data): New variable.
9700 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9701 (fmax_test_data): New variable.
9702 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9703 (fmin_test_data): New variable.
9704 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9705 (fmod_test_data): New variable.
9706 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9707 (hypot_test_data): New variable.
9708 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9709 (nextafter_test_data): New variable.
9710 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9711 (nexttoward_test_data): New variable.
9712 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9713 (pow_test_data): New variable.
9714 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9715 (pow_tonearest_test_data): New variable.
9716 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9717 (pow_towardzero_test_data): New variable.
9718 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9719 (pow_downward_test_data): New variable.
9720 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9721 (pow_upward_test_data): New variable.
9722 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9723 (remainder_test_data): New variable.
9724 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9725 (scalb_test_data): New variable.
9726 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9727 * sysdeps/i386/fpu/libm-test-ulps: Update.
9728
74c57478
JM
97292013-05-11 Joseph Myers <joseph@codesourcery.com>
9730
8329e4da
JM
9731 * math/libm-test.inc (fma_test): Use max_value instead of local
9732 variable fltmax.
9733 (nextafter_test): Likewise.
9734
74c57478
JM
9735 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9736 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9737 (acos_downward_test_data): New variable.
9738 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9739 (acos_upward_test_data): New variable.
9740 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9741 (acosh_test_data): New variable.
9742 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9743 (asin_test_data): New variable.
9744 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9745 (asin_tonearest_test_data): New variable.
9746 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9747 (asin_towardzero_test_data): New variable.
9748 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9749 (asin_downward_test_data): New variable.
9750 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9751 (asin_upward_test_data): New variable.
9752 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9753 (asinh_test_data): New variable.
9754 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9755 (atan_test_data): New variable.
9756 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9757 (atanh_test_data): New variable.
9758 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9759 (cbrt_test_data): New variable.
9760 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9761 (ceil_test_data): New variable.
9762 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9763 (cos_test_data): New variable.
9764 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9765 (cos_tonearest_test_data): New variable.
9766 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9767 (cos_towardzero_test_data): New variable.
9768 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9769 (cos_downward_test_data): New variable.
9770 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9771 (cos_upward_test_data): New variable.
9772 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9773 (cosh_test_data): New variable.
9774 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9775 (cosh_tonearest_test_data): New variable.
9776 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9777 (cosh_towardzero_test_data): New variable.
9778 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9779 (cosh_downward_test_data): New variable.
9780 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9781 (cosh_upward_test_data): New variable.
9782 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9783 (erf_test_data): New variable.
9784 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9785 (erfc_test_data): New variable.
9786 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9787 (exp_test_data): New variable.
9788 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9789 (exp_tonearest_test_data): New variable.
9790 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9791 (exp_towardzero_test_data): New variable.
9792 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9793 (exp_downward_test_data): New variable.
9794 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9795 (exp_upward_test_data): New variable.
9796 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9797 (exp10_test_data): New variable.
9798 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9799 (exp2_test_data): New variable.
9800 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9801 (expm1_test_data): New variable.
9802 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9803 (fabs_test_data): New variable.
9804 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9805 (floor_test_data): New variable.
9806 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9807 (j0_test_data): New variable.
9808 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9809 (j1_test_data): New variable.
9810 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9811 (log_test_data): New variable.
9812 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9813 (log10_test_data): New variable.
9814 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9815 (log1p_test_data): New variable.
9816 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9817 (log2_test_data): New variable.
9818 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9819 (logb_test_data): New variable.
9820 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9821 (logb_downward_test_data): New variable.
9822 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9823 (nearbyint_test_data): New variable.
9824 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9825 (rint_test_data): New variable.
9826 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9827 (rint_tonearest_test_data): New variable.
9828 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9829 (rint_towardzero_test_data): New variable.
9830 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9831 (rint_downward_test_data): New variable.
9832 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9833 (rint_upward_test_data): New variable.
9834 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9835 (round_test_data): New variable.
9836 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9837 (sin_test_data): New variable.
9838 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9839 (sin_tonearest_test_data): New variable.
9840 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9841 (sin_towardzero_test_data): New variable.
9842 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9843 (sin_downward_test_data): New variable.
9844 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9845 (sin_upward_test_data): New variable.
9846 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9847 (sinh_test_data): New variable.
9848 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9849 (sinh_tonearest_test_data): New variable.
9850 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9851 (sinh_towardzero_test_data): New variable.
9852 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9853 (sinh_downward_test_data): New variable.
9854 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9855 (sinh_upward_test_data): New variable.
9856 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9857 (sqrt_test_data): New variable.
9858 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9859 (tan_test_data): New variable.
9860 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9861 (tan_tonearest_test_data): New variable.
9862 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9863 (tan_towardzero_test_data): New variable.
9864 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9865 (tan_downward_test_data): New variable.
9866 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9867 (tan_upward_test_data): New variable.
9868 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9869 (tanh_test_data): New variable.
9870 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9871 (tgamma_test_data): New variable.
9872 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9873 (trunc_test_data): New variable.
9874 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9875 (y0_test_data): New variable.
9876 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9877 (y1_test_data): New variable.
9878 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9879 (significand_test_data): New variable.
9880 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9881
7187d844
CG
98822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9883
9884 [BZ #12387]
9885 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9886
f63fae73
PT
98872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9888
9889 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9890
8a67a4b3
AJ
98912013-05-10 Andreas Jaeger <aj@suse.de>
9892
9893 [BZ #15448]
9894 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9895 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9896
51df539d
JM
98972013-05-10 Joseph Myers <joseph@codesourcery.com>
9898
9899 * math/gen-libm-test.pl (adjust_arg): New function.
9900 (special_functions): Handle generating output in both functions
9901 and arrays.
9902 (parse_args): Likewise.
9903 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9904 $in_func argument to parse_args.
9905 * math/libm-test.inc (struct test_f_f_data): New type.
9906 (IF_ROUND_INIT_): New macro.
9907 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9908 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9909 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9910 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9911 (ROUND_RESTORE_): Likewise.
9912 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9913 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9914 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9915 (ROUND_RESTORE_FE_UPWARD): Likewise.
9916 (RUN_TEST_LOOP_f_f): New macro.
9917 (acos_test_data): New variable.
9918 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9919 (acos_tonearest_test_data): New variable.
9920 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9921
5c637fe5
SP
99222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9923
9924 * benchtests/bench-skeleton.c (startup): Fix coding style.
9925
ab2b9461
JM
99262013-05-10 Joseph Myers <joseph@codesourcery.com>
9927
9928 [BZ #6809]
9929 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9930 negative infinity argument.
9931 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9932 negative infinity argument.
9933 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9934 negative infinity argument.
9935 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9936 domain errors.
9937
4c0fe6fe
FW
99382013-05-10 Florian Weimer <fweimer@redhat.com>
9939
9940 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9941 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9942 * iconv/iconv_prog.c (main): Likewise.
9943 * locale/programs/charmap-dir.c (charmap_readdir)
9944 (fopen_uncompressed): Likewise.
9945 * locale/programs/locfile.c (siblings_uncached)
9946 (write_locale_data): Use lstat64 instead of lstat.
9947 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9948 stat.
9949
a3375d29
AJ
99502013-05-10 Andreas Jaeger <aj@suse.de>
9951
9952 [BZ #15395]
9953 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9954 localization.
9955 Include <locale.h>.
9956
36129722
CD
99572013-05-09 Carlos O'Donell <carlos@redhat.com>
9958
9959 * elf/dl-close.c (_dl_close_worker): Add comments.
9960
faa7f811
JM
99612013-05-09 Joseph Myers <joseph@codesourcery.com>
9962
ed41ffef
JM
9963 [BZ #15359]
9964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9965 high part of pi/2.
9966 (__ieee754_rem_pio2l): Update comments.
9967
d0213cd0
JM
9968 [BZ #15429]
9969 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9970 high part of pi/2.
9971 (__ieee754_rem_pio2l): Update comments.
9972
0d3e777a
JM
9973 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9974 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9975
24f56066
JM
9976 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9977 M_PI_4l.
9978
faa7f811
JM
9979 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9980 (M_PI_34_LOG10El): Likewise.
9981 (M_PI2_LOG10El): Likewise.
9982 (M_PI4_LOG10El): Likewise.
9983 (M_PI_LOG10El): Likewise.
9984
e9a5e0fd
AZ
99852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986
9987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9988
d8cd06db
JM
99892013-05-08 Joseph Myers <joseph@codesourcery.com>
9990
a0d9f9d7
JM
9991 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9992 (MINUS_ZERO_INIT): Likewise.
9993 (PLUS_INFTY_INIT): Likewise.
9994 (MINUS_INFTY_INIT): Likewise.
9995 (QNAN_VALUE_INIT): Likewise.
9996 (MAX_VALUE_INIT): Likewise.
9997 (MIN_VALUE_INIT): Likewise.
9998 (MIN_SUBNORM_VALUE_INIT): Likewise.
9999 (plus_zero): Initialize with PLUS_ZERO_INIT.
10000 (minus_zero): Initialize with MINUS_ZERO_INIT.
10001 (plus_infty): Initialize with PLUS_INFTY_INIT.
10002 (minus_infty): Initialize with MINUS_INFTY_INIT.
10003 (qnan_value): Initialize with QNAN_VALUE_INIT.
10004 (max_value): Initialize with MAX_VALUE_INIT.
10005 (min_value): Initialize with MIN_VALUE_INIT.
10006 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10007
ae08db3b
JM
10008 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10009 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10010 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10011 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10012
f44bf14a
JM
10013 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10014 (RUN_TEST_2_f): Likewise.
10015 (RUN_TEST_ff_f): Likewise.
10016 (RUN_TEST_fi_f): Likewise.
10017 (RUN_TEST_fl_f): Likewise.
10018 (RUN_TEST_fff_f): Likewise.
10019 (RUN_TEST_c_f): Likewise.
10020 (RUN_TEST_f_f1): Likewise.
10021 (RUN_TEST_fF_f1): Likewise.
10022 (RUN_TEST_fI_f1): Likewise.
10023 (RUN_TEST_ffI_f1): Likewise.
10024 (RUN_TEST_c_c): Likewise.
10025 (RUN_TEST_cc_c): Likewise.
10026 (RUN_TEST_f_i): Likewise.
10027 (RUN_TEST_f_i_tg): Likewise.
10028 (RUN_TEST_ff_i_tg): Likewise.
10029 (RUN_TEST_f_b): Likewise.
10030 (RUN_TEST_f_b_tg): Likewise.
10031 (RUN_TEST_f_l): Likewise.
10032 (RUN_TEST_f_L): Likewise.
10033 (RUN_TEST_sincos): Likewise.
10034 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10035 whether to show exceptions. Do not include ");\n" in return
10036 value.
10037 (special_functions): Output call to RUN_TEST_sincos instead of
10038 check_float calls. Update calls to new_test.
10039 (parse_args): Output call to single RUN_TEST_* macro instead of
10040 check_* calls and other assignments. Update calls to new_test.
10041
d8cd06db
JM
10042 [BZ #2546]
10043 [BZ #2560]
10044 [BZ #5159]
10045 [BZ #15426]
10046 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10047 input to result for tgamma overflow.
10048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10049 (gamma_coeff): New variable.
10050 (NCOEFF): New macro.
10051 (gamma_positive): New function.
10052 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10053 underflow here. Use gamma_positive instead of exp (lgamma) for
10054 other arguments.
10055 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10056 (gamma_coeff): New variable.
10057 (NCOEFF): New macro.
10058 (gammaf_positive): New function.
10059 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10060 underflow here. Use gamma_positive instead of exp (lgamma) for
10061 other arguments.
10062 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10063 (gamma_coeff): New variable.
10064 (NCOEFF): New macro.
10065 (gammal_positive): New function.
10066 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10067 underflow here. Use gamma_positive instead of exp (lgamma) for
10068 other arguments.
10069 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10070 (gamma_coeff): New variable.
10071 (NCOEFF): New macro.
10072 (gammal_positive): New function.
10073 (__ieee754_gammal_r): Handle positive infinity, overflow and
10074 underflow here. Handle NaN the same as positive infinity. Remove
10075 check x < 0xffffffff for negative integers. Use gamma_positive
10076 instead of exp (lgamma) for other arguments.
10077 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10078 (gamma_coeff): New variable.
10079 (NCOEFF): New macro.
10080 (gammal_positive): New function.
10081 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10082 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10087 * sysdeps/generic/math_private.h (__gamma_productf): New
10088 prototype.
10089 (__gamma_product): Likewise.
10090 (__gamma_productl): Likewise.
10091 * math/Makefile (libm-calls): Add gamma_product.
10092 * math/libm-test.inc (tgamma_test): Add more tests.
10093 * sysdeps/i386/fpu/libm-test-ulps: Update.
10094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10095
bb7cf681
OB
100962013-05-08 Ondřej Bílka <neleai@seznam.cz>
10097
10098 * benchtests/bench-skeleton.c (main): Preheat CPU.
10099
ba853947
AJ
101002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10101
10102 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10103
8347c74c
RM
101042013-05-07 Roland McGrath <roland@hack.frob.com>
10105
10106 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10107 and _dl_skip_args_internal.
10108
e8dd4791
CD
101092013-05-07 Carlos O'Donell <carlos@redhat.com>
10110
10111 * manual/message.texi (Message Translation): Talk about users.
10112 Message to key mapping impacts design.
10113
c7405830
RM
101142013-05-06 Roland McGrath <roland@hack.frob.com>
10115
a9173057
RM
10116 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10117
976e2f03
RM
10118 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10119
9723ffc5
RM
10120 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10121 * sysdeps/wordsize-64/glob64.c: ... here.
10122
962e6658
RM
10123 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10124 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10125 New macros.
10126
ee586a6d
RM
10127 * debug/getlogin_r_chk.c: Moved to ...
10128 * login/getlogin_r_chk.c: ... here.
10129 * debug/Makefile (routines): Move getlogin_r_chk to ...
10130 * login/Makefile (routines): ... here.
10131 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10132 * login/Versions (libc: GLIBC_2.4): ... here.
10133
355f9165
RM
10134 * io/poll.c (__poll): Renamed from poll.
10135 Add libc_hidden_def.
10136 (poll): Define as weak alias.
10137
bd9ffde6
RM
10138 * debug/ptsname_r_chk.c: Moved to ...
10139 * login/ptsname_r_chk.c: ... here.
10140 * debug/Makefile (routines): Move ptsname_r_chk to ...
10141 * login/Makefile (routines): ... here.
10142 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10143 * login/Versions (libc: GLIBC_2.4): ... here.
10144
8fb16a04
RM
10145 * posix/getlogin.c: Moved to ...
10146 * login/getlogin.c: ... here.
10147 * posix/getlogin_r.c: Moved to ...
10148 * login/getlogin_r.c: ... here.
10149 * posix/getlogin_r.c: Moved to ...
10150 * login/getlogin_r.c: ... here.
10151 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10152 * login/Makefile (routines): ... here.
10153 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10154 * login/Versions (libc: GLIBC_2.0): ... here.
10155
b99b892f
RM
10156 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10157 (setrlimit): Define as weak alias.
10158
c7405830
RM
10159 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10160 Call __ names for open, ftruncate, and close.
10161 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10162 (truncate): Define as weak alias.
10163
5bf96de5
JM
101642013-05-06 Joseph Myers <joseph@codesourcery.com>
10165
9ea3513c
JM
10166 * math/gen-libm-test.pl (parse_args): Initialize x before each
10167 test of frexp, modf and remquo.
10168
5bf96de5
JM
10169 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10170 test signgam value.
10171
16e616a7
AZ
101722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10173
10174 [BZ #15418]
10175 [BZ #15419]
10176 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10177 internal tests.
10178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10179
d5e82754
RM
101802013-05-06 Roland McGrath <roland@hack.frob.com>
10181
10182 * elf/dl-writev.h: New file.
10183 * elf/dl-misc.c: Include it.
10184 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10185 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10186
a7548d41
JM
101872013-05-04 Joseph Myers <joseph@codesourcery.com>
10188
b7dab1e4
JM
10189 * math/libm-test.inc (noXFails): Remove variable.
10190 (noXPasses): Likewise.
10191 (BUILD_COMPLEX_INT): Remove macro.
10192 (print_screen): Remove xfail argument.
10193 (print_screen_max_error): Likewise.
10194 (update_stats): Likewise.
10195 (print_max_error): Likewise. Update calls to other affected
10196 functions.
10197 (print_complex_max_error): Likewise.
10198 (test_single_exception): Update calls to print_screen.
10199 (test_single_errno): Likewise.
10200 (check_float_internal): Remove xfail argument. Update calls to
10201 other affected functions.
10202 (check_float): Likewise.
10203 (check_complex): Likewise.
10204 (check_int): Likewise.
10205 (check_long): Likewise.
10206 (check_bool): Likewise.
10207 (check_longlong): Likewise.
10208 (main): Don't print noXFails and noXPasses.
10209 * math/gen-libm-test.pl (top level): Don't mention expected
10210 failure handling in comment.
10211 (new_test): Don't handle expected failures.
10212 (parse_args): Don't mention expected failure handling in comment.
10213 (generate_testfile): Don't handle expected failures.
10214 (parse_ulps): Likewise.
10215 (print_ulps_file): Likewise.
10216 (get_failure): Remove function.
10217 (output_test): Don't handle expected failures.
10218 * make/README.libm-test: Don't mention expected failure handling.
10219
a7548d41
JM
10220 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10221 (minus_zero): Likewise.
10222 (plus_infty): Likewise.
10223 (minus_infty): Likewise.
10224 (qnan_value): Likewise.
10225 (max_value): Likewise.
10226 (min_value): Likewise.
10227 (min_subnorm_value): Likewise.
10228 (initialize): Do not initialize those variables dynamically.
10229
60bfd54c
RM
102302013-05-03 Roland McGrath <roland@hack.frob.com>
10231
cc0e6ed8
RM
10232 * io/open.c (__open_2): Moved to ...
10233 * io/open_2.c: ... this new file.
10234 * io/open64.c (__open64_2): Moved to ...
10235 * io/open64_2.c: ... this new file.
10236 * io/openat.c (__openat_2): Moved to ...
10237 * io/openat_2.c: ... this new file.
10238 * io/openat64.c (__openat64_2): Moved to ...
10239 * io/openat64_2.c: ... this new file.
10240 * io/Makefile (routines): Add them.
10241 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10242 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10243 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10244 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10245 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10246 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10247 (__openat64): Add hidden_ver.
10248 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10249 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10250
60bfd54c
RM
10251 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10252 Separately conditionalize setting of GLRO(dl_sysinfo) so
10253 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10254 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10255
83e7640f
AZ
102562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10257
10258 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10259 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10260 definition.
10261 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10262 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10263 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10264 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10265 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10266
d5dc2af3
JM
102672013-05-03 Joseph Myers <joseph@codesourcery.com>
10268
c31a5b1e
JM
10269 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10270 test signgam value.
10271
d5dc2af3
JM
10272 * math/libm-test.inc (hypot_test): Do not use
10273 IGNORE_ZERO_INF_SIGN.
10274
164fd39d
AJ
102752013-05-03 Andreas Jaeger <aj@suse.de>
10276
10277 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10278 Linux 3.9.
10279 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10280 (PF_MAX): Adjust for VSOCK change.
10281
8237f48c
AZ
102822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10283
10284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10285
9df02941
CD
102862013-05-02 Carlos O'Donell <carlos@redhat.com>
10287
10288 [BZ #15264]
10289 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10290 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10291 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10292
d422395e
DM
102932013-05-02 David S. Miller <davem@davemloft.net>
10294
10295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10296
a07c5731
OB
102972013-05-01 Ondřej Bílka <neleai@seznam.cz>
10298
10299 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10300
1324e37f
RM
103012013-05-01 Roland McGrath <roland@hack.frob.com>
10302
10303 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10304
0695940b
RS
103052013-05-01 Richard Smith <richard@metafoo.co.uk>
10306
bb5f27ad 10307 [BZ #14952]
0695940b
RS
10308 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10309 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10310 Use __attribute__ ((__gnu_inline__)).
10311 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10312 Don't use __attribute__ ((__gnu_inline__)).
10313
10de07f5
JM
103142013-05-01 Joseph Myers <joseph@codesourcery.com>
10315
10316 [BZ #15423]
10317 * math/s_catan.c (__catan): Handle small real or imaginary part of
10318 input specially to avoid spurious underflow.
10319 * math/s_catanf.c (__catanf): Likewise.
10320 * math/s_catanh.c (__catanh): Likewise.
10321 * math/s_catanhf.c (__catanhf): Likewise.
10322 * math/s_catanhl.c (__catanhl): Likewise.
10323 * math/s_catanl.c (__catanl): Likewise.
10324 * math/libm-test.inc (catan_test): Add more tests.
10325 (catanh_test): Likewise.
10326 * sysdeps/i386/fpu/libm-test-ulps: Update.
10327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328
cb4d5414
AZ
103292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10330
10331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10332
caf84319
JM
103332013-04-30 Joseph Myers <joseph@codesourcery.com>
10334
10335 [BZ #15416]
10336 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10337 accurately for denominator in atan2.
10338 * math/s_catanf.c (__catanf): Likewise.
10339 * math/s_catanh.c (__catanh): Likewise.
10340 * math/s_catanhf.c (__catanhf): Likewise.
10341 * math/s_catanhl.c (__catanhl): Likewise.
10342 * math/s_catanl.c (__catanl): Likewise.
10343 * math/libm-test.inc (catan_test): Add more tests.
10344 (catanh_test): Likewise.
10345 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10347
d569c6ee
SP
103482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
6dbe713d
SP
10350 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10351
f0ee064b
SP
10352 * benchtests/Makefile (bench): Remove slow benchmarks.
10353 * benchtests/atan-inputs: Add slow benchmark inputs.
10354 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10355 (BENCH_FUNC): Accept variant offset.
10356 (VARIANT): Define.
10357 * benchtests/bench-skeleton.c (main): Run benchmark for each
10358 variant.
10359 * benchtests/cos-inputs: Add slow benchmark inputs.
10360 * benchtests/exp-inputs: Likewise.
10361 * benchtests/pow-inputs: Likewise.
10362 * benchtests/sin-inputs: Likewise.
10363 * benchtests/slowatan-inputs: Remove.
10364 * benchtests/slowatan.c: Remove.
10365 * benchtests/slowcos-inputs: Remove.
10366 * benchtests/slowcos.c: Remove.
10367 * benchtests/slowexp-inputs: Remove.
10368 * benchtests/slowexp.c: Remove.
10369 * benchtests/slowpow-inputs: Remove.
10370 * benchtests/slowpow.c: Remove.
10371 * benchtests/slowsin-inputs: Remove.
10372 * benchtests/slowsin.c: Remove.
10373 * benchtests/slowtan-inputs: Remove.
10374 * benchtests/slowtan.c: Remove.
10375 * benchtests/tan-inputs: Add slow benchmark inputs.
10376 * scripts/bench.pl: Parse comments and directives.
10377
d569c6ee
SP
10378 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10379 in CPPFLAGS.
10380 ($(objpfx)bench-%.c): Remove *-ITER.
10381 * benchtests/bench-modf.c: Remove definition of ITER.
10382 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10383 (main): Loop for DURATION seconds instead of fixed number of
10384 iterations.
10385 * scripts/bench.pl: Don't expect iterations in parameters.
10386
a6a242fe
RM
103872013-04-29 Roland McGrath <roland@hack.frob.com>
10388
10389 * io/fchdir.c (__fchdir): Renamed from fchdir.
10390 (fchdir): Define as weak alias.
10391
f2da7793
JM
103922013-04-29 Joseph Myers <joseph@codesourcery.com>
10393
10394 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10395 (ERRNO_EDOM): Likewise.
10396 (ERRNO_ERANGE): Likewise.
10397 (noErrnoTests): New variable.
10398 (init_max_error): Set errno to 0.
10399 (test_single_errno): New function.
10400 (test_errno): Likewise.
10401 (check_float_internal): Call test_errno. Set errno to 0.
10402 (check_complex): Refer to errno tests in comment.
10403 (check_int): Call test_errno. Set errno to 0.
10404 (check_long): Likewise.
10405 (check_bool): Likewise.
10406 (check_longlong): Likewise.
10407 (cos_test): Use ERRNO_* flags for errno tests instead of
10408 check_int.
10409 (expm1_test): Likewise.
10410 (fmod_test): Likewise.
10411 (ilogb_test): Likewise.
10412 (lgamma_test): Likewise.
10413 (pow_test): Likewise.
10414 (remainder_test): Likewise.
10415 (sin_test): Likewise.
10416 (tan_test): Likewise.
10417 (yn_test): Likewise.
10418 (initialize): Set errno to 0.
10419 (main): Print number of errno tests.
10420 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10421
b1a36ceb
AJ
104222013-04-29 Andreas Jaeger <aj@suse.de>
10423
c3ed8088
AJ
10424 [BZ #15084]
10425 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10426 and RES_USEVC.
10427
f1a24198
AJ
10428 [BZ #15085]
10429 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10430 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10431 unimplemented.
10432
9ce3b2cb
AJ
10433 [BZ #15380]
10434 * stdlib/random.c (__initstate): Return NULL if
10435 __initstate fails.
10436
f1a24198 10437 [BZ #15086]
b1a36ceb
AJ
10438 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10439 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10440 RES_SNGLKUPREOP.
10441
7e7b6f36
AZ
104422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443
10444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10445
4d14f449
JM
104462013-04-29 Joseph Myers <joseph@codesourcery.com>
10447
10448 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10449 of individual tests.
10450 (casin_test): Likewise.
10451 (casinh_test): Likewise.
10452
5b4217d7
JM
104532013-04-27 Joseph Myers <joseph@codesourcery.com>
10454
10455 [BZ #15409]
10456 * math/s_catan.c (__catan): Handle arguments with large real or
10457 imaginary part separately without squaring.
10458 * math/s_catanf.c (__catanf): Likewise.
10459 * math/s_catanh.c (__catanh): Likewise.
10460 * math/s_catanhf.c (__catanhf): Likewise.
10461 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10462 and redefine.
10463 (__catanhl): Handle arguments with large real or imaginary part
10464 separately without squaring.
10465 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10466 and redefine.
10467 (__catanl): Handle arguments with large real or imaginary part
10468 separately without squaring.
10469 * math/libm-test.inc (catan_test): Add more tests.
10470 (catanh_test): Likewise.
10471 * sysdeps/i386/fpu/libm-test-ulps: Update.
10472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473
4220c3ef
AJ
104742013-04-27 Andreas Jaeger <aj@suse.de>
10475
10476 [BZ #15007]
10477 * stdlib/stdlib.h: Update guards for qecvt.
10478 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10479 <stdlib.h>.
10480
4721b2d1
AM
104812013-04-27 Allan McRae <allan@archlinux.org>
10482
10483 * sysdeps/i386/fpu/libm-test-ulps: Update.
10484
f0302940
JM
104852013-04-26 Joseph Myers <joseph@codesourcery.com>
10486
9457fd95
JM
10487 [BZ #15406]
10488 * math/s_catan.c: Include <float.h>.
10489 (__catan): Ensure underflow exception occurs for underflowed
10490 result.
10491 * math/s_catanf.c: Include <float.h>.
10492 (__catanf): Ensure underflow exception occurs for underflowed
10493 result.
10494 * math/s_catanh.c: Include <float.h>.
10495 (__catanh): Ensure underflow exception occurs for underflowed
10496 result.
10497 * math/s_catanhf.c: Include <float.h>.
10498 (__catanhf): Ensure underflow exception occurs for underflowed
10499 result.
10500 * math/s_catanhl.c: Include <float.h>.
10501 (__catanhl): Ensure underflow exception occurs for underflowed
10502 result.
10503 * math/s_catanl.c: Include <float.h>.
10504 (__catanl): Ensure underflow exception occurs for underflowed
10505 result.
10506 * math/libm-test.inc (catan_test): Add more tests.
10507 (catanh_test): Likewise.
10508
f0302940
JM
10509 [BZ #15405]
10510 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10511 underflowed result.
10512 * math/s_ccoshf.c (__ccoshf): Likewise.
10513 * math/s_ccoshl.c (__ccoshl): Likewise.
10514 * math/s_csin.c (__csin): Likewise.
10515 * math/s_csinf.c (__csinf): Likewise.
10516 * math/s_csinh.c (__csinh): Likewise.
10517 * math/s_csinhf.c (__csinhf): Likewise.
10518 * math/s_csinhl.c (__csinhl): Likewise.
10519 * math/s_csinl.c (__csinl): Likewise.
10520 * math/libm-test.inc (ccos_test): Add more tests.
10521 (ccosh_test): Likewise.
10522 (csin_test): Likewise.
10523 (csinh_test): Likewise.
10524
aa630f59
AZ
105252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526
10527 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10528 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10529 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10530 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10531 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10532 powerpc/power5+/fpu folders.
10533 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10534
10535
1b835983
MT
105362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10537
10538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10539
73709b26
JM
105402013-04-25 Joseph Myers <joseph@codesourcery.com>
10541
10542 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10543 additions to variable.
10544 [$(config-machine) = x86_64] (modules-names): Likewise.
10545 ($(objpfx)tst-audit3): Remove dependency.
10546 ($(objpfx)tst-audit3.out): Likewise.
10547 ($(objpfx)tst-audit4): Likewise.
10548 ($(objpfx)tst-audit4.out): Likewise.
10549 ($(objpfx)tst-audit5): Likewise.
10550 ($(objpfx)tst-audit5.out): Likewise.
10551 ($(objpfx)tst-audit6): Likewise.
10552 ($(objpfx)tst-audit6.out): Likewise.
10553 ($(objpfx)tst-audit7): Likewise.
10554 ($(objpfx)tst-audit7.out): Likewise.
10555 (tst-audit3-ENV): Remove variable.
10556 (tst-audit4-ENV): Likewise.
10557 (tst-audit5-ENV): Likewise.
10558 (tst-audit6-ENV): Likewise.
10559 (tst-audit7-ENV): Likewise.
10560 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10561 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10562 addition to variable.
10563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10568 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10569 tst-audit3, tst-audit4 and tst-audit5.
10570 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10571 tst-audit6 and tst-audit7.
10572 [$(subdir) = elf] (modules-names): Add audit modules for those
10573 tests.
10574 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10575 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10576 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10577 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10578 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10579 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10580 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10581 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10582 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10583 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10584 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10585 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10586 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10587 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10588 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10589 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10590 Likewise.
10591 [$(subdir) = elf && $(config-cflags-avx) = yes]
10592 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10593 [$(subdir) = elf && $(config-cflags-avx) = yes]
10594 (CFLAGS-tst-auditmod4a.c): Likewise.
10595 [$(subdir) = elf && $(config-cflags-avx) = yes]
10596 (CFLAGS-tst-auditmod4b.c): Likewise.
10597 [$(subdir) = elf && $(config-cflags-avx) = yes]
10598 (CFLAGS-tst-auditmod6b.c): Likewise.
10599 [$(subdir) = elf && $(config-cflags-avx) = yes]
10600 (CFLAGS-tst-auditmod6c.c): Likewise.
10601 [$(subdir) = elf && $(config-cflags-avx) = yes]
10602 (CFLAGS-tst-auditmod7b.c): Likewise.
10603 * elf/tst-audit3.c: Move to ...
10604 * sysdeps/x86_64/tst-audit3.c: ... here.
10605 * elf/tst-audit4.c: Move to ...
10606 * sysdeps/x86_64/tst-audit4.c: ... here.
10607 * elf/tst-audit5.c: Move to ...
10608 * sysdeps/x86_64/tst-audit5.c: ... here.
10609 * elf/tst-audit6.c: Move to ...
10610 * sysdeps/x86_64/tst-audit6.c: ... here.
10611 * elf/tst-audit7.c: Move to ...
10612 * sysdeps/x86_64/tst-audit7.c: ... here.
10613 * elf/tst-auditmod3a.c: Move to ...
10614 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10615 * elf/tst-auditmod3b.c: Move to ...
10616 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10617 * elf/tst-auditmod4a.c: Move to ...
10618 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10619 * elf/tst-auditmod4b.c: Move to ...
10620 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10621 * elf/tst-auditmod5a.c: Move to ...
10622 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10623 * elf/tst-auditmod5b.c: Move to ...
10624 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10625 * elf/tst-auditmod6a.c: Move to ...
10626 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10627 * elf/tst-auditmod6b.c: Move to ...
10628 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10629 * elf/tst-auditmod6c.c: Move to ...
10630 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10631 * elf/tst-auditmod7a.c: Move to ...
10632 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10633 * elf/tst-auditmod7b.c: Move to ...
10634 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10635
1ef74943
PP
106362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10637
10638 [BZ #15366]
10639 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10640 define unconditionally.
10641 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10642 define unconditionally.
10643 (INT8_C, INT16_C, etc.): Likewise.
10644
93fd48c5
MR
106452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10646
ae9552cf
MR
10647 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10648 __ehdr_start with hidden visibility.
10649
93fd48c5
MR
10650 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10651
418601aa
CD
106522013-04-24 Carlos O'Donell <carlos@redhat.com>
10653
10654 * math/libm-test.inc (cos_test): Use accurate hex constants.
10655 (sincost_test): Likewise.
10656
2f38fbfe
JM
106572013-04-24 Joseph Myers <joseph@codesourcery.com>
10658
5e221800
JM
10659 * math/libm-test.inc (catan_test): Add more tests.
10660 (catanh_test): Likewise.
10661
77f143fd
JM
10662 * math/s_catanf.c (__catanf): Use suffixed floating-point
10663 constants.
10664 * math/s_catanhf.c (__catanhf): Likewise.
10665 * math/s_catanhl.c (__catanhl): Likewise.
10666 * math/s_catanl.c (__catanl): Likewise.
10667
2f38fbfe
JM
10668 [BZ #15394]
10669 * math/s_catan.c (__catan): Calculate imaginary part of result
10670 with log1p not log unless computing log of number close to 0.
10671 * math/s_catanf.c (__catanf): Likewise.
10672 * math/s_catanl.c (__catanl): Likewise.
10673 * math/s_catanh.c (__catanh): Calculate real part of result with
10674 log1p not log unless computing log of number close to 0.
10675 * math/s_catanhf.c (__catanhf): Likewise.
10676 * math/s_catanhl.c (__catanhl): Likewise.
10677 * math/libm-test.inc (catan_test): Add more tests.
10678 (catanh_test): Likewise.
10679 * sysdeps/i386/fpu/libm-test-ulps: Update.
10680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10681
45d69176
SP
106822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10683
10684 * benchtests/Makefile: Mention files in which fast and slow
10685 paths of math functions are implemented.
10686
87f51853
RM
106872013-04-23 Roland McGrath <roland@hack.frob.com>
10688
10689 * sysdeps/posix/timespec_get.c: New file.
10690
3c026539
AZ
106912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10692
10693 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10694 POWER.
10695 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10696 for POWER.
10697 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10698 powerpc/power5/fpu folders.
10699 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10700 * benchtests/Makefile: Add modf testcase.
10701 * benchtests/bench-modf.c: New file: Benchmark test for mo
10702
ff491d14
SP
107032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10704
10705 [BZ #14888]
10706 * time/Makefile (tests): Add tst-strptime-whitespace.
10707 * time/strptime_l.c (get_number): Use ISSPACE.
10708 (__strptime_internal): Likewise.
10709 * time/tst-strptime-whitespace.c: New test case.
10710
7ed3f4e8
AS
107112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10712
10713 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10714 member.
10715 (_nss_files_init): Set it here.
10716
5c95f7b6
HC
107172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10718
10719 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10720 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10721 unsigned.
10722
d34c9158
JBG
107232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10724
10725 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10726
2169712d
SP
107272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10728
10729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10730 size just once.
10731
29c5de99
DM
107322013-04-21 David S. Miller <davem@davemloft.net>
10733
10734 * po/ru.po: Update Russion translation from translation project.
10735
ccdad15d
AC
107362013-04-17 Adam Conrad <adconrad@0c3.net>
10737
10738 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10739 and setfsgid.
10740
0f122b8d
CD
107412013-04-17 Carlos O'Donell <carlos@redhat.com>
10742
5c5b07da 10743 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10744 * configure: Regenerate.
5c5b07da 10745 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10746 Add example to error message.
10747 * sysdeps/i386/configure: Regenerate.
10748
037714dd
SP
107492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10750
10751 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10752 slowtan.
10753 * benchtests/cos-inputs: New file.
10754 * benchtests/slowcos-inputs: New file.
10755 * benchtests/slowcos.c: New file.
10756 * benchtests/slowtan-inputs: New file.
10757 * benchtests/slowtan.c: New file.
10758 * benchtests/tan-inputs: New file.
10759
e913141d
RM
107602013-04-16 Roland McGrath <roland@hack.frob.com>
10761
10762 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10763 considered kosher.
10764
a2964074
SP
107652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10766
4856bcd2
SP
10767 * benchtests/Makefile: Include cppflags-iterator.mk to add
10768 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10769
a2964074
SP
10770 * Makefile.in (bench-clean): New target.
10771 * benchtests/Makefile (bench-clean): Likewise.
10772
9fbf9aca
DH
107732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10774
10775 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10776
207d1e2a
TS
107772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10778
10779 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10780
306dfba9
AS
107812013-04-15 Andreas Schwab <schwab@suse.de>
10782
10783 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10785 * nscd/pwdcache.c (cache_addpw): Likewise.
10786 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10787 more than recsize.
10788
206a6699
SP
107892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10790
10791 * benchtests/Makefile (bench): Write all output to
10792 bench-out.tmp together.
10793
0582f6b3
AS
107942013-04-15 Andreas Schwab <schwab@suse.de>
10795
10796 * nscd/nscd.c (main): Don't fork again after closing files.
10797
acb4325f
SP
107982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10799
5cb26d0a
SP
10800 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10801
acb4325f
SP
10802 * benchtests/Rules (bench-deps): Collect dependencies into a
10803 single variable. Add Makefile to dependencies.
10804 ($(objpfx)bench-%.c): Depend on bench-deps.
10805
47792506
RM
108062013-04-12 Roland McGrath <roland@hack.frob.com>
10807 Xavier Roche <roche+kml2@exalead.com>
10808
10809 [BZ #15361]
10810 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10811 just that it's a file descriptor.
10812 * manual/llio.texi (Synchronizing AIO Operations): Update description
10813 for EBADF error from aio_fsync.
10814
8fc1bee5
SP
108152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10816
10817 * Rules (bench): Move target definition...
10818 * benchtests/Makefile: ... here.
10819
aba5e333
CD
108202013-04-11 Carlos O'Donell <carlos@redhat.com>
10821
10822 * math/libm-test.inc (cos_test): Fix PI/2 test.
10823 (sincos_test): Likewise.
10824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10825 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10826
273cdee8
AS
108272013-04-11 Andreas Schwab <schwab@suse.de>
10828
6ecec3b6
AS
10829 [BZ #13988]
10830 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10831 accept exponent character only when digits were seen.
10832 * stdio-common/Makefile (tests): Add bug26.
10833 * stdio-common/bug26.c: New file.
10834
273cdee8
AS
10835 [BZ #14293]
10836 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10837 non-freeable.
10838
8da491f5
SP
108392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10840
01dc6df9
SP
10841 * Makeconfig (rtld-prefix): Define built linker prefix.
10842 * Rules (run-bench): Use it.
10843 * math/Makefile (run-regen-ulps): Likewise.
10844
8da491f5
SP
10845 * Rules (bench): Remove eval.
10846
abe7f530
SP
108472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10848 Roland McGrath <roland@hack.frob.com>
10849 Ondrej Bilka <neleai@seznam.cz>
10850
10851 [BZ #15346]
10852 * time/getdate.c: Include ctype.h and alloca.h.
10853 (__getdate_r): Trim leading and trailing spaces of input.
10854 * time/tst-getdate.c (tests): Add tests with leading and
10855 trailing spaces.
10856
61c23e62
RM
108572013-04-08 Roland McGrath <roland@hack.frob.com>
10858
10859 [BZ #14280]
10860 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10861 when computing value.
10862
7208a313
CD
108632013-04-06 Carlos O'Donell <carlos@redhat.com>
10864
085b2d41
CD
10865 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10866 Use testrun.sh to run libm tests.
10867
7208a313
CD
10868 [BZ #15309]
10869 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10870
872c0acd
MM
108712013-04-06 Marko Myllynen <myllynen@redhat.com>
10872
10873 [BZ #15264]
10874 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10875
26510bdd
CD
108762013-04-06 Carlos O'Donell <carlos@redhat.com>
10877
10878 * Makefile.in (regen-ulps): New target.
10879 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10880 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10881 [ifneq (no,$(PERL)] (regen-ulps): New target.
10882 [ifeq (no,$(PERL)] (regen-ulps): New target.
10883 * math/libm-test.inc (ulps_file_name): Define.
10884 (output_dir): New variable.
10885 (options): Add "output-dir" option.
10886 (parse_opt): Handle 'o' case.
10887 (main): If output_dir is non-NULL use it as a prefix
10888 otherwise use "".
10889 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10890
a01f19c8
CD
108912013-04-06 Carlos O'Donell <carlos@redhat.com>
10892
10893 [BZ #10060, #10062]
10894 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10895 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10896 fail configure if __sync_val_compare_and_swap is not inlined.
10897 * sysdeps/i386/configure: Regenerate.
10898 * configure.in: Build for i686 when configured for i386.
10899 * configure: Regenerate.
10900 * README: Remove i386 reference.
10901
b7a329a5
CD
109022013-04-06 Carlos O'Donell <carlos@redhat.com>
10903
10904 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10905 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10906
bf0f50df
TS
109072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10908
ee091edf
TS
10909 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10910 (lmsnanval): New variables.
10911 (F): Add conversion tests.
10912 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10913 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10914
a8b792d6
TS
10915 * stdio-common/tstdiomisc.c (F): Properly collect individual
10916 tests' results.
10917
a1cbf437
TS
10918 [BZ #14686, #15336]
10919 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10920 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10921 Instead, use input NaN values or generate a qNaN by arithmetic
10922 operation. Also fix bugs to comply with the standard.
10923 * math/libm-test.inc (remainder_test): Add more tests.
10924
8b43a0c9
TS
10925 [BZ #15335, #15342]
10926 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10928 input NaN values or generate a qNaN by arithmetic operation.
10929
d91da4ce
TS
10930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10931 unreachable code.
10932
bf0f50df
TS
10933 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10934 definitions.
10935
05e166c8
JM
109362013-04-03 Joseph Myers <joseph@codesourcery.com>
10937
10938 [BZ #14478]
10939 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10940 underflowed result.
10941 * math/s_cexpf.c (__cexpf): Likewise.
10942 * math/s_cexpl.c (__cexpl): Likewise.
10943 * math/libm-test.inc (cexp_test): Add more tests.
10944
1cef1b19
AS
109452013-04-03 Andreas Schwab <schwab@suse.de>
10946
10947 [BZ #15330]
10948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10949 order arrays from heap if bigger than alloca cutoff.
10950
74d87055
TS
109512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10952
10953 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10954 (SNAN_TESTS_double): Refer to GCC PR56831.
10955 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10956 GCC PR56828.
10957
d755bba4
SP
109582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10959
90d5d5bb
SP
10960 * Rules (bench): Move bench.out after the run is complete.
10961
73e0cd5d
SP
10962 * Rules (bench): Echo currently running benchmark.
10963
64aabd4b
SP
10964 * benchtests/Makefile (bench): Add atan and slowatan.
10965 * benchtests/atan-inputs: New file.
10966 * benchtests/slowatan-inputs: New file.
10967 * benchtests/slowatan.c: New file.
10968
c871eccd
SP
10969 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10971 its value.
10972
d755bba4
SP
10973 [BZ #15305]
10974 * sysdeps/unix/sysv/linux/kernel-features.h
10975 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10976 __ASSUME_XFS_RESTRICTED_CHOWN.
10977 * sysdeps/unix/sysv/linux/pathconf.c
10978 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10979 Save and restore errno.
10980
52ce4860
JM
109812013-04-02 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #15327]
10984 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10985 arguments using __kernel_casinh.
10986 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10987 arguments using __kernel_casinhf.
10988 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10989 arguments using __kernel_casinhl.
10990 * math/libm-test.inc (cacosh_test): Add more tests.
10991 * sysdeps/i386/fpu/libm-test-ulps: Update.
10992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993
81f311c2
SP
109942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
e7906a47
SP
10996 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10998
92e3664b
SP
10999 * bench/Makefile (bench): Add sin and slowsin.
11000 * benchtests/sin-inputs: New file.
11001 * benchtests/slowsin-inputs: New file.
11002 * benchtests/slowsin.c: New file.
11003
81f311c2
SP
11004 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11005 (bench): Add slowexp and slowpow.
11006 (exp-ITER): Increase iterations.
11007 (pow-ITER): Likewise.
11008 * benchtests/exp-inputs: Change input.
11009 * benchtests/pow-inputs: Likewise.
11010 * benchtests/slowexp-inputs: New file.
11011 * benchtests/slowexp.c: New file.
11012 * benchtests/slowpow-inputs: New file.
11013 * benchtests/slowpow.c: New file.
11014
ab0f1aa9
AZ
110152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11016
11017 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11018 instructions.
11019 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11020 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11021 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11022 * benchtests/Makefile: Add rint benchtest.
11023 * benchtests/rint-inputs: Input for rint benchtest.
11024
57267616
TS
110252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11026
11027 * Versions.def (libm): Add GLIBC_2.18.
11028 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11029 hidden libm prototypes.
11030 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11031 * math/Makefile (libm-calls): Add s_issignaling.
11032 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11033 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11034 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11035 declaration.
11036 * math/math.h [__USE_GNU] (issignaling): New macro.
11037 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11038 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11040 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11043 * manual/arith.texi (issignaling): New section.
11044 * manual/libm-err-tab.pl (@all_functions): Update comment.
11045 * math/gen-libm-test.pl (parse_args): Apply special handling for
11046 issignaling.
11047 * math/libm-test.inc (print_float, issignaling_test): New
11048 functions.
11049 (check_float_internal): Add issignaling checks.
11050 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11051 default definition.
11052 * sysdeps/powerpc/math-tests.h: New file.
11053 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11054 tests.
11055 * math/test-snan.c (TEST_FUNC): Likewise.
11056
6142896d
DM
110572013-03-30 David S. Miller <davem@davemloft.net>
11058
11059 * po/de.po: Update from translation team.
11060
ccc8cadf
JM
110612013-03-30 Joseph Myers <joseph@codesourcery.com>
11062
11063 [BZ #10357]
11064 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11065 imaginary part less than 1.0 and real part less than 0.5
11066 specially.
11067 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11068 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11069 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11070 (cacos_test): Add more tests.
11071 (casin_test): Likewise.
11072 (casinh_test): Likewise.
11073 * sysdeps/i386/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
0f6a8d4b
SP
110762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11077
0d1029de
SP
11078 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11079 ONE with its value.
11080
c2d94018
SP
11081 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11082 (__pow_mp): Replace ONE and MONE with their values.
11083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11085 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11086 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11089
27ec37f1
SP
11090 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11091
a64d7e0e
SP
11092 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11093 (__pow_mp): Replace ZERO and MZERO with their values.
11094 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11096 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11098 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11099 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11100 (__sqr): Likewise.
11101
d26dd3eb
SP
11102 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11103
0f6a8d4b
SP
11104 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11105
e57b0c61
RM
111062013-03-28 Roland McGrath <roland@hack.frob.com>
11107
11108 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11109 Declare with __attribute__ ((weak)).
11110 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11111 Call __call_tls_dtors only if it's not NULL.
11112
356b3480
RM
111132013-03-28 Roland McGrath <roland@hack.frob.com>
11114
288f7d79
RM
11115 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11116 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11117 magic __ehdr_start linker symbol if it's defined.
11118 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11119 them up here if it was already done.
11120
dc0a0263
RM
11121 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11122 (_dl_aux_init): Use const in cast when setting it.
11123 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11124 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11125 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11126
3d3436ae
RM
11127 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11128 Declare them here.
11129 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11130 * csu/libc-tls.c: Nor here.
11131 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11132
356b3480
RM
11133 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11134 (__libc_message): Never call vsyslog.
11135
b0f1246a
AM
111362013-03-28 Alan Modra <amodra@gmail.com>
11137
11138 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11139 Define as empty.
11140 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11141 Likewise.
11142
fbbe2b9a
AZ
111432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11144
11145 [BZ #15214]
11146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11147 underflow.
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11149
1728ab37
SP
111502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11151
7a86be6e
SP
11152 [BZ #15304]
11153 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11154 Don't add gid passed as argument.
11155
1728ab37
SP
11156 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11157
3a7182a1
JM
111582013-03-27 Joseph Myers <joseph@codesourcery.com>
11159
11160 [BZ #15307]
11161 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11162 imaginary part between 1.0 and 1.5 and real part less than 0.5
11163 specially.
11164 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11165 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11166 * math/libm-test.inc (cacos_test): Add more tests.
11167 (casin_test): Likewise.
11168 (casinh_test): Likewise.
11169 * sysdeps/i386/fpu/libm-test-ulps: Update.
11170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11171
6f2e90e7
SP
111722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11173
5739f705
SP
11174 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11175 constants.
11176 (norm): Likewise.
11177 (denorm): Likewise.
11178 (__dbl_mp): Likewise.
11179 (add_magnitudes): Likewise.
11180 (sub_magnitudes): Likewise.
11181 (__add): Likewise.
11182 (__sub): Likewise.
11183 (__mul): Likewise.
11184 (__sqr): Likewise.
11185 (__inv): Likewise.
11186 (__dvd): Likewise.
11187
e375e83d
SP
11188 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11189 commented code.
11190 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11191 (__dubcos): Likewise.
11192 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11193 (__ieee754_acos): Likewise.
11194 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11195 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11196 (__exp1): Likewise.
11197 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11199 (log1): Likewise.
11200 (my_log2): Likewise.
11201 (checkint): Likewise.
11202 * sysdeps/ieee754/dbl-64/e_remainder.c
11203 (__ieee754_remainder): Likewise.
11204 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11206 (bsloww): Likewise.
11207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11208
6f2e90e7
SP
11209 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11210 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11211 MANTISSA_STORE_T to store computations on mantissa. Use
11212 macros for rounding and division.
11213 (denorm): Likewise.
11214 (__dbl_mp): Likewise.
11215 (add_magnitudes): Likewise.
11216 (sub_magnitudes): Likewise.
11217 (__mul): Likewise.
11218 (__sqr): Likewise.
11219 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11220 powers of two in terms of TWOPOW macro.
11221 (mp_no): Make type of mantissa as MANTISSA_T.
11222 [!RADIXI]: Define RADIXI.
11223 [!TWO52]: Define TWO52.
11224 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11225
fce14d4e
AZ
112262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11227
11228 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11229 llroundl symbol when building for PPC32.
11230
9ad027fb
MW
112312013-03-24 Mark H Weaver <mhw@netris.org>
11232
11233 * manual/arith.texi (Normalization Functions): Fix prototypes for
11234 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11235
e42a38dd
AZ
112362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237
11238 [BZ #13889]
11239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11240 high value to check if expl overflow.
11241 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11242 to check for underflow and overflow.
11243 * math/libm-test.inc: Add exp test.
11244
2e0fb521
DL
112452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11246
11247 [BZ #11120]
11248 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11249 with NOT_IN_libc.
11250
b5784d95
AZ
112512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11252
11253 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11254 symbol.
11255
5aa4a1a1
TS
112562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11257
bdef0be7
TS
11258 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11259 wrap blocks consisting of several statements.
11260
5aa4a1a1
TS
11261 * sysdeps/generic/math-tests.h: New file.
11262 * sysdeps/i386/fpu/math-tests.h: Likewise.
11263 * math/test-snan.c: Include it.
11264 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11265
98c48fe5
JM
112662013-03-21 Joseph Myers <joseph@codesourcery.com>
11267
11268 [BZ #15285]
11269 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11270 (__ieee754_j0l): Do not improve calculations using cos of twice
11271 input for inputs above LDBL_MAX / 2.0L.
11272 (__ieee754_y0l): Likewise.
11273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11274 (__ieee754_j1l): Do not improve calculations using cos of twice
11275 input for inputs above LDBL_MAX / 2.0L.
11276 (__ieee754_y1l): Likewise.
11277 * math/libm-test.inc (j0_test): Add another test.
11278 (j1_test): Likewise.
11279 (y0_test): Likewise.
11280 (y1_test): Likewise.
11281 * sysdeps/i386/fpu/libm-test-ulps: Update.
11282
3775a8bc
SP
112832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11284
11285 * Rules ($(objpfx)bench-%.c): Include code from a C source
11286 file.
11287
0a1b2ae6
JM
112882013-03-21 Joseph Myers <joseph@codesourcery.com>
11289
11290 [BZ #15287]
11291 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11292 imaginary part 1.0 and real part less than 0.5 specially.
11293 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11294 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11295 * math/libm-test.inc (cacos_test): Add more tests.
11296 (casin_test): Likewise.
11297 (casinh_test): Likewise.
11298 * sysdeps/i386/fpu/libm-test-ulps: Update.
11299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11300
b33d4ce4
SP
113012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11302
11303 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11304 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11305
bef0b507
JM
113062013-03-20 Joseph Myers <joseph@codesourcery.com>
11307
11308 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11309 * config.make.in (config-cflags-sse4): Remove variable.
11310 (config-cflags-avx): Likewise.
11311 (config-cflags-sse2avx): Likewise.
11312 (config-cflags-novzeroupper): Likewise.
11313 (config-asflags-i686): Likewise.
11314 (have-mfma4): Likewise.
11315 (have-as-vis3): Likewise.
11316 (MIG): Likewise.
11317 * configure.in (MIG): Do not AC_SUBST.
11318 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11319 (libc_cv_cc_sse4): Do not AC_SUBST.
11320 (libc_cv_cc_avx): Likewise.
11321 (libc_cv_cc_sse2avx): Likewise.
11322 (libc_cv_cc_novzeroupper): Likewise.
11323 (libc_cv_cc_fma4): Likewise.
11324 (libc_cv_as_i686): Likewise.
11325 (libc_cv_sparc_as_vis3): Likewise.
11326 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11327 LIBC_CONFIG_VAR.
11328 (config-asflags-i686): Likewise.
11329 (config-cflags-avx): Likewise.
11330 (config-cflags-sse2avx): Likewise.
11331 (have-mfma4): Likewise.
11332 (config-cflags-novzeroupper): Likewise.
11333 * sysdeps/mach/configure.in (MIG): Likewise.
11334 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11335 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11336 LIBC_CONFIG_VAR.
11337 (config-cflags-avx): Likewise.
11338 (config-cflags-sse2avx): Likewise.
11339 (have-mfma4): Likewise.
11340 (config-cflags-novzeroupper): Likewise.
11341 * configure: Regenerated.
11342 * sysdeps/i386/configure: Likewise.
11343 * sysdeps/mach/configure: Likewise.
11344 * sysdeps/sparc/configure: Likewise.
11345 * sysdeps/x86_64/configure: Likewise.
11346
912cc4b3
RM
113472013-03-20 Roland McGrath <roland@hack.frob.com>
11348
11349 [BZ #14812]
11350 * locale/programs/localedef.c (options): Put N_ translation marker
11351 on argument names, not just descriptions.
11352
04eed2b0
MS
113532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11354
11355 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11356
a065ceff
OB
113572013-03-20 Ondřej Bílka <neleai@seznam.cz>
11358
9bb2a810 11359 [BZ #14176]
a065ceff
OB
11360 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11361
a600e5ce
RM
113622013-03-19 Roland McGrath <roland@hack.frob.com>
11363
11364 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11365 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11366 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11367 [!BEFORE_ABORT] (before_abort): New function.
11368 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11369 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11370 (writev_for_fatal): New function.
11371 (WRITEV_FOR_FATAL): New macro; call that.
11372 (backtrace_and_maps): New function.
11373 (BEFORE_ABORT): New macro; call that.
11374 (struct str_list): Type removed.
11375 (__libc_message, __libc_fatal): Functions removed.
11376 Include <sysdeps/posix/libc_fatal.c> instead.
11377
6b18bea6
JM
113782013-03-19 Joseph Myers <joseph@codesourcery.com>
11379
11380 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11381 constants.
11382 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11383 double constants.
11384
aaa8cb4b
AS
113852013-03-19 Andreas Schwab <schwab@suse.de>
11386
44673770
AS
11387 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11388 * sysdeps/gnu/configure: Regenerate.
11389
aaa8cb4b
AS
11390 * configure.in: Substitute libc_cv_rtlddir.
11391 * configure: Regenerate.
11392 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11393 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11394 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11395 * elf/Makefile (install-others, CFLAGS-interp.c)
11396 (ldso_install, common-ldd-rewrite): Likewise.
11397 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11398 $(inst_slibdir)/$(rtld-installed-name).
11399 * scripts/rellns-sh: Add -p option.
11400 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11401 for source.
11402
d3cfc668
SP
114032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11404
11405 * manual/nptl.texi: Renamed to ...
11406 * manual/threads.texi: ... this.
11407 * manual/Makefile (chapters): Update.
11408
0e2b9cdd
RM
114092013-03-18 Roland McGrath <roland@hack.frob.com>
11410
11411 [BZ #14812]
11412 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11413 on argument names, not just descriptions.
0e2b9cdd
RM
11414 * malloc/memusagestat.c (options): Likewise.
11415 * nss/getent.c (options): Likewise.
63270c24
RM
11416
114172013-03-18 Benno Schulenberg <bensberg@justemail.net>
11418
11419 [BZ #14812]
11420 * iconv/iconv_prog.c (options): Put N_ translation marker
11421 on argument names, not just descriptions.
11422 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11423
b2e1393c
OB
114242013-03-18 Ondrej Bilka <neleai@seznam.cz>
11425
11426 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11427 implementation which is faster on all x86_64 architectures.
11428 Tested on AMD, Intel Nehalem, SNB, IVB.
11429 * sysdeps/x86_64/strnlen.S: Likewise.
11430
11431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11432 Remove all multiarch strlen and strnlen versions.
11433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11434 Remove strlen and strnlen related parts.
11435
11436 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11437 Inline strlen part.
11438 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11439
11440 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11441 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11442 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11443 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11444 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11445 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11446
ec4ff04d
CD
114472013-03-17 Carlos O'Donell <carlos@redhat.com>
11448
11449 * manual/memory.texi (Malloc Tunable Parameters):
11450 Sort parameters alphabetically. Add comments for missing entries.
11451
cd18e90a
DM
114522013-03-17 David S. Miller <davem@davemloft.net>
11453
11454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11455
2a185d32
JM
114562013-03-16 Joseph Myers <joseph@codesourcery.com>
11457
d2f9799e
JM
11458 [BZ #15283]
11459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11460 for arguments at most half maximum finite value.
11461 * math/libm-test.inc (j0_test): Add more tests.
11462 (j1_test): Likewise.
11463 (y0_test): Likewise.
11464 (y1_test): Likewise.
11465 * sysdeps/i386/fpu/libm-test-ulps: Update.
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11467
2a185d32
JM
11468 [BZ #14155]
11469 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11470 1 / x and functions P and Q for arguments above 0x1p256L.
11471 (__ieee754_y0l): Likewise.
11472 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11473 (__ieee754_y1l): Likewise.
11474 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11475 (j1_test): Likewise.
11476 (y0_test): Likewise.
11477 (y1_test): Likewise.
11478
6cbec759
TS
114792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11480
11481 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11482 variable.
11483
bc16e260
RM
114842013-03-15 Roland McGrath <roland@hack.frob.com>
11485
aefc9b8c
RM
11486 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11487 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11488 zero since it's initialized to EXEC_PAGESIZE.
11489
bc16e260
RM
11490 * sysdeps/unix/sysv/linux/ldsodefs.h
11491 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11492 * sysdeps/generic/ldsodefs.h: ... here.
11493
a57da955
TS
114942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11495
af00a34d
TS
11496 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11497
495ded2c
TS
11498 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11499 math/test-snan.c.
11500 * math/test-snan.c: Renamed from
11501 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11502 * math/Makefile (tests): Add test-snan.
11503 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11504 test-powerpc-snan.
11505
777b0332
TS
11506 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11507 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11508 functions.
11509 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11510 __builtin_nan family of functions.
11511 * math/libm-test.inc (initialize): Initialize qnan_value with
11512 __builtin_nan family of functions.
11513 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11514 Remove variables.
11515 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11516 Remove functions.
11517 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11518 storage class. Initialize qNaN_var and sNaN_var with
11519 __builtin_nan and __builtin_nans families of functions,
11520 respectively.
11521
64d063b8
TS
11522 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11523 (sqrt_test): Remove duplicate test with qNaN input.
11524 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11525 (round_test, signbit_test, significand_test): Note missing +/-Inf
11526 as well as qNaN tests.
11527
67e971f1
TS
11528 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11529 qNaN_var. Fix a few strings, too.
11530 * math/libm-test.inc (nan_value): Rename to qnan_value.
11531 * math/gen-libm-test.pl (%beautify): Adjust to that.
11532 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11533 * math/test-misc.c (main): Likewise.
11534 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11535 to __qnan_bytes, and __qnan_union, respectively.
11536 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11537 Likewise.
11538 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11539 and lqnanval, respectively.
11540 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11541 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11542 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11543 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11544
64487e12
TS
11545 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11546 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11547 doubles.
11548
e015e27b
TS
11549 * math/test-misc.c (main): Fix copy'n'pastos.
11550 * misc/tst-efgcvt.c (special): Likewise.
11551
a57da955
TS
11552 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11553 Remove declarations.
11554
1e380345
SP
115552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11556
11557 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11558 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11559 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11560 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11561
ef26eece
AZ
115622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11563
11564 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11565 macro to return vdso values correctly in IFUNC implementations.
11566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11567 Optimization by using IFUNC.
11568
8cfdb7e0
SP
115692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 Richard Henderson <rth@redhat.com>
11571 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11572
11573 * Makefile.in (bench): New target.
11574 * NEWS: Mention the benchmark framework.
11575 * Rules (bench): Likewise.
11576 (binaries-bench): Generate binaries for functions to
11577 benchmark.
11578 * benchtests/Makefile: New makefile for benchmark tests.
11579 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11580 programs.
11581 * benchtests/exp-inputs: New input file for EXP function.
11582 * benchtests/pow-inputs: New input file for POW function.
11583 * scripts/bench.pl: New script to generate source files for
11584 benchmark programs.
11585
bcda9880
SP
115862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11587
d22ca8cd
SP
11588 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11589 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11590 computations on mantissa. Use macros for rounding and
11591 division.
11592 (denorm): Likewise.
11593 (__dbl_mp): Likewise.
11594 (add_magnitudes): Likewise.
11595 (sub_magnitudes): Likewise.
11596 (__mul): Likewise.
11597 (__sqr): Likewise.
11598 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11599 powers of two in terms of TWOPOW macro.
11600 (mp_no): Make type of mantissa as MANTISSA_T.
11601 [!RADIXI]: Define RADIXI.
11602 [!TWO52]: Define TWO52.
11603 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11604
bcda9880
SP
11605 * manual/nptl.texi (cindex): Modify threads to pthreads.
11606
06d5adfb
JM
116072013-03-15 Joseph Myers <joseph@codesourcery.com>
11608
11609 * sysdeps/x86_64/preconfigure: Regenerated.
11610
41c7328e
JM
116112013-03-14 Joseph Myers <joseph@codesourcery.com>
11612
11613 [BZ #14155]
11614 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11615 0x1p28 and above.
11616 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11617 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11618 0x1p28 and above.
11619 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11620 * math/libm-test.inc (j0_test): Do not allow one spurious
11621 underflow exception.
11622 (y1_test): Likewise.
11623
e25cfa60
SP
116242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11625
0409959c
SP
11626 * manual/Makefile (chapters): Add nptl.
11627 * manual/debug.texi (Debugging Support): Add link to Threads
11628 chapter.
11629 * manual/nptl.texi: New file.
11630
e25cfa60
SP
11631 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11632
58a1335e
PB
116332013-03-14 Petr Baudis <pasky@ucw.cz>
11634
11635 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11636 for non-NULL pointer before the memory validity test. Pointed
11637 out by Holger Brunck <holger.brunck@keymile.com>.
11638
9dc7c64f
AS
116392013-03-13 Andreas Schwab <schwab@suse.de>
11640
11641 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11642 instead of .os.
11643
54206aa6
JM
116442013-03-13 Joseph Myers <joseph@codesourcery.com>
11645
11646 * timezone/zic.c: Update from tzcode 2013b.
11647
e98cdb38
CD
116482013-03-12 Carlos O'Donell <carlos@redhat.com>
11649
11650 * manual/install.texi (Configuring and compiling):
11651 Mention i686 and i586.
11652 * INSTALL: Regenerate.
11653
9967e003
RM
116542013-03-12 Roland McGrath <roland@hack.frob.com>
11655
11656 * sysdeps/init_array/elf-init.c: New file.
11657 * csu/elf-init.c
11658 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11659 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11660
11661 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11662 __gmon_start__ as global, but as static with a .preinit_array pointer.
11663 * sysdeps/init_array/gmon-start.c: New file. Use that.
11664 * sysdeps/init_array/crti.S: New file, empty except for comments.
11665 * sysdeps/init_array/crtn.S: Likewise.
11666
e6b5a293 116672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11668
11669 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11670 definining bcopy.
80f844c9
OB
11671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11672 Remove Prefer_SSE_for_memop.
11673 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11674 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11675 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11677 memset-x86-64.
80f844c9 11678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11679 Remove bzero, memset ifunc support.
80f844c9
OB
11680 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11681 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11682 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11683 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11684
fb6b0fcb
AS
116852013-03-11 Andreas Schwab <schwab@suse.de>
11686
11687 [BZ #15234]
11688 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11689 by SHLIB_COMPAT.
11690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11691 (GLIBC_2.16): Remove pthread_atfork.
11692
3e6bd4b1
PP
116932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11694
11695 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11696 (ptestcases.h): Likewise.
11697
222d7f00
RM
116982013-03-08 Roland McGrath <roland@hack.frob.com>
11699
11700 * Makeconfig ($(common-objpfx)config.status): Depend on
11701 sysdeps/*/preconfigure{,.in} too.
11702
1ba4f030
JM
117032013-03-08 Joseph Myers <joseph@codesourcery.com>
11704
a222d91a
JM
11705 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11706 (__free_hook): Use void * instead of __malloc_ptr_t.
11707 (__malloc_hook): Likewise.
11708 (__realloc_hook): Likewise.
11709 (__memalign_hook): Likewise.
11710 (__after_morecore_hook): Likewise.
11711 * malloc/arena.c (save_malloc_hook): Likewise.
11712 (save_free_hook): Likewise.
11713 * malloc/hooks.c (malloc_hook_ini): Likewise.
11714 (realloc_hook_ini): Likewise.
11715 (memalign_hook_ini): Likewise.
11716 * malloc/malloc.c (malloc_hook_ini): Likewise.
11717 (realloc_hook_ini): Likewise.
11718 (memalign_hook_ini): Likewise.
11719 (__free_hook): Likewise.
11720 (__malloc_hook): Likewise.
11721 (__realloc_hook): Likewise.
11722 (__memalign_hook): Likewise.
11723 (__libc_malloc): Likewise.
11724 (__libc_free): Likewise.
11725 (__libc_realloc): Likewise.
11726 (__libc_memalign): Likewise.
11727 (__libc_valloc): Likewise.
11728 (__libc_pvalloc): Likewise.
11729 (__libc_calloc): Likewise.
11730 (__posix_memalign): Likewise.
11731 * malloc/morecore.c (__sbrk): Likewise.
11732 (__default_morecore): Likewise.
11733
5cc45e10
JM
11734 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11735
dd54b864
JM
11736 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11737 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11738 __malloc_ptrdiff_t.
11739
1ba4f030
JM
11740 * malloc/malloc.h (__malloc_size_t): Remove macro.
11741 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11742 __malloc_size_t.
11743 (old_memalign_hook): Likewise.
11744 (old_realloc_hook): Likewise.
11745 (struct hdr): Likewise.
11746 (flood): Likewise.
11747 (mallochook): Likewise.
11748 (memalignhook): Likewise.
11749 (reallochook): Likewise.
11750 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11751 (tr_old_realloc_hook): Likewise.
11752 (tr_old_memalign_hook): Likewise.
11753 (tr_mallochook): Likewise.
11754 (tr_reallochook): Likewise.
11755 (tr_memalignhook): Likewise.
11756
edf66e57
AZ
117572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11758
11759 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11760 default_ldbl_pack and using as default implementation.
11761 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11762 implementation.
11763 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11764 redundant definition.
11765 (ldbl_insert_mantissa): Likewise.
11766 (ldbl_canonicalize): Likewise.
11767 (ldbl_nearbyint): Likewise.
11768 (ldbl_pack): Rename to ldbl_pack_ppc.
11769 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11770 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11771 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11772
6d9145d8
SP
117732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11774
11775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11776 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11777 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11778 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11781 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11782 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11783
4dd4e157
AJ
117842013-03-07 Andreas Jaeger <aj@suse.de>
11785
11786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11787 bits/mman-linux.h.
11788
adbb8027
SP
117892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11790
ce544b5b
SP
11791 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11792 Include mpa.h and declare __MPEXP.
11793 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11795 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11798 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11799 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11800
4cc149fd
SP
11801 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11802 (__slowpow): Use long double EXPL and LOGL functions to
11803 compute POW.
11804 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11805 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11806 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11807 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11808 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11810
e6ebd4a7
SP
11811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11812 intermediate variable to calculate exponent.
11813 (__sqr): Likewise.
11814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11815 Likewise.
11816 (__sqr): Likewise.
11817
82a9811d
SP
11818 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11819 [!NO__SQR]: Define __sqr.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11821 and NO__SQR. Remove all code except __mul and __sqr. Include
11822 sysdeps/ieee754/dbl-64/mpa.c.
11823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11824
adbb8027
SP
11825 [BZ #12723]
11826 * posix/Makefile (tests): Add tst-pathconf.
11827 * posix/tst-pathconf.c: New test case.
11828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11829 _PC_PIPE_BUF.
11830 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11831
39120df9
PF
118322013-03-06 Patsy Franklin <pfrankli@redhat.com>
11833
11834 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11835
67525cb8
AJ
118362013-03-06 Andreas Jaeger <aj@suse.de>
11837
664a9ce4
AJ
11838 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11839 definition via __MAP_ANONYMOUS.
11840
8e39047d
AJ
11841 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11842 it's not part of Linux headers.
11843
67525cb8
AJ
11844 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11845 (MAP_HUGE_MASK): Define.
11846
11847 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11848 Define.
11849 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11851 Define.
11852 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11853 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11854 Define.
11855 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11856 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11857 Define.
11858 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11859
11860 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11861 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11862 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11863 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11864 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11866
11867 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11868 Handle f2fs.
11869
11870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11871 Handle f2fs and efivarfs.
11872
11873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11874 f2fs.
11875
11876 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11877 (EFIVARFS_MAGIC): Add.
11878 (F2FS_LINK_MAX): Add.
11879
e1b42695
PP
118802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11881
11882 * stdio-common/vfprintf.c: Replace __builtin_expect with
11883 __glibc_unlikely.
11884
2d67d91a
JM
118852013-03-06 Joseph Myers <joseph@codesourcery.com>
11886
11887 [BZ #13550]
11888 * sysdeps/generic/bp-sym.h: Remove file.
11889 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11890 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (__longjmp): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11894 and <bp-asm.h>.
11895 (memcpy): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (memcpy): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11900 <bp-asm.h>.
11901 (memcpy): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11903 <bp-asm.h>.
11904 (memset): Don't use BP_SYM.
11905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11907 (__bzero): Don't use BP_SYM.
11908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11911 <bp-sym.h> and <bp-asm.h>.
11912 (memcmp): Don't use BP_SYM. Remove comment about bounded
11913 pointers.
11914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (memcpy): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (memset): Don't use BP_SYM.
11920 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11921 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11922 (__bzero): Don't use BP_SYM.
11923 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11924 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11926 <bp-sym.h> and <bp-asm.h>.
11927 (strncmp): Don't use BP_SYM. Remove comment about bounded
11928 pointers.
11929 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11930 <bp-sym.h> and <bp-asm.h>.
11931 (memcpy): Don't use BP_SYM.
11932 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11933 <bp-sym.h> and <bp-asm.h>.
11934 (memset): Don't use BP_SYM.
11935 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11936 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11937 (__bzero): Don't use BP_SYM.
11938 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11939 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11941 <bp-sym.h> and <bp-asm.h>.
11942 (__memchr): Don't use BP_SYM.
11943 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11944 <bp-sym.h> and <bp-asm.h>.
11945 (memcmp): Don't use BP_SYM. Remove comment about bounded
11946 pointers.
11947 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11948 <bp-sym.h> and <bp-asm.h>.
11949 (memcpy): Don't use BP_SYM.
11950 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11951 <bp-sym.h> and <bp-asm.h>.
11952 (__mempcpy): Don't use BP_SYM.
11953 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11954 <bp-sym.h> and <bp-asm.h>.
11955 (__memrchr): Don't use BP_SYM.
11956 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11957 <bp-sym.h> and <bp-asm.h>.
11958 (memset): Don't use BP_SYM.
11959 (__bzero): Likewise.
11960 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11961 <bp-sym.h> and <bp-asm.h>.
11962 (__rawmemchr): Don't use BP_SYM.
11963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11964 <bp-sym.h> and <bp-asm.h>.
11965 (__STRCMP): Don't use BP_SYM.
11966 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11967 <bp-sym.h> and <bp-asm.h>.
11968 (strchr): Don't use BP_SYM.
11969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11970 <bp-sym.h> and <bp-asm.h>.
11971 (__strchrnul): Don't use BP_SYM.
11972 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11973 <bp-sym.h> and <bp-asm.h>.
11974 (strlen): Don't use BP_SYM.
11975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11976 <bp-sym.h> and <bp-asm.h>.
11977 (strncmp): Don't use BP_SYM. Remove comment about bounded
11978 pointers.
11979 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11980 <bp-sym.h> and <bp-asm.h>.
11981 (__strnlen): Don't use BP_SYM.
11982 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11983 <bp-sym.h> and <bp-asm.h>.
11984 (__GI__setjmp): Don't use BP_SYM.
11985 (_setjmp): Likewise.
11986 (__sigsetjmp): Likewise.
11987 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11988 (L(start_addresses)): Don't use BP_SYM.
11989 (_start): Likewise.
11990 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11991 <bp-asm.h>.
11992 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11993 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11994 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11995 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11996 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11997 <bp-asm.h>.
11998 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11999 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12000 about bounded pointers.
12001 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12002 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12003 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12004 <bp-asm.h>.
12005 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12006 about bounded pointers. Remove GKM FIXME comments.
12007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12008 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12009 <bp-asm.h>.
12010 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12011 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12012 Remove GKM FIXME comments.
12013 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12014 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12015 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12016 <bp-asm.h>.
12017 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12018 about bounded pointers. Remove GKM FIXME comment.
12019 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12020 and <bp-asm.h>.
12021 (strncmp): Don't use BP_SYM. Remove comment about bounded
12022 pointers.
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12024 <bp-sym.h> and <bp-asm.h>.
12025 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12027 <bp-sym.h> and <bp-asm.h>.
12028 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12029 comment.
12030
cdcf361f
PP
120312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12032
12033 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12034 call free(NULL).
12035
3c4a2b15
DM
120362013-03-05 David S. Miller <davem@davemloft.net>
12037
12038 * po/es.po: Update from translation team.
12039
cdcf361f 120402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12041
12042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12043 <bits/mman-linux.h>.
12044 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12045 is fine.
12046 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12047 <bits/mman-linux.h> to end of file.
12048 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12049 is fine.
12050 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12051 <bits/mman-linux.h> to end of file.
12052 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12053 is fine.
12054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12055 <bits/mman-linux.h> to end of file.
12056
12057 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12058 (MCL_CURRENT, MCL_FUTURE): Define here.
12059
5f67c04f
AK
120602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12061
8a4473cc 12062 [BZ #15232]
5f67c04f
AK
12063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12064 attribute_hidden.
12065 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12066
c3e94a95
AK
120672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12068
12069 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12070 fourth parameter needed for rt_sigprocmask syscall.
12071 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12072 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12073 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12074 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12075 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12076 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12077
cfb6382a
JM
120782013-03-04 Joseph Myers <joseph@codesourcery.com>
12079
12080 [BZ #13550]
12081 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12082 comment about bounded pointers.
12083 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12084 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12085
539d8e01
AJ
120862013-03-04 Andreas Jaeger <aj@suse.de>
12087
12088 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12089 common definitions.
12090
12091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12092 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12093 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12095 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12097
2e167a70 120982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12099
12100 [BZ #15055]
12101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12102 __ieee754_sqrl instead of __sqrl.
12103
68508633
JM
121042013-03-01 Joseph Myers <joseph@codesourcery.com>
12105
12106 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12107 * sysdeps/powerpc/fpu_control.h: ... here.
12108 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12109 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12110 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12111 * sysdeps/powerpc/bits/mathinline.h: ... here.
12112
7775448e
RM
121132013-03-01 Roland McGrath <roland@hack.frob.com>
12114
12115 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12116 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12117 to just [NEED_DL_SYSINFO_DSO].
12118 * elf/dl-support.c: Likewise.
12119 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12120 * elf/rtld.c (dl_main): Likewise.
12121 * elf/setup-vdso.h (setup_vdso): Likewise.
12122 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12123 * sysdeps/unix/sysv/linux/dl-sysdep.c
12124 (_dl_discover_osversion): Likewise.
12125
4e9b5995
CD
121262013-03-01 Carlos O'Donell <carlos@redhat.com>
12127
12128 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12129 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12130
e23872c8
SP
121312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12132
e5c74c63
SP
12133 * NEWS: Mention libm performance improvements and non-x86 PI
12134 futex support.
12135
e23872c8
SP
12136 * csu/libc-start.c (__pthread_initialize_minimal): Change
12137 function arguments.
12138 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12139
b5510883
JM
121402013-02-28 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #13550]
12143 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12144 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12145 <bp-sym.h> and <bp-asm.h>.
12146 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12147 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12148 and <bp-asm.h>.
12149 (memcpy): Don't use BP_SYM.
12150 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12151 <bp-asm.h>.
12152 (__mpn_add_n): Don't use BP_SYM.
12153 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12154 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12155 and <bp-asm.h>.
12156 (__mpn_addmul_1): Don't use BP_SYM.
12157 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12158 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12159 <bp-sym.h>.
12160 (_setjmp): Don't use BP_SYM.
12161 (__novmx_setjmp): Likewise.
12162 (__GI__setjmp): Likewise.
12163 (__vmx_setjmp): Likewise.
12164 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12165 <bp-sym.h>.
12166 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12167 (__bzero): Don't use BP_SYM.
12168 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12169 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12170 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12171 <bp-sym.h> and <bp-asm.h>.
12172 (memcpy): Don't use BP_SYM.
12173 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12176 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12179 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12180 <bp-asm.h>.
12181 (__mpn_lshift): Don't use BP_SYM.
12182 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12183 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12184 <bp-asm.h>.
12185 (memset): Don't use BP_SYM.
12186 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12187 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12188 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12189 <bp-asm.h>.
12190 (__mpn_mul_1): Don't use BP_SYM.
12191 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12192 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12193 <bp-sym.h> and <bp-asm.h>.
12194 (memcmp): Don't use BP_SYM.
12195 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12196 <bp-sym.h> and <bp-asm.h>.
12197 (memcpy): Don't use BP_SYM.
12198 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12199 <bp-sym.h> and <bp-asm.h>.
12200 (memset): Don't use BP_SYM.
12201 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12202 <bp-sym.h> and <bp-asm.h>.
12203 (strncmp): Don't use BP_SYM.
12204 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12205 <bp-sym.h> and <bp-asm.h>.
12206 (memcpy): Don't use BP_SYM.
12207 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12208 <bp-sym.h> and <bp-asm.h>.
12209 (memset): Don't use BP_SYM.
12210 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12211 <bp-sym.h> and <bp-asm.h>.
12212 (__memchr): Don't use BP_SYM.
12213 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12214 <bp-sym.h> and <bp-asm.h>.
12215 (memcmp): Don't use BP_SYM.
12216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12217 <bp-sym.h> and <bp-asm.h>.
12218 (memcpy): Don't use BP_SYM.
12219 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12220 <bp-sym.h> and <bp-asm.h>.
12221 (__mempcpy): Don't use BP_SYM.
12222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12223 <bp-sym.h> and <bp-asm.h>.
12224 (__memrchr): Don't use BP_SYM.
12225 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12226 <bp-sym.h> and <bp-asm.h>.
12227 (memset): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12229 <bp-sym.h> and <bp-asm.h>.
12230 (__rawmemchr): Don't use BP_SYM.
12231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12232 <bp-sym.h> and <bp-asm.h>.
12233 (__STRCMP): Don't use BP_SYM.
12234 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12235 <bp-sym.h> and <bp-asm.h>.
12236 (strchr): Don't use BP_SYM.
12237 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12238 <bp-sym.h> and <bp-asm.h>.
12239 (__strchrnul): Don't use BP_SYM.
12240 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12241 <bp-sym.h> and <bp-asm.h>.
12242 (strlen): Don't use BP_SYM.
12243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12244 <bp-sym.h> and <bp-asm.h>.
12245 (strncmp): Don't use BP_SYM.
12246 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12247 <bp-sym.h> and <bp-asm.h>.
12248 (__strnlen): Don't use BP_SYM.
12249 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12250 <bp-asm.h>.
12251 (__mpn_rshift): Don't use BP_SYM.
12252 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12253 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12254 <bp-sym.h> and <bp-asm.h>.
12255 (__sigsetjmp): Don't use BP_SYM.
12256 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12257 (L(start_addresses)): Don't use BP_SYM.
12258 (_start): Likewise.
12259 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12260 <bp-asm.h>.
12261 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12262 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12263 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12264 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12265 <bp-asm.h>.
12266 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12267 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12268 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12269 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12270 <bp-asm.h>.
12271 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12272 comments.
12273 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12274 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12275 <bp-asm.h>.
12276 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12277 FIXME comments.
12278 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12279 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12280 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12281 <bp-asm.h>.
12282 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12283 comment.
12284 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12285 and <bp-asm.h>.
12286 (strncmp): Don't use BP_SYM,
12287 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12288 <bp-asm.h>.
12289 (__mpn_sub_n): Don't use BP_SYM.
12290 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12291 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12292 and <bp-asm.h>.
12293 (__mpn_submul_1): Don't use BP_SYM.
12294 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12296 <bp-sym.h> and <bp-asm.h>.
12297 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12299 <bp-sym.h> and <bp-asm.h>.
12300 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12301 comment.
12302
8d19fe64
SP
123032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12304
12305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12306 Use ZK to minimize writes to Z.
12307 (sub_magnitudes): Simplify code a bit.
12308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12309 Use ZK to minimize writes to Z.
12310 (sub_magnitudes): Simplify code a bit.
12311
85bd816a
RM
123122013-02-27 Roland McGrath <roland@hack.frob.com>
12313
12314 * csu/gmon-start.c: Add special exception to license text.
12315
b5977bf2
RH
123162013-02-27 Richard Henderson <rth@redhat.com>
12317
12318 * scripts/config.guess: Update from config.git.
12319 * scripts/config.sub: Likewise.
12320
11d6e2f2
SP
123212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12322
09c14ed2
SP
12323 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12324
a688864e
SP
12325 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12326
6295157a
SP
12327 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12328
b8de2202
SP
12329 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12330
11d6e2f2
SP
12331 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12332
7e80ddb8
RM
123332013-02-26 Roland McGrath <roland@hack.frob.com>
12334
12335 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12336 [$(build-shared = yes].
7e80ddb8 12337
7da6d9ed
SP
123382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
45f05884
SP
12340 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12341 (__mul): Reduce iterations for calculating mantissa.
12342
2236d359
SP
12343 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12344 MPTWO.
12345 (__mpranred): Likewise.
12346
7da6d9ed
SP
12347 [BZ #15160]
12348 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12349 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12350
b7688c42
PE
123512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12352
12353 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12354 Define __attribute__.
12355
53a5c423
SP
123562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12357
12358 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12359 unused.
12360 * posix/regex_internal.h (__attribute): Remove.
12361 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12362 (re_string_context_at): Likewise.
12363 (bitset_not): Use __attribute__ and mark function as possibly
12364 unused.
12365 (bitset_merge): Likewise.
12366 (bitset_mask): Likewise.
12367 (re_string_char_size_at): Likewise.
12368 (re_string_wchar_at): Likewise.
12369 (re_string_elem_size_at): Likewise.
12370
60f5a8b5
SP
123712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12372
2a983a2e
SP
12373 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12374 code.
12375 (cc32): Likewise.
12376
e69804d1
SP
12377 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12378 (__acr): Likewise.
12379 (__cpy): Likewise.
12380 (norm): Likewise.
12381 (denorm): Likewise.
12382 (__dbl_mp): Likewise.
12383 (add_magnitudes): Likewise.
12384 (sub_magnitudes): Likewise.
12385 (__mul): Likewise.
12386 (__inv): Likewise.
12387
2f22a1e8
SP
12388 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12389 style.
12390
8930ddc7
SP
12391 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12392 style.
12393
dc60cb11
SP
12394 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12395 code.
12396
60f5a8b5
SP
12397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12398 up changes with default code.
12399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12400 Likewise.
12401
b4d1fd33
AM
124022013-02-24 Allan McRae <allan@archlinux.org>
12403
faf6f8bc
AM
12404 * manual/socket.texi (The Internet Namespace): Order menu items
12405 to match that in the file.
12406
b4d1fd33
AM
12407 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12408 node listing of the info page menu.
12409
2366713d
JM
124102013-02-21 Joseph Myers <joseph@codesourcery.com>
12411
12412 [BZ #13550]
12413 * sysdeps/i386/bp-asm.h: Remove file.
12414 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12415 (PARMS): Do not use macros from bp-asm.h.
12416 (S1): Likewise.
12417 (S2): Likewise.
12418 (SIZE): Likewise.
12419 (__mpn_add_n): Do not use BP_SYM
12420 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12421 "bp-asm.h".
12422 (PARMS): Do not use macros from bp-asm.h.
12423 (S1): Likewise.
12424 (SIZE): Likewise.
12425 (__mpn_addmul_1): Do not use BP_SYM
12426 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12427 "bp-asm.h".
12428 (PARMS): Do not use macros from bp-asm.h.
12429 (SIGMSK): Likewise.
12430 (_setjmp): Likewise. Do not use BP_SYM.
12431 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12432 "bp-asm.h".
12433 (PARMS): Do not use macros from bp-asm.h.
12434 (SIGMSK): Likewise.
12435 (setjmp): Likewise. Do not use BP_SYM.
12436 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12437 "bp-asm.h".
12438 (PARMS): Do not use macros from bp-asm.h.
12439 (__frexp): Do not use BP_SYM.
12440 (frexp): Likewise.
12441 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12442 "bp-asm.h".
12443 (PARMS): Do not use macros from bp-asm.h.
12444 (__frexpf): Do not use BP_SYM.
12445 (frexpf): Likewise.
12446 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12447 "bp-asm.h".
12448 (PARMS): Do not use macros from bp-asm.h.
12449 (__frexpl): Do not use BP_SYM.
12450 (frexpl): Likewise.
12451 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12452 "bp-asm.h".
12453 (PARMS): Do not use macros from bp-asm.h.
12454 (__remquo): Do not use BP_SYM.
12455 (remquo): Likewise.
12456 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12457 "bp-asm.h".
12458 (PARMS): Do not use macros from bp-asm.h.
12459 (__remquof): Do not use BP_SYM.
12460 (remquof): Likewise.
12461 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12462 "bp-asm.h".
12463 (PARMS): Do not use macros from bp-asm.h.
12464 (__remquol): Do not use BP_SYM.
12465 (remquol): Likewise.
12466 * sysdeps/i386/i486/strcat.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 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12472 * sysdeps/i386/i486/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/add_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_add_n): Do not use BP_SYM.
12483 * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
12489 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12490 weak_alias.
12491 (bzero): Likewise.
12492 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12493 "bp-asm.h".
12494 (PARMS): Do not use macros from bp-asm.h.
12495 (S): Likewise.
12496 (SIZE): Likewise.
12497 (__mpn_lshift): Do not use BP_SYM.
12498 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12499 "bp-asm.h".
12500 (PARMS): Do not use macros from bp-asm.h.
12501 (DEST): Likewise.
12502 (SRC): Likewise.
12503 (LEN): Likewise.
12504 (memcpy): Likewise. Do not use BP_SYM.
12505 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12506 libc_hidden_def and weak_alias.
12507 (mempcpy): Do not use BP_SYM in weak_alias.
12508 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12509 "bp-asm.h".
12510 (PARMS): Do not use macros from bp-asm.h.
12511 (DEST): Likewise.
12512 (LEN): Likewise.
12513 [!BZERO_P] (CHR): Likewise.
12514 (memset): Likewise. Do not use BP_SYM.
12515 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12516 "bp-asm.h".
12517 (PARMS): Do not use macros from bp-asm.h.
12518 (S1): Likewise.
12519 (SIZE): Likewise.
12520 (__mpn_mul_1): Do not use BP_SYM.
12521 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12522 "bp-asm.h".
12523 (PARMS): Do not use macros from bp-asm.h.
12524 (S): Likewise.
12525 (SIZE): Likewise.
12526 (__mpn_rshift): Do not use BP_SYM.
12527 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12528 "bp-asm.h".
12529 (PARMS): Do not use macros from bp-asm.h.
12530 (STR): Likewise.
12531 (CHR): Likewise.
12532 (strchr): Likewise. Do not use BP_SYM.
12533 (index): Do not use BP_SYM in weak_alias.
12534 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12535 "bp-asm.h".
12536 (PARMS): Do not use macros from bp-asm.h.
12537 (DEST): Likewise.
12538 (SRC): Likewise.
12539 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12540 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12541 "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12543 (strlen): Do not use BP_SYM.
12544 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12545 "bp-asm.h".
12546 (PARMS): Do not use macros from bp-asm.h.
12547 (S1): Likewise.
12548 (S2): Likewise.
12549 (SIZE): Likewise.
12550 (__mpn_sub_n): Do not use BP_SYM.
12551 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12552 "bp-asm.h".
12553 (PARMS): Do not use macros from bp-asm.h.
12554 (S1): Likewise.
12555 (SIZE): Likewise.
12556 (__mpn_submul_1): Do not use BP_SYM.
12557 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12558 "bp-asm.h".
12559 (PARMS): Do not use macros from bp-asm.h.
12560 (S1): Likewise.
12561 (S2): Likewise.
12562 (SIZE): Likewise.
12563 (__mpn_add_n): Do not use BP_SYM.
12564 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12565 weak_alias.
12566 (bzero): Likewise.
12567 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12568 "bp-asm.h".
12569 (PARMS): Do not use macros from bp-asm.h.
12570 (BLK2): Likewise.
12571 (LEN): Likewise.
12572 (memcmp): Do not use BP_SYM.
12573 (bcmp): Do not use BP_SYM in weak_alias.
12574 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12575 "bp-asm.h".
12576 (PARMS): Do not use macros from bp-asm.h.
12577 (DEST): Likewise.
12578 (SRC): Likewise.
12579 (LEN): Likewise.
12580 (memcpy): Likewise. Do not use BP_SYM.
12581 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12582 "bp-asm.h".
12583 (PARMS): Do not use macros from bp-asm.h.
12584 (DEST): Likewise.
12585 (SRC): Likewise.
12586 (LEN): Likewise.
12587 (memmove): Likewise. Do not use BP_SYM.
12588 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12589 "bp-asm.h".
12590 (PARMS): Do not use macros from bp-asm.h.
12591 (DEST): Likewise.
12592 (SRC): Likewise.
12593 (LEN): Likewise.
12594 (__mempcpy): Likewise. Do not use BP_SYM.
12595 (mempcpy): Do not use BP_SYM in weak_alias.
12596 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12597 "bp-asm.h".
12598 (PARMS): Do not use macros from bp-asm.h.
12599 (DEST): Likewise.
12600 (LEN): Likewise.
12601 [!BZERO_P] (CHR): Likewise.
12602 (memset): Likewise. Do not use BP_SYM.
12603 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12604 "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (STR2): Likewise.
12607 (strcmp): Do not use BP_SYM.
12608 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12609 "bp-asm.h".
12610 (PARMS): Do not use macros from bp-asm.h.
12611 (STR): Likewise.
12612 (DELIM): Likewise.
12613 [USE_AS_STRTOK_R] (SAVE): Likewise.
12614 (FUNCTION): Likewise. Do not use BP_SYM.
12615 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12616 aliases.
12617 (strtok_r): Likewise.
12618 (__GI___strtok_r): Likewise.
12619 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12620 (PARMS): Do not use macros from bp-asm.h.
12621 (S): Likewise.
12622 (SIZE): Likewise.
12623 (__mpn_lshift): Do not use BP_SYM.
12624 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12625 (PARMS): Do not use macros from bp-asm.h.
12626 (STR): Likewise.
12627 (CHR): Likewise.
12628 (__memchr): Do not use BP_SYM.
12629 (memchr): Do not use BP_SYM in weak_alias.
12630 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12631 (PARMS): Do not use macros from bp-asm.h.
12632 (BLK2): Likewise.
12633 (LEN): Likewise.
12634 (memcmp): Do not use BP_SYM.
12635 (bcmp): Do not use BP_SYM in weak_alias.
12636 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12637 (PARMS): Do not use macros from bp-asm.h.
12638 (S1): Likewise.
12639 (SIZE): Likewise.
12640 (__mpn_mul_1): Do not use BP_SYM.
12641 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12642 "bp-asm.h".
12643 (PARMS): Do not use macros from bp-asm.h.
12644 (STR): Likewise.
12645 (CHR): Likewise.
12646 (__rawmemchr): Do not use BP_SYM.
12647 (rawmemchr): Do not use BP_SYM in weak_alias.
12648 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12649 (PARMS): Do not use macros from bp-asm.h.
12650 (S): Likewise.
12651 (SIZE): Likewise.
12652 (__mpn_rshift): Do not use BP_SYM.
12653 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12654 (PARMS): Do not use macros from bp-asm.h.
12655 (SIGMSK): Likewise.
12656 (__sigsetjmp): Likewise. Do not use BP_SYM.
12657 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12658 (_start): Do not use BP_SYM.
12659 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12660 (PARMS): Do not use macros from bp-asm.h.
12661 (DEST): Likewise.
12662 (SRC): Likewise.
12663 (__stpcpy): Likewise. Do not use BP_SYM.
12664 (stpcpy): Do not use BP_SYM in weak_alias.
12665 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12666 "bp-asm.h".
12667 (PARMS): Do not use macros from bp-asm.h.
12668 (DEST): Likewise.
12669 (SRC): Likewise.
12670 (LEN): Likewise.
12671 (__stpncpy): Likewise. Do not use BP_SYM.
12672 (stpncpy): Do not use BP_SYM in weak_alias.
12673 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12674 (PARMS): Do not use macros from bp-asm.h.
12675 (STR): Likewise.
12676 (CHR): Likewise.
12677 (strchr): Likewise. Do not use BP_SYM.
12678 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12679 "bp-asm.h".
12680 (PARMS): Do not use macros from bp-asm.h.
12681 (STR): Likewise.
12682 (CHR): Likewise.
12683 (__strchrnul): Likewise. Do not use BP_SYM.
12684 (strchrnul): Do not use BP_SYM in weak_alias.
12685 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12686 "bp-asm.h".
12687 (PARMS): Do not use macros from bp-asm.h.
12688 (STOP): Likewise.
12689 (strcspn): Do not use BP_SYM.
12690 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12691 "bp-asm.h".
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (STR): Likewise.
12694 (STOP): Likewise.
12695 (strpbrk): Likewise. Do not use BP_SYM.
12696 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12697 "bp-asm.h".
12698 (PARMS): Do not use macros from bp-asm.h.
12699 (STR): Likewise.
12700 (CHR): Likewise.
12701 (strrchr): Likewise. Do not use BP_SYM.
12702 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12703 (PARMS): Do not use macros from bp-asm.h.
12704 (SKIP): Likewise.
12705 (strspn): Do not use BP_SYM.
12706 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12707 (PARMS): Do not use macros from bp-asm.h.
12708 (STR): Likewise.
12709 (DELIM): Likewise.
12710 (SAVE): Likewise.
12711 (FUNCTION): Likewise. Do not use BP_SYM.
12712 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12713 aliases.
12714 (strtok_r): Likewise.
12715 (__GI___strtok_r): Likewise.
12716 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12717 (PARMS): Do not use macros from bp-asm.h.
12718 (S1): Likewise.
12719 (S2): Likewise.
12720 (SIZE): Likewise.
12721 (__mpn_sub_n): Do not use BP_SYM.
12722 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12723 "bp-asm.h".
12724 (PARMS): Do not use macros from bp-asm.h.
12725 (S1): Likewise.
12726 (SIZE): Likewise.
12727 (__mpn_submul_1): Do not use BP_SYM.
12728 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12729 <bp-sym.h>.
12730 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12731 and <bp-asm.h>.
12732 (PARMS): Do not use macros from bp-asm.h.
12733 (FLAGS): Likewise.
12734 (PTID): Likewise.
12735 (TLS): Likewise.
12736 (CTID): Likewise.
12737 (__clone): Do not use BP_SYM.
12738 (clone): Do not use BP_SYM in weak_alias.
12739 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12740 and <bp-asm.h>.
12741 (PARMS): Do not use macros from bp-asm.h.
12742 (LEN): Likewise.
12743 (__mmap64): Do not use BP_SYM.
12744 (mmap64): Do not use BP_SYM in weak_alias.
12745 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12746 <bp-sym.h> and <bp-asm.h>.
12747 (PARMS): Do not use macros from bp-asm.h.
12748 (__posix_fadvise64_l64): Do not use BP_SYM.
12749 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12750 (PARMS): Do not use macros from bp-asm.h.
12751 (NSOPS): Likewise.
12752 (semtimedop): Do not use BP_SYM.
12753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12754 and <bp-asm.h>.
12755
582a3cff
AM
127562013-02-21 Allan McRae <allan@archlinux.org>
12757
12758 * manual/message.texi (Charset conversion in gettext):
12759 Move @end statement to beginning of line.
12760
bab8a695
SP
127612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
80945231
SP
12763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12764 static.
12765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12766 Likewise.
12767
bab8a695
SP
12768 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12769 (denorm): Likewise.
12770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12772
e21d7aa7
AK
127732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12774
12775 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12776 tail-call to the resolved function if pltexit isn't needed.
12777
4c7a4263
SP
127782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12779
12780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12781 or Y being zero as being unlikely.
12782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12783 Likewise.
12784
41f49342
CD
127852013-02-20 Carlos O'Donell <carlos@redhat.com>
12786
12787 * manual/nss.texi (System Databases and Name Service Switch):
12788 Remove frobnicate @pxref.
12789
50022a93
TS
127902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12791
12792 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12793 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12794
08cbd996
PM
127952013-02-20 Petr Machata <pmachata@redhat.com>
12796
12797 * elf/elf.h (R_ARM_TARGET1): New macro.
12798 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12799 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12800 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12801 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12802 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12803 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12804 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12805 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12806 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12807 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12808 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12809 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12810 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12811 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12812 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12813 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12814 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12815 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12816 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12817 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12818 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12819 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12820 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12821 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12822 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12823 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12824 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12825 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12826 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12827 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12828 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12829 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12830 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12831 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12832 (R_ARM_THM_GOT_BREL12): Likewise.
12833 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12834 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12835 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12836 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12837 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12838 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12839 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12840 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12841 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12842
c7b275d6
TS
128432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12844
12845 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12846 __attribute_used__ to __attribute__ ((unused)).
12847
20cd7fb3
SP
128482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12849
12850 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12851 powerpc mpa.c.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12853 comment formatting.
12854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12855
92945b52
JM
128562013-02-19 Joseph Myers <joseph@codesourcery.com>
12857
12858 [BZ #13550]
12859 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12860 Remove macro.
12861 (ENTER): Remove both macro definitions.
12862 (LEAVE): Likewise.
12863 (CHECK_BOUNDS_LOW): Likewise.
12864 (CHECK_BOUNDS_HIGH): Likewise.
12865 (CHECK_BOUNDS_BOTH): Likewise.
12866 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12867 (RETURN_BOUNDED_POINTER): Likewise.
12868 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12869 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12870 (POP_ERRNO_LOCATION_RETURN): Likewise.
12871 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12872 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12873 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12874 macros.
12875 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12876 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12877 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12878 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12879 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12880 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12881 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12882 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12883 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12884 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12885 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12886 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12887 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12888 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12889 removed macros.
12890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12891 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12892 macros.
12893 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12894 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12895 * sysdeps/i386/i586/memset.S (memset): Likewise.
12896 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12897 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12898 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12899 macros.
12900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12901 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12902 Change uses of L(2) to L(out).
12903 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12904 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12905 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12907 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12908 removed macros.
12909 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12910 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12911 macros.
12912 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12913 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12914 (RETURN): Do not use macro LEAVE.
12915 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12916 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12917 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12918 * sysdeps/i386/i686/memset.S (memset): Likewise.
12919 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12920 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12921 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12922 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12923 Likewise.
12924 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12925 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12926 L(1_2) and L(1_3) into L(1).
12927 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12928 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12929 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12930 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12931 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12932 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12933 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12934 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12935 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12936 macros.
12937 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12938 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12939 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12940 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12941 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12942 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12943 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12944 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12945 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12946 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12947 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12948 * sysdeps/i386/strspn.S (strspn): Likewise.
12949 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12950 conditional code.
12951 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12952 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12953 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12954 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12955 L(1_3) into L(1_1).
12956 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12957 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12958 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12959 macros.
12960 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12961
2389741a
JJ
129622013-02-19 Jakub Jelinek <jakub@redhat.com>
12963
12964 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12965 macro.
12966
2016b3cd
SP
129672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12968
e4f22324
SP
12969 * math/atest-exp.c (exp_mpn): Remove ROUND.
12970 * math/atest-exp2.c (exp_mpn): Likewise.
12971 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12972
2016b3cd
SP
12973 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12974 * stdlib/tst-tls-atexit-lib.c: Likewise.
12975 * stdlib/tst-tls-atexit.c: Likewise.
12976
4be9b544
MF
129772013-02-18 Mike Frysinger <vapier@gentoo.org>
12978
12979 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12980 and __attribute_alloc_size__.
12981
2f62b9ee
MF
129822013-02-18 Mike Frysinger <vapier@gentoo.org>
12983
12984 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12985 __attribute_alloc_size__.
12986 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12987 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12988
6ff444c4
MF
129892013-02-18 Mike Frysinger <vapier@gentoo.org>
12990
12991 * include/programs/xmalloc.h: New file.
12992 * catgets/gencat.c: Include it.
12993 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12994 * elf/pldd.c: Likewise.
12995 * iconv/iconv_charmap.c: Likewise.
12996 * iconv/iconvconfig.c: Likewise.
12997 * iconv/strtab.c: Likewise.
12998 * locale/programs/locale.c: Likewise.
12999 * locale/programs/localedef.h: Likewise.
13000 * locale/programs/simple-hash.c: Likewise.
13001 * nscd/nscd.h: Likewise.
13002 * nss/makedb.c: Likewise.
13003 * sysdeps/generic/ldconfig.h: Likewise.
13004
be179c8a
SP
130052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13006
ba384f6e
SP
13007 * Versions.def: Add GLIBC_2.18.
13008 * include/link.h (struct link_map): New member l_tls_dtor_count.
13009 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13010 (__call_tls_dtors): Likewise.
13011 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13012 __cxa_thread_atexit_impl.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13014 Likewise.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13016 Likewise.
13017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13018 Likewise.
13019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13020 Likewise.
13021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13023 Likewise.
13024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13025 Likewise.
13026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13028 Likewise.
13029 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13030 (tests): Add test case tst-tls-atexit.
13031 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13032 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13033 (GLIBC_PRIVATE): Add __call_tls_dtors.
13034 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13035 for libstdc++.
13036 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13037 * stdlib/tst-tls-atexit.c: New test case.
13038 * stdlib/tst-tls-atexit-lib.c: New test case.
13039
ffaa74cf 13040 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13041
be179c8a
SP
13042 * elf/Versions (ld): Add _dl_find_dso_for_object.
13043 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13044 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13045 (dl_open_worker): Use _dl_find_dso_for_object.
13046 * elf/dl-sym.c (do_sym): Likewise.
13047 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13048
f78b5caa
AK
130492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13050
13051 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13052 Syntactic changes only.
13053 (_dl_runtime_profile): Do a tail-call to the resolved function.
13054
29691210
JM
130552013-02-17 Joseph Myers <joseph@codesourcery.com>
13056
13057 [BZ #13550]
13058 * sysdeps/x86_64/bp-asm.h: Remove file.
13059 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13060 <bp-sym.h> and <bp-asm.h>.
13061 (__clone): Do not use BP_SYM.
13062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13063 <bp-sym.h> and <bp-asm.h>.
13064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13065 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13066 "bp-asm.h".
13067 (_setjmp): Do not use BP_SYM.
13068 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13069 "bp-asm.h".
13070 (setjmp): Do not use BP_SYM.
13071 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13072 libc_hidden_def.
13073 (mempcpy): Do not use BP_SYM in weak_alias.
13074 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13075 "bp-asm.h".
13076 (strchr): Do not use BP_SYM.
13077 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13078 "bp-asm.h".
13079 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13080 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13081 (_start): Do not use BP_SYM.
13082 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13083 "bp-asm.h".
13084 (strcat): Do not use BP_SYM.
13085 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13086 "bp-asm.h".
13087 (STRCMP): Do not use BP_SYM.
13088 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13089 "bp-asm.h".
13090 (STRCPY): Do not use BP_SYM.
13091 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13092 "bp-asm.h".
13093 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13094 "bp-asm.h".
13095 (FUNCTION): Do not use BP_SYM.
13096 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13097 weak_alias.
13098 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13099
f238fd19
AJ
131002013-02-17 Andreas Jaeger <aj@suse.de>
13101
13102 * time/Versions: Sort entries.
13103 * string/Versions: Likewise.
13104 * resolv/Versions: Likewise.
13105 * posix/Versions: Likewise.
13106 * iconv/Versions: Likewise.
13107 * elf/Versions: Likewise.
13108 * wcsmbs/Versions: Likewise.
13109
bd07f23c 131102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13111
22af19f9
SP
13112 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13113 loop termination condition.
13114
4709fe76
SP
13115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13116 variable to calculate EZ.
13117 (__sqr): Likewise.
2d0e0f29
SP
13118
13119 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13120 the lower precision input.
13121
daaa7713
JM
131222013-02-15 Joseph Myers <joseph@codesourcery.com>
13123
13124 [BZ #13550]
13125 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13126 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13127 (run-via-rtld-prefix): Do not handle %-bp tests.
13128 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13129 (all-object-suffixes): Remove .ob.
13130 (bppfx): Remove variable.
13131 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13132 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13133 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13134 [$(build-bounded) = yes] (libtype.ob): Likewise.
13135 * Makerules (elide-routines.ob): Remove variable.
13136 (do-tests-clean): Do not handle *-bp.out.
13137 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13138 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13139 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13140 (tests): Do not include $(tests-bp.out).
13141 (xtests): Do not include $(xtests-bp.out).
13142 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13143 [$(build-bounded) = yes] ($(addprefix
13144 $(objpfx),$(binaries-bounded))): Remove rule.
13145 ($(objpfx)%-bp.out): Remove rule.
13146 * config.make.in (build-bounded): Remove variable.
13147 * crypt/Makefile [$(build-bounded) = yes]
13148 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13149 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13150 append to variable.
13151 [$(build-bounded) = yes] (install-lib): Likewise.
13152 [$(build-bounded) = yes] (generated): Likewise.
13153 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13154 Remove rule.
13155 * intl/Makefile [$(build-bounded) = yes]
13156 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13157 * math/Makefile [$(build-bounded) = yes]
13158 ($(tests:%=$(objpfx)%-bp): Likewise.
13159 * misc/Makefile [$(build-bounded) = yes]
13160 ($(objpfx)tst-tsearch-bp): Likewise.
13161 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13162 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13163 Remove dependency.
13164 * string/Makefile (o-objects.ob): Remove variable.
13165 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13166 (CFLAGS-.ob): Remove variable.
13167 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13168 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13169 both definitions of variable.
13170 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13171 (ASFLAGS-.ob): Remove variable.
13172
e97ed6dd
JM
131732013-02-14 Joseph Myers <joseph@codesourcery.com>
13174
2bdd4ca6
JM
13175 [BZ #13550]
13176 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13177 Remove __BOUNDED_POINTERS__ from condition.
13178 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13179 * string/bits/string2.h [!__NO_STRING_INLINES &&
13180 !__BOUNDED_POINTERS__]: Likewise.
13181 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13182 Likewise.
13183 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13184 Remove conditional code.
13185 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13186 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13187 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13188 condition.
13189
e97ed6dd
JM
13190 [BZ #13550]
13191 * csu/libc-start.c: Do not include <bp-sym.h>.
13192 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13193 * elf/dl-open.c: Do not include <bp-sym.h>.
13194 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13195 * math/fegetenv.c: Do not include <bp-sym.h>.
13196 (fegetenv): Do not use BP_SYM in versioned symbols.
13197 * nptl/sysdeps/pthread/bits/libc-lockP.h
13198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13199 <bp-sym.h>.
13200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13201 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13203 (__pthread_mutex_destroy): Likewise.
13204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13205 (__pthread_mutex_lock): Likewise.
13206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13207 (__pthread_mutex_trylock): Likewise.
13208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13209 (__pthread_mutex_unlock): Likewise.
13210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13211 (__pthread_mutexattr_init): Likewise.
13212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13213 (__pthread_mutexattr_destroy): Likewise.
13214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13215 (__pthread_mutexattr_settype): Likewise.
13216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13217 (__pthread_rwlock_init): Likewise.
13218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13219 (__pthread_rwlock_destroy): Likewise.
13220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13221 (__pthread_rwlock_rdlock): Likewise.
13222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13223 (__pthread_rwlock_tryrdlock): Likewise.
13224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13225 (__pthread_rwlock_wrlock): Likewise.
13226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13227 (__pthread_rwlock_trywrlock): Likewise.
13228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13229 (__pthread_rwlock_unlock): Likewise.
13230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13231 (__pthread_key_create): Likewise.
13232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13233 (__pthread_setspecific): Likewise.
13234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13235 (__pthread_getspecific): Likewise.
13236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13237 Likewise.
13238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13239 (_pthread_cleanup_push_defer): Likewise.
13240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13241 (_pthread_cleanup_pop_restore): Likewise.
13242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13243 (pthread_setcancelstate): Likewise.
13244 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13245 <bp-sym.h>.
13246 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13247 (memchr): Do not use BP_SYM in weak_alias.
13248 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13249 (fegetenv): Do not use BP_SYM in versioned symbols.
13250 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13251 (fesetenv): Do not use BP_SYM in versioned symbols.
13252 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13253 (feupdateenv): Do not use BP_SYM in versioned symbols.
13254 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13255 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13256 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13257 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13258 (open64): Do not use BP_SYM in weak_alias.
13259 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13260 (fegetenv): Do not use BP_SYM in versioned symbols.
13261 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13262 (fesetenv): Do not use BP_SYM in versioned symbols.
13263 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13264 (feupdateenv): Do not use BP_SYM in versioned symbols.
13265 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13266 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13267 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13268 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13269 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13270 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13271 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13272 <bp-sym.h>.
13273 (__libc_start_main): Do not use BP_SYM.
13274
d6752ccd
SP
132752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13276
cb57ce60
SP
13277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13278 redundant return line.
13279 (norm): Likewise.
13280 (denorm): Likewise.
13281 (dbl_mp): Likewise.
13282 (sub_magnitudes): Likewise.
13283 (__add): Likewise.
13284 (__sub): Likewise.
13285 (__mul): Likewise.
13286 (__inv): Likewise.
13287 (__dvd): Likewise.
13288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13289 (norm): Likewise.
13290 (denorm): Likewise.
13291 (dbl_mp): Likewise.
13292 (sub_magnitudes): Likewise.
13293 (__add): Likewise.
13294 (__sub): Likewise.
13295 (__mul): Likewise.
13296 (__inv): Likewise.
13297 (__dvd): Likewise.
13298
f414520d
SP
13299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13300 instead of __mul.
13301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13302 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13303 (cc32): Likewise.
13304
d6752ccd
SP
13305 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13306 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13308 of __mul for squares.
13309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13310 function
13311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13312 Likewise.
13313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13314 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13315
70d9946a
JM
133162013-02-13 Joseph Myers <joseph@codesourcery.com>
13317
13318 [BZ #13550]
13319 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13320 code.
13321 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13322 prototype or function definition. Rename ubp_* variables and
13323 parameters. Remove argv definitions conditional on
13324 [__BOUNDED_POINTERS__].
13325 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13326 * elf/dl-runtime.c (_dl_fixup): Likewise.
13327 * include/set-hooks.h (RUN_HOOK): Likewise.
13328 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13329 definition.
13330 * string/strcpy.c (strcpy): Do not use __unbounded.
13331 * sysdeps/generic/frame.h (struct layout): Likewise.
13332 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13333 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13334 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13335 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13336 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13337 (__backtrace): Likewise.
13338 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13339 use __ptrvalue.
13340 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13341 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13342 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13343 Likewise.
13344 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13345 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13346 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13347 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13348 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13349 Do not use __unbounded.
13350 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13351 Rename __unboundedrlimits parameter to rlimits in prototype.
13352 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13353 Do not use __unbounded.
13354 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13355 not use __ptrvalue.
13356 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13357 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13358 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13359 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13360 __ptrvalue or __unbounded.
13361 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13362 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13363 use __unbounded.
13364 (__new_msgctl): Do not use __ptrvalue.
13365 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13366 __unbounded.
13367 (__libc_msgrcv): Do not use __ptrvalue.
13368 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13369 startup_info): Do not use __unbounded.
13370 (__libc_start_main): Likewise. Rename ubp_* variables and
13371 parameters. Remove argv definitions conditional on
13372 [__BOUNDED_POINTERS__].
13373 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13374 __ptrvalue.
13375 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13376 use __unbounded.
13377 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13378 or __ptrvalue.
13379 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13380 use __unbounded.
13381 (__new_shmctl): Do not use __ptrvalue.
13382 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13383 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13384 Likewise.
13385 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13387 (__libc_sigaction): Likewise.
13388 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13389 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13390 Likewise.
13391 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13392
cc7834d6
OB
133932013-02-13 Ondřej Bílka <neleai@seznam.cz>
13394
ffb1ec7b 13395 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13396
13397 * string/mempcpy.c: Implement by calling memcpy.
13398
bdf02814
SP
133992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13400
c2af38aa
SP
13401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13402
4e92d59e
SP
13403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13404 evaluation.
13405
909279a5
SP
13406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13407 values in the mantissa.
13408
bdf02814
SP
13409 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13410 minimize writes to Z.
13411 (sub_magnitudes): Simplify code a bit.
13412
cd525923
RM
134132013-02-12 Roland McGrath <roland@hack.frob.com>
13414
13415 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13416 from the message. The linker prefixes all warnings with that already.
13417
7e2f0d2d
AS
134182013-02-12 Andreas Schwab <schwab@suse.de>
13419
a445af0b
AS
13420 [BZ #15078]
13421 * posix/regexec.c (extend_buffers): Add parameter min_len.
13422 (check_matching): Pass minimum needed length.
13423 (clean_state_log_if_needed): Likewise.
13424 (get_subexp): Likewise.
13425 * posix/Makefile (tests): Add bug-regex34.
13426 (bug-regex34-ENV): Define.
13427 * posix/bug-regex34.c: New file.
13428
7e2f0d2d
AS
13429 [BZ #11561]
13430 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13431 elements compare against the byte sequence of it, not its name.
13432 * posix/Makefile (tests): Add bug-regex35.
13433 (bug-regex35-ENV): Define.
13434 * posix/bug-regex35.c: New file.
13435
a175b684
TV
134362013-02-11 Tom de Vries <tom@codesourcery.com>
13437
13438 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13439 comment.
13440 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13441 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13442 (CHECK_EOL): Add undef.
13443
310998fe 134442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13445
13446 * bits/stdlib-bsearch.h: New file.
13447 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13448 * stdlib/stdlib.h: Likewise.
41eda41d 13449
8ded91fb
RM
134502013-02-11 Roland McGrath <roland@hack.frob.com>
13451
13452 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13453 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13454 declaration.
13455 * manual/search.texi (Array Search Function): Add missing const in
13456 lfind prototype.
13457 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13458 declaration to use rlim_t.
13459 (Basic Scheduling Functions): Remove erroneous const from
13460 sched_getparam prototype. Remove erroneous * from
13461 sched_get_priority_max and sched_get_priority_min prototypes.
13462 (Resource Usage): Fix summary @comment on vtimes to refer to
13463 sys/vtimes.h rather than vtimes.h.
13464 Add missing *s in vtimes prototype.
13465 (Limits on Resources): Fix ulimit prototype to return long int.
13466 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13467 prototypes to use long int rather than double.
13468 (BSD Random): Fix initstate and setstate to use char *, not void *.
13469 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13470 prototype to make second argument 'struct aiocb64 *const[]'.
13471 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13472 (Status of AIO Operations): Remove erroneous const in aio_return and
13473 aio_return64 prototypes.
13474 (Synchronizing I/O): Fix sync prototype to return void.
13475 * manual/startup.texi (Suboptions): Remove an erroneous const in
13476 getsubopt prototype.
13477 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13478 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13479 use size_t rather than int.
13480 (Scanning All Users): Likewise for getpwent_r.
13481 (Setting Groups): Add missing const to setgroups prototype.
13482 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13483 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13484 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13485 'const void *' rather than 'const char *'.
13486 (Host Address Functions): Likewise for inet_ntop.
13487 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13488 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13489 ssize_t for return value.
13490 (Sending Data): Likewise for send, sendto, sendmsg.
13491 (Socket Option Functions): Add a missing const in setsockopt prototype.
13492 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13493 use wchar_t for the argument.
13494 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13495 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13496 take no arguments.
13497 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13498 double/float/long double for second argument.
13499 Fix return types of significand, significandf, significandl.
13500 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13501 argument in fchmod prototype.
13502 (File Owner): Use uid_t and gid_t in fchown prototype.
13503 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13504 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13505 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13506 use 'const struct dirent **' as argument types to CMP function pointer
13507 argument.
13508 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13509 (File Times): Fix summary magic @comment for struct utimbuf and utime
13510 to refer to utime.h, not time.h.
13511 * manual/string.texi (Argz Functions): Add missing const in
13512 argz_extract and argz_next prototypes.
13513 (Finding Tokens in a String): Likewise for basename.
13514 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13515 (Copying and Concatenation): Fix typo in wmemmove prototype.
13516 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13517 (Signal Stack): Remove erroneous const in sigstack prototype.
13518 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13519 prototype.
13520 (Simple Calendar Time): Likewise for stime.
13521 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13522 prototype.
13523 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13524 say sys/sysctl.h instead.
13525 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13526 and vsyslog prototypes.
13527
fe77fe6d
TV
135282013-02-11 Tom de Vries <tom@codesourcery.com>
13529
13530 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13531 Remove.
13532
3a09b620
RM
135332013-02-11 Roland McGrath <roland@hack.frob.com>
13534
13535 * misc/sys/mman.h: Fix typo in mremap comment.
13536
550a0b89
RM
135372013-02-08 Roland McGrath <roland@hack.frob.com>
13538
13539 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13540 the '\0' terminator.
13541
a2da1673
JM
135422013-02-08 Joseph Myers <joseph@codesourcery.com>
13543
13544 [BZ #13550]
13545 * debug/segfault.c: Don't include <bp-checks.h>.
13546 * sysdeps/generic/bp-checks.h: Remove file.
13547 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13548 (__GETDENTS): Don't use CHECK_N.
13549 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13550 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13551 (__getgroups): Don't use CHECK_N.
13552 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13553 (setgroups): Don't use CHECK_N.
13554 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13555 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13556 (__libc_msgrcv): Don't use CHECK_N.
13557 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13558 (__libc_msgsnd): Don't use CHECK_N.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13560 <bp-checks.h>.
13561 (__libc_pread): Don't use CHECK_N.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13563 include <bp-checks.h>.
13564 (__libc_pread64): Don't use CHECK_N.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13566 include <bp-checks.h>.
13567 (__libc_pwrite): Don't use CHECK_N.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13569 include <bp-checks.h>.
13570 (__libc_pwrite64): Don't use CHECK_N.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13572 <bp-checks.h>.
13573 (__libc_pread): Don't use CHECK_N.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13575 include <bp-checks.h>.
13576 (__libc_pread64): Don't use CHECK_N.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13578 include <bp-checks.h>.
13579 (__libc_pwrite): Don't use CHECK_N.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13581 include <bp-checks.h>.
13582 (__libc_pwrite64): Don't use CHECK_N.
13583 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13584 (do_pread): Don't use CHECK_N.
13585 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13586 (do_pread64): Don't use CHECK_N.
13587 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13588 (do_pwrite): Don't use CHECK_N.
13589 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13590 (do_pwrite64): Don't use CHECK_N.
13591 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13592 (__libc_readv): Don't use CHECK_N.
13593 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13594 (semop): Don't use CHECK_N.
13595 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13596 <bp-checks.h>.
13597 (semtimedop): Don't use CHECK_N.
13598 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13599 (__libc_pread): Don't use CHECK_N.
13600 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13601 <bp-checks.h>.
13602 (__libc_pread64): Don't use CHECK_N.
13603 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13604 <bp-checks.h>.
13605 (__libc_pwrite): Don't use CHECK_N.
13606 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13607 <bp-checks.h>.
13608 (__libc_pwrite64): Don't use CHECK_N.
13609 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13610 <bp-checks.h>.
13611 (__libc_msgrcv): Don't use CHECK_N.
13612 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13613 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13614 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13615 (__libc_writev): Don't use CHECK_N.
13616
b84660a8
RM
136172013-02-08 Roland McGrath <roland@hack.frob.com>
13618
7f3e75f8
RM
13619 * string/strcpy.c: Removed unused variable.
13620
b84660a8
RM
13621 * Makeconfig (+sysdep-includes): Define with := rather than =.
13622 Use an existing include/ subdir of each sysdeps dir before it.
13623
471514d3
CD
136242013-02-08 Carlos O'Donell <carlos@redhat.com>
13625
13626 * nscd/connection.c (register_traced_file): Comment function.
13627 [HAVE_INOTIFY] (union __inev): Define.
13628 [HAVE_INOTIFY] (inotify_check_files): New function.
13629 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13630 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13631 clear_db_cache.
13632 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13633
b2d3c3be
CD
136342013-02-08 Carlos O'Donell <carlos@redhat.com>
13635
13636 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13637 loaded if not already and that a failure is permanent.
13638
b39949d2
CD
136392013-02-08 Carlos O'Donell <carlos@redhat.com>
13640
ddacd1db 13641 [BZ #15006]
b39949d2
CD
13642 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13643 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13644
b2c9eff4
JM
136452013-02-08 Joseph Myers <joseph@codesourcery.com>
13646
f3aae3f3
JM
13647 [BZ #13550]
13648 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13649 (CHECK_1_NULL_OK): Likewise.
13650 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13651 (__fxstat): Do not use CHECK_1.
13652 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13653 <bp-checks.h>.
13654 (___fxstat64): Do not use CHECK_1.
13655 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13656 <bp-checks.h>.
13657 (__fxstatat): Do not use CHECK_1.
13658 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13659 <bp-checks.h>.
13660 (__fxstatat64): Do not use CHECK_1.
13661 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13662 <bp-checks.h>.
13663 (__fxstat): Do not use CHECK_1.
13664 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13665 <bp-checks.h>.
13666 (__fxstatat): Do not use CHECK_1.
13667 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13668 <bp-checks.h>.
13669 (__getresgid): Do not use CHECK_1.
13670 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13671 <bp-checks.h>.
13672 (__getresuid): Do not use CHECK_1.
13673 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13674 <bp-checks.h>.
13675 (__lxstat): Do not use CHECK_1.
13676 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13677 <bp-checks.h>.
13678 (__old_msgctl): Do not use CHECK_1.
13679 (__new_msgctl): Likewise.
13680 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13681 <bp-checks.h>.
13682 (__new_setrlimit): Do not use CHECK_1.
13683 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13684 <bp-checks.h>.
13685 (__old_shmctl): Do not use CHECK_1.
13686 (__new_shmctl): Likewise.
13687 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13688 <bp-checks.h>.
13689 (__xstat): Do not use CHECK_1.
13690 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13691 (__lxstat): Do not use CHECK_1.
13692 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13693 <bp-checks.h>.
13694 (___lxstat64): Do not use CHECK_1.
13695 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13696 (__old_msgctl): Do not use CHECK_1.
13697 (__new_msgctl): Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13699 <bp-checks.h>.
13700 (__gettimeofday): Do not use CHECK_1.
13701 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13702 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13703 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13704 <bp-checks.h>.
13705 (__gettimeofday): Do not use CHECK_1.
13706 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13707 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13708 (__new_shmctl): Do not use CHECK_1.
13709 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13710 <bp-checks.h>.
13711 (do_sigtimedwait): Do not use CHECK_1.
13712 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13713 <bp-checks.h>.
13714 (do_sigwaitinfo): Do not use CHECK_1.
13715 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13716 <bp-checks.h>.
13717 (msgctl): Do not use CHECK_1.
13718 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13719 <bp-checks.h>.
13720 (shmctl): Do not use CHECK_1.
13721 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13722 (ustat): Do not use CHECK_1.
13723 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13724 <bp-checks.h>.
13725 (__fxstat): Do not use CHECK_1.
13726 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13727 <bp-checks.h>.
13728 (__fxstatat): Do not use CHECK_1.
13729 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13730 <bp-checks.h>.
13731 (__lxstat): Do not use CHECK_1.
13732 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13733 <bp-checks.h>.
13734 (__xstat): Do not use CHECK_1.
13735 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13736 (__xstat): Do not use CHECK_1.
13737 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13738 (___xstat64): Do not use CHECK_1.
13739
b2c9eff4
JM
13740 [BZ #13550]
13741 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13742 definitions.
13743 (CHECK_BOUNDS_HIGH): Likewise.
13744 * string/strcpy.c: Do not include <bp-checks.h>.
13745 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13746
f1d70dad
RM
137472013-02-07 Roland McGrath <roland@hack.frob.com>
13748
13749 * nscd/nscd-client.h (__nscd_drop_map_ref):
13750 Add __attribute__ ((unused)).
13751 * nis/nss-nisplus.h (niserr2nss): Likewise.
13752
13753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13754 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13755
13756 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13757 Remove inline keyword.
13758 * include/rounding-mode.h (round_away): Likewise.
13759 * libio/wfileops.c (adjust_wide_data): Likewise.
13760 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13761 (__m128i_strloadu_tolower): Likewise.
13762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13763 (__m128i_strloadu_tolower): Likewise.
13764 * time/mktime.c (ydhms_diff): Likewise.
13765 * locale/elem-hash.h (elem_hash): Likewise.
13766 * locale/setlocale.c (setdata): Likewise.
13767 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13768 (re_string_wchar_at): Likewise.
13769 (bitset_not, bitset_merge, bitset_mask): Likewise.
13770 [!(__GNUC__ > 3)] (inline): Remove macro.
13771 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13772 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13773 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13774 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13775 * string/memcmp.c (memcmp_bytes): Likewise.
13776 * locale/programs/locarchive.c (compute_hashval): Likewise.
13777 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13778 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13779 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13780 * nss/getent.c (print_rpc, print_protocols): Likewise.
13781 (print_passwd, print_group, print_aliases): Likewise.
13782 * nis/nss-nisplus.h (niserr2nss): Likewise.
13783 * nscd/connections.c (restart_p): Likewise.
13784 Change return type to bool.
13785
eab55bfb
RM
137862013-02-05 Roland McGrath <roland@hack.frob.com>
13787
7bd642f5
RM
13788 * Makeconfig (all-Depend-files): Add existing
13789 $(sorted-subdirs:=/Depend) files.
13790 (all-subdirs): Remove nss.
13791 * sysdeps/unix/inet/Subdirs: Add it here instead.
13792 * hesiod/Depend: New file.
13793
573c29b2
RM
13794 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13795 instead of calling alloca.
13796
b2e25af0
RM
13797 * io/lseek.c (__lseek): Rename to __libc_lseek.
13798 Define __lseek as an alias.
13799
eab55bfb
RM
13800 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13801
9a0d1941
CD
138022013-02-04 Carlos O'Donell <carlos@redhat.com>
13803
13804 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13805 else clause and remove check for non-standard endianness.
13806
b83bbec4
DM
138072013-02-04 David S. Miller <davem@davemloft.net>
13808
13809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13810
6277fdab
JM
138112013-02-04 Joseph Myers <joseph@codesourcery.com>
13812
13813 [BZ #13550]
13814 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13815 (__ubp_memchr): Remove prototype.
13816 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13817 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13818 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13819 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13820 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13821 Remove alias.
13822 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13823 (__ubp_memchr): Likewise.
13824 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13825 (__ubp_memchr): Likewise.
13826 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13827 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13828 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13829 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13830 CHECK_STRING.
13831 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13832 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13833 (__getcwd): Do not use CHECK_STRING.
13834 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13835 <bp-checks.h>.
13836 (__real_chown): Do not use CHECK_STRING.
13837 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13838 <bp-checks.h>.
13839 (fchownat): Do not use CHECK_STRING.
13840 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13841 CHECK_STRING.
13842 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13843 <bp-checks.h>.
13844 (__lchown): Do not use CHECK_STRING.
13845 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13846 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13847 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13848 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13850 include <bp-checks.h>.
13851 (truncate64): Do not use CHECK_STRING.
13852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13853 <bp-checks.h>.
13854 (__real_chown): Do not use CHECK_STRING.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13856 <bp-checks.h>.
13857 (__lchown): Do not use CHECK_STRING.
13858 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13859 <bp-checks.h>.
13860 (__chown): Do not use CHECK_STRING.
13861 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13862 <bp-checks.h>.
13863 (truncate64): Do not use CHECK_STRING.
13864 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13865 Likewise.
13866 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13867 (__xmknod): Do not use CHECK_STRING.
13868 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13869 <bp-checks.h>.
13870 (__xmknodat): Do not use CHECK_STRING.
13871 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13872 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13873
903ae060
AS
138742013-02-04 Andreas Schwab <schwab@suse.de>
13875
13876 [BZ #14142]
13877 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13878 * include/netdb.h: Likewise for h_errno.
13879 * elf/tst-stackguard1.c: Include <tls.h>.
13880
542f9466
JK
138812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13882
13883 * elf/link.h (struct link_map): Extend the l_addr comment.
13884 * include/link.h (struct link_map): Likewise.
13885
e782a927
JM
138862013-02-01 Joseph Myers <joseph@codesourcery.com>
13887
13888 [BZ #13550]
13889 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13890 (BOUNDED_1): Remove macro.
13891 * debug/backtrace.c: Don't include <bp-checks.h>.
13892 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13893 (__backtrace): Likewise.
13894 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13895 <bp-checks.h>.
13896 (__backtrace): Don't use BOUNDED_1.
13897 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13898 <bp-checks.h>.
13899 (__backtrace): Don't use BOUNDED_1.
13900 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13901 (__backtrace): Don't use BOUNDED_1.
13902 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13903 (shmat): Don't use BOUNDED_N.
13904
8cf28c5e
JM
139052013-01-31 Joseph Myers <joseph@codesourcery.com>
13906
3a7ac8a0
JM
13907 [BZ #13550]
13908 * sysdeps/generic/bp-start.h: Remove file.
13909 * csu/libc-start.c: Don't include <bp-start.h>.
13910 (LIBC_START_MAIN): Set up __environ directly instead of using
13911 INIT_ARGV_and_ENVIRON.
13912 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13913 <bp-start.h>.
13914
f3499f95
JM
13915 [BZ #13550]
13916 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13917 definitions.
13918 (CHECK_FCNTL): Likewise.
13919 (CHECK_N_PAGES): Likewise.
13920
32a45bea
JM
13921 [BZ #13550]
13922 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13923 definitions.
13924 (CHECK_SIGSET_NULL_OK): Likewise.
13925 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13926 <bp-checks.h>.
13927 (sigpending): Don't use CHECK_SIGSET.
13928 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13929 <bp-checks.h>.
13930 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13931 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13932 <bp-checks.h>.
13933 (do_sigsuspend): Don't use CHECK_SIGSET.
13934 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13935 use CHECK_SIGSET.
13936 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13937 (do_sigwait): Don't use CHECK_SIGSET.
13938 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13939 use CHECK_SIGSET.
13940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13941 include <bp-checks.h>.
13942 (sigpending): Don't use CHECK_SIGSET.
13943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13944 include <bp-checks.h>.
13945 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13946 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13947 <bp-checks.h>.
13948 (sigpending): Don't use CHECK_SIGSET.
13949 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13950 <bp-checks.h>.
13951 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13952
2e8a5c8c
JM
13953 [BZ #13550]
13954 * sysdeps/generic/bp-semctl.h: Remove file.
13955 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13956 <bp-checks.h> and <bp-semctl.h>.
13957 (__old_semctl): Don't use CHECK_SEMCTL.
13958 (__new_semctl): Likewise.
13959 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13960 and <bp-semctl.h>.
13961 (__old_semctl): Don't use CHECK_SEMCTL.
13962 (__new_semctl): Likewise.
13963 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13964 <bp-checks.h> and <bp-semctl.h>.
13965 (__old_semctl): Don't use CHECK_SEMCTL.
13966 (__new_semctl): Likewise.
13967 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13968 <bp-checks.h> and <bp-semctl.h>.
13969 (semctl): Don't use CHECK_SEMCTL.
13970
c2d54929
JM
13971 [BZ #13550]
13972 * Makerules (elide-bp-thunks): Remove variable.
13973 (elide-routines.oS): Don't use $(elide-bp-thunks).
13974 (elide-routines.os): Likewise.
13975 (elide-routines.o): Likewise.
13976 (elide-routines.op): Likewise.
13977 (elide-routines.og): Likewise.
13978 (objects): Don't use $(bp-thunks).
13979 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13980 include.
13981 (common-generated): Do not add s-proto-bp.d.
13982 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13983 (int): Likewise.
13984 (typ): Likewise.
13985 Do not generate makefile rules for bounded-pointer thunks.
13986 * sysdeps/generic/bp-thunks.h: Remove file.
13987 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13988 * sysdeps/unix/s-proto-bp.S: Likewise.
13989
8cf28c5e
JM
13990 [BZ #15062]
13991 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13992 parts of result separately when argument is not close to line from
13993 -i to i and one part of argument is small.
13994 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13995 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13996 * math/libm-test.inc (cacos_test): Add more tests.
13997 (casin_test): Likewise.
13998 (casinh_test): Likewise.
13999 * sysdeps/i386/fpu/libm-test-ulps: Update.
14000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14001
c4e33b8d
DM
140022013-01-31 David S. Miller <davem@davemloft.net>
14003
14004 * po/de.po: Update from translation team.
14005
3b60b421
MK
140062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14007
14008 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14009
bb931195
TS
140102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14011
b5a5da23
TS
14012 * configure.in (_AC_PROG_CC_C89): New definition.
14013 * configure: Regenerate.
14014
bb931195
TS
14015 * configure.in (AC_PROG_CPP): New definition.
14016 * configure: Regenerate.
14017
8c53a12c
JM
140182013-01-23 Joseph Myers <joseph@codesourcery.com>
14019
14020 * debug/tst-backtrace.h: New file.
14021 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14022 (ret): Remove variable.
14023 (x): Likewise.
14024 (FAIL): Remove macro.
14025 (NO_INLINE): Likewise.
14026 (fn1): Use match function instead of strstr.
14027 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14028 (ret): Remove variable.
14029 (x): Likewise.
14030 (FAIL): Remove macro.
14031 (NO_INLINE): Likewise.
14032 (fn): Use match function instead of strstr.
14033 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14034 (ret): Remove variable.
14035 (x): Likewise.
14036 (FAIL): Remove macro.
14037 (NO_INLINE): Likewise.
14038 (handle_signal): Use match function instead of strstr.
14039 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14040 (ret): Remove variable.
14041 (x): Likewise.
14042 (FAIL): Remove macro.
14043 (NO_INLINE): Likewise.
14044 (handle_signal): Use match function instead of strstr.
14045
4858fa2a
RM
140462013-01-23 Roland McGrath <roland@hack.frob.com>
14047
14048 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14049
bae8e7f5
DM
140502013-01-23 David S. Miller <davem@davemloft.net>
14051
14052 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14053 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14054 argument of CAS if possible.
14055 * sysdeps/sparc/sparc64/bits/atomic.h
14056 (__arch_compare_and_exchange_val_32_acq): Likewise.
14057 (__arch_compare_and_exchange_val_64_acq): Likewise.
14058
9cbbc4ae
PT
140592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14060
14061 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14062 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14063 Include <limits.h>.
67b3f58c 14064 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14065
5655a0b5
AC
140662013-01-23 Adam Conrad <adconrad@0c3.net>
14067
14068 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14069 (LDFLAGS-tst-array5): Likewise.
14070
052aff95
JM
140712013-01-23 Joseph Myers <joseph@codesourcery.com>
14072
14073 [BZ #15036]
14074 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14075 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14076 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14077 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14078
7c1e01aa
DM
140792013-01-21 David S. Miller <davem@davemloft.net>
14080
14081 * sysdeps/sparc/backtrace.c: New file.
14082 * sysdeps/sparc/sparc32/backtrace.h: New file.
14083 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14084 * sysdeps/sparc/sparc64/backtrace.h: New file.
14085 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14086 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14087 -funwind-tables.
14088
ab087e0a
AS
140892013-01-21 Andreas Schwab <schwab@suse.de>
14090
14091 [BZ #15020]
14092 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14093 closed its stdout.
14094
ed689c2f
AS
140952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14096
14097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14098 "mpa2.h".
14099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14100
31d470ac
JM
141012013-01-18 Joseph Myers <joseph@codesourcery.com>
14102 Mark Mitchell <mark@codesourcery.com>
14103 Tom de Vries <tom@codesourcery.com>
14104 Paul Pluzhnikov <ppluzhnikov@google.com>
14105
14106 * debug/tst-backtrace2.c: New file.
14107 * debug/tst-backtrace3.c: Likewise.
14108 * debug/tst-backtrace4.c: Likewise.
14109 * debug/tst-backtrace5.c: Likewise.
14110 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14111 (CFLAGS-tst-backtrace3.c): Likewise.
14112 (CFLAGS-tst-backtrace4.c): Likewise.
14113 (CFLAGS-tst-backtrace5.c): Likewise.
14114 (LDFLAGS-tst-backtrace2): Likewise.
14115 (LDFLAGS-tst-backtrace3): Likewise.
14116 (LDFLAGS-tst-backtrace4): Likewise.
14117 (LDFLAGS-tst-backtrace5): Likewise.
14118 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14119 tst-backtrace4 and tst-backtrace5.
14120
90567f30 141212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14122 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14123
14124 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14125 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14126 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14127 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14129 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14130 "+r" and remove output regs list as redundant. Add explicit inline
14131 asm to specify register of return val to work around compiler codegen
14132 bug. Remove (int) cast on return value. Add return type parameter to
14133 use in macro so that this macro does not truncate return value for
14134 64-bit values.
14135 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14136 pass to INTERNAL_VSYSCALL_NCS.
14137 (INLINE_VSYSCALL): Add 'long int' as return type to
14138 INTERNAL_VSYSCALL_NCS macro invocation.
14139 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14140 INTERNAL_VSYSCALL_NCS macro invocation.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14142
d3b9ea61
SP
141432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14144
0b57daeb
SP
14145 [BZ #14496]
14146 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14147 Fix application of SIMD FP exception mask.
14148
caa99d06
SP
14149 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14150 mp_no from a power of two.
14151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14152 __mpexp_twomm1. Use __pow_mp.
14153
d3b9ea61
SP
14154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14155 multiplication.
14156
1dbaee3c
DM
141572013-01-17 David S. Miller <davem@davemloft.net>
14158
14159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14160
728d7b43
JM
141612013-01-17 Joseph Myers <joseph@codesourcery.com>
14162
14163 [BZ #15023]
14164 * include/complex.h: Condition contents on [!_COMPLEX_H].
14165 (__kernel_casinhf): New prototype.
14166 (__kernel_casinh): Likewise.
14167 (__kernel_casinhl): Likewise.
14168 * math/Makefile (libm_calls): Add k_casinh.
14169 * math/k_casinh.c: New file.
14170 * math/k_casinhf.c: Likewise.
14171 * math/k_casinhl.c: Likewise.
14172 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14173 finite nonzero arguments.
14174 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14175 finite nonzero arguments.
14176 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14177 finite nonzero arguments.
14178 * math/s_casinh.c: Do not include <float.h>.
14179 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14180 * math/s_casinhf.c: Do not include <float.h>.
14181 (__casinhf): Move code for finite nonzero arguments to
14182 k_casinhf.c.
14183 * math/s_casinhl.c: Do not include <float.h>.
14184 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14185 redefine.
14186 (__casinhl): Move code for finite nonzero arguments to
14187 k_casinhl.c.
14188 * math/libm-test.inc (cacos_test): Add more tests.
14189 * sysdeps/i386/fpu/libm-test-ulps: Update.
14190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14191
2a26ef3a
PT
141922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14193
14194 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14195 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14196 [!HAVE_MREMAP]: Remove [defined linux] case.
14197 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14198
a897655d
SP
141992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14200
14201 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14202
881ebe89 142032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14204
14205 * elf/elf.h (R_386_SIZE32): New relocation.
14206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14207 R_386_SIZE32.
14208 (elf_machine_rela): Likewise.
14209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14210 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14211
59981e9b
JM
142122013-01-17 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14215 (FP_FAST_FMA): Do not define.
14216 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14217 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14218 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14219 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14220 !_SOFT_FLOAT]: Likewise.
14221 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14222 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14223 value.
14224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14225 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14227 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14228 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14229 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14230 file.
14231
cfa8054f
AS
142322013-01-16 Andreas Schwab <schwab@suse.de>
14233
14234 [BZ #14327]
14235 * include/stdlib.h (__mktemp): Add declaration.
14236 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14237 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14238
dd930cc5
SP
142392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14240
881ebe89
SP
14241 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14242 definitions.
14243 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14244 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14245 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14246 definitions here.
14247 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14248 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14249 definitions.
14250 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14251 and ONE.
14252 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14253 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14254 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14255 definitions.
14256 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14257 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14258 definitions.
14259 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14260
dd930cc5
SP
14261 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14262
c19a9f89
DM
142632013-01-15 David S. Miller <davem@davemloft.net>
14264
1aa61767
DM
14265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14266 trunc{,f} to libm-sysdep_routes.
14267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14269 file.
14270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14272 file.
14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14274 file.
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14277 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14279 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14280 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14281 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14282 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14283
c42d5e98
DM
14284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14285 nearbyint{,f} to libm-sysdep_routes.
14286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14288 New file.
14289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14290 file.
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14292 New file.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14294 file.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14298 file.
14299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14300 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14301 file.
14302 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14303 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14304 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14305
c19a9f89
DM
14306 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14307 libc_feholdexcept and libc_fesetenv.
14308
357679d2
MF
143092013-01-15 Mike Frysinger <vapier@gentoo.org>
14310
14311 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14312
65a82e3d
DM
143132013-01-14 David S. Miller <davem@davemloft.net>
14314
8b954ab9
DM
14315 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14316 (SPARC_ASM_VIS2_IFUNC): Likewise.
14317 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14319 use of 'siam' instruction.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14321 Likewise.
14322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14323 Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14325 Likewise.
14326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14331 file.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14333 file.
14334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14335 file.
14336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14337 file.
14338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14343 new VIS2 routines.
14344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14347 Likewise.
14348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14353 routines to libm-sysdep_routines.
14354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14355
65a82e3d
DM
14356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14357 fdim/fdimf to libm-sysdep_routines.
14358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14359 file.
14360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14362 file.
14363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14366 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14367 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14368 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14369 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14370
e34ab705
SP
143712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14372
2a91b573
SP
14373 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14374 to optimize copies.
14375
1066a534
SP
14376 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14379
e34ab705
SP
14380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14381 local variable MPTWO.
14382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14383 Likewise.
14384
aba5e596
MF
143852013-01-13 Mike Frysinger <vapier@gentoo.org>
14386
14387 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14388 GLOB_NOESCAPE.
14389
e557e9e5
MF
143902013-01-13 Mike Frysinger <vapier@gentoo.org>
14391
14392 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14393
0428cec9
MF
143942013-01-13 Mike Frysinger <vapier@gentoo.org>
14395
14396 * manual/pattern.texi (glob_t): Document gl_flags.
14397 (glob64_t): Likewise.
14398
8794a964
DM
143992013-01-11 David S. Miller <davem@davemloft.net>
14400
66438c3f
RM
14401 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14402 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14403 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14404 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14405 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14406 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14407 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14408 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14409 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14410 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14411 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14412 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14413 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14414
4ae4244d
DM
14415 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14416 sparc V9 rather than using V8 code.
14417 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14418 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14419
8794a964
DM
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14421 Move to...
14422 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14423 Here.
14424
6270516e
RM
144252013-01-11 Roland McGrath <roland@hack.frob.com>
14426
14427 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14428 not in the main loop.
14429 * configure: Regenerated.
14430
6a57d931
JM
144312013-01-11 Joseph Myers <joseph@codesourcery.com>
14432
14433 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14434 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14435 to just #else.
14436 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14437 [!__GLIBC_HAVE_LONG_LONG] case.
14438 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14439 condition to just #else.
14440 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14441 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14442 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14443 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14444 unconditional.
14445 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14446 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14447 #elif condition to just #else.
14448 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14449 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14450 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14451 #elif condition to just #else.
14452
0e8529e9
SE
144532013-01-11 Steve Ellcey <sellcey@mips.com>
14454
14455 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14456 (EF_MIPS_ARCH_64): Fix value.
14457 (EF_MIPS_ARCH_32R2): New.
14458 (EF_MIPS_ARCH_64R2): New.
14459
740b3dbe
L
144602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * Makeconfig (+link-pie-before-libc): New.
14463 (+link-pie-after-libc): Likewise.
14464 (+link-pie-tests): Likewise.
14465 (+link-pie): Rewritten.
14466 (link-before-libc): Remove $(config-LDFLAGS).
14467 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14468 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14469 (config-LDFLAGS): Renamed to ...
14470 (rtld-LDFLAGS): This.
14471 (rtld-tests-LDFLAGS): New macro.
14472 (link-libc-rpath-link): Likewise.
14473 (link-libc-tests-rpath-link): Likewise.
14474 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14475 (link-libc): Prepand $(link-libc-rpath-link).
14476 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14477 (test-program-prefix): New macro.
14478 (test-via-rtld-prefix): Likewise.
14479 (test-program-cmd): Likewise.
14480 (host-test-program-cmd): Likewise.
14481 * Makefile ($(common-objpfx)testrun.sh): Replace
14482 $(run-program-prefix) with $(test-program-prefix).
14483 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14484 $(rtld-LDFLAGS).
14485 ($(common-objpfx)shlib.lds): Likewise.
14486 (build-module-helper): Likewise.
14487 ($(common-objpfx)format.lds): Likewise.
14488 * Rules (binaries-pie-tests): New.
14489 (binaries-pie-notests): Likewise.
14490 (binaries-pie): Rewritten.
14491 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14492 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14493 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14494 (make-test-out): Replace $(host-built-program-cmd) with
14495 $(host-test-program-cmd).
14496 * config.make.in (build-hardcoded-path-in-tests): New variable.
14497 * configure.in (--enable-hardcoded-path-in-tests): New configure
14498 option.
14499 (hardcoded_path_in_tests): New AC_SUBST.
14500 * configure: Regenerated.
14501 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14502 $(built-program-cmd) with $(test-program-cmd).
14503 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14504 (test_program_cmd): This.
14505 * elf/Makefile ($(objpfx)order.out): Run test with
14506 $(test-program-prefix).
14507 ($(objpfx)order2.out): Likewise.
14508 ($(objpfx)tst-initorder.out): Likewise.
14509 ($(objpfx)tst-initorder2.out): Likewise.
14510 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14511 $(test-program-cmd).
14512 ($(objpfx)tst-array1-static.out): Likewise.
14513 ($(objpfx)tst-array2.out): Likewise.
14514 ($(objpfx)tst-array3.out): Likewise.
14515 ($(objpfx)tst-array4.out): Likewise.
14516 ($(objpfx)tst-array5.out): Likewise.
14517 ($(objpfx)tst-array5-static.out): Likewise.
14518 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14519 $(test-program-cmd).
14520 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14521 $(run-program-prefix) with $(test-program-prefix).
14522 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14523 (test_program_prefix): This.
14524 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14525 $(run-program-prefix) with $(test-program-prefix).
14526 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14527 (test_program_prefix): This.
14528 * iconvdata/tst-tables.sh: Likewise.
14529 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14530 $(run-program-prefix) with $(test-program-prefix).
14531 ($(objpfx)tst-translit.out): Likewise.
14532 ($(objpfx)tst-gettext2.out): Likewise.
14533 ($(objpfx)tst-gettext4.out): Likewise.
14534 ($(objpfx)tst-gettext6.out): Likewise.
14535 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14536 (test_program_prefix): This.
14537 * intl/tst-gettext2.sh: Likewise.
14538 * intl/tst-gettext4.sh Likewise.
14539 * intl/tst-gettext6.sh: Likewise.
14540 * intl/tst-translit.sh: Likewise.
14541 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14542 with $(test-program-cmd).
14543 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14544 $(run-program-prefix) with $(test-program-prefix).
14545 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14546 (test_program_prefix): This.
14547 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14548 $(run-program-prefix) with $(test-program-prefix).
14549 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14550 (test_program_prefix): This.
14551 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14552 * posix/Makefile ($(objpfx)globtest.out): Replace
14553 $(run-via-rtld-prefix) and $(test-wrapper) with
14554 $(test-program-prefix) and $(test-via-rtld-prefix).
14555 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14556 $(test-program-prefix).
14557 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14558 $(host-test-program-cmd).
14559 (tst-spawn-ARGS): Likewise.
14560 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14561 $(test-program-prefix).
14562 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14563 (test_via_rtld_prefix): This.
14564 (test_wrapper): Renamed to ...
14565 (test_program_prefix): This.
14566 (run_program_prefix): Replaced by test_program_prefix.
14567 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14568 (test_program_prefix): This.
14569 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14570 with $(host-test-program-cmd).
14571 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14572 $(run-program-prefix) with $(test-program-prefix).
14573 ($(objpfx)tst-printf.out): Likewise.
14574 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14575 $(test-program-cmd).
14576 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14577 (test_program_prefix): This.
14578 * stdio-common/tst-unbputc.sh: Likewise.
14579 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14580 $(run-program-prefix) with $(test-program-prefix).
14581 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14582 (test_program_prefix): This.
14583 * string/Makefile ($(objpfx)tst-svc.out): Replace
14584 $(built-program-cmd) with $(test-program-cmd).
14585
c6fe55cf
AJ
145862013-01-11 Andreas Jaeger <aj@suse.de>
14587
14588 [BZ #15003]
14589 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14590 value. Sync with Linux 3.7.
14591
9e6919c8
DM
145922013-01-10 David S. Miller <davem@davemloft.net>
14593
14594 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14597
1c9f1a02
RM
145982013-01-10 Roland McGrath <roland@hack.frob.com>
14599
14600 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14601 never set.
14602 * configure: Regenerated.
14603
b9de2dde
DM
146042013-01-10 David S. Miller <davem@davemloft.net>
14605
14606 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14607 sparc V9 rather than using V8 code.
14608 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14609 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14610
e7f68ef4
RM
146112013-01-10 Roland McGrath <roland@hack.frob.com>
14612
14613 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14614 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14615 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14616 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14617 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14618 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14619 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14620 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14621 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14622 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14623 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14624 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14625 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14626 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14627 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14628 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14629 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14630 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14631 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14632 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14633 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14634 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14635 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14636 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14637 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14638 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14639 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14640
5a47cc9c
DM
146412013-01-10 David S. Miller <davem@davemloft.net>
14642
14643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14644
4cf8f209
L
146452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 * posix/Makefile (tests-static): New variable.
14648 (tests): Add $(tests-static).
14649 (tst-exec-static-ARGS): New variable.
14650 (tst-spawn-static-ARGS): Likewise.
14651 * posix/tst-exec-static.c: New file.
14652 * posix/tst-spawn-static.c: Likewise.
14653 * posix/tst-exec.c: Support run directly.
14654 * posix/tst-spawn.c: Likewise.
14655
fed0faa1
JM
146562013-01-10 Joseph Myers <joseph@codesourcery.com>
14657
828beb13
JM
14658 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14659 long.
14660 * math/bits/mathcalls.h (llrint): Likewise.
14661 (llround): Likewise.
14662 * stdlib/stdlib.h (struct drand48_data): Likewise.
14663 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14664 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14665 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14666 Likewise.
14667 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14668 Likewise.
14669 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14670 (elf_greg_t): Likewise.
14671 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14672 (__jmp_buf): Likewise.
14673 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14674 definitions.
14675 (llrint): Likewise, for all definitions.
14676 (llrintl): Likewise.
14677
fed0faa1
JM
14678 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14679 Remove [__GNUC__] condition.
14680 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14681 condition to just [__USE_ISOC99].
14682 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14683
1a20cb20
L
146842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 [BZ #14200]
14687 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14688 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14689 defined.
14690 (_POSIX_V6_ILP32_OFF32): Likewise.
14691 (_XBS5_ILP32_OFF32): Likewise.
14692 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14693 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14694
751b85f7
SP
146952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14696
7490eb81
SP
14697 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14698
751b85f7
SP
14699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14700 doubles __mpexp_twomm1. Adjust usage.
14701 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14702 Remove.
14703
988197f0
AS
147042013-01-10 Andreas Schwab <schwab@suse.de>
14705
14706 [BZ #14964]
14707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14708 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14709
e83d7298
DM
147102013-01-09 David S. Miller <davem@davemloft.net>
14711
034ed64b 14712 [BZ #15003]
e83d7298
DM
14713 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14714 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14715 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14716 TCP_FASTOPEN): Define.
14717 (tcp_repair_opt): New structure.
14718 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14719 enum values.
14720 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14721 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14722 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14723 (tcp_cookie_transactions): New structure.
14724
d5e0b9bd
AB
147252013-01-09 Anton Blanchard <anton@samba.org>
14726
14727 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14728 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14731
0c07e3ea
JM
147322013-01-09 Joseph Myers <joseph@codesourcery.com>
14733
14734 * include/features.h (__USE_ANSI): Remove.
14735
232f7002
RM
147362013-01-09 Roland McGrath <roland@hack.frob.com>
14737
ad98e30c
RM
14738 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14739
232f7002
RM
14740 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14741
950c99ca
SP
147422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14743
b5792741
SP
14744 * sysdeps/s390/fpu/libm-test-ulps: Update.
14745
47cf2278
SP
14746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14747
950c99ca
SP
14748 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14749 (__acr): Likewise.
14750 (__cpy): Likewise.
14751 (norm): Likewise.
14752 (denorm): Likewise.
14753 (__mp_dbl): Likewise.
14754 (__dbl_mp): Likewise.
14755 (add_magnitudes): Likewise.
14756 (sub_magnitudes): Likewise.
14757 (__add): Likewise.
14758 (__sub): Likewise.
14759 (__mul): Likewise.
14760 (__inv): Likewise.
14761 (__dvd): Likewise.
14762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14763 (__acr): Likewise.
14764 (__cpy): Likewise.
14765 (norm): Likewise.
14766 (denorm): Likewise.
14767 (__mp_dbl): Likewise.
14768 (__dbl_mp): Likewise.
14769 (add_magnitudes): Likewise.
14770 (sub_magnitudes): Likewise.
14771 (__add): Likewise.
14772 (__sub): Likewise.
14773 (__mul): Likewise.
14774 (__inv): Likewise.
14775 (__dvd): Likewise.
14776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14777 (__acr): Likewise.
14778 (__cpy): Likewise.
14779 (norm): Likewise.
14780 (denorm): Likewise.
14781 (__mp_dbl): Likewise.
14782 (__dbl_mp): Likewise.
14783 (add_magnitudes): Likewise.
14784 (sub_magnitudes): Likewise.
14785 (__add): Likewise.
14786 (__sub): Likewise.
14787 (__mul): Likewise.
14788 (__inv): Likewise.
14789 (__dvd): Likewise.
14790
eede9df9
JM
147912013-01-08 Joseph Myers <joseph@codesourcery.com>
14792
14793 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14794 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14795 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14796 2 && __USE_EXTERN_INLINES]: Likewise.
14797
c40ea3d9
AJ
147982013-01-08 Andreas Jaeger <aj@suse.de>
14799
14800 [BZ# 14985]
14801 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14802 Remove.
14803 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14804 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14805
2ccdea26
AB
148062013-01-07 Anton Blanchard <anton@samba.org>
14807
14808 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14809 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14810 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14811 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14812 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14814 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14820 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14823 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14825 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14826 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14827 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14831 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14832 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14833 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14834 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14835 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14837 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14838 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14840 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14842 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14843 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14844 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14845 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14848 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14849 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14850 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14851
a9708fed
JM
148522013-01-07 Joseph Myers <joseph@codesourcery.com>
14853
375607b9
JM
14854 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14855 (__MALLOC_PMT): Likewise.
14856 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14857 [__GNUC__], only on [_LIBC].
14858 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14859 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14860 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14861 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14862 forward declaration.
14863 (realloc_hook_ini): Likewise.
14864 (memalign_hook_ini): Likewise.
14865 (__libc_memalign): Do not use __MALLOC_PMT in variable
14866 declaration.
14867 (__libc_valloc): Likewise.
14868 (__libc_pvalloc): Likewise.
14869 (__libc_calloc): Likewise.
14870 (__posix_memalign): Likewise.
14871
a9708fed
JM
14872 [BZ #14996]
14873 * math/s_casinh.c: Include <float.h>.
14874 (__casinh): Do not do computation with squaring and square root
14875 for large arguments.
14876 * math/s_casinhf.c: Include <float.h>.
14877 (__casinhf): Do not do computation with squaring and square root
14878 for large arguments.
14879 * math/s_casinhl.c: Include <float.h>.
14880 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14881 (__casinhl): Do not do computation with squaring and square root
14882 for large arguments.
14883 * math/libm-test.inc (casin_test): Add more tests.
14884 (casinh_test): Likewise.
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14887
afec409a
L
148882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14889
14890 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14891 (__x86_64_raw_data_cache_size): Likewise.
14892 (__x86_64_data_cache_size_half): Likewise.
14893 (__x86_64_raw_data_cache_size_half): Likewise.
14894 (__x86_64_shared_cache_size): Likewise.
14895 (__x86_64_raw_shared_cache_size): Likewise.
14896 (__x86_64_shared_cache_size_half): Likewise.
14897 (__x86_64_raw_shared_cache_size_half): Likewise.
14898 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14899 to ...
14900 (__x86_data_cache_size): This.
14901 (__x86_64_raw_data_cache_size): Renamed to ...
14902 (__x86_raw_data_cache_size): This.
14903 (__x86_64_data_cache_size_half): Renamed to ...
14904 (__x86_data_cache_size_half): This.
14905 (__x86_64_raw_data_cache_size_half): Renamed to ...
14906 (__x86_raw_data_cache_size_half): This.
14907 (__x86_64_shared_cache_size): Renamed to ...
14908 (__x86_shared_cache_size): This.
14909 (__x86_64_raw_shared_cache_size): Renamed to ...
14910 (__x86_raw_shared_cache_size): This.
14911 (__x86_64_shared_cache_size_half): Renamed to ...
14912 (__x86_shared_cache_size_half): This.
14913 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14914 (__x86_raw_shared_cache_size_half): This.
14915 * sysdeps/x86_64/memcpy.S: Updated.
14916 * sysdeps/x86_64/memset.S: Likewise.
14917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14920
0b3986d0
DM
149212013-01-04 David S. Miller <davem@davemloft.net>
14922
14923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14924
e47686e9
AS
149252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14926
d643bac1
AS
14927 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14928 1 to avoid redefinition warning.
14929 (__USE_GNU): Don't define.
14930 (init_signaling_nan): Protoize.
14931
e47686e9
AS
14932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14933
b18decba
SP
149342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14935
fffb407f
SP
14936 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14938 (__cpymn): Likewise.
14939 (norm): Remove commented code.
14940 (denorm): Likewise.
14941 (__mp_dbl): Likewise.
14942 (__inv): Likewise.
14943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14944 (__cpymn): Likewise.
14945 (norm): Remove commented code.
14946 (denorm): Likewise.
14947 (__mp_dbl): Likewise.
14948 (__inv): Likewise.
14949
b18decba
SP
14950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14951 mp_no value for 1.0 and 2.0.
14952 (norm): Use RADIXI instead of radixi.d.
14953 (denorm): Likewise.
14954 (__mul): Use 0.0 instead of zero.d.
14955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14956 mp_no value for 1.0 and 2.0.
14957 (norm): Use RADIXI instead of radixi.d.
14958 (denorm): Likewise.
14959 (__mul): Use 0.0 instead of zero.d.
14960
cdc1c96f
JM
149612013-01-04 Joseph Myers <joseph@codesourcery.com>
14962
14963 [BZ #14994]
14964 * math/s_casinh.c (__casinh): Reduce finite argument to first
14965 quadrant then set signs of results at the end.
14966 * math/s_casinhf.c (__casinhf): Likewise.
14967 * math/s_casinhl.c (__casinhl): Likewise.
14968 * math/libm-test.inc (casin_test): Add more tests.
14969 (casinh_test): Likewise.
14970 * sysdeps/i386/fpu/libm-test-ulps: Update.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972
302913e1
SP
149732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14974
6420d207
SP
14975 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14976
a9e48ab4
SP
14977 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14978
b7837264
SP
14979 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14980 declarations.
14981 (denorm): Likewise.
14982 (__mp_dbl): Likewise.
14983 (__inv): Likewise.
14984
f8af25d2
SP
14985 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14986 and adjust the header comment.
14987
302913e1
SP
14988 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14989 variable name from declaration.
14990
5d7dd1ca
L
149912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14992
14993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14994 Initialize COMMON_CPUID_INDEX_7 element.
14995 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14996 (CPUID_RTM): Likewise.
14997 (HAS_RTM): Likewise.
14998 (COMMON_CPUID_INDEX_7): New enum.
14999
2f5f40f4
AS
150002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15001
15002 [BZ #14981]
15003 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15004 size is zero, record memory as freed.
15005
4056f4a0
AJ
150062013-01-03 Andreas Jaeger <aj@suse.de>
15007
15008 * po/ia.po: Add new Interlingua translation.
15009
ab15736f 150102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15011
15012 * locale/programs/localedef.c: Fix description of '--posix' flag.
15013
568035b7
JM
150142013-01-02 Joseph Myers <joseph@codesourcery.com>
15015
e6898b8d
JM
15016 * NEWS: Update dates in second copyright notice.
15017 * README: Update copyright dates in example.
15018 * manual/libc.texinfo: Update copyright dates.
15019 * scripts/test-installation.pl: Update copyright date in --version
15020 output.
15021
0e2f9562
JM
15022 * hurd/ctty-input.c: Fix copyright notice formatting.
15023 * hurd/ctty-output.c: Likewise.
15024 * hurd/dtable.c: Likewise.
15025 * hurd/hurd-raise.c: Likewise.
15026 * hurd/hurdprio.c: Likewise.
15027 * hurd/msgportdemux.c: Likewise.
15028 * misc/sys/file.h: Likewise.
15029 * misc/sys/ioctl.h: Likewise.
15030 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15031 * sysdeps/mach/hurd/chdir.c: Likewise.
15032 * sysdeps/mach/hurd/fchdir.c: Likewise.
15033 * sysdeps/mach/hurd/rename.c: Likewise.
15034 * sysdeps/mach/hurd/rmdir.c: Likewise.
15035 * sysdeps/mach/hurd/seekdir.c: Likewise.
15036 * sysdeps/mach/hurd/setsid.c: Likewise.
15037 * sysdeps/posix/wait3.c: Likewise.
15038
568035b7
JM
15039 * All files with FSF copyright notices: Update copyright dates
15040 using scripts/update-copyrights.
15041 * intl/plural.c: Regenerated.
15042 * locale/programs/charmap-kw.h: Likewise.
15043 * locale/programs/locfile-kw.h: Likewise.
15044
da08f647
SP
150452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15046
0f5477af
SP
15047 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15048 four values.
15049
44e0d4c2
SP
15050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15051 calculation loop and add branch prediction.
15052
4d55b4e5
SP
15053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15054 check access beyond bounds of m1np.
15055
da08f647
SP
15056 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15057 MPTWO.
15058 (__inv): Remove local variable MPTWO to use the global
15059 constant.
15060 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15061 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15062 variable MPTWO.
15063 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15064 MP3HALFS static const.
15065
8e051029
DM
150662013-01-01 David S. Miller <davem@davemloft.net>
15067
15068 * po/ca.po: Update from translation team.
15069
f4cf5f2d
JM
150702013-01-01 Joseph Myers <joseph@codesourcery.com>
15071
15072 * scripts/update-copyrights: New file.
15073 * Makeconfig: Reformat copyright notice.
15074 * ctype/ctype.h: Likewise.
15075 * debug/swprintf_chk.c: Likewise.
15076 * elf/dl-cache.c: Likewise.
15077 * elf/dl-debug.c: Likewise.
15078 * elf/dl-object.c: Likewise.
15079 * grp/initgroups.c: Likewise.
15080 * hurd/Makefile: Likewise.
15081 * hurd/hurd/signal.h: Likewise.
15082 * hurd/hurdfault.c: Likewise.
15083 * hurd/hurdioctl.c: Likewise.
15084 * hurd/hurdlookup.c: Likewise.
15085 * hurd/intr-msg.c: Likewise.
15086 * iconv/gconv_open.c: Likewise.
15087 * libio/swprintf.c: Likewise.
15088 * locale/lc-ctype.c: Likewise.
15089 * locale/nl_langinfo.c: Likewise.
15090 * mach/Machrules: Likewise.
15091 * mach/Makefile: Likewise.
15092 * malloc/obstack.h: Likewise.
15093 * manual/Makefile: Likewise.
15094 * manual/tsort.awk: Likewise.
15095 * misc/bits/stab.def: Likewise.
15096 * nis/nis_print_group_entry.c: Likewise.
15097 * nis/nis_table.c: Likewise.
15098 * nis/nss_compat/compat-pwd.c: Likewise.
15099 * nis/nss_compat/compat-spwd.c: Likewise.
15100 * po/Makefile: Likewise.
15101 * posix/fnmatch.c: Likewise.
15102 * posix/regex.h: Likewise.
15103 * resolv/Makefile: Likewise.
15104 * resolv/nss_dns/dns-network.c: Likewise.
15105 * resolv/res_hconf.c: Likewise.
15106 * scripts/gen-sorted.awk: Likewise.
15107 * soft-fp/soft-fp.h: Likewise.
15108 * stdio-common/printf.h: Likewise.
15109 * stdlib/monetary.h: Likewise.
15110 * stdlib/random.c: Likewise.
15111 * stdlib/random_r.c: Likewise.
15112 * sysdeps/generic/Makefile: Likewise.
15113 * sysdeps/gnu/Makefile: Likewise.
15114 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15124 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15125 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15126 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15132 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15134 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15136 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15137 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15138 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15139 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15142 * sysdeps/mach/hurd/errnos.awk: Likewise.
15143 * sysdeps/mach/hurd/fork.c: Likewise.
15144 * sysdeps/mach/hurd/getcwd.c: Likewise.
15145 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15146 * sysdeps/mach/hurd/mmap.c: Likewise.
15147 * sysdeps/mach/hurd/utimes.c: Likewise.
15148 * sysdeps/mach/hurd/xmknod.c: Likewise.
15149 * sysdeps/posix/profil.c: Likewise.
15150 * sysdeps/posix/readdir_r.c: Likewise.
15151 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15152 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15153 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15154 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15156 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15157 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15158 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15160 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15161 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15162 * sysdeps/pthread/lio_listio.c: Likewise.
15163 * sysdeps/sparc/dl-procinfo.h: Likewise.
15164 * sysdeps/unix/i386/sysdep.S: Likewise.
15165 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15166 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15167 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15168 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15170 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15171 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15172 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15173 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15174 * sysdeps/wordsize-32/divdi3.c: Likewise.
15175 * time/sys/time.h: Likewise.
15176 * wcsmbs/Makefile: Likewise.
15177
0549fbba
DM
151782013-01-01 David S. Miller <davem@davemloft.net>
15179
a141f1a7
DM
15180 * po/fr.po: Update from translation team.
15181
0549fbba
DM
15182 * catgets/gencat.c: Update copyright year.
15183 * csu/version.c: Likewise.
15184 * debug/catchsegv.sh: Likewise.
15185 * debug/pcprofiledump.c: Likewise.
15186 * debug/xtrace.sh: Likewise.
15187 * elf/ldconfig.c: Likewise.
15188 * elf/ldd.bash.in: Likewise.
15189 * elf/pldd.c: Likewise.
15190 * elf/sotruss.ksh: Likewise.
15191 * elf/sprof.c: Likewise.
15192 * iconv/iconv_prog.c: Likewise.
15193 * iconv/iconvconfig.c: Likewise.
15194 * locale/programs/locale.c: Likewise.
15195 * locale/programs/localedef.c: Likewise.
15196 * login/programs/pt_chown.c: Likewise.
15197 * malloc/memusage.sh: Likewise.
15198 * malloc/memusagestat.c: Likewise.
15199 * malloc/mtrace.pl: Likewise.
15200 * nscd/nscd.c: Likewise.
15201 * nss/getent.c: Likewise.
15202 * nss/makedb.c: Likewise.
15203 * posix/getconf.c: Likewise.
15204
18ea052c
SP
152052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15206
15207 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15208 numbers.
15209
9c89fca6
MF
152102012-12-30 Mike Frysinger <vapier@gentoo.org>
15211
15212 * math/bits/mathcalls.h (modf): Use __nonnull.
15213
085ec079
SP
152142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15215
15216 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15217 (split): Use macro CN instead of the bare value.
15218 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15219 could be used.
15220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15221 instead of the bare value.
15222 (power1): Likewise.
15223
6d9f97e1
SP
152242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15225
d63f73be
SP
15226 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15227 __ATAN_TWOM.
15228 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15229
6d9f97e1
SP
15230 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15231 their values.
15232 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15233 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15234 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15235 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15236
4c4febf5
AJ
152372012-12-28 Andreas Jaeger <aj@suse.de>
15238
af5843ef
AJ
15239 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15240 values are from Linux 3.7.
15241
4c4febf5
AJ
15242 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15243 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15244
99136f82
SP
152452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
2f216c3c 15247 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15248 TRUE case.
15249
99136f82
SP
15250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15251 (norm): Likewise.
15252 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15253 variables with preprocessor constants.
15254 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15255 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15256 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15257
7fffbdff
BH
152582012-12-27 Bruno Haible <bruno@clisp.org>
15259
15260 [BZ #14317]
15261 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15262 only if needed.
15263
b76eb5f0
SP
152642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15265
31a7fe5c
SP
15266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15267 and use variable directly.
15268 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15269
b76eb5f0
SP
15270 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15271 MPONE.
15272 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15274 variable MPONE.
15275 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15277 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15278 include directive. Remove local variable MPONE.
15279 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15280 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15281 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15282
2c8bfe7d
DM
152832012-12-25 David S. Miller <davem@davemloft.net>
15284
15285 * version.h (RELEASE): Set to "development".
15286 (VERSION): Set to "2.17.90".
15287 * NEWS: Add 2.18 section.
15288
147d03b0
DM
152892012-12-21 David S. Miller <davem@davemloft.net>
15290
15291 * po/hr.po: Update from translation team.
15292
a8ebb2b9
AK
152932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15294
15295 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15296
95b4f1b6
SE
152972012-12-19 Steve Ellcey <sellcey@mips.com>
15298
b2d94007 15299 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15300
cedb2a90
MS
153012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15302
15303 * manual/contrib.texi (Contributors): Spelling correction.
15304
bbf527d6
DM
153052012-12-15 David S. Miller <davem@davemloft.net>
15306
15307 * po/ru.po: Update from translation team.
15308
bc38c906
DM
153092012-12-13 David S. Miller <davem@davemloft.net>
15310
85429b1a
DM
15311 * NEWS: Mention IFUNC testsuite enhancements.
15312
d283e353
DM
15313 * po/pl.po: Update from translation team.
15314 * po/bg.po: Likewise.
15315
bc38c906
DM
15316 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15317 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15318
a181b0d7
DM
153192012-12-11 David S. Miller <davem@davemloft.net>
15320
4641d57e
DM
15321 * po/sv.po: Update from translation team.
15322
f7bc6495
DM
15323 * po/vi.po: Update from translation team.
15324
6fc9048f
DM
15325 * po/cs.po: Update from translation team.
15326
a181b0d7
DM
15327 * po/de.po: Update from translation team.
15328 * po/eo.po: Likewise.
15329 * po/nl.po: Likewise.
15330
f70bfe80
SP
153312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15332
3c8b4190
SP
15333 [BZ #14246]
15334 * manual/argp.texi (Argp Helper Functions): Move node to follow
15335 Argp Parsing State.
15336
f70bfe80
SP
15337 [BZ #14872]
15338 * manual/conf.texi (Limits on File System Capacity): Mention if
15339 terminating null is included in the max size.
15340
188f0adf
AJ
153412012-12-10 Andreas Jaeger <aj@suse.de>
15342
15343 * po/cs.po: Update from translation team.
15344
56e7d3ad
SP
153452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15346
15347 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15348 void pointer and cast to uintptr_t.
15349 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15350 path.
15351 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15352 * sysdeps/s390/s390-64/memset.S: Likewise.
15353
76f2d2ea 153542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15355
15356 [BZ #14833]
15357 * menual/message.texi (Message Translation): Fix typos.
15358 (Helper programs for gettext): Likewise.
15359
67cbf9a2
AS
153602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15361
15362 [BZ #14898]
15363 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15364 Change to -1.
15365
682d0e9a
DM
153662012-12-07 David S. Miller <davem@davemloft.net>
15367
15368 * po/libc.pot: Update.
15369
573cd484
RH
153702012-12-07 Richard Henderson <rth@redhat.com>
15371
7e9da188 15372 [BZ #10114]
573cd484
RH
15373 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15374 normal/normal case to before the switch.
15375 (_FP_DIV): Likewise.
15376
e933a943
MF
153772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15378 Mike Frysinger <vapier@gentoo.org>
15379
15380 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15381 check for __NR_fadvise64_64.
15382
82123268
CM
153832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15384
15385 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15386 0, not just to plain "0" as a statement.
15387 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15388 with cw.
15389
d9814526
JM
153902012-12-06 Joseph Myers <joseph@codesourcery.com>
15391
15392 * NEWS: Use sourceware.org in Bugzilla URL.
15393
7728c574
SP
153942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15395
f16946dd
SP
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15397 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15398
5704bbcb
SP
15399 * stdio-common/tst-put-error.c (do_test): Add newline to the
15400 padded test to ensure flush.
15401
17aa0516
JL
154022012-12-05 Jeff Law <law@redhat.com>
15403
15404 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15405
363313b5
JM
154062012-12-05 Joseph Myers <joseph@codesourcery.com>
15407
effbd42a
JM
15408 * README: Don't refer to ports add-on as distributed separately.
15409 Mention AArch64 in list of systems supported in the ports add-on.
15410
87600365
JM
15411 * LICENSES: Add more non-FSF copyright and license notices.
15412
a0d7066a
JM
15413 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15414 ((unused)).
15415
66ca5a5b
JM
15416 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15417
363313b5
JM
15418 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15419 10000 as width of padded output.
15420
b37984ad
JM
154212012-12-04 Joseph Myers <joseph@codesourcery.com>
15422
9003570a
JM
15423 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15424
b37984ad
JM
15425 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15426 variable LX with __attribute__ ((unused)).
15427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15428 Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15431 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15432 with __attribute__ ((unused)).
15433
c8df52ec
DM
154342012-12-04 David S. Miller <davem@abraco.davemloft.net>
15435
15436 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15437
b3b099af
JM
154382012-12-04 Joseph Myers <joseph@codesourcery.com>
15439
c33aa6e3
JM
15440 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15441 (CFLAGS-nldbl-acos.c): New variable.
15442 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15445 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15446 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15447 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15448 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15449 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15450 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15451 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15452 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15453 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15454 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15455 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15456 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15457 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15458 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15459 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15460 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15461 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15462 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15463 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15464 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15465 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15466 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15467 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15468 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15469 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15470 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15471 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15472 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15473 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15474 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15475 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15476 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15477 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15478 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15479 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15480 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15481 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15482 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15483 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15484 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15485 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15486 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15487 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15488 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15489 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15490 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15491 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15492 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15493 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15494 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15495 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15496 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15497 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15498 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15499 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15500 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15501 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15502 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15503 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15504 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15505 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15506 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15507 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15508 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15509 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15510 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15511 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15512 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15513 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15514 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15515 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15516 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15517 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15518 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15519 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15520 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15521 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15522 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15523 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15524 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15525 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15526 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15527 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15528 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15529 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15530 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15531 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15532 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15533 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15534 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15535 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15536 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15537 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15538 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15539
20f0018d
JM
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15541 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15542
b3b099af
JM
15543 [BZ #14914]
15544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15545 whole low double instead of just low 47 bits when splitting values
15546 into two parts.
15547
029264d1
AM
155482012-12-03 Allan McRae <allan@archlinux.org>
15549
15550 * manual/stdio.texi (Predefined Printf Handlers): Remove
15551 @hsep and @vsep usage.
15552
c9d6789e
MF
155532012-12-03 Mike Frysinger <vapier@gentoo.org>
15554
15555 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15556 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15557
4b7634a5
JL
155582012-12-03 Jeff Law <law@redhat.com>
15559
15560 * time/sys/time.h (settimeofday): Do not mark TV argument
15561 as __nonnull.
15562
eb6cbd24
MF
155632012-12-01 Mike Frysinger <vapier@gentoo.org>
15564
15565 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15566 when currently writing and seek to current position when not.
15567 * libio/Makefile (tests): Remove bug-fclose1.
15568 * libio/bug-fclose1.c: Delete.
15569
f638872a
JM
155702012-12-01 Joseph Myers <joseph@codesourcery.com>
15571
15572 * manual/arith.texi (feenableexcept): Fix typo.
15573 (fedisableexcept): Likewise.
15574
48085d14
RM
155752012-11-30 Roland McGrath <roland@hack.frob.com>
15576
15577 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15578 second, differently-typed declaration, rather than a cast.
15579
1a538b9f
SP
155802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15581
15582 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15583 * include/rpc/svc.h: ... here.
15584
d07f2ff1 155852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15586
15587 [BZ #13013]
15588 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15589 depending n and resplen2 to catch cases where answer
15590 equals answerp2.
15591
c93ec1f0
CD
155922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15593
15594 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15595 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15596
37db69de
MF
155972012-11-29 Mike Frysinger <vapier@gentoo.org>
15598
15599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15600
e10c4e4f
RM
156012012-11-29 Roland McGrath <roland@hack.frob.com>
15602
15603 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15604
2af1b328
JL
156052012-11-28 Jeff Law <law@redhat.com>
15606
15607 [BZ #13761]
15608 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15609 dataset_temporary. Track alloca usage into alloca_used.
15610 If dataset is large allocate and release it via malloc/free.
15611
111db5b1
FW
156122012-06-04 Florian Weimer <fweimer@redhat.com>
15613
f06cc227 15614 [BZ #14197]
111db5b1
FW
15615 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15616
dd694abd
DM
156172012-11-28 David S. Miller <davem@davemloft.net>
15618
15619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15620
9984dd01
JM
156212012-11-28 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #14803]
15624 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15625 of pi/2 rounded to nearest to 64 bits.
15626 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15627 nearest to 64 bits.
15628 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15629 bits.
15630
14bc93a9
JL
156312012-11-28 Jeff Law <law@redhat.com>
15632 Martin Osvald <mosvald@redhat.com>
15633
15634 [BZ #14889]
15635 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15636 * sunrpc/svc.c: Include time.h.
15637 (__svc_accept_failed): New function.
15638 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15639 any reason other than EINTR, call __svc_accept_failed.
15640 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15641 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15642
e3c6aa3a
AS
156432012-11-28 Andreas Schwab <schwab@suse.de>
15644
15645 * scripts/abilist.awk: Also handle indirect functions in .opd
15646 section.
15647
1bead169
JM
156482012-11-28 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #13881]
15651 * sysdeps/x86/fpu/powl_helper.c: New file.
15652 * sysdeps/x86/fpu/Makefile: Likewise.
15653 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15654 (p3): New object.
15655 (__ieee754_powl): Use __powl_helper for finite arguments except
15656 integer exponents below 8.
15657 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15658 (p3): New object.
15659 (__ieee754_powl): Use __powl_helper for finite arguments except
15660 integer exponents below 8.
15661 * math/libm-test.inc (pow_test): Add more tests and enable some
15662 previously disabled tests.
15663 * sysdeps/i386/fpu/libm-test-ulps: Update.
15664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15665
0817d63d
SP
156662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15667 Carlos O'Donell <carlos_odonell@mentor.com>
15668
15669 * nss/makedb.c (is_prime): Assert that input is odd and greater
15670 than 4. Note that fact in a comment too.
15671 (next_prime): Add 4 to input.
15672
de2fd463
SP
156732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 [BZ #11741]
15676 * libio/Makefile (tests): Add test case tst-fwrite-error.
15677 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15678 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15679 * libio/tst-fwrite-error.c: New test case.
15680
c515fb51
L
156812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15684 before casting to void *.
15685 * include/libc-internal.h (__pointer_type): New macro.
15686 (__integer_if_pointer_type_sub): Likewise.
15687 (__integer_if_pointer_type): Likewise.
15688 (cast_to_integer): Likewise.
15689 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15690 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15691 before casting to atomic64_t.
15692 (atomic_exchange_acq): Likewise.
15693 (__arch_exchange_and_add_body): Likewise.
15694 (__arch_add_body): Likewise.
15695 (atomic_add_negative): Likewise.
15696 (atomic_add_zero): Likewise.
15697
4cf77aa9
JM
156982012-11-26 Joseph Myers <joseph@codesourcery.com>
15699
15700 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15701 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15702 (add_fdes): Likewise.
15703 (linear_search_fdes): Likewise.
15704 (binary_search_unencoded_fdes): Likewise.
15705
d260b3b4
AS
157062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15707
15708 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15709
67060746
AC
157102012-11-24 Adam Conrad <adconrad@0c3.net>
15711
15712 * configure.in: Autodetect C++ header directories.
15713 * configure: Regenerated.
15714
800938a1
MF
157152012-11-23 Mike Frysinger <vapier@gentoo.org>
15716
15717 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15718
4e6e34e6
AS
157192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15720
15721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15722
7c7feb47
JM
157232012-11-22 Joseph Myers <joseph@codesourcery.com>
15724
7184dcdf
JM
15725 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15726 LDBL_MANT_DIG == 106]: Disable some tests.
15727 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15728 Likewise.
15729 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15730 Likewise.
15731
0a42601f
JM
15732 [BZ #14871]
15733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15734 input for small inputs. Return +/- pi/2 for large inputs.
15735 * math/libm-test.inc (atan_test): Add more tests.
15736
79c9b9fe
JM
15737 * sysdeps/generic/unwind-dw2-fde-glibc.c
15738 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15739 __attribute__ ((unused)).
15740
c60d3bf2
JM
15741 [BZ #14645]
15742 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15743 x * y if x and y are nonzero and z is zero.
15744
ef1e0867
JM
15745 [BZ #14811]
15746 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15747 nonzero exponents with absolute value below 0x1p-117 to +/-
15748 0x1p-117.
15749
1468ded3
JM
15750 [BZ #14869]
15751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15752 up arguments below 2**-450, not just those below 2**-500.
15753 * math/libm-test.inc (hypot_test): Add another test.
15754
8e27e3cc
JM
15755 [BZ #14868]
15756 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15757 Return a+b for ratio over 2**120, not 2**60.
15758 * math/libm-test.inc (hypot_test): Add another test.
15759
c9c0279b
JM
15760 * math/libm-test.inc (clog_test): Use
15761 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15762 (clog10_test): Likewise.
15763
7c7feb47
JM
15764 [BZ #6778]
15765 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15766
fff1530e
AS
157672012-11-22 Andreas Schwab <schwab@suse.de>
15768
15769 * sysdeps/i386/fpu/libm-test-ulps: Update.
15770
94558d30
PT
157712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15772
15773 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15774 printf output with newline.
15775
7e1be741
L
157762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15777
6bfea974
L
15778 [BZ #14865]
15779 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15780 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15781 -z nodlopen, -z initfirst and -z execstack support.
15782 * configure: Regenerated.
15783
7e1be741
L
15784 * elf/elf.h (DF_1_NODIRECT): New macro.
15785 (DF_1_IGNMULDEF): Likewise.
15786 (DF_1_NOKSYMS): Likewise.
15787 (DF_1_NOHDR): Likewise.
15788 (DF_1_EDITED): Likewise.
15789 (DF_1_NORELOC): Likewise.
15790 (DF_1_SYMINTPOSE): Likewise.
15791 (DF_1_GLOBAUDIT): Likewise.
15792 (DF_1_SINGLETON): Likewise.
15793 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15794 DT_1_SUPPORTED_MASK bits.
15795 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15796
105ce2ce
CD
157972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15798
15799 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15800
123be9de
TS
158012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15802
d072f3f7
TS
15803 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15804 macro.
15805
123be9de
TS
15806 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15807 (sendmmsg): Move declarations...
15808 * socket/sys/socket.h: ... here.
15809 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15810 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15811 include it from...
15812 * socket/recvmmsg.c: ... this new file.
15813 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15814 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15815 definition of __sendmmsg hidden.
15816 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15817 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15818 Move ENOSYS stub into and include it from...
15819 * socket/sendmmsg.c: ... this new file.
15820 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15821 (sysdep_routines): Move recvmmsg and sendmmsg...
15822 * socket/Makefile (routines): ... here.
15823 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15824 (GLIBC_PRIVATE): Add __sendmmsg.
15825 * include/sys/socket.h (__sendmmsg): Add declarations.
15826 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15827 sendmmsg.
15828
cf9a5d18
JM
158292012-11-20 Joseph Myers <joseph@codesourcery.com>
15830
15831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15832 variable I1 with __attribute__ ((unused)).
15833 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15834
ecd4caf9
JM
158352012-11-19 Joseph Myers <joseph@codesourcery.com>
15836
be14d48f
JM
15837 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15838 DUMMY variables with __attribute__ ((unused)).
15839
ecd4caf9
JM
15840 * bits/byteswap.h: Include <bits/types.h>.
15841 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15842
986cab95
PT
158432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15844
15845 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15846 string_t. Do not manually set errno.
15847 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15848 length with __strnlen. Make sure to both set errno and return it on
15849 failure.
15850
6d33cc9d
DM
158512012-11-19 David S. Miller <davem@davemloft.net>
15852
15853 With help from Joseph Myers.
15854 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15855 very large arguments properly.
15856 * math/libm-test.inc (atan_test): New tests.
15857 (atan2_test): New tests.
15858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15860
ee663277
JM
158612012-11-19 Joseph Myers <joseph@codesourcery.com>
15862
877f2d8e
JM
15863 [BZ #14856]
15864 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15865 Define to 3.
15866
116fc08a
JM
15867 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15868 [POSIX] (EADDRNOTAVAIL): Likewise.
15869 [POSIX] (EAFNOSUPPORT): Likewise.
15870 [POSIX] (EALREADY): Likewise.
15871 [POSIX] (ECONNABORTED): Likewise.
15872 [POSIX] (ECONNREFUSED): Likewise.
15873 [POSIX] (ECONNRESET): Likewise.
15874 [POSIX] (EDESTADDRREQ): Likewise.
15875 [POSIX] (EDQUOT): Likewise.
15876 [POSIX] (EHOSTUNREACH): Likewise.
15877 [POSIX] (EIDRM): Likewise.
15878 [POSIX] (EISCONN): Likewise.
15879 [POSIX] (ELOOP): Likewise.
15880 [POSIX] (EMULTIHOP): Likewise.
15881 [POSIX] (ENETDOWN): Likewise.
15882 [POSIX] (ENETUNREACH): Likewise.
15883 [POSIX] (ENOBUFS): Likewise.
15884 [POSIX] (ENODATA): Likewise.
15885 [POSIX] (ENOLINK): Likewise.
15886 [POSIX] (ENOMSG): Likewise.
15887 [POSIX] (ENOPROTOOPT): Likewise.
15888 [POSIX] (ENOSR): Likewise.
15889 [POSIX] (ENOSTR): Likewise.
15890 [POSIX] (ENOTCONN): Likewise.
15891 [POSIX] (ENOTSOCK): Likewise.
15892 [POSIX] (EOPNOTSUPP): Likewise.
15893 [POSIX] (EOVERFLOW): Likewise.
15894 [POSIX] (EPROTO): Likewise.
15895 [POSIX] (EPROTONOSUPPORT): Likewise.
15896 [POSIX] (EPROTOTYPE): Likewise.
15897 [POSIX] (ESTALE): Likewise.
15898 [POSIX] (ETIME): Likewise.
15899 [POSIX] (ETXTBSY): Likewise.
15900 [POSIX] (EWOULDBLOCK): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15902 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15903 [POSIX] (SEEK_CUR): Likewise.
15904 [POSIX] (SEEK_END): Likewise.
15905 [POSIX || UNIX98] (mode_t): Do not require.
15906 [POSIX] (off_t): Likewise.
15907 [POSIX] (pid_t): Likewise.
15908 [POSIX] (sys/stat.h): Do not allow header.
15909 [POSIX] (unistd.h): Likewise.
15910 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15911 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15913 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15914 require.
15915 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15916 sigevent): Specify elements.
15917 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15918 entry.
15919 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15920 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15921
a483863f
JM
15922 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15923 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15924 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15925 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15926 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15927 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15928 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15929 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15930 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15931 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15932 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15933 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15934 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15935 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15936 Likewise.
15937 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15938 Likewise.
15939 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15940 Likewise.
15941 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15942 Likewise.
15943 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15944 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15945 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15947 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15948 Specify lower bound on value.
15949 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15950 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15951 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15952 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15953 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15954 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15955 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15956 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15957 value.
15958 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15959 as optional.
15960 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15961 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15962 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15963 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15964 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15965 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15966 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15967 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15968 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15969 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15970 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15971 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15972 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15973 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15974 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15975 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15976 entry.
15977 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15978 optional.
15979 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15980 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15981 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15982 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15983 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15984 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15985 Likewise.
15986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15987 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15988 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15989 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15990 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15991 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15992 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15993 as optional.
15994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15995 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15997 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15998 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15999 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16000 specify as optional.
16001 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16002 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16003 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16004 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16005 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16006 [XPG3] (NL_LANGMAX): Likewise.
16007 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16008 [POSIX || XPG3] (NL_NMAX): Likewise.
16009 [POSIX || XPG3] (NL_SETMAX): Likewise.
16010 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16011 [XPG3] (NZERO): Likewise.
16012 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16013 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16014 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16015 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16016 (REG_ERANGE): Expect.
16017 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16018 optional-constant.
16019 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16020 Use (void) in prototype.
16021 [POSIX] (*_t): Allow.
16022 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16023 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16024 (WRDE_BADVAL): Expect.
16025
5ba924e3
JM
16026 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16027 expect.
16028 [XPG3 || XPG4] (O_RSYNC): Likewise.
16029 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16030 Likewise.
16031 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16032 [XPG3 || XPG4] (sigqueue): Likewise.
16033 [XPG3 || XPG4] (sigtimedwait): Likewise.
16034 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16035 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16036 [XPG3 || XPG4] (vsnprintf): Likewise.
16037 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16038 Likewise.
16039 [XPG3 || XPG4] (blksize_t): Likewise.
16040 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16041 Likewise.
16042 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16043 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16044 [XPG3 || XPG4] (struct itimerspec): Likewise.
16045 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16046 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16047 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16048 [XPG3 || XPG4] (clockid_t): Likewise.
16049 [XPG3 || XPG4] (timer_t): Likewise.
16050 [XPG3 || XPG4] (clock_getres): Likewise.
16051 [XPG3 || XPG4] (clock_gettime): Likewise.
16052 [XPG3 || XPG4] (clock_settime): Likewise.
16053 [XPG3 || XPG4] (nanosleep): Likewise.
16054 [XPG3 || XPG4] (timer_create): Likewise.
16055 [XPG3 || XPG4] (timer_delete): Likewise.
16056 [XPG3 || XPG4] (timer_gettime): Likewise.
16057 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16058 [XPG3 || XPG4] (timer_settime): Likewise.
16059 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16060 [XPG3 || XPG4] (getlogin_r): Likewise.
16061 [XPG3 || XPG4] (pread): Likewise.
16062 [XPG3 || XPG4] (pthread_atfork): Likewise.
16063 [XPG3 || XPG4] (pwrite): Likewise.
16064
ee663277
JM
16065 [BZ #14835]
16066 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16067 <bits/siginfo.h>.
16068
942caa16
PT
160692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16070
e19af380
PT
16071 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16072 finalizing MALLSTREAM.
16073
942caa16
PT
16074 * sysdeps/mach/hurd/syncfs.c: New file.
16075
cfde9b46
SP
160762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16077
16078 [BZ #14719]
16079 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16080 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16081 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16082 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16083 (_nss_dns_gethostbyname4_r): Likewise.
16084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16085 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16086
f6da27e5
PH
160872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16088
16089 [BZ #13763]
16090 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16091
6665d4a2
SM
160922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16093
1f51ee92
SM
16094 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16095 * elf/cache.c (print_entry): Print ",AArch64" for
16096 FLAG_AARCH64_LIB64
16097
6665d4a2
SM
16098 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16099 * elf/cache.c (print_entry): Print ",hard-float" for
16100 FLAG_ARM_LIBHF.
16101
05b227bd
DM
161022012-11-18 David S. Miller <davem@davemloft.net>
16103
16104 With help from Joseph Myers.
16105 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16106 cutoff to 2**-13.
16107 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16108 cutoff to 2**-25.
16109 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16110 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16111 small.
16112 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16113 * math/libm-test.inc (y0_test): New tests.
16114 (y1_test): New tests.
16115 * sysdeps/i386/fpu/libm-test-ulps: Update.
16116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16118
786b0b67
AS
161192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16120
16121 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16122 64-bit targets.
16123 * configure: Regenerated.
16124
8e18b86d
DM
161252012-11-17 David S. Miller <davem@davemloft.net>
16126
16127 [BZ #14811]
16128 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16129 nonzero exponents with absolute value below 0x1p-128 to +/-
16130 0x1p-128.
16131
531f1ae0
JM
161322012-11-17 Joseph Myers <joseph@codesourcery.com>
16133
12df29e2
JM
16134 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16135
150dc1a0
JM
16136 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16137
531f1ae0
JM
16138 * posix/getconf-speclist.c: New file.
16139 * posix/posix-envs.def: Likewise.
16140 * posix/confstr.c (START_ENV_GROUP): New macro.
16141 (END_ENV_GROUP): Likewise.
16142 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16143 (KNOWN_PRESENT_ENV_STRING): Likewise.
16144 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16145 (UNKNOWN_ENVIRONMENT): Likewise.
16146 (confstr): Include posix-envs.def instead of handling
16147 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16148 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16149 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16150 (END_ENV_GROUP): Likewise.
16151 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16152 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16153 (UNKNOWN_ENVIRONMENT): Likewise.
16154 (__sysconf): Include posix-envs.def instead of handling associated
16155 cases directly here.
16156 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16157 preprocessing getconf-speclist.c rather than running getconf or
16158 generating empty file.
16159
a93f9cbc
PT
161602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16161
16162 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16163
d64d9f87
AL
161642012-11-16 Andrej Lajovic <natrij@gmail.com>
16165
16166 [BZ #14672]
16167 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16168
447885eb
DM
161692012-11-16 David S. Miller <davem@davemloft.net>
16170
16171 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16172 smaller than LDBL_EPSILON/2.0L, just return xm1.
16173
bcbf9830
L
161742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * elf/tst-array1.c (init): Set constructor priority to 1000.
16177 (fini): Set destructor priority to 1000.
16178 * elf/tst-array2dep.c: Likewise.
16179
2b766585
SP
161802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16181
16182 [BZ #11741]
16183 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16184 (_IO_new_file_xsputn): Also return EOF if none of the input
16185 data was written when overflow failed.
16186 * libio/iopadn.c (_IO_padn): Likewise.
16187 * libio/iowpadn.c (_IO_wpadn): Likewise.
16188 * stdio-common/tst-put-error.c: Add copyright notice.
16189 (do_test): Add case for printing padded string.
16190 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16191 _IO_padn returned error.
16192 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16193 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16194 return EOF.
16195
b1848fde
SP
161962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16197
16198 * libio/libioP.h: Add comment note that the references to C++
16199 bits are now obsolete.
16200
2fd89785
MS
162012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16202
16203 * math/libm-test.inc (check_complex): Use asprintf.
16204
e3ea5409
JM
162052012-11-14 Joseph Myers <joseph@codesourcery.com>
16206
16207 * debug/pcprofiledump.c (print_version): Update copyright year.
16208 * malloc/memusagestat.c (print_version): Likewise.
16209
2e64d265
L
162102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16211
16212 [BZ #14831]
16213 * elf/Makefile (tests): Add tst-audit8.
16214 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16215 ($(objpfx)tst-audit8.out): New target.
16216 (tst-audit8-ENV): New variable.
16217 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16218 audit if l_reloc_result is NULL.
16219 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16220 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16221 * elf/tst-audit8.c: New file.
16222
c485e4d2
MS
162232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16224
16225 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16226 * misc/Makefile (CFLAGS-select.c): Define.
16227 * posix/Makefile (CFLAGS-pause.c): Define.
16228
3a0d900a
DM
162292012-11-13 David S. Miller <davem@davemloft.net>
16230
16231 * crypt/Makefile: Move test targets after toplevel Rules
16232 inclusion. Grab any necessary sysdep routines when linking.
16233 * crypt/md5.c (md5_process_block): Remove define, we will always
16234 name it __md5_process_block.
16235 (md5_finish_ctx): Update md5_process_block call.
16236 (md5_stream): Likewise.
16237 (md5_process_bytes): Likewise.
16238 (md5_process_block): Rename to __md5_process_block and move to ...
16239 * crypt/md5-block.c: ... here.
16240 * crypt/sha256.c (sha256_process_block): Move to ...
16241 * crypt/sha256-block.c: ... here.
16242 * crypt/sha512.c (sha512_process_block): Move to ...
16243 * crypt/sha512-block.c: ... here.
16244 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16245 path.
16246 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16247 * sysdeps/sparc/sparc64/multiarch/Makefile
16248 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16249 crypt subdir.
16250 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16251 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16252 multiarch changes.
16253 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16254 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16255 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16256 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16257 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16258 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16259 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16260 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16261 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16262 file.
16263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16264 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16265 file.
16266 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16267
8ca89318
JM
162682012-11-13 Joseph Myers <joseph@codesourcery.com>
16269
e27d476a
JM
16270 * timezone/tzselect.ksh: Update from tzcode git revision
16271 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16272 * timezone/zdump.c: Likewise.
16273 * timezone/zic.c: Likewise.
16274 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16275 in TZVERSION setting, not $(PKGVERSION).
16276 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16277 REPORT_BUGS_TO settings.
16278
8ca89318
JM
16279 [BZ #14838]
16280 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16281 macro.
16282
47594329
MS
162832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16284
16285 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16286 detection to immediately after _FP_ROUND().
16287 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16288 bits are 0.
16289
640ac3f1
DM
162902012-11-11 David S. Miller <davem@davemloft.net>
16291
16292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16293 inttypes.h
16294 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16295 __close rather than their public counterparts.
16296
3d2577bb
JM
162972012-11-10 Joseph Myers <joseph@codesourcery.com>
16298
16299 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16300 file.
16301 [UNIX98] (sem_timedwait): Do not expect.
16302 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16303 [XPG4 || UNIX98] (sockatmark): Do not expect.
16304 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16305 (clock_getcpuclockid): Do not expect.
16306 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16307 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16308 Do not expect.
16309 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16310 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16311 [UNIX98] (vwscanf): Likewise.
16312 [UNIX98] (vswscanf): Likewise.
16313
fb1ae1ee
JM
163142012-11-09 Joseph Myers <joseph@codesourcery.com>
16315
9ec6f8bd
JM
16316 * timezone/version.h: Remove file.
16317 * timezone/README: Do not refer to version.h.
16318 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16319 $(objpfx)version.h.
16320 ($(objpfx)zdump.o): Likewise.
c3f81911 16321 ($(objpfx)version.h): New target.
9ec6f8bd 16322
0aa8f8a1
JM
16323 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16324 2012i.
16325 * timezone/README: Don't mention modification to tzselect.ksh.
16326 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16327 work on unmodified tzselect.ksh. Substitute version numbers in
16328 tzselect.ksh.
16329
4e87147f
JM
16330 * Makefile (format-me): Remove.
16331 (INSTALL): Adjust indentation. Use commands directly instead of
16332 using $(format-me).
16333
8b748aed
JM
16334 * aclocal.m4 (ACX_PKGVERSION): New macro.
16335 (ACX_BUGURL): Likewise.
16336 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16337 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16338 (REPORT_BUGS_TO): Likewise.
16339 * configure: Regenerated.
16340 * config.h.in (PKGVERSION): New macro.
16341 (REPORT_BUGS_TO): Likewise.
16342 * config.make.in (PKGVERSION): New variable.
16343 (PKGVERSION_TEXI): Likewise.
16344 (REPORT_BUGS_TO): Likewise.
16345 (REPORT_BUGS_TEXI): Likewise.
16346 * Makefile (format-me): Use -I$(common-objpfx)manual.
16347 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16348 ($(common-objpfx)manual/%): New target.
16349 (manual/%): Remove target.
16350 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16351 (print_version): Use PKGVERSION.
16352 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16353 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16354 and REPORT_BUGS_TO.
16355 ($(objpfx)xtrace): Likewise.
16356 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16357 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16358 (print_version): Use PKGVERSION.
16359 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16360 (do_version): Use PKGVERSION.
16361 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16362 REPORT_BUGS_TO.
16363 (common-ldd-rewrite): Likewise.
16364 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16365 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16366 (print_version): Use PKGVERSION.
16367 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16368 * elf/pldd.c (argp_program_bug_address): Remove variable.
16369 (more_help): New function.
16370 (argp): Use more_help.
16371 (print_version): Use PKGVERSION.
16372 * elf/sln.c (main): Use PKGVERSION.
16373 (usage): Use REPORT_BUGS_TO.
16374 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16375 (top level): Use PKGVERSION.
16376 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16377 (print_version): Use PKGVERSION.
16378 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16379 (print_version): Use PKGVERSION.
16380 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16381 (print_version): Use PKGVERSION.
16382 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16383 (print_version): Use PKGVERSION.
16384 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16385 (print_version): Use PKGVERSION.
16386 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16387 (print_version): Use PKGVERSION.
16388 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16389 and BUGURL.
16390 ($(objpfx)memusage): Likewise.
16391 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16392 (do_version): Use PKGVERSION.
16393 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16394 (print_version): Use PKGVERSION.
16395 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16396 ($PKGVERSION): New variable.
16397 ($REPORT_BUGS_TO): Likewise.
16398 (usage): Use $REPORT_BUGS_TO.
16399 (top level): Use $PKGVERSION.
16400 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16401 ($(objpfx)pkgvers.texi): New rule.
16402 ($(objpfx)stamp-pkgvers): Likewise.
16403 * manual/install.texi: Include pkgvers.texi.
16404 (--with-pkgversion): Document new configure option.
16405 (--with-bugurl): Likewise.
16406 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16407 than necessarily for this particular distribution. Use
16408 REPORT_BUGS_TO for where to report bugs.
16409 * INSTALL: Regenerated.
16410 * manual/libc.texinfo: Include pkgvers.texi.
16411 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16412 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16413 (print_version): Use PKGVERSION.
16414 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16415 (print_version): Use PKGVERSION.
16416 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16417 (print_version): Use PKGVERSION.
16418 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16419 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16420 macro.
16421 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16422 (print_version): Use PKGVERSION.
16423 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16424 (print_version): Use PKGVERSION.
16425 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16426 and PKGVERSION.
16427
92e4b6a9
JM
16428 * timezone/checktab.awk: Update from tzcode 2012i.
16429 * timezone/ialloc.c: Likewise.
16430 * timezone/private.h: Likewise.
16431 * timezone/scheck.c: Likewise.
16432 * timezone/tzfile.h: Likewise.
16433 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16434 (TZVERSION): Hardcode tzcode version number.
16435 * timezone/zdump.c: Update from tzcode 2012i.
16436 * timezone/zic.c: Likewise.
16437 * timezone/version.h: New file.
16438 * timezone/README: Describe version.h. Update upstream location.
16439
9bde902c
JM
16440 [BZ #14824]
16441 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16442 (mktemp): Enable declaration.
16443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16447 Likewise.
16448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16449 Likewise.
16450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16451 Likewise.
16452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16453 Likewise.
16454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16455 Likewise.
16456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16457 Likewise.
16458
fb1ae1ee
JM
16459 [BZ #14821]
16460 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16461 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16462 for copies of such integer values.
16463 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16464 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16465
2c1adbcb
AJ
164662012-11-09 Andreas Jaeger <aj@suse.de>
16467
16468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16469 definitions and declarations that are provided by
16470 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16471
d0f8457e
AK
164722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16473
3a235abb 16474 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16475 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16476 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16477 definition.
16478
57241e26
MS
164792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16480
16481 * elf/elf.h: Update comment before AArch64 relocations.
16482
60e8270d
DM
164832012-11-07 David S. Miller <davem@davemloft.net>
16484
16485 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16486 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16487 (__start_context): Declare.
16488 (__makecontext_ret): Delete.
16489 (__makecontext): Hook up __start_context instead of
16490 __makecontext_ret.
16491 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16492 (sysdep_routines): Add __start_context when in stdlib.
16493
0fbb0fbc
JM
164942012-11-07 Joseph Myers <joseph@codesourcery.com>
16495
16496 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16497 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16498 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16499 hardcoded "nm".
16500 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16501 (READELF): New variable. Use it instead of hardcoded "readelf".
16502
eb48db7e
L
165032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16506 * sysdeps/x86/Makefile: Here.
16507 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16508 * sysdeps/x86/tst-xmmymm.sh: This.
16509
05bcf62a
JM
165102012-11-07 Joseph Myers <joseph@codesourcery.com>
16511
c4b6cf53
JM
16512 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16513 expectations.
16514 [UNIX98] (pthread_barrier_t): Do not expect.
16515 [UNIX98] (pthread_barrierattr_t): Likewise.
16516 [UNIX98] (pthread_spinlock_t): Likewise.
16517 [UNIX98] (pthread_barrier_destroy): Likewise.
16518 [UNIX98] (pthread_barrier_init): Likewise.
16519 [UNIX98] (pthread_barrier_wait): Likewise.
16520 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16521 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16522 [UNIX98] (pthread_barrierattr_init): Likewise.
16523 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16524 [UNIX98] (pthread_getcpuclockid): Likewise.
16525 [UNIX98] (pthread_mutex_timedlock): Likewise.
16526 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16527 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16528 [UNIX98] (pthread_sigmask): Likewise.
16529 [UNIX98] (pthread_spin_destroy): Likewise.
16530 [UNIX98] (pthread_spin_init): Likewise.
16531 [UNIX98] (pthread_spin_lock): Likewise.
16532 [UNIX98] (pthread_spin_trylock): Likewise.
16533 [UNIX98] (pthread_spin_unlock): Likewise.
16534 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16535 Do not expect.
16536 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16538 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16539 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16540 [XPG3 || XPG4] (pthread_key_t): Likewise.
16541 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16542 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16543 [XPG3 || XPG4] (pthread_once_t): Likewise.
16544 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16545 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16547 [XPG3 || XPG4] (pthread_t): Likewise.
16548
cbe6e120
JM
16549 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16550 not expect.
16551 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16552
1b126443
JM
16553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16554 Change function return type to int.
16555
b961a573
JM
16556 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16557 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16558 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16559 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16560 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16561 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16562 [!POSIX] (posix_madvise): Likewise.
16563 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16564 && !UNIX98].
16565 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16566 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16567 (mode_t): Likewise.
16568 (posix_mem_offset): Likewise.
16569 (posix_typed_mem_get_info): Likewise.
16570 (posix_typed_mem_open): Likewise.
16571
9e188909
JM
16572 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16573 Change condition to [XOPEN2K8].
16574
05bcf62a
JM
16575 * conform/conformtest.pl: Preprocess allow-header data with -x c
16576 instead of from stdin.
16577 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16578 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16579 [C99-based standards] (cerfc): Likewise.
16580 [C99-based standards] (cexp2): Likewise.
16581 [C99-based standards] (cexpm1): Likewise.
16582 [C99-based standards] (clog10): Likewise.
16583 [C99-based standards] (clog1p): Likewise.
16584 [C99-based standards] (clog2): Likewise.
16585 [C99-based standards] (clgamma): Likewise.
16586 [C99-based standards] (ctgamma): Likewise.
16587 [C99-based standards] (cerff): Likewise.
16588 [C99-based standards] (cerfcf): Likewise.
16589 [C99-based standards] (cexp2f): Likewise.
16590 [C99-based standards] (cexpm1f): Likewise.
16591 [C99-based standards] (clog10f): Likewise.
16592 [C99-based standards] (clog1pf): Likewise.
16593 [C99-based standards] (clog2f): Likewise.
16594 [C99-based standards] (clgammaf): Likewise.
16595 [C99-based standards] (ctgammaf): Likewise.
16596 [C99-based standards] (cerfl): Likewise.
16597 [C99-based standards] (cerfcl): Likewise.
16598 [C99-based standards] (cexp2l): Likewise.
16599 [C99-based standards] (cexpm1l): Likewise.
16600 [C99-based standards] (clog10l): Likewise.
16601 [C99-based standards] (clog1pl): Likewise.
16602 [C99-based standards] (clog2l): Likewise.
16603 [C99-based standards] (clgammal): Likewise.
16604 [C99-based standards] (ctgammal): Likewise.
16605 * conform/data/inttypes.h-data [C99-based standards]: Include
16606 stdint.h-data. Remove all expectations for stdint.h contents.
16607 [C99-based standards] (PRI*): Do not allow.
16608 [C99-based standards] (SCN*): Likewise.
16609 [C99-based standards] (*_t): Likewise.
16610 [C99-based-standards] (PRId8): Expect macro.
16611 [C99-based-standards] (PRIi8): Likewise.
16612 [C99-based-standards] (PRIo8): Likewise.
16613 [C99-based-standards] (PRIu8): Likewise.
16614 [C99-based-standards] (PRIx8): Likewise.
16615 [C99-based-standards] (PRIX8): Likewise.
16616 [C99-based-standards] (SCNd8): Likewise.
16617 [C99-based-standards] (SCNi8): Likewise.
16618 [C99-based-standards] (SCNo8): Likewise.
16619 [C99-based-standards] (SCNu8): Likewise.
16620 [C99-based-standards] (SCNx8): Likewise.
16621 [C99-based-standards] (PRIdLEAST8): Likewise.
16622 [C99-based-standards] (PRIiLEAST8): Likewise.
16623 [C99-based-standards] (PRIoLEAST8): Likewise.
16624 [C99-based-standards] (PRIuLEAST8): Likewise.
16625 [C99-based-standards] (PRIxLEAST8): Likewise.
16626 [C99-based-standards] (PRIXLEAST8): Likewise.
16627 [C99-based-standards] (SCNdLEAST8): Likewise.
16628 [C99-based-standards] (SCNiLEAST8): Likewise.
16629 [C99-based-standards] (SCNoLEAST8): Likewise.
16630 [C99-based-standards] (SCNuLEAST8): Likewise.
16631 [C99-based-standards] (SCNxLEAST8): Likewise.
16632 [C99-based-standards] (PRIdFAST8): Likewise.
16633 [C99-based-standards] (PRIiFAST8): Likewise.
16634 [C99-based-standards] (PRIoFAST8): Likewise.
16635 [C99-based-standards] (PRIuFAST8): Likewise.
16636 [C99-based-standards] (PRIxFAST8): Likewise.
16637 [C99-based-standards] (PRIXFAST8): Likewise.
16638 [C99-based-standards] (SCNdFAST8): Likewise.
16639 [C99-based-standards] (SCNiFAST8): Likewise.
16640 [C99-based-standards] (SCNoFAST8): Likewise.
16641 [C99-based-standards] (SCNuFAST8): Likewise.
16642 [C99-based-standards] (SCNxFAST8): Likewise.
16643 [C99-based-standards] (PRId16): Likewise.
16644 [C99-based-standards] (PRIi16): Likewise.
16645 [C99-based-standards] (PRIo16): Likewise.
16646 [C99-based-standards] (PRIu16): Likewise.
16647 [C99-based-standards] (PRIx16): Likewise.
16648 [C99-based-standards] (PRIX16): Likewise.
16649 [C99-based-standards] (SCNd16): Likewise.
16650 [C99-based-standards] (SCNi16): Likewise.
16651 [C99-based-standards] (SCNo16): Likewise.
16652 [C99-based-standards] (SCNu16): Likewise.
16653 [C99-based-standards] (SCNx16): Likewise.
16654 [C99-based-standards] (PRIdLEAST16): Likewise.
16655 [C99-based-standards] (PRIiLEAST16): Likewise.
16656 [C99-based-standards] (PRIoLEAST16): Likewise.
16657 [C99-based-standards] (PRIuLEAST16): Likewise.
16658 [C99-based-standards] (PRIxLEAST16): Likewise.
16659 [C99-based-standards] (PRIXLEAST16): Likewise.
16660 [C99-based-standards] (SCNdLEAST16): Likewise.
16661 [C99-based-standards] (SCNiLEAST16): Likewise.
16662 [C99-based-standards] (SCNoLEAST16): Likewise.
16663 [C99-based-standards] (SCNuLEAST16): Likewise.
16664 [C99-based-standards] (SCNxLEAST16): Likewise.
16665 [C99-based-standards] (PRIdFAST16): Likewise.
16666 [C99-based-standards] (PRIiFAST16): Likewise.
16667 [C99-based-standards] (PRIoFAST16): Likewise.
16668 [C99-based-standards] (PRIuFAST16): Likewise.
16669 [C99-based-standards] (PRIxFAST16): Likewise.
16670 [C99-based-standards] (PRIXFAST16): Likewise.
16671 [C99-based-standards] (SCNdFAST16): Likewise.
16672 [C99-based-standards] (SCNiFAST16): Likewise.
16673 [C99-based-standards] (SCNoFAST16): Likewise.
16674 [C99-based-standards] (SCNuFAST16): Likewise.
16675 [C99-based-standards] (SCNxFAST16): Likewise.
16676 [C99-based-standards] (PRId32): Likewise.
16677 [C99-based-standards] (PRIi32): Likewise.
16678 [C99-based-standards] (PRIo32): Likewise.
16679 [C99-based-standards] (PRIu32): Likewise.
16680 [C99-based-standards] (PRIx32): Likewise.
16681 [C99-based-standards] (PRIX32): Likewise.
16682 [C99-based-standards] (SCNd32): Likewise.
16683 [C99-based-standards] (SCNi32): Likewise.
16684 [C99-based-standards] (SCNo32): Likewise.
16685 [C99-based-standards] (SCNu32): Likewise.
16686 [C99-based-standards] (SCNx32): Likewise.
16687 [C99-based-standards] (PRIdLEAST32): Likewise.
16688 [C99-based-standards] (PRIiLEAST32): Likewise.
16689 [C99-based-standards] (PRIoLEAST32): Likewise.
16690 [C99-based-standards] (PRIuLEAST32): Likewise.
16691 [C99-based-standards] (PRIxLEAST32): Likewise.
16692 [C99-based-standards] (PRIXLEAST32): Likewise.
16693 [C99-based-standards] (SCNdLEAST32): Likewise.
16694 [C99-based-standards] (SCNiLEAST32): Likewise.
16695 [C99-based-standards] (SCNoLEAST32): Likewise.
16696 [C99-based-standards] (SCNuLEAST32): Likewise.
16697 [C99-based-standards] (SCNxLEAST32): Likewise.
16698 [C99-based-standards] (PRIdFAST32): Likewise.
16699 [C99-based-standards] (PRIiFAST32): Likewise.
16700 [C99-based-standards] (PRIoFAST32): Likewise.
16701 [C99-based-standards] (PRIuFAST32): Likewise.
16702 [C99-based-standards] (PRIxFAST32): Likewise.
16703 [C99-based-standards] (PRIXFAST32): Likewise.
16704 [C99-based-standards] (SCNdFAST32): Likewise.
16705 [C99-based-standards] (SCNiFAST32): Likewise.
16706 [C99-based-standards] (SCNoFAST32): Likewise.
16707 [C99-based-standards] (SCNuFAST32): Likewise.
16708 [C99-based-standards] (SCNxFAST32): Likewise.
16709 [C99-based-standards] (PRId64): Likewise.
16710 [C99-based-standards] (PRIi64): Likewise.
16711 [C99-based-standards] (PRIo64): Likewise.
16712 [C99-based-standards] (PRIu64): Likewise.
16713 [C99-based-standards] (PRIx64): Likewise.
16714 [C99-based-standards] (PRIX64): Likewise.
16715 [C99-based-standards] (SCNd64): Likewise.
16716 [C99-based-standards] (SCNi64): Likewise.
16717 [C99-based-standards] (SCNo64): Likewise.
16718 [C99-based-standards] (SCNu64): Likewise.
16719 [C99-based-standards] (SCNx64): Likewise.
16720 [C99-based-standards] (PRIdLEAST64): Likewise.
16721 [C99-based-standards] (PRIiLEAST64): Likewise.
16722 [C99-based-standards] (PRIoLEAST64): Likewise.
16723 [C99-based-standards] (PRIuLEAST64): Likewise.
16724 [C99-based-standards] (PRIxLEAST64): Likewise.
16725 [C99-based-standards] (PRIXLEAST64): Likewise.
16726 [C99-based-standards] (SCNdLEAST64): Likewise.
16727 [C99-based-standards] (SCNiLEAST64): Likewise.
16728 [C99-based-standards] (SCNoLEAST64): Likewise.
16729 [C99-based-standards] (SCNuLEAST64): Likewise.
16730 [C99-based-standards] (SCNxLEAST64): Likewise.
16731 [C99-based-standards] (PRIdFAST64): Likewise.
16732 [C99-based-standards] (PRIiFAST64): Likewise.
16733 [C99-based-standards] (PRIoFAST64): Likewise.
16734 [C99-based-standards] (PRIuFAST64): Likewise.
16735 [C99-based-standards] (PRIxFAST64): Likewise.
16736 [C99-based-standards] (PRIXFAST64): Likewise.
16737 [C99-based-standards] (SCNdFAST64): Likewise.
16738 [C99-based-standards] (SCNiFAST64): Likewise.
16739 [C99-based-standards] (SCNoFAST64): Likewise.
16740 [C99-based-standards] (SCNuFAST64): Likewise.
16741 [C99-based-standards] (SCNxFAST64): Likewise.
16742 [C99-based-standards] (PRIdMAX): Likewise.
16743 [C99-based-standards] (PRIiMAX): Likewise.
16744 [C99-based-standards] (PRIoMAX): Likewise.
16745 [C99-based-standards] (PRIuMAX): Likewise.
16746 [C99-based-standards] (PRIxMAX): Likewise.
16747 [C99-based-standards] (PRIXMAX): Likewise.
16748 [C99-based-standards] (SCNdMAX): Likewise.
16749 [C99-based-standards] (SCNiMAX): Likewise.
16750 [C99-based-standards] (SCNoMAX): Likewise.
16751 [C99-based-standards] (SCNuMAX): Likewise.
16752 [C99-based-standards] (SCNxMAX): Likewise.
16753 [C99-based-standards] (PRIdPTR): Likewise.
16754 [C99-based-standards] (PRIiPTR): Likewise.
16755 [C99-based-standards] (PRIoPTR): Likewise.
16756 [C99-based-standards] (PRIuPTR): Likewise.
16757 [C99-based-standards] (PRIxPTR): Likewise.
16758 [C99-based-standards] (PRIXPTR): Likewise.
16759 [C99-based-standards] (SCNdPTR): Likewise.
16760 [C99-based-standards] (SCNiPTR): Likewise.
16761 [C99-based-standards] (SCNoPTR): Likewise.
16762 [C99-based-standards] (SCNuPTR): Likewise.
16763 [C99-based-standards] (SCNxPTR): Likewise.
16764 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16765 allow.
16766 * conform/data/stdint.h-data: Update comments to clarify
16767 requirements.
16768 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16769 type.
16770 [C99-based standards] (INT8_MAX): Likewise.
16771 [C99-based standards] (INT16_MIN): Likewise.
16772 [C99-based standards] (INT16_MAX): Likewise.
16773 [C99-based standards] (INT32_MIN): Likewise.
16774 [C99-based standards] (INT32_MAX): Likewise.
16775 [C99-based standards] (INT64_MIN): Likewise.
16776 [C99-based standards] (INT64_MAX): Likewise.
16777 [C99-based standards] (UINT8_MAX): Likewise.
16778 [C99-based standards] (UINT16_MAX): Likewise.
16779 [C99-based standards] (UINT32_MAX): Likewise.
16780 [C99-based standards] (UINT64_MAX): Likewise.
16781 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16782 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16783 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16784 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16785 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16786 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16787 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16788 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16789 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16790 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16791 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16792 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16793 [C99-based standards] (INT_FAST8_MIN): Likewise.
16794 [C99-based standards] (INT_FAST8_MAX): Likewise.
16795 [C99-based standards] (INT_FAST16_MIN): Likewise.
16796 [C99-based standards] (INT_FAST16_MAX): Likewise.
16797 [C99-based standards] (INT_FAST32_MIN): Likewise.
16798 [C99-based standards] (INT_FAST32_MAX): Likewise.
16799 [C99-based standards] (INT_FAST64_MIN): Likewise.
16800 [C99-based standards] (INT_FAST64_MAX): Likewise.
16801 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16802 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16803 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16804 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16805 [C99-based standards] (INTPTR_MIN): Likewise.
16806 [C99-based standards] (INTPTR_MAX): Likewise.
16807 [C99-based standards] (UINTPTR_MAX): Likewise.
16808 [C99-based standards] (INTMAX_MIN): Likewise.
16809 [C99-based standards] (INTMAX_MAX): Likewise.
16810 [C99-based standards] (UINTMAX_MAX): Likewise.
16811 [C99-based standards] (PTRDIFF_MIN): Likewise.
16812 [C99-based standards] (PTRDIFF_MAX): Likewise.
16813 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16814 [C99-based standards] (SIZE_MAX): Likewise.
16815 [C99-based standards] (WCHAR_MAX): Likewise.
16816 [C99-based standards] (WINT_MAX): Likewise.
16817 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16818 constraint on value.
16819 [C99-based standards] (WCHAR_MIN): Likewise.
16820 [C99-based standards] (WINT_MIN): Likewise.
16821 [C99-based standards] (*_t): Allow.
16822 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16823 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16824 Include math.h-data and complex.h-data. Remove all expectations
16825 of math.h and complex.h contents.
16826 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16827 at end of line.
16828 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16829 (struct tm): Expect tag.
16830 [C99-based-standards] (wcstof): Expect function.
16831 [C99-based-standards] (wcstold): Likewise.
16832 [C99-based-standards] (wcstoll): Likewise.
16833 [C99-based-standards] (wcstoull): Likewise.
16834 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16835 macro-int-constant. Specify type.
16836 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16837 constraint on value.
16838 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16839 Specify type.
16840 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16841 Specify value.
16842 [ISO C standards]: Do not allow headers.
16843 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16844 wcs[abcdefghijklmnopqrstuvwxyz]*.
16845 [ISO C standards] (*_t): Do not allow.
16846 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16847 Expect function.
16848 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16849 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16850 Specify type.
16851 [ISO C standards]: Do not allow headers.
16852 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16853 is[abcdefghijklmnopqrstuvwxyz]*.
16854 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16855 to[abcdefghijklmnopqrstuvwxyz]*.
16856 [ISO C standards] (*_t): Do not allow.
16857 * conform/data/stdalign.h-data: New file.
16858 * conform/data/stdbool.h-data: Likewise.
16859 * conform/data/stdnoreturn.h-data: Likewise.
16860
7514feb8
RM
168612012-11-07 Roland McGrath <roland@hack.frob.com>
16862
16863 [BZ #14815]
16864 * manual/filesys.texi (Directory Entries): Typo fix.
16865 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16866
19b2ecfc
MS
168672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16868
16869 * elf/elf.h (EM_AARCH64): New macro.
16870 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16871 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16872 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16873 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16874 (R_AARCH64_TLSDESC): Likewise.
16875 (NT_ARM_TLS): Likewise.
16876 (NT_ARM_HW_BREAK): Likewise.
16877 (NT_ARM_HW_WATCH): Likewise.
16878
60e235ee
JM
168792012-11-07 Joseph Myers <joseph@codesourcery.com>
16880
16881 [BZ #14811]
16882 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16883 (__ieee754_powl): Saturate nonzero exponents with absolute value
16884 below 0x1p-79 to +/- 0x1p-79.
16885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16886 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16887 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16888 nonzero exponents with absolute value below 0x1p-32 to +/-
16889 0x1p-32.
16890 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16891 (__ieee754_powl): Saturate nonzero exponents with absolute value
16892 below 0x1p-79 to +/- 0x1p-79.
16893 * math/libm-test.inc (pow_test): Add more tests.
16894
0ab234b7
AK
168952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16896
16897 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16898 _dl_s390_cap_flags with kernel. Increase string length.
16899 (_dl_s390_platforms): Add z196 and zEC12.
16900
45832f74
JM
169012012-11-07 Joseph Myers <joseph@codesourcery.com>
16902
16903 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16904 Change XOPEN21K to XOPEN2K.
16905
19218757
MK
169062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16907
16908 * string/memmove.c: Use memcpy when possible.
16909
c5f45721
AJ
169102012-11-06 Andreas Jaeger <aj@suse.de>
16911
16912 * po/eo.po: Update from translation team.
16913
82477c28
JM
169142012-11-06 Joseph Myers <joseph@codesourcery.com>
16915
16916 [BZ #14793]
16917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16918 exponent and small x and y exponents, scale x or y up. Increase
16919 by 2 the exponent used in scaling up.
16920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16922 * math/libm-test.inc (fma_test): Add more tests.
16923 (fma_test_towardzero): Likewise.
16924 (fma_test_downward): Likewise.
16925 (fma_test_upward): Likewise.
16926
99252c8c
JM
169272012-11-05 Joseph Myers <joseph@codesourcery.com>
16928
acfa885f
JM
16929 [BZ #14805]
16930 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16931 fenv_t *.
16932
99252c8c
JM
16933 [BZ #14801]
16934 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16935 namespace for names of struct fields.
16936 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16937 fenv_t fields.
16938 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16939 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16940
d6d98dea
ST
169412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16942
16943 [BZ #3665]
16944 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16945
e10bb107
TS
169462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16947
16948 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16949 PTR_DEMANGLE.
16950
16951 [BZ #5246]
16952 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16953 PTR_DEMANGLE.
16954
a0c2940d
JM
169552012-11-04 Joseph Myers <joseph@codesourcery.com>
16956
16957 [BZ #14797]
16958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16959 definitely overflow as x * y not x * y + z.
16960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16962 * math/libm-test.inc (fma_test): Add more tests.
16963 (fma_test_towardzero): Likewise.
16964 (fma_test_downward): Likewise.
16965 (fma_test_upward): Likewise.
16966
b830319d
TS
169672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16968
16969 [BZ #157]
16970
16971 * include/stub-tag.h: Remove file.
16972 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16973 '#include' of it.
16974 * manual/maint.texi (Porting): Don't reference it.
16975 * Makerules ($(objpfx)stubs): Likewise.
16976 * dirent/closedir.c: Don't include <stub-tag.h>.
16977 * dirent/dirfd.c: Likewise.
16978 * dirent/fdopendir.c: Likewise.
16979 * dirent/getdents.c: Likewise.
16980 * dirent/getdents64.c: Likewise.
16981 * dirent/opendir.c: Likewise.
16982 * dirent/readdir.c: Likewise.
16983 * dirent/readdir64.c: Likewise.
16984 * dirent/readdir64_r.c: Likewise.
16985 * dirent/readdir_r.c: Likewise.
16986 * dirent/rewinddir.c: Likewise.
16987 * dirent/seekdir.c: Likewise.
16988 * dirent/telldir.c: Likewise.
16989 * gmon/profil.c: Likewise.
16990 * grp/setgroups.c: Likewise.
16991 * inet/if_index.c: Likewise.
16992 * io/access.c: Likewise.
16993 * io/chdir.c: Likewise.
16994 * io/chmod.c: Likewise.
16995 * io/chown.c: Likewise.
16996 * io/close.c: Likewise.
16997 * io/dup.c: Likewise.
16998 * io/dup2.c: Likewise.
16999 * io/dup3.c: Likewise.
17000 * io/euidaccess.c: Likewise.
17001 * io/faccessat.c: Likewise.
17002 * io/fchdir.c: Likewise.
17003 * io/fchmod.c: Likewise.
17004 * io/fchmodat.c: Likewise.
17005 * io/fchown.c: Likewise.
17006 * io/fchownat.c: Likewise.
17007 * io/fcntl.c: Likewise.
17008 * io/flock.c: Likewise.
17009 * io/fstatfs.c: Likewise.
17010 * io/fstatfs64.c: Likewise.
17011 * io/fstatvfs.c: Likewise.
17012 * io/fstatvfs64.c: Likewise.
17013 * io/futimens.c: Likewise.
17014 * io/fxstat.c: Likewise.
17015 * io/fxstat64.c: Likewise.
17016 * io/fxstatat.c: Likewise.
17017 * io/fxstatat64.c: Likewise.
17018 * io/getcwd.c: Likewise.
17019 * io/isatty.c: Likewise.
17020 * io/lchmod.c: Likewise.
17021 * io/lchown.c: Likewise.
17022 * io/link.c: Likewise.
17023 * io/linkat.c: Likewise.
17024 * io/lseek.c: Likewise.
17025 * io/lseek64.c: Likewise.
17026 * io/lxstat64.c: Likewise.
17027 * io/mkdir.c: Likewise.
17028 * io/mkdirat.c: Likewise.
17029 * io/mkfifo.c: Likewise.
17030 * io/mkfifoat.c: Likewise.
17031 * io/open.c: Likewise.
17032 * io/open64.c: Likewise.
17033 * io/openat.c: Likewise.
17034 * io/openat64.c: Likewise.
17035 * io/pipe.c: Likewise.
17036 * io/pipe2.c: Likewise.
17037 * io/poll.c: Likewise.
17038 * io/posix_fadvise.c: Likewise.
17039 * io/posix_fadvise64.c: Likewise.
17040 * io/posix_fallocate.c: Likewise.
17041 * io/posix_fallocate64.c: Likewise.
17042 * io/read.c: Likewise.
17043 * io/readlink.c: Likewise.
17044 * io/readlinkat.c: Likewise.
17045 * io/rmdir.c: Likewise.
17046 * io/sendfile.c: Likewise.
17047 * io/sendfile64.c: Likewise.
17048 * io/statfs.c: Likewise.
17049 * io/statfs64.c: Likewise.
17050 * io/statvfs.c: Likewise.
17051 * io/statvfs64.c: Likewise.
17052 * io/symlink.c: Likewise.
17053 * io/symlinkat.c: Likewise.
17054 * io/ttyname.c: Likewise.
17055 * io/ttyname_r.c: Likewise.
17056 * io/umask.c: Likewise.
17057 * io/unlink.c: Likewise.
17058 * io/unlinkat.c: Likewise.
17059 * io/utime.c: Likewise.
17060 * io/utimensat.c: Likewise.
17061 * io/write.c: Likewise.
17062 * io/xmknod.c: Likewise.
17063 * io/xmknodat.c: Likewise.
17064 * io/xstat.c: Likewise.
17065 * io/xstat64.c: Likewise.
17066 * login/getpt.c: Likewise.
17067 * login/grantpt.c: Likewise.
17068 * login/unlockpt.c: Likewise.
17069 * math/e_acoshl.c: Likewise.
17070 * math/e_acosl.c: Likewise.
17071 * math/e_asinl.c: Likewise.
17072 * math/e_atan2l.c: Likewise.
17073 * math/e_atanhl.c: Likewise.
17074 * math/e_coshl.c: Likewise.
17075 * math/e_expl.c: Likewise.
17076 * math/e_fmodl.c: Likewise.
17077 * math/e_gammal_r.c: Likewise.
17078 * math/e_hypotl.c: Likewise.
17079 * math/e_j0l.c: Likewise.
17080 * math/e_j1l.c: Likewise.
17081 * math/e_jnl.c: Likewise.
17082 * math/e_lgammal_r.c: Likewise.
17083 * math/e_log10l.c: Likewise.
17084 * math/e_log2l.c: Likewise.
17085 * math/e_logl.c: Likewise.
17086 * math/e_powl.c: Likewise.
17087 * math/e_rem_pio2l.c: Likewise.
17088 * math/e_sinhl.c: Likewise.
17089 * math/e_sqrtl.c: Likewise.
17090 * math/fclrexcpt.c: Likewise.
17091 * math/fedisblxcpt.c: Likewise.
17092 * math/feenablxcpt.c: Likewise.
17093 * math/fegetenv.c: Likewise.
17094 * math/fegetexcept.c: Likewise.
17095 * math/fegetround.c: Likewise.
17096 * math/feholdexcpt.c: Likewise.
17097 * math/fesetenv.c: Likewise.
17098 * math/fesetround.c: Likewise.
17099 * math/feupdateenv.c: Likewise.
17100 * math/fgetexcptflg.c: Likewise.
17101 * math/fraiseexcpt.c: Likewise.
17102 * math/fsetexcptflg.c: Likewise.
17103 * math/ftestexcept.c: Likewise.
17104 * math/k_cosl.c: Likewise.
17105 * math/k_rem_pio2l.c: Likewise.
17106 * math/k_sinl.c: Likewise.
17107 * math/k_tanl.c: Likewise.
17108 * math/s_asinhl.c: Likewise.
17109 * math/s_atanl.c: Likewise.
17110 * math/s_cbrtl.c: Likewise.
17111 * math/s_erfl.c: Likewise.
17112 * math/s_expm1l.c: Likewise.
17113 * math/s_log1pl.c: Likewise.
17114 * math/s_tanhl.c: Likewise.
17115 * misc/acct.c: Likewise.
17116 * misc/brk.c: Likewise.
17117 * misc/chflags.c: Likewise.
17118 * misc/chroot.c: Likewise.
17119 * misc/fchflags.c: Likewise.
17120 * misc/fgetxattr.c: Likewise.
17121 * misc/flistxattr.c: Likewise.
17122 * misc/fremovexattr.c: Likewise.
17123 * misc/fsetxattr.c: Likewise.
17124 * misc/fsync.c: Likewise.
17125 * misc/ftruncate.c: Likewise.
17126 * misc/futimes.c: Likewise.
17127 * misc/futimesat.c: Likewise.
17128 * misc/getdomain.c: Likewise.
17129 * misc/getdtsz.c: Likewise.
17130 * misc/gethostid.c: Likewise.
17131 * misc/gethostname.c: Likewise.
17132 * misc/getloadavg.c: Likewise.
17133 * misc/getpagesize.c: Likewise.
17134 * misc/getsysstats.c: Likewise.
17135 * misc/getxattr.c: Likewise.
17136 * misc/gtty.c: Likewise.
17137 * misc/ioctl.c: Likewise.
17138 * misc/lgetxattr.c: Likewise.
17139 * misc/listxattr.c: Likewise.
17140 * misc/llistxattr.c: Likewise.
17141 * misc/lremovexattr.c: Likewise.
17142 * misc/lsetxattr.c: Likewise.
17143 * misc/lutimes.c: Likewise.
17144 * misc/madvise.c: Likewise.
17145 * misc/mincore.c: Likewise.
17146 * misc/mlock.c: Likewise.
17147 * misc/mlockall.c: Likewise.
17148 * misc/mmap.c: Likewise.
17149 * misc/mprotect.c: Likewise.
17150 * misc/msync.c: Likewise.
17151 * misc/munlock.c: Likewise.
17152 * misc/munlockall.c: Likewise.
17153 * misc/munmap.c: Likewise.
17154 * misc/preadv.c: Likewise.
17155 * misc/preadv64.c: Likewise.
17156 * misc/ptrace.c: Likewise.
17157 * misc/pwritev.c: Likewise.
17158 * misc/pwritev64.c: Likewise.
17159 * misc/readv.c: Likewise.
17160 * misc/reboot.c: Likewise.
17161 * misc/remap_file_pages.c: Likewise.
17162 * misc/removexattr.c: Likewise.
17163 * misc/revoke.c: Likewise.
17164 * misc/select.c: Likewise.
17165 * misc/setdomain.c: Likewise.
17166 * misc/setegid.c: Likewise.
17167 * misc/seteuid.c: Likewise.
17168 * misc/sethostid.c: Likewise.
17169 * misc/sethostname.c: Likewise.
17170 * misc/setregid.c: Likewise.
17171 * misc/setreuid.c: Likewise.
17172 * misc/setxattr.c: Likewise.
17173 * misc/sstk.c: Likewise.
17174 * misc/stty.c: Likewise.
17175 * misc/swapoff.c: Likewise.
17176 * misc/swapon.c: Likewise.
17177 * misc/sync.c: Likewise.
17178 * misc/syncfs.c: Likewise.
17179 * misc/syscall.c: Likewise.
17180 * misc/truncate.c: Likewise.
17181 * misc/ualarm.c: Likewise.
17182 * misc/usleep.c: Likewise.
17183 * misc/ustat.c: Likewise.
17184 * misc/utimes.c: Likewise.
17185 * misc/vhangup.c: Likewise.
17186 * misc/writev.c: Likewise.
17187 * posix/_exit.c: Likewise.
17188 * posix/alarm.c: Likewise.
17189 * posix/execve.c: Likewise.
17190 * posix/fexecve.c: Likewise.
17191 * posix/fork.c: Likewise.
17192 * posix/fpathconf.c: Likewise.
17193 * posix/getaddrinfo.c: Likewise.
17194 * posix/getegid.c: Likewise.
17195 * posix/geteuid.c: Likewise.
17196 * posix/getgid.c: Likewise.
17197 * posix/getgroups.c: Likewise.
17198 * posix/getlogin.c: Likewise.
17199 * posix/getlogin_r.c: Likewise.
17200 * posix/getpgid.c: Likewise.
17201 * posix/getpid.c: Likewise.
17202 * posix/getppid.c: Likewise.
17203 * posix/getresgid.c: Likewise.
17204 * posix/getresuid.c: Likewise.
17205 * posix/getsid.c: Likewise.
17206 * posix/getuid.c: Likewise.
17207 * posix/glob64.c: Likewise.
17208 * posix/nanosleep.c: Likewise.
17209 * posix/pathconf.c: Likewise.
17210 * posix/pause.c: Likewise.
17211 * posix/posix_madvise.c: Likewise.
17212 * posix/pread.c: Likewise.
17213 * posix/pread64.c: Likewise.
17214 * posix/pwrite.c: Likewise.
17215 * posix/pwrite64.c: Likewise.
17216 * posix/sched_getaffinity.c: Likewise.
17217 * posix/sched_getp.c: Likewise.
17218 * posix/sched_gets.c: Likewise.
17219 * posix/sched_primax.c: Likewise.
17220 * posix/sched_primin.c: Likewise.
17221 * posix/sched_rr_gi.c: Likewise.
17222 * posix/sched_setaffinity.c: Likewise.
17223 * posix/sched_setp.c: Likewise.
17224 * posix/sched_sets.c: Likewise.
17225 * posix/sched_yield.c: Likewise.
17226 * posix/setgid.c: Likewise.
17227 * posix/setlogin.c: Likewise.
17228 * posix/setpgid.c: Likewise.
17229 * posix/setresgid.c: Likewise.
17230 * posix/setresuid.c: Likewise.
17231 * posix/setsid.c: Likewise.
17232 * posix/setuid.c: Likewise.
17233 * posix/sleep.c: Likewise.
17234 * posix/spawni.c: Likewise.
17235 * posix/sysconf.c: Likewise.
17236 * posix/times.c: Likewise.
17237 * posix/wait.c: Likewise.
17238 * posix/wait3.c: Likewise.
17239 * posix/wait4.c: Likewise.
17240 * posix/waitpid.c: Likewise.
17241 * resolv/gai_sigqueue.c: Likewise.
17242 * resource/getpriority.c: Likewise.
17243 * resource/getrlimit.c: Likewise.
17244 * resource/getrusage.c: Likewise.
17245 * resource/nice.c: Likewise.
17246 * resource/setpriority.c: Likewise.
17247 * resource/setrlimit.c: Likewise.
17248 * resource/ulimit.c: Likewise.
17249 * rt/aio_cancel.c: Likewise.
17250 * rt/aio_fsync.c: Likewise.
17251 * rt/aio_read.c: Likewise.
17252 * rt/aio_sigqueue.c: Likewise.
17253 * rt/aio_suspend.c: Likewise.
17254 * rt/aio_write.c: Likewise.
17255 * rt/clock_getres.c: Likewise.
17256 * rt/clock_gettime.c: Likewise.
17257 * rt/clock_nanosleep.c: Likewise.
17258 * rt/clock_settime.c: Likewise.
17259 * rt/lio_listio.c: Likewise.
17260 * rt/mq_close.c: Likewise.
17261 * rt/mq_getattr.c: Likewise.
17262 * rt/mq_notify.c: Likewise.
17263 * rt/mq_open.c: Likewise.
17264 * rt/mq_receive.c: Likewise.
17265 * rt/mq_send.c: Likewise.
17266 * rt/mq_setattr.c: Likewise.
17267 * rt/mq_timedreceive.c: Likewise.
17268 * rt/mq_timedsend.c: Likewise.
17269 * rt/mq_unlink.c: Likewise.
17270 * rt/shm_open.c: Likewise.
17271 * rt/shm_unlink.c: Likewise.
17272 * rt/timer_create.c: Likewise.
17273 * rt/timer_delete.c: Likewise.
17274 * rt/timer_getoverr.c: Likewise.
17275 * rt/timer_gettime.c: Likewise.
17276 * rt/timer_settime.c: Likewise.
17277 * setjmp/__longjmp.c: Likewise.
17278 * setjmp/setjmp.c: Likewise.
17279 * signal/kill.c: Likewise.
17280 * signal/killpg.c: Likewise.
17281 * signal/raise.c: Likewise.
17282 * signal/sigaction.c: Likewise.
17283 * signal/sigaltstack.c: Likewise.
17284 * signal/sigblock.c: Likewise.
17285 * signal/sigignore.c: Likewise.
17286 * signal/sigintr.c: Likewise.
17287 * signal/signal.c: Likewise.
17288 * signal/sigpause.c: Likewise.
17289 * signal/sigpending.c: Likewise.
17290 * signal/sigqueue.c: Likewise.
17291 * signal/sigreturn.c: Likewise.
17292 * signal/sigset.c: Likewise.
17293 * signal/sigsetmask.c: Likewise.
17294 * signal/sigstack.c: Likewise.
17295 * signal/sigsuspend.c: Likewise.
17296 * signal/sigtimedwait.c: Likewise.
17297 * signal/sigvec.c: Likewise.
17298 * signal/sigwait.c: Likewise.
17299 * signal/sigwaitinfo.c: Likewise.
17300 * signal/sysv_signal.c: Likewise.
17301 * socket/accept.c: Likewise.
17302 * socket/accept4.c: Likewise.
17303 * socket/bind.c: Likewise.
17304 * socket/connect.c: Likewise.
17305 * socket/getpeername.c: Likewise.
17306 * socket/getsockname.c: Likewise.
17307 * socket/getsockopt.c: Likewise.
17308 * socket/isfdtype.c: Likewise.
17309 * socket/listen.c: Likewise.
17310 * socket/recv.c: Likewise.
17311 * socket/recvfrom.c: Likewise.
17312 * socket/recvmsg.c: Likewise.
17313 * socket/send.c: Likewise.
17314 * socket/sendmsg.c: Likewise.
17315 * socket/sendto.c: Likewise.
17316 * socket/setsockopt.c: Likewise.
17317 * socket/shutdown.c: Likewise.
17318 * socket/sockatmark.c: Likewise.
17319 * socket/socket.c: Likewise.
17320 * socket/socketpair.c: Likewise.
17321 * stdio-common/ctermid.c: Likewise.
17322 * stdio-common/cuserid.c: Likewise.
17323 * stdio-common/remove.c: Likewise.
17324 * stdio-common/rename.c: Likewise.
17325 * stdio-common/renameat.c: Likewise.
17326 * stdio-common/tempname.c: Likewise.
17327 * stdlib/getcontext.c: Likewise.
17328 * stdlib/makecontext.c: Likewise.
17329 * stdlib/setcontext.c: Likewise.
17330 * stdlib/swapcontext.c: Likewise.
17331 * stdlib/system.c: Likewise.
17332 * streams/fattach.c: Likewise.
17333 * streams/fdetach.c: Likewise.
17334 * streams/getmsg.c: Likewise.
17335 * streams/getpmsg.c: Likewise.
17336 * streams/putmsg.c: Likewise.
17337 * streams/putpmsg.c: Likewise.
17338 * sysdeps/unix/bsd/getpt.c: Likewise.
17339 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17340 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17341 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17343 Likewise.
17344 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17345 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17346 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17347 * sysvipc/msgctl.c: Likewise.
17348 * sysvipc/msgget.c: Likewise.
17349 * sysvipc/msgrcv.c: Likewise.
17350 * sysvipc/msgsnd.c: Likewise.
17351 * sysvipc/semctl.c: Likewise.
17352 * sysvipc/semget.c: Likewise.
17353 * sysvipc/semop.c: Likewise.
17354 * sysvipc/semtimedop.c: Likewise.
17355 * sysvipc/shmat.c: Likewise.
17356 * sysvipc/shmctl.c: Likewise.
17357 * sysvipc/shmdt.c: Likewise.
17358 * sysvipc/shmget.c: Likewise.
17359 * termios/tcdrain.c: Likewise.
17360 * termios/tcflow.c: Likewise.
17361 * termios/tcflush.c: Likewise.
17362 * termios/tcgetattr.c: Likewise.
17363 * termios/tcgetpgrp.c: Likewise.
17364 * termios/tcsendbrk.c: Likewise.
17365 * termios/tcsetattr.c: Likewise.
17366 * termios/tcsetpgrp.c: Likewise.
17367 * time/adjtime.c: Likewise.
17368 * time/clock.c: Likewise.
17369 * time/getitimer.c: Likewise.
17370 * time/gettimeofday.c: Likewise.
17371 * time/setitimer.c: Likewise.
17372 * time/settimeofday.c: Likewise.
17373 * time/stime.c: Likewise.
17374 * time/time.c: Likewise.
17375
173762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17377
a20492cf
PT
17378 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17379 /usr/old/bin.
17380
72e182e3
PT
17381 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17382 instead of spaces.
17383 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17384
fbeafede
JM
173852012-11-03 Joseph Myers <joseph@codesourcery.com>
17386
5b5b04d6
JM
17387 [BZ #14796]
17388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17389 FE_TONEAREST before applying Dekker multiplication and Knuth
17390 addition. Clear inexact exceptions and check for exact zero
17391 results afterwards.
17392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17393 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17395 * math/libm-test.inc (fma_test): Add more tests.
17396 (fma_test_towardzero): Likewise.
17397 (fma_test_downward): Likewise.
17398 (fma_test_upward): Likewise.
17399 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17400 function.
17401 (libc_fesetround): New macro.
17402 (libc_fesetroundf): Likewise.
17403 (libc_fesetroundl): Likewise.
17404 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17405 function.
17406 (libc_fesetround_387): Likewise.
17407 (libc_fesetroundf): New macro.
17408 (libc_fesetround): Likewise.
17409 (libc_fesetroundl): Likewise.
17410 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17411 function.
17412 (libc_fesetroundf): New macro.
17413 (libc_fesetround): Likewise.
17414 (libc_fesetroundl): Likewise.
17415 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17416 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17417 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17418 libm_hidden_ver.
17419 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17420 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17421 libm_hidden_def.
17422 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17423 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17424 libm_hidden_ver.
17425 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17426 libm_hidden_def.
17427
fbeafede
JM
17428 [BZ #3439]
17429 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17430 integer constant usable in #if and use that to give value to enum
17431 constant.
17432 (FE_DIVBYZERO): Likewise.
17433 (FE_UNDERFLOW): Likewise.
17434 (FE_OVERFLOW): Likewise.
17435 (FE_INVALID): Likewise.
17436 (FE_INVALID_SNAN): Likewise.
17437 (FE_INVALID_ISI): Likewise.
17438 (FE_INVALID_IDI): Likewise.
17439 (FE_INVALID_ZDZ): Likewise.
17440 (FE_INVALID_IMZ): Likewise.
17441 (FE_INVALID_COMPARE): Likewise.
17442 (FE_INVALID_SOFTWARE): Likewise.
17443 (FE_INVALID_SQRT): Likewise.
17444 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17445 (FE_TONEAREST): Likewise.
17446 (FE_TOWARDZERO): Likewise.
17447 (FE_UPWARD): Likewise.
17448 (FE_DOWNWARD): Likewise.
17449 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17450 (FE_DIVBYZERO): Likewise.
17451 (FE_OVERFLOW): Likewise.
17452 (FE_UNDERFLOW): Likewise.
17453 (FE_INEXACT): Likewise.
17454 (FE_TONEAREST): Likewise.
17455 (FE_DOWNWARD): Likewise.
17456 (FE_UPWARD): Likewise.
17457 (FE_TOWARDZERO): Likewise.
17458 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17459 (FE_UNDERFLOW): Likewise.
17460 (FE_OVERFLOW): Likewise.
17461 (FE_DIVBYZERO): Likewise.
17462 (FE_INVALID): Likewise.
17463 (FE_TONEAREST): Likewise.
17464 (FE_TOWARDZERO): Likewise.
17465 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17466 (FE_OVERFLOW): Likewise.
17467 (FE_UNDERFLOW): Likewise.
17468 (FE_DIVBYZERO): Likewise.
17469 (FE_INEXACT): Likewise.
17470 (FE_TONEAREST): Likewise.
17471 (FE_TOWARDZERO): Likewise.
17472 (FE_UPWARD): Likewise.
17473 (FE_DOWNWARD): Likewise.
17474 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17475 (FE_DIVBYZERO): Likewise.
17476 (FE_OVERFLOW): Likewise.
17477 (FE_UNDERFLOW): Likewise.
17478 (FE_INEXACT): Likewise.
17479 (FE_TONEAREST): Likewise.
17480 (FE_DOWNWARD): Likewise.
17481 (FE_UPWARD): Likewise.
17482 (FE_TOWARDZERO): Likewise.
17483
105ca950
CM
174842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17485
17486 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17487
a542b389
AS
174882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17489
17490 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17491 commands. Quote $PWD.
17492 (blacklist_exports): Don't use remove_newlines. Replace "declare
17493 -x" by "export".
17494 (remove_newlines): Remove.
17495
f62c8abc
L
174962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17499 * stdlib/stdlib.h (atof): Moved to ...
17500 * include/bits/stdlib-float.h: Here. New file.
17501 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17502 * stdlib/bits/stdlib-float.h: New file.
17503 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17504 -mno-sse -mno-mmx.
17505 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17506 <xmmintrin.h>.
17507
0155d5b2
JM
175082012-11-02 Joseph Myers <joseph@codesourcery.com>
17509
a68d0680
JM
17510 * conform/conformtest.pl (@headers): Add fenv.h.
17511 * conform/data/fenv.h-data: New file.
17512 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17513 include of <math/fenv.h>.
17514
caf7f573
JM
17515 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17516 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17517 && !UNIX98]. Enables tests for XOPEN2K8.
17518 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17519 POSIX2008]: Likewise.
17520
6c073ad6
JM
17521 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17522 (struct rusage): Do not expect type or its members.
17523
0155d5b2
JM
17524 [BZ #3439]
17525 * math/math.h (FP_NAN): Define macro to integer constant usable in
17526 #if and use that to give value to enum constant.
17527 (FP_INFINITE): Likewise.
17528 (FP_ZERO): Likewise.
17529 (FP_SUBNORMAL): Likewise.
17530 (FP_NORMAL): Likewise.
17531
b5dcacb4
AS
175322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17533
17534 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17535 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17536 arguments.
17537
f7934be8
RM
175382012-11-02 Roland McGrath <roland@hack.frob.com>
17539
17540 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17541 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17542 autoconf-time if not.
17543 * configure.in: Remove AC_PREREQ.
17544
d7d08bde
TMQMF
175452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17546
17547 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17548 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17549 of the internal implementation.
17550
dcdae19a
JM
175512012-11-02 Joseph Myers <joseph@codesourcery.com>
17552
17553 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17554 except include of <misc/sys/syslog.h>.
17555
d6cffd3e
AS
175562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17557
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17559 function returns with a NULL context exit with zero.
17560
b3563932
TMQMF
175612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17562
17563 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17564
b288a93d
L
175652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17568 (run_program_cmd): This.
17569 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17570 (tst_langinfo): New variable. Use it.
17571
a2421a68
SAS
175722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17573
17574 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17575 floating point opcodes.
17576
6f796e1b
TS
175772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17578
7402596b
TS
17579 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17580 variable.
17581
d0d4f868
TS
17582 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17583
6f796e1b
TS
17584 * sysdeps/mach/hurd/powerpc: Remove directory.
17585 * sysdeps/mach/powerpc: Likewise.
17586
4da224a2
AS
175872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17588
17589 * scripts/check-local-headers.sh: Ignore c++ headers.
17590
341dd673
TS
175912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17592
17593 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17594 __libc_cleanup_region_start argument.
17595
473611b2
JM
175962012-11-01 Joseph Myers <joseph@codesourcery.com>
17597
17598 [BZ #14784]
17599 [BZ #14785]
17600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17601 x * y using scaling, not as x * y + z.
17602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17604 * math/libm-test.inc (fma_test): Add more tests.
17605 (fma_test_towardzero): Likewise.
17606 (fma_test_downward): Likewise.
17607 (fma_test_upward): Likewise.
17608
4078da3d
TS
176092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17610
17611 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17612
903252aa
JM
176132012-10-31 Joseph Myers <joseph@codesourcery.com>
17614
17615 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17616 New variable.
17617
cbc818d0
TS
176182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17619
17620 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17621
5a03cb1e
AS
176222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17623
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17625 Fix sort order.
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17627 Likewise.
17628
90aff2ff
TMQMF
176292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17630
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17632 Fix the order of the list for glibc 2.17.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17634 Likewise.
17635
1818fcb7
AS
176362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17637
17638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639
ef82f4da
JM
176402012-10-31 Joseph Myers <joseph@codesourcery.com>
17641
16a0e2ec
JM
17642 [BZ #14610]
17643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17644 for low part of x being zero before using __atanl (y).
17645 * math/libm-test.inc (atan2_test): Add another test.
17646
0eb69512
JM
17647 * manual/install.texi (Configuring and compiling): Document
17648 general use of test-wrapper and test-wrapper-env.
17649 * INSTALL: Regenerated.
17650
ef82f4da
JM
17651 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17652 (__fma): Do not extract and scale down low bits on after-rounding
17653 systems when result rounded to normal precision would have normal
17654 exponent.
17655 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17656 (__fmal): Do not extract and scale down low bits on after-rounding
17657 systems when result rounded to normal precision would have normal
17658 exponent.
17659 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17660 (__fmal): Do not extract and scale down low bits on after-rounding
17661 systems when result rounded to normal precision would have normal
17662 exponent.
17663 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17664 macro.
17665 (fma_test): Add more tests.
17666 (fma_test_towardzero): Likewise.
17667 (fma_test_downward): Likewise.
17668 (fma_test_upward): Likewise.
17669
954ef0d9
L
176702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17671
17672 * sysdeps/i386/tininess.h: Renamed to ...
17673 * sysdeps/x86/tininess.h: This.
17674 * sysdeps/x86_64/tininess.h: Removed.
17675
df61ffb2
JM
176762012-10-30 Joseph Myers <joseph@codesourcery.com>
17677
17678 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17679 input. Use $(build-program-cmd).
17680 ($(objpfx)tst-array1-static.out): Likewise.
17681 ($(objpfx)tst-array2.out): Likewise.
17682 ($(objpfx)tst-array3.out): Likewise.
17683 ($(objpfx)tst-array4.out): Likewise.
17684 ($(objpfx)tst-array5.out): Likewise.
17685 ($(objpfx)tst-array5-static.out): Likewise.
17686
01767843
CM
176872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17688
47cc1490
CM
17689 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17690 if defined.
17691
01767843
CM
17692 * nss/nsswitch.h (nss_interface_function): Provide new
17693 macro for use with NSS functions.
17694 * grp/initgroups.c: Use new macro.
17695 * nss/getXXbyYY.c: Likewise.
17696 * nss/getXXbyYY_r.c: Likewise.
17697 * nss/getXXent.c: Likewise.
17698 * nss/getXXent_r.c: Likewise.
17699 * sysdeps/posix/getaddrinfo.c: Likewise.
17700
8321aa97
AJ
177012012-10-30 Andreas Jaeger <aj@suse.de>
17702
17703 * po/ru.po: Update Russion translation from translation project.
17704
2a27fd6d
JM
177052012-10-30 Joseph Myers <joseph@codesourcery.com>
17706
8627a232
JM
17707 [BZ #14152]
17708 [BZ #14783]
17709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17710 result and shift together with sticky bit instead of replicating
17711 round-to-nearest rounding.
17712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17714 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17715 missing underflow exceptions.
17716 (fma_test_towardzero): Add more tests.
17717 (fma_test_downward): Likewise.
17718 (fma_test_upward): Likewise.
17719
2a27fd6d
JM
17720 [BZ #14047]
17721 * sysdeps/generic/tininess.h: New file.
17722 * sysdeps/i386/tininess.h: Likewise.
17723 * sysdeps/sh/tininess.h: Likewise.
17724 * sysdeps/x86_64/tininess.h: Likewise.
17725 * stdlib/tst-strtod-underflow.c: Likewise.
17726 * stdlib/tst-tininess.c: Likewise.
17727 * stdlib/strtod_l.c: Include <tininess.h>.
17728 (round_and_return): Do not set errno for exact underflow cases.
17729 Force an underflow exception when setting errno for underflow.
17730 Determine underflow based on rounding to normal precision if
17731 TININESS_AFTER_ROUNDING.
17732 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17733 ERANGE for exact underflow cases.
17734 * stdlib/Makefile (tests): Add tst-tininess and
17735 tst-strtod-underflow.
17736 ($(objpfx)tst-tininess): Use $(link-libm).
17737 ($(objpfx)tst-strtod-underflow): Likewise.
17738
e7170363
AJ
177392012-10-30 Andreas Jaeger <aj@suse.de>
17740
e5088dc6
AJ
17741 [BZ#14767]
17742 * elf/Makefile (tests): Remove conditional for have-initfini-array
17743 since this is now always required and the variable does not exist
17744 anymore.
17745 (tests-static): Likewise.
17746 (modules-names): Likewise.
17747
e7170363 17748 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17749
17750 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17751 merged with constructor/destructor.
17752 (init_array): Likewise.
17753 * elf/tst-array2dep.c (fini_array): Likewise.
17754 (init_array): Likewise.
17755
60457d8a
MF
177562012-10-29 Mike Frysinger <vapier@gentoo.org>
17757
17758 * manual/message.texi: Delete @cartouche tags.
17759
8bece752
PT
177602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17761
94ce799f
PT
17762 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17763 EOPNOTSUPP.
17764 * sysdeps/mach/hurd/fsync.c: Likewise.
17765
8bece752
PT
17766 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17767 [_POSIX_REALTIME_SIGNALS]: Change condition to
17768 [_POSIX_REALTIME_SIGNALS > 0].
17769
86ebe6b1
AJ
177702012-10-27 Andreas Jaeger <aj@suse.de>
17771
17772 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17773 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17775 [__WORDSIZE != 64]: Likewise.
17776
54399c08
L
177772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * iconvdata/tst-table.sh: Remove ${SHELL}.
17780 * iconvdata/tst-tables.sh: Likewise.
17781
e2211bed
DM
177822012-10-25 David S. Miller <davem@davemloft.net>
17783
17784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17785 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17786 of strtoull.
17787
f303f97c
DM
17788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17789 ifunc-impl-list.c
17790 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17791 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17792 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17793 file.
17794
1e9d84cd
RM
177952012-10-25 Roland McGrath <roland@hack.frob.com>
17796
17797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17798 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17799 __getdirentries.
17800
df381762
JM
178012012-10-25 Joseph Myers <joseph@codesourcery.com>
17802 Jim Blandy <jimb@codesourcery.com>
17803
17804 * scripts/cross-test-ssh.sh: New file.
17805 * manual/install.texi (Configuring and compiling): Document use of
17806 cross-test-ssh.sh.
17807 * INSTALL: Regenerated.
17808
bff64913
PT
178092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17810
17811 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17812 EOPNOTSUPP.
17813
25fe8932
JM
178142012-10-25 Joseph Myers <joseph@codesourcery.com>
17815
17816 * Makeconfig (run-program-prefix): Fix comment.
17817
cc1290d0
JM
178182012-10-24 Joseph Myers <joseph@codesourcery.com>
17819 Jim Blandy <jimb@codesourcery.com>
17820
17821 * Makeconfig (test-wrapper): New variable,
17822 (test-wrapper-env): Likewise.
17823 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17824 (run-built-tests): Define to yes.
17825 (run-program-prefix): Use $(test-wrapper).
17826 (built-program-cmd): Likewise.
17827 * Rules (make-test-out): Use $(test-wrapper-env) and
17828 $(host-built-program-cmd).
17829 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17830 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17831 tst-pathopt.sh.
17832 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17833 $(test-wrapper-env) to tst-rtld-load-self.sh.
17834 ($(objpfx)order2.out): Use $(test-wrapper).
17835 ($(objpfx)tst-initorder.out): Likewise.
17836 ($(objpfx)tst-initorder2.out): Likewise.
17837 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17838 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17839 (test_wrapper_env): New variable. Use it to run ld.so.
17840 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17841 Use it to run ld.so.
17842 (test_wrapper_env): Likewise.
17843 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17844 $(test-wrapper) to run-iconv-test.sh.
17845 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17846 (ICONV): Use $test_wrapper.
17847 * posix/Makefile ($(objpfx)globtest.out): Pass
17848 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17849 globtest.sh, not $(run-program-prefix).
17850 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17851 (test_wrapper): Likewise.
17852 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17853 set together with run_via_rtld_prefix.
17854 (run_program_prefix): Define in terms of test_wrapper and
17855 run_via_rtld_prefix.
17856
6e6249d0
RM
178572012-10-24 Roland McGrath <roland@hack.frob.com>
17858
17859 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17860 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17861 Targets removed.
17862
17863 [BZ #14743]
17864 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17865 Declare __clock_getres, __clock_gettime, __clock_settime,
17866 __clock_nanosleep, and __clock_getcpuclockid.
17867 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17868 Remove librt_hidden_def (clock_gettime).
17869 * sysdeps/unix/clock_gettime.c: Likewise.
17870 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17871 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17872 * rt/clock_getres.c: Define __clock_getres as an alias.
17873 * sysdeps/posix/clock_getres.c: Likewise.
17874 * rt/clock_settime.c: Define __clock_settime as an alias.
17875 * sysdeps/unix/clock_settime.c: Likewise.
17876 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17877 * sysdeps/unix/clock_nanosleep.c: Likewise.
17878 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17879 * rt/clock-compat.c: New file.
17880 * rt/Makefile (librt-routines): Add clock-compat and move
17881 $(clock-routines) to ...
17882 (routines): ... here, new variable.
17883 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17884 Don't add get_clockfreq here.
17885 * rt/Versions (libc: GLIBC_2.17): New version set.
17886 Add clock_* symbols here.
17887 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17888 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17889 (GLIBC_2.17): Add clock_* symbols.
17890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17894 Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17896 Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17901 * NEWS: Mention the move.
17902
17903 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17904 Use __open, __read, __close rather than their public counterparts.
17905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17906 (__get_clockfreq_via_cpuinfo): Likewise.
17907 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17908 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17909
17910 * config.h.in (HAVE_IFUNC): New #undef.
17911 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17912 was successful.
17913 * configure: Regenerated.
17914
0cae3f4b
MF
179152012-10-24 Mike Frysinger <vapier@gentoo.org>
17916
17917 * configure.in: Move READELF check to start of file.
17918 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17919 libc_cv_asm_gnu_indirect_function in the process.
17920 * configure: Regenerated.
17921
8175a253
MF
179222012-10-24 Mike Frysinger <vapier@gentoo.org>
17923
17924 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17925 send the output to /dev/null.
17926 (libc_cv_cc_with_libunwind): Likewise.
17927 (libc_cv_as_noexecstack): Likewise.
17928 * configure: Regenerate.
17929
0708a7d1
JM
179302012-10-24 Joseph Myers <joseph@codesourcery.com>
17931
10b40d85
JM
17932 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17933
0708a7d1
JM
17934 * posix/globtest.sh (TMPDIR): Do not set.
17935 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17936 (testout): Likewise.
17937
9fddec1a
AJ
179382012-10-24 Andreas Jaeger <aj@suse.de>
17939
3a8db22f
AJ
17940 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17941 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17942 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17943 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17944 posix_fadvise64, posix_fallocate64.
17945
9fddec1a
AJ
17946 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17947 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17948 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17949 Likewise.
17950 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17951 Likewise.
17952 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17953
17954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17955 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17956 <bits/fcntl-linux.h>.
17957 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17958
17959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17960 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17961 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17962 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17963 [__WORDSIZE != 64]: Likewise.
17964
ebfd1bbd
JM
179652012-10-23 Joseph Myers <joseph@codesourcery.com>
17966
03ac099f
JM
17967 * Makeconfig (run-built-tests): New variable.
17968 * Rules [$(cross-compiling) = yes]: Change condition to
17969 [$(run-built-tests) = no].
17970 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17971 to [$(run-built-tests) = yes].
17972 * elf/Makefile [$(cross-compiling) = no]: Likewise
17973 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17974 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17975 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17976 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17977 * io/Makefile [$(cross-compiling) = no]: Likewise.
17978 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17979 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17980 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17981 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17982 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17983 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17984 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17985 * string/Makefile [$(cross-compiling) = no]: Likewise.
17986
ebfd1bbd
JM
17987 * posix/Makefile ($(objpfx)globtest.out): Pass
17988 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17989 $(rtld-installed-name).
17990 * posix/globtest.sh (elf_objpfx): Remove variable.
17991 (rtld_installed_name): Likewise.
17992 (library_path): Likewise.
17993 (run_program_prefix): New variable. Use for running globtest
17994 binary.
17995
166bca24
JB
179962012-10-23 Jim Blandy <jimb@codesourcery.com>
17997 Joseph Myers <joseph@codesourcery.com>
17998
17999 * Makeconfig (host-built-program-cmd): New variable.
18000 * elf/Makefile (tst-stackguard1-ARGS): Use
18001 $(host-built-program-cmd).
18002 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18003 (tst-spawn-ARGS): Likewise.
18004 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18005
88866099
JM
180062012-10-23 Joseph Myers <joseph@codesourcery.com>
18007 Jim Blandy <jimb@codesourcery.com>
18008
18009 * Makeconfig (run-via-rtld-prefix): New variable.
18010 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18011 (built-program-cmd): Likewise.
18012
b4b4c296
AJ
180132012-10-22 Andreas Jaeger <aj@suse.de>
18014
18015 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18016 __O_RSYNC if it exists, otherwise to O_SYNC.
18017
6fb54a22
JB
180182012-10-22 Jim Blandy <jimb@codesourcery.com>
18019 Joseph Myers <joseph@codesourcery.com>
18020
18021 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18022 /dev/null.
18023 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18024 from /dev/null
18025 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18026 /dev/null.
18027
481b90b9
AJ
180282012-10-22 Andreas Jaeger <aj@suse.de>
18029
2a0e2669
AJ
18030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18031 Define always.
18032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18033
76e38f9a
AJ
18034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18035 bits/fcntl-linux.h.
18036
7cd37b43
AJ
18037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18038 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18039
481b90b9
AJ
18040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18041 to __O_LARGEFILE.
18042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18043 to __O_LARGEFILE.
18044
aba75984
JB
180452012-10-21 Jim Blandy <jimb@codesourcery.com>
18046 Joseph Myers <joseph@codesourcery.com>
18047
18048 * config.make.in (NM): New variable.
18049
88d4247f
AJ
180502012-10-21 Andreas Jaeger <aj@suse.de>
18051
18052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18053 definitions and declarations that are provided by
18054 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18055
f2eed205
L
180562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 [BZ #14683]
18059 * elf/Makefile (tests-static): Add tst-leaks1-static.
18060 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18061 ($(objpfx)tst-leaks1-static): New rule.
18062 ($(objpfx)tst-leaks1-static-mem): Likewise.
18063 (tst-leaks1-static-ENV): New macro.
18064 * elf/dl-open.c (dl_open_worker): Check the main application
18065 only if SHARED is defined.
18066 * elf/tst-leaks1-static.c: New file.
18067
335e6931
AJ
180682012-10-20 Andreas Jaeger <aj@suse.de>
18069
18070 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18071 generic values for Linux.
18072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18073 and declarations that are provided by <bits/fcntl-linux.h> and
18074 include <bits/fcntl-linux.h>.
18075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18077
ac5c94d3
RM
180782012-10-20 Roland McGrath <roland@hack.frob.com>
18079
18080 * io/fcntl.h: Move include of <bits/types.h> to the top and
18081 include it unconditionally.
18082
de54b33a
L
180832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18084
228cfb01
L
18085 * wcsmbs/Makefile (tests-ifunc): New variable.
18086 (tests): Add $(tests-ifunc).
18087 * wcsmbs/test-wcschr-ifunc.c: New file.
18088 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18089 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18090 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18091 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18092 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18093
69f07e5f
L
18094 * string/Makefile (tests-ifunc): New variable.
18095 (tests): Add $(tests-ifunc).
18096 * string/test-memccpy.c (TEST_NAME): New macro.
18097 * string/test-memchr.c (TEST_NAME): Likewise.
18098 * string/test-memcmp.c (TEST_NAME): Likewise.
18099 * string/test-memcpy.c (TEST_NAME): Likewise.
18100 * string/test-memmem.c (TEST_NAME): Likewise.
18101 * string/test-memmove.c (TEST_NAME): Likewise.
18102 * string/test-memset.c (TEST_NAME): Likewise.
18103 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18104 * string/test-stpcpy.c (TEST_NAME): Likewise.
18105 * string/test-stpncpy.c (TEST_NAME): Likewise.
18106 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18107 * string/test-strcasestr.c (TEST_NAME): Likewise.
18108 * string/test-strcat.c (TEST_NAME): Likewise.
18109 * string/test-strchr.c (TEST_NAME): Likewise.
18110 * string/test-strcmp.c(TEST_NAME): Likewise.
18111 * string/test-strcpy.c (TEST_NAME): Likewise.
18112 * string/test-strcspn.c (TEST_NAME): Likewise.
18113 * string/test-strlen.c (TEST_NAME): Likewise.
18114 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18115 * string/test-strncmp.c (TEST_NAME): Likewise.
18116 * string/test-strncpy.c (TEST_NAME): Likewise.
18117 * string/test-strnlen.c (TEST_NAME): Likewise.
18118 * string/test-strpbrk.c (TEST_NAME): Likewise.
18119 * string/test-strrchr.c (TEST_NAME): Likewise.
18120 * string/test-strspn.c (TEST_NAME): Likewise.
18121 * string/test-strstr.c (TEST_NAME): Likewise.
18122 * string/test-bcopy-ifunc.c: New file.
18123 * string/test-bzero-ifunc.c: Likewise.
18124 * string/test-memccpy-ifunc.c: Likewise.
18125 * string/test-memchr-ifunc.c: Likewise.
18126 * string/test-memcmp-ifunc.c: Likewise.
18127 * string/test-memcpy-ifunc.c: Likewise.
18128 * string/test-memmem-ifunc.c: Likewise.
18129 * string/test-memmove-ifunc.c: Likewise.
18130 * string/test-mempcpy-ifunc.c: Likewise.
18131 * string/test-memset-ifunc.c: Likewise.
18132 * string/test-rawmemchr-ifunc.c: Likewise.
18133 * string/test-stpcpy-ifunc.c: Likewise.
18134 * string/test-stpncpy-ifunc.c: Likewise.
18135 * string/test-strcasecmp-ifunc.c: Likewise.
18136 * string/test-strcasestr-ifunc.c: Likewise.
18137 * string/test-strcat-ifunc.c: Likewise.
18138 * string/test-strchr-ifunc.c: Likewise.
18139 * string/test-strchrnul-ifunc.c: Likewise.
18140 * string/test-strcmp-ifunc.c: Likewise.
18141 * string/test-strcpy-ifunc.c: Likewise.
18142 * string/test-strcspn-ifunc.c: Likewise.
18143 * string/test-strlen-ifunc.c: Likewise.
18144 * string/test-strncasecmp-ifunc.c: Likewise.
18145 * string/test-strncat-ifunc.c: Likewise.
18146 * string/test-strncmp-ifunc.c: Likewise.
18147 * string/test-strncpy-ifunc.c: Likewise.
18148 * string/test-strnlen-ifunc.c: Likewise.
18149 * string/test-strpbrk-ifunc.c: Likewise.
18150 * string/test-strrchr-ifunc.c: Likewise.
18151 * string/test-strspn-ifunc.c: Likewise.
18152 * string/test-strstr-ifunc.c: Likewise.
18153
de54b33a
L
18154 * debug/Makefile (tests-ifunc): New variable.
18155 (tests): Add $(tests-ifunc).
18156 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18157 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18158 * debug/test-stpcpy_chk-ifunc.c: New file.
18159 * debug/test-strcpy_chk-ifunc.c: Likewise.
18160
88481c16
SP
181612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18162
18163 [BZ #13601]
18164 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18165 header is not read in.
18166
135948bd
JM
181672012-10-19 Joseph Myers <joseph@codesourcery.com>
18168
89f1c388
JM
18169 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18170 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18171 directly. Pass built executable to script as
18172 $(built-program-cmd).
18173 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18174 $testprogram without using LD_LIBRARY_PATH and $ldso.
18175
e40a0d21
JM
18176 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18177 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18178 $(rtld-installed-name).
18179 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18180 (rtld_installed_name): Likewise.
18181 (library_path): Likewise.
18182 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18183 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18184 $(run-program-prefix) to tst-tables.sh.
18185 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18186 it to run tst-table-from and tst-table-to.
18187 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18188 Pass it to tst-table.sh.
18189 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18190 $(run-program-prefix) to tst-gettext.sh.
18191 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18192 tst-translit.sh.
18193 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18194 tst-gettext2.sh.
18195 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18196 to run tst-gettext.
18197 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18198 to run tst-gettext2.
18199 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18200 to run tst-translit.
18201 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18202 $(run-program-prefix) to tst-mtrace.sh.
18203 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18204 to run tst-mtrace.
18205 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18206 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18207 $(rtld-installed-name).
18208 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18209 (rtld_installed_name): Likewise.
18210 (run_program_prefix): New variable. Use it to run wordexp-test.
18211
728e272a
JM
18212 * Makeconfig (ARCH): Remove all definitions.
18213 (machine): Likewise.
18214 [ARCH]: Remove conditional code.
18215 [!objdir]: Give error.
18216 [!objdir] (objpfx): Remove.
18217 [!objdir] (common-objpfx): Likewise.
18218 [!objdir] (common-objdir): Likewise.
18219 * configure.in (config_makefile): Remove. Hardcode Makefile in
18220 AC_CONFIG_FILES call.
18221 * configure: Regenerated.
18222
d528cdcf
JM
18223 [BZ #13888]
18224 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18225 or TMPDIR.
18226 (testout): Likewise.
18227
135948bd
JM
18228 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18229 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18230 $(rtld-installed-name).
18231 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18232 (rtld_installed_name): Likwise.
18233 (runit): Remove function.
18234 (run_getconf): New variable, Use it for running getconf binary.
18235
38c78296
L
182362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 [BZ #14716]
18239 * string/test-memmem.c (check_result): New function.
18240 (do_one_test): Use it.
18241 (check1): New function.
18242 (test_main): Use it.
18243
d077f65f
MT
182442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18245
18246 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18247
ced52c71
JM
182482012-10-18 Joseph Myers <joseph@codesourcery.com>
18249
18250 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18251 (_G_LSEEK64): Likewise.
18252 (_G_MMAP64): Likewise.
18253 (_G_FSTAT64): Likewise.
18254 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18255 (_G_LSEEK64): Likewise.
18256 (_G_MMAP64): Likewise.
18257 (_G_FSTAT64): Likewise.
18258 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18259 unconditional. Call __mmap64 directly.
18260 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18261 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18262 __lseek64 directly.
18263 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18264 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18265 __mmap64 directly.
18266 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18267 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18268 __lseek64 directly.
18269 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18270 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18271 __lseek64 directly.
18272 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18273 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18274 __lseek64 directly.
18275 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18276 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18277 __fxstat64 directly.
18278 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18279 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18280 unconditional.
18281 (freopen64) [!_G_OPEN64]: Remove conditional code.
18282 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18283 unconditional.
18284 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18285 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18286 unconditional.
18287 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18288 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18289 unconditional.
18290 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18291 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18292 unconditional.
18293 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18294 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18295 unconditional.
18296 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18297 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18298 unconditional.
18299 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18300 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18301 unconditional.
18302 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18303
b741de23
SP
183042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18305
18306 [BZ #12140]
18307 * manual/memory.texi (Malloc Tunable Parameters): Add note
18308 about free list pointers overwriting some perturb bytes.
18309 Wording suggested by Roland McGrath.
18310
f9b9d9c9
JM
183112012-10-17 Joseph Myers <joseph@codesourcery.com>
18312
18313 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18314 (lgamma_test): Likewise.
18315 (tgamma_test): Likewise.
18316
172a631a
FW
183172012-10-16 Florian Weimer <fweimer@redhat.com>
18318
18319 [BZ #14700]
18320 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18321 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18322
e9f37252
MK
183232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18324
18325 * NEWS: Mention BZ #14716.
18326 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18327 when removing AVAILABLE1_USES_J macro.
18328
d394eb74
L
183292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18332 (__bswap_64): __uint64_t for unsigned 64-bit int.
18333
ca38dc17
AS
183342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18335
18336 * include/string.h (memmem): Declare libc hidden alias.
18337 * string/memmem.c (memmem): Define libc hidden alias.
18338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18339 __read, __close instead of open, read, close.
18340
9a387d1f
L
183412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18342
ac49ecaf
L
18343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18344 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18345 global and hidden.
18346 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18347 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18348 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18349 Likewise.
18350 (__rawmemchr_sse2): Likewise.
18351 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18352 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18353 (__strchr_sse2): Likewise.
18354 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18355 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18356 (__strcasecmp_sse2): Likewise.
18357 (__strncasecmp_sse2): Likewise.
18358 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18359 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18360 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18361 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18362 (__strrchr_sse2): Likewise.
18363 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18364 ifunc-impl-list.c.
18365 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18366 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18367 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18368 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18369 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18370 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18371 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18372 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18373 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18374 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18375 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18376 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18377 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18378 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18379 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18380 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18381 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18382 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18383 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18384 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18385 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18386 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18387 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18388 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18389 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18390 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18391 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18392 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18393 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18394 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18395
b090e8ea
L
18396 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18397 global and hidden.
18398 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18399 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18400 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18401 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18402 Likewise.
18403 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18404 Likewise.
18405 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18406 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18407 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18408 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18409 ifunc-impl-list.c.
18410 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18411 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18412 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18413 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18414 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18415 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18416 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18417 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18418 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18419 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18420 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18421 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18422 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18423 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18424 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18426 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18427 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18428 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18429 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18431 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18432 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18433 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18434 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18435 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18436 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18437 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18438 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18439 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18440 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18441 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18442 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18443 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18444 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18445 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18446 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18447 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18448 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18449 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18450 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18451
11dd4af6
L
18452 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18453 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18454 * include/ifunc-impl-list.h: New file.
18455 * misc/ifunc-impl-list.c: Likewise.
18456 * misc/Makefile (routines): Add ifunc-impl-list.
18457 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18458 * string/test-string.h: Include <ifunc-impl-list.h>.
18459 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18460 impl_array): New variables.
18461 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18462 are defined.
18463 (test_init): Call __libc_ifunc_impl_list to initialize
18464 func_list if TEST_IFUNC and TEST_NAME are defined.
18465
9a387d1f
L
18466 * string/Makefile (strop-tests): Add bcopy and bzero.
18467 * string/test-bcopy.c: New file.
18468 * string/test-bzero.c: Likewise.
18469 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18470 defined.
18471 * string/test-memset.c: Support bzero test if TEST_BZERO is
18472 defined.
18473 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18474 __libc_memmove.
18475 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18476 __libc_memset.
18477 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18478 of memset.
18479
472371b9
JM
184802012-10-10 Joseph Myers <joseph@codesourcery.com>
18481
1e4a9536
JM
18482 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18483 * configure: Regenerated.
18484
d173d12e
JM
18485 * Makeconfig (+link-static-before-libc): Don't include
18486 $(link-static-libc).
18487
472371b9
JM
18488 * libio/libio.h (_IO_pos_t): Remove.
18489
89a3ad0b
AO
184902012-10-10 Alexandre Oliva <aoliva@redhat.com>
18491
18492 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18493 McGrath.
18494
e7451425
AO
184952012-10-10 Alexandre Oliva <aoliva@redhat.com>
18496
18497 * crypt/crypt-entry.c: Include fips-private.h.
18498 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18499 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18500 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18501 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18502
4ba74a35
AO
185032012-10-10 Alexandre Oliva <aoliva@redhat.com>
18504
18505 * crypt/crypt-private.h: Include stdbool.h.
18506 (_ufc_setup_salt_r): Return bool.
18507 * crypt/crypt-entry.c: Include errno.h.
18508 (__crypt_r): Return NULL with EINVAL for bad salt.
18509 * crypt/crypt_util.c (bad_for_salt): New.
18510 (_ufc_setup_salt_r): Check that salt is long enough and within
18511 the specified alphabet.
18512 * crypt/badsalttest.c: New file.
18513 * crypt/Makefile (tests): Add it.
18514 ($(objpfx)badsalttest): New.
18515
f96f1242
MK
185162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18517
18518 * NEWS: Add entry for BZ #14602.
18519
0e8e0c1c
JM
185202012-10-09 Joseph Myers <joseph@codesourcery.com>
18521
18522 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18523 type-generic.
18524 * math/libm-test.inc: Update comment listing what functions and
18525 macros are tested.
18526 (isgreater_test): New function.
18527 (isgreaterequal_test): Likewise.
18528 (isless_test): Likewise.
18529 (islessequal_test): Likewise.
18530 (islessgreater_test): Likewise.
18531 (isunordered_test): Likewise.
18532 (main): Call the new functions.
18533
273edc5e
RM
185342012-10-09 Roland McGrath <roland@hack.frob.com>
18535
b8493de0
RM
18536 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18537 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18538 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18539 * sysdeps/i386/configure: Regenerated.
18540 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18541 * sysdeps/mach/configure: Regenerated.
18542 * sysdeps/mach/hurd/configure: Regenerated.
18543 * sysdeps/powerpc/configure: Regenerated.
18544 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18545 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18546 * sysdeps/s390/s390-32/configure: Regenerated.
18547 * sysdeps/s390/s390-64/configure: Regenerated.
18548 * sysdeps/sh/configure: Regenerated.
18549 * sysdeps/sparc/configure: Regenerated.
18550 * sysdeps/unix/sysv/linux/configure: Regenerated.
18551 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18552 * sysdeps/x86_64/configure: Regenerated.
18553
273edc5e
RM
18554 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18555 defined. Don't check if MAP is NULL.
18556
c8450f70
JM
185572012-10-09 Joseph Myers <joseph@codesourcery.com>
18558
18559 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18560 (_G_stat64): Likewise.
18561 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18562 (_G_stat64): Likewise.
18563 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18564 instead of struct _G_stat64.
18565 * libio/fileops.c (mmap_remap_check): Likewise.
18566 (decide_maybe_mmap): Likewise.
18567 (_IO_new_file_seekoff): Likewise.
18568 (_IO_file_stat): Likewise.
18569 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18570 _G_off64_t.
18571 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18572 instead of struct _G_stat64.
18573 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18574
57e605ba
MK
185752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18576
18577 [BZ #14602]
18578 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18579 Replace with ...
18580 (CHECK_EOL): New macro.
18581 (two_way_short_needle): Check beginning of haystack for EOL. Use
18582 CHECK_EOL.
18583 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18584 Replace with CHECK_EOL.
18585 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18586 Replace with CHECK_EOL.
18587
ef1bb361
JM
185882012-10-08 Joseph Myers <joseph@codesourcery.com>
18589
18590 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18591 type-generic.
18592 * math/libm-test.inc: Update comment listing what functions and
18593 macros are tested.
18594 (finite_test): New function.
18595 (isinf_test): Likewise.
18596 (isnan_test): Likewise.
18597 (fpclassify_test): Test subnormal input.
18598 (isfinite_test): Likewise.
18599 (isnormal_test): Likewise.
18600 (main): Call the new functions.
18601
55f11534
JN
186022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18603
18604 [BZ #14660]
18605 * Makerules (%.dynsym): Force C locale when running
18606 $(OBJDUMP) --dynamic-syms.
18607
1ab29350
AS
186082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18609
18610 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18611 <stdint.h>.
18612
f1ecb7ef
DM
186132012-10-06 David S. Miller <davem@davemloft.net>
18614
18615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18616 upper 32-bits of the length value in %o2 since we use branch-on-register
18617 tests which consider the entire 64-bit register.
18618
5d41d91a
L
186192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18620
18621 * string/test-strstr.c (check2): Add a test for page boundary.
18622
3baddb72
DM
186232012-10-05 David S. Miller <davem@davemloft.net>
18624
18625 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18626 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18627 file.
18628 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18629 sysdep_routines.
18630 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18631 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18632 and bzero when HWCAP_SPARC_CRYPTO is present.
18633
9cee5585
L
186342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18635
d7e0dab9
L
18636 [BZ #14602]
18637 * string/test-strstr.c (check2): New function.
18638 (test_main): Call check2.
18639
03759f47
L
18640 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18641 and bug-strchr1.
18642 * string/bug-strcasestr1.c (do_test): Moved to ...
18643 * string/test-strcasestr.c (check1): Here. New function.
18644 (do_one_test): Break out result checking code into ...
18645 (check_result): This. New function.
18646 (do_one_test): Call check_result.
18647 (test_main): Call check1.
18648 * string/bug-strchr1.c (do_test): Moved to ...
18649 * string/test-strchr.c (check1): Here. New function.
18650 (do_one_test): Break out result checking code into ...
18651 (check_result): This. New function.
18652 (do_one_test): Call check_result.
18653 (test_main): Call check1.
18654 * string/bug-strstr1.c (main): Moved to ...
046f153e 18655 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18656 (do_one_test): Break out result checking code into ...
18657 (check_result): This. New function.
18658 (do_one_test): Call check_result.
18659 (test_main): Call check1.
18660 * string/bug-strcasestr1.c: Removed.
18661 * string/bug-strchr1.c: Likewise.
18662 * string/bug-strstr1.c: Likewise.
18663
53cea63e
L
18664 * elf/Makefile (dl-routines): Add hwcaps.
18665 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18666 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18667 (_dl_important_hwcaps): Moved to ...
18668 * elf/dl-hwcaps.c: Here. New file.
18669 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18670
9cee5585 18671 [BZ #14557]
bb859b06
L
18672 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18673 if IS_IN_rtld isn't defined.
18674
9cee5585
L
18675 * elf/dl-support.c (_dl_sysinfo_map): New.
18676 Include "get-dynamic-info.h" and "setup-vdso.h".
18677 (_dl_non_dynamic_init): Call setup_vdso.
18678 * elf/dynamic-link.h: Don't include <assert.h>.
18679 (elf_get_dynamic_info): Moved to ...
18680 * elf/get-dynamic-info.h: Here. New file.
18681 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18682 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18683 * elf/setup-vdso.h: Here. New file.
18684 * elf/rtld.c: Include "setup-vdso.h".
18685 (dl_main): Call setup_vdso.
18686
23c31b76
JM
186872012-10-05 Joseph Myers <joseph@codesourcery.com>
18688
28234b07
JM
18689 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18690 creal in comment listing functions tested. List finite, isinf,
18691 isnan, isless, islessequal, isgreater, isgreaterequal,
18692 islessgreater, isunordered, lgamma_r and pow10 as functions and
18693 macros not tested. Mention which functions not tested are aliases
18694 for other functions. Fix typo. Note that signs of NaNs are not
18695 tested.
18696
23c31b76
JM
18697 * scripts/config.guess: Update from config.git.
18698 * scripts/config.sub: Likewise.
18699
9043e228
RM
187002012-10-04 Roland McGrath <roland@hack.frob.com>
18701
18702 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18703 * misc/madvise.c (madvise): Renamed to __madvise.
18704 Make madvise a weak alias.
18705 * include/sys/mman.h: Declare __madvise.
18706 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18707 * sysdeps/unix/syscalls.list
18708 (madvise): Make __madvise the strong name, and madvise a weak alias.
18709 * sysdeps/unix/sysv/linux/syscalls.list
18710 (madvise, mmap): Remove redundant entries.
18711 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18712 * malloc/malloc.c (mtrim): Likewise.
18713 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18714
f57f8055
RM
187152012-10-03 Roland McGrath <roland@hack.frob.com>
18716
18717 * sysdeps/mach/hurd/dl-cache.c: File removed.
18718 * config.h.in (USE_LDCONFIG): New #undef.
18719 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18720 * configure: Regenerated.
18721 * elf/Makefile (dl-routines): Add dl-cache only under
18722 [$(use-ldconfig) = yes].
18723 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18724 cache on [USE_LDCONFIG].
18725 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18726 [USE_LDCONFIG].
18727 * elf/rtld.c (dl_main): Likewise.
18728
5bb0c10a
PT
187292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18730
18731 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18732 _SC_LEVEL4_CACHE_LINESIZE.
18733
010188c6
RM
187342012-10-03 Roland McGrath <roland@hack.frob.com>
18735
18736 * sysdeps/unix/bsd/confstr.h: File removed.
18737
b6c5ec07
AO
187382012-10-02 Alexandre Oliva <aoliva@redhat.com>
18739
18740 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18741 sys/sdt-config.h.
18742
408223d4
RM
187432012-10-02 Roland McGrath <roland@hack.frob.com>
18744
18745 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18746 Make 'mapoff' field ElfW(Off) rather than off_t.
18747
bb9510dc
DL
187482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18749
fc997c6e
DL
18750 * nscd/Makefile: Remove nscd-cflags and all its users.
18751 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18752 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18753
bb9510dc
DL
18754 [BZ #10631]
18755 * malloc.c (malloc_printerr): Clarify error message.
18756
05699367
L
187572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18758
18759 [BZ #14648]
18760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18761 Set bit_FMA_Usable if FMA is supported.
18762 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18763 macro.
18764 (bit_FMA4_Usable): Updated.
18765 (index_FMA_Usable): New macro.
18766 (CPUID_FMA): Likewise
18767 (HAS_FMA): Defined with bit_FMA_Usable.
18768
51367701
RM
187692012-10-01 Roland McGrath <roland@hack.frob.com>
18770
18771 * bits/types.h (__swblk_t): Type removed.
18772 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18773 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18775 (__SWBLK_T_TYPE): Likewise.
18776 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18777 (__SWBLK_T_TYPE): Likewise.
18778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18779 (__SWBLK_T_TYPE): Likewise.
18780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18781 (__SWBLK_T_TYPE): Likewise.
18782
4d57bf63 187832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18784 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18785
18786 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18787 (xdr_mapname): Use YPMAXMAP as maxsize.
18788 (xdr_peername): Use YPMAXPEER as maxsize.
18789 (xdr_keydat): Use YPAXRECORD as maxsize.
18790 (xdr_valdat): Use YPMAXRECORD as maxsize.
18791
93c65d43
RM
187922012-10-01 Roland McGrath <roland@hack.frob.com>
18793
497a03d6
RM
18794 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18795
93c65d43
RM
18796 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18797 * csu/init-first.c: ... here.
18798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18799 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18800 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18801 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18802 * sysdeps/i386/init-first.c: File removed.
18803 * sysdeps/sh/init-first.c: File removed.
18804
bec749fd
JM
188052012-10-01 Joseph Myers <joseph@codesourcery.com>
18806
18807 [BZ #14645]
18808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18809 if x * y might underflow to zero and z is zero.
18810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18812 * math/libm-test.inc (min_subnorm_value): New variable.
18813 (fma_test): Add more tests.
18814 (fma_test_towardzero): Likewise.
18815 (fma_test_downward): Likewise
18816 (fma_test_upward): Likewise.
18817 (initialize): Set min_subnorm_value.
18818
8ec5b013
JM
188192012-09-29 Joseph Myers <joseph@codesourcery.com>
18820
18821 [BZ #14638]
18822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18823 0 + 0.
18824 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18825 mode for addition resulting in exact zero.
18826 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18828 exact 0 + 0.
18829 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18831 * math/libm-test.inc (fma_test): Add more tests.
18832 (fma_test_towardzero): New function.
18833 (fma_test_downward): Likewise.
18834 (fma_test_upward): Likewise.
18835 (main): Call the new functions.
18836
b1fa802e
DM
188372012-09-28 David S. Miller <davem@davemloft.net>
18838
18839 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18840
d3b9fd9e
RM
188412012-09-28 Roland McGrath <roland@hack.frob.com>
18842
ea4d37b3
RM
18843 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18844 instead of SIGALRM.
18845
ac51c949
RM
18846 * sysdeps/gnu/_G_config.h: Moved to ...
18847 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18848 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18849 * sysdeps/generic/_G_config.h: ... here.
18850
28c195f7
RM
18851 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18852
848917f9
RM
18853 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18854
6bacf05b
RM
18855 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18856 Conditionalize target on [libnss_test1.so-version].
18857
91363dbb
RM
18858 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18859
cc87f7d8
RM
18860 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18861 (elfobjdir): Move out of conditionals.
18862
b1c608fe
RM
18863 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18864 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18865 (__nss_lookup_function): Conditionalize label remove_from_tree on
18866 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18867
1d9a6d96
DM
188682012-09-28 David S. Miller <davem@davemloft.net>
18869
18870 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18872 file.
18873 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18874 sysdep_routines.
18875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18877 when HWCAP_SPARC_CRYPTO is present.
18878
72581615
PT
188792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18880
18881 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18882
715a900c
JL
188832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18884
18885 [BZ #6530]
18886 * stdio-common/vfprintf.c (process_string_arg): Revert
18887 2000-07-22 change.
18888
188892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18890
18891 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18892 for testcase.
18893 * stdio-common/tst-sprintf.c: Include <locale.h>
18894 (main): Test sprintf's handling of incomplete multibyte
18895 characters.
18896
9bac1d86
L
188972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18898
18899 * elf/dl-runtime.c (VERSYMIDX): Removed.
18900 * elf/dl-version.c (VERSYMIDX): Likewise.
18901 * elf/do-rel.h (VERSYMIDX): Likewise.
18902 (VALIDX): Likewise.
18903 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18904 * elf/rtld.c (VALIDX): Likewise.
18905 (ADDRIDX): Likewise.
9bac1d86
L
18906 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18907 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18908 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18909 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18910 (VALIDX): Likewise.
18911 (ADDRIDX): Likewise.
9bac1d86 18912
b31606c0
PT
189132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18914
18915 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18916
11541177
JL
189172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18918
18919 [BZ #11438]
18920 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18921 to global scope.
18922 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18923 addresses are in the same scope as 192.0.2/24.
18924 * posix/gai.conf: Document new scope table defaults.
18925
adb26fae
SP
189262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18927
18928 [BZ #5298]
18929 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18930 for ftell. Compute offsets from write pointers instead.
18931 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18932
4573c6b0
SP
189332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18934
18935 [BZ #14543]
18936 * libio/Makefile (tests): New test case tst-fseek.
18937 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18938 combination works in wide mode.
18939 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18940 state when the external buffer state changes.
18941
aa9bbfe6
DM
189422012-09-27 David S. Miller <davem@davemloft.net>
18943
18944 [BZ #14376]
18945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18946 pass reloc->r_addend in as the 'high' argument to
18947 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18948
784421e7
DM
18949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18950
c39bc8b8
PT
189512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18952
18953 * rt/tst-aio2.c: Include <pthread.h>.
18954 * rt/tst-aio3.c: Likewise.
18955
1ccc2399
SE
189562012-09-27 Steve Ellcey <sellcey@mips.com>
18957
18958 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18959
31ed4153
L
189602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18961
25f5f885
L
18962 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18963 contents on [SHARED].
31ed4153 18964
b7bfe116
MP
189652012-09-26 Marek Polacek <polacek@redhat.com>
18966
18967 [BZ #14530]
18968 [BZ #13741]
18969 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18970 for C++ and GCC <4.3 as well as for non GCC compilers.
18971
43c4edba
MT
189722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18973
18974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18975
6a1bf82f
RM
189762012-09-25 Roland McGrath <roland@hack.frob.com>
18977
18978 * Makefile.in (all, install): Declare with .PHONY.
18979 Reported by Michael Hope <michael.hope@linaro.org>.
18980
8ad11b9a
TMQMF
189812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18982
18983 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18984 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18985 system header.
18986 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18987 Likewise.
18988 (sydep_routines): Add the new and the internal functions.
18989 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18990 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18992 (GLIBC_2.17): Add the new function.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18994 (GLIBC_2.17): Likewise.
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18996 (GLIBC_2.17): Likewise.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18998 (GLIBC_2.17): Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19000
7e2fca8d
AM
190012012-09-25 Alan Modra <amodra@gmail.com>
19002
19003 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19004 Add release barrier before setting once_control to say
19005 initialisation is done. Add hints on lwarx. Use macro in
19006 place of isync.
19007 (clear_once_control): Add release barrier.
19008
b87c4b24
JM
190092012-09-25 Joseph Myers <joseph@codesourcery.com>
19010
d032e0d2
JM
19011 [BZ #13629]
19012 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19013 specially.
19014 * math/s_clog10.c (__clog10): Likewise.
19015 * math/s_clog10f.c (__clog10f): Likewise.
19016 * math/s_clog10l.c (__clog10l): Likewise.
19017 * math/s_clogf.c (__clogf): Likewise.
19018 * math/s_clogl.c (__clogl): Likewise.
19019 * math/Makefile (libm-calls): Add x2y2m1.
19020 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19021 (__x2y2m1): Likewise.
19022 (__x2y2m1l): Likewise.
19023 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19024 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19027 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19028 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19029 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19032
b87c4b24
JM
19033 [BZ #14621]
19034 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19035 int as type of variable DEPTH.
19036 (glob): Use size_t instead of int as type of variables NEWCOUNT
19037 and OLD_PATHC.
19038
6d3bf199
LD
190392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19040
22bf5c17
LD
19041 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19042 Add s_sincosf-sse2.
19043 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19044 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19045 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19046 macros for using routine as __sincosf_ia32.
19047 Use macro for function declaration and weak_alias.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19049
19050 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19052
19053 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19054 subnormal argument.
19055 * math/s_cexpf.c (__cexpf): Likewise.
19056 * math/s_csinf.c (__csinf): Likewise.
19057 * math/s_csinhf.c (__csinhf): Likewise.
19058 * math/s_ctanf.c (__ctanf): Likewise.
19059 * math/s_ctanhf.c (__ctanhf): Likewise.
19060 * math/s_ccosh.c (__ccoshf): Likewise.
19061 * math/s_cexp.c (__cexpl): Likewise.
19062 * math/s_csin.c (__csin): Likewise.
19063 * math/s_csinh.c (__csinh): Likewise.
19064 * math/s_ctan.c (__ctan): Likewise.
19065 * math/s_ctanh.c (ctanh): Likewise.
19066 * math/s_ccoshl.c (__ccoshl): Likewise.
19067 * math/s_cexpl.c (__cexpl): Likewise.
19068 * math/s_csinl.c (__csinl): Likewise.
19069 * math/s_csinhl.c (__csinhl): Likewise.
19070 * math/s_ctanl.c (__ctanl): Likewise.
19071 * math/s_ctanhl.c (__ctanhl): Likewise.
19072
203e5603
JM
190732012-09-25 Joseph Myers <joseph@codesourcery.com>
19074
19075 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19076 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19077 (_IO_off_t): Define to __off_t, not _G_off_t.
19078 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19079 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19080 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19081 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19082 type of __dummy and __dummy2 fields.
19083 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19084 (_G_ssize_t): Likewise.
19085 (_G_off_t): Likewise.
19086 (_G_pid_t): Likewise.
19087 (_G_uid_t): Likewise.
19088 (_G_wchar_t): Likewise.
19089 (_G_wint_t): Likewise.
19090 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19091 (_G_ssize_t): Likewise.
19092 (_G_off_t): Likewise.
19093 (_G_pid_t): Likewise.
19094 (_G_uid_t): Likewise.
19095 (_G_wchar_t): Likewise.
19096 (_G_wint_t): Likewise.
19097 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19098 (_G_ssize_t): Likewise.
19099 (_G_off_t): Likewise.
19100 (_G_pid_t): Likewise.
19101 (_G_uid_t): Likewise.
19102 (_G_wchar_t): Likewise.
19103 (_G_wint_t): Likewise.
19104
9fab36eb
SP
191052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19106
19107 * malloc/arena.c: Include malloc-sysdep.h.
19108 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19109 is sufficient to shrink the heap or an unmap is needed.
19110 * sysdeps/generic/malloc-sysdep.h: New file. Define
19111 new function check_may_shrink_heap.
19112 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19113 new function check_may_shrink_heap.
19114
2b4f00d1
SP
191152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19116
19117 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19118 comments.
19119
9a9028b1
DL
191202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19121
57c69bef
DL
19122 * catgets/test-gencat.sh: Add "set -e".
19123 * elf/tst-pathopt.sh: Likewise.
19124 * grp/tst_fgetgrent.sh: Likewise.
19125 * iconvdata/run-iconv-test.sh: Likewise.
19126 * intl/tst-gettext.sh: Likewise.
19127 * intl/tst-gettext2.sh: Likewise.
19128 * intl/tst-gettext4.sh: Likewise.
19129 * intl/tst-gettext6.sh: Likewise.
19130 * intl/tst-translit.sh: Likewise.
19131 * io/ftwtest-sh: Likewise.
19132 * libio/test-freopen.sh: Likewise.
19133 * malloc/tst-mtrace.sh: Likewise.
19134 * posix/globtest.sh: Likewise.
19135 * posix/tst-getconf.sh: Likewise.
19136 * posix/wordexp-tst.sh: Likewise.
19137 * stdio-common/tst-printf.sh: Likewise.
19138 * stdio-common/tst-unbputc.sh: Likewise.
19139 * stdlib/tst-fmtmsg.sh: Likewise.
19140 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19141 * catgets/Makefile: Do not specify -e option when running
19142 testsuite shell scripts.
19143 * elf/Makefile: Likewise.
19144 * grp/Makefile: Likewise.
19145 * iconvdata/Makefile: Likewise.
19146 * intl/Makefile: Likewise.
19147 * io/Makefile: Likewise.
19148 * libio/Makefile: Likewise.
19149 * malloc/Makefile: Likewise.
19150 * posix/Makefile: Likewise.
19151 * stdio-common/Makefile: Likewise.
19152 * stdlib/Makefile: Likewise.
19153 * sysdeps/x86_64/Makefile: Likewise.
19154
9a9028b1
DL
19155 * io/ftwtest-sh: Add copyright header.
19156 * posix/globtest.sh: Likewise.
19157 * posix/tst-getconf.sh: Likewise.
19158 * posix/wordexp-tst.sh: Likewise.
19159 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19160
ced6f16e
L
191612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19162
94b32c39
L
19163 [BZ #13679]
19164 * Makeconfig (+link): Defined as $(+link-static) if
19165 $(build-shared) isn't yes.
19166 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19167 isn't yes.
19168 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19169
189e935b
L
19170 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19171
ced6f16e
L
19172 [BZ #14562]
19173 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19174 new chunk size with MALLOC_ALIGN_MASK.
19175
a9f8e53a
JM
191762012-09-24 Joseph Myers <joseph@codesourcery.com>
19177
19178 [BZ #5044]
19179 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19180 <rounding-mode.h>.
19181 (__printf_fphex): Determine rounding using get_rounding_mode and
19182 round_away.
19183 * stdio-common/tst-printf-round.c (struct hex_test): New
19184 structure.
19185 (hex_tests): New variable.
19186 (test_hex_in_one_mode): New function.
19187 (do_test): Also run tests for hex float output.
19188
43153109
JM
191892012-09-21 Joseph Myers <joseph@codesourcery.com>
19190
19191 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19192 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19193 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19194 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19195 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19196 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19197 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19198 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19199
8a26625d
JM
192002012-09-20 Joseph Myers <joseph@codesourcery.com>
19201
19202 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19203 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19204 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19205 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19206
f3fd569c
DL
192072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19208
19209 [BZ #14579]
19210 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19211 mode only.
19212 * elf/tst-rtld-load-self.sh: New test.
19213 * elf/Makefile: Run it.
19214
63bbedd4
JM
192152012-09-18 Joseph Myers <joseph@codesourcery.com>
19216
19217 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19218 (tst-writev-ENV): Remove.
19219 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19220
626f8b6a
CM
192212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19222
19223 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19224
b7aaa4d6
JM
192252012-09-17 Joseph Myers <joseph@codesourcery.com>
19226
19227 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19228 unconditional.
19229 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19230 Likewise.
19231 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19232 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19233 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19234 Likewise.
19235
65513990
L
192362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19237
19238 [BZ #14587]
19239 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19240 * config.make.in (have-cpp-asm-debuginfo): Removed.
19241 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19242 * configure: Regenerated.
19243
784761be
JM
192442012-09-14 Joseph Myers <joseph@codesourcery.com>
19245
19246 [BZ #5044]
19247 * stdio-common/printf_fp.c: Include <stdbool.h> and
19248 <rounding-mode.h>.
19249 (___printf_fp): Determine rounding using get_rounding_mode and
19250 round_away.
19251 * stdio-common/tst-printf-round.c: New file.
19252 * stdio-common/Makefile (tests): Add tst-printf-round.
19253 (link-libm): New variable.
19254 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19255
9503345f
L
192562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19257
19258 [BZ #14576]
19259 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19260 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19261 Likewise.
19262 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19263 Likewise.
19264
ad35fc00
JM
192652012-09-13 Joseph Myers <joseph@codesourcery.com>
19266
19267 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19268 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19269 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19271
6c9b0f68
JM
192722012-09-12 Joseph Myers <joseph@codesourcery.com>
19273
19274 [BZ #14518]
19275 * include/rounding-mode.h: New file.
19276 * sysdeps/generic/get-rounding-mode.h: Likewise.
19277 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19278 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19279 (MAX_VALUE): New macro.
19280 (MIN_VALUE): Likewise.
19281 (overflow_value): New function.
19282 (underflow_value): Likewise.
19283 (round_and_return): Use overflow_value and underflow_value to
19284 determine return values in overflow and underflow cases. Use
19285 round_away to determine rounding depending on rounding mode.
19286 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19287 determine return values in overflow and underflow cases.
19288 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19289 (struct test_results): New structure.
19290 (struct test): Use struct test_results to store expected results
19291 for all rounding modes.
19292 (TEST): Include expected results for all rounding modes.
19293 (test_in_one_mode): New function.
19294 (do_test): Use test_in_one_mode to compute and check results.
19295 Check results for all rounding modes.
19296 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19297 $(link-libm).
19298
19fcedd5
AM
192992012-12-09 Allan McRae <allan@archlinux.org>
19300
1e9d84cd 19301 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19302
8bbfd2f1
JM
193032012-09-11 Joseph Myers <joseph@codesourcery.com>
19304
19305 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19306 (_G_int32_t): Likewise.
19307 (_G_uint16_t): Likewise.
19308 (_G_uint32_t): Likewise.
19309 (_G_HAVE_BOOL): Likewise.
19310 (_G_HAVE_ATEXIT): Likewise.
19311 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19312 (_G_HAVE_IO_FILE_OPEN): Likewise.
19313 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19314 (_G_int32_t): Likewise.
19315 (_G_uint16_t): Likewise.
19316 (_G_uint32_t): Likewise.
19317 (_G_HAVE_BOOL): Likewise.
19318 (_G_HAVE_ATEXIT): Likewise.
19319 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19320 (_G_HAVE_IO_FILE_OPEN): Likewise.
19321 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19322 (_G_int32_t): Likewise.
19323 (_G_uint16_t): Likewise.
19324 (_G_uint32_t): Likewise.
19325 (_G_HAVE_BOOL): Likewise.
19326 (_G_HAVE_ATEXIT): Likewise.
19327 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19328 (_G_HAVE_IO_FILE_OPEN): Likewise.
19329
b1dc5912
L
193302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 * csu/libc-tls.c: Update copyright years.
19333
0e886ef9
JM
193342012-09-10 Joseph Myers <joseph@codesourcery.com>
19335
28361c5e
JM
19336 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19337 [!_G_USING_THUNKS]: Remove conditional code.
19338 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19339 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19340
0e886ef9
JM
19341 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19342 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19343 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19344 (_G_VTABLE_LABEL_PREFIX): Likewise.
19345 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19346 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19347 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19348 (_G_VTABLE_LABEL_PREFIX): Likewise.
19349 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19350 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19351 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19352 (_G_VTABLE_LABEL_PREFIX): Likewise.
19353 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19354
bcba7aa2
L
193552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19356
19357 * libio/Makefile: Include ../Makeconfig before tests.
19358 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19359 only if $(build-shared) is yes.
19360
06585ee8
L
19361 * iconv/gconv_db.c: Update copyright years.
19362
80ccd52c
LD
193632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19364
19365 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19366 unwind info if defined PIC. Fix special cases description.
19367 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19368
19369 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19370 DP_HI_MASK entry.
19371 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19372
691bc9c1
L
193732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19374
3d9b46b3
L
19375 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19376
de2139a9
L
19377 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19378 is NULL.
19379
5ca78dd0
L
19380 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19381 (LDLIBS-tst-chk4): This.
19382 (LDFLAGS-tst-chk5): Renamed to ...
19383 (LDLIBS-tst-chk5): This.
19384 (LDFLAGS-tst-chk6): Renamed to ...
19385 (LDLIBS-tst-chk6): This.
19386 (LDFLAGS-tst-lfschk4): Renamed to ...
19387 (LDLIBS-tst-lfschk4): This.
19388 (LDFLAGS-tst-lfschk5): Renamed to ...
19389 (LDLIBS-tst-lfschk5): This.
19390 (LDFLAGS-tst-lfschk6): Renamed to ...
19391 (LDLIBS-tst-lfschk6): This.
19392
691bc9c1
L
19393 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19394 on $(common-objpfx)soversions.mk.
19395
65cafb1c
JM
193962012-09-07 Joseph Myers <joseph@codesourcery.com>
19397
19398 [BZ #10014]
19399 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19400 example host name.
19401
c78ab094
SP
194022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19403
19404 * malloc/arena.c (arena_get_retry): New function that gets
19405 another arena for the caller to try its request on.
19406 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19407 current arena cannot fulfill the request.
19408 (__libc_memalign): Likewise.
19409 (__libc_memalign): Likewise.
19410 (__libc_pvalloc): Likewise.
19411 (__libc_calloc): Likewise.
19412
01f49f59
JT
194132012-09-05 John Tobey <john.tobey@gmail.com>
19414
19415 [BZ #13542]
19416 * manual/arith.texi (Operations on Complex): Fix description
19417 of carg branch cut.
19418
4c23fed5
JM
194192012-09-06 Joseph Myers <joseph@codesourcery.com>
19420
1d3c8572
JM
19421 [BZ #10014]
19422 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19423 host name.
19424
4c23fed5
JM
19425 [BZ #10038]
19426 * manual/memory.texi (Memory): Make order of menu items match
19427 order of sections.
19428
04570aaa
L
194292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19430
19431 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19432 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19433 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19434
b80af2f4
L
194352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19436
19437 * csu/libc-tls.c (static_dtv): Renamed to ...
19438 (_dl_static_dtv): This. Make it global.
19439 (_dl_initial_dtv): Removed.
19440 (__libc_setup_tls): Updated.
19441 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19442 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19443 DL_INITIAL_DTV.
19444
2abe9f15
PM
194452012-09-06 Petr Machata <pmachata@redhat.com>
19446
19447 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19448 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19449 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19450 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19451
0948c3af
L
194522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19453
19454 [BZ #14545]
19455 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19456 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19457 freeing dtv[-1].
19458
a5055ad1
L
194592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19460
19461 [BZ #14544]
19462 * Makeconfig (link-static-before-libc): Replace $(+prector)
19463 with $(+prectorT).
19464 (link-static-after-libc): Replace $(+postctor) with
19465 $(+postctorT).
19466 (link-bounded): Replace $(+prector)/$(+postctor) with
19467 $(+prectorT)/$(+postctorT).
19468 (+prectorT): New macro.
19469 (+postctorT): Likewise.
19470
ed8c2ecd
JM
194712012-09-06 Joseph Myers <joseph@codesourcery.com>
19472
19473 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19474 (round_str): Handle values above the maximum for IBM long double
19475 as inexact.
19476 * stdlib/tst-strtod-round.c (tests): Regenerated.
19477
14c996c8
AK
194782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19479
19480 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19481 assembler flag.
19482 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19483 zarch_nohighgprs around the zarch optimized routines.
19484 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19485 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19487 for zarch.
19488
430d6ce6
DM
194892012-09-05 David S. Miller <davem@davemloft.net>
19490
19491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19492
ff04dda4
DM
19493 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19494 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19495 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19496 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19497 entries.
19498
24d4e01b
AO
194992012-09-05 Alexandre Oliva <aoliva@redhat.com>
19500
19501 * malloc/arena.c: Fold copyright years.
19502 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19503
61d58174
AO
195042012-09-05 Alexandre Oliva <aoliva@redhat.com>
19505
19506 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19507
20196a5e
AO
195082012-09-05 Alexandre Oliva <aoliva@redhat.com>
19509
19510 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19511
5c447383
AO
195122012-09-05 Alexandre Oliva <aoliva@redhat.com>
19513
19514 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19515 change internal state upon failure.
19516
fad64255
AO
195172012-09-05 Alexandre Oliva <aoliva@redhat.com>
19518
19519 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19520 * malloc/memusage.c (mmap): Likewise.
19521 (mmap64, mremap): Likewise. Adjust name in comment.
19522
1ffb8c90
SP
195232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19524
19525 * libio/fileops.c: Fix typos in comments.
19526 * libio/oldfileops.c: Likewise.
19527 * libio/wfileops.c: Likewise.
19528
6ef9cc37
SP
195292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
19531 [BZ #1349]
19532 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19533 (tst-malloc-usable-ENV): Set environment for test case.
19534 * malloc/hooks.c (malloc_check_get_size): New function to get
19535 requested size.
19536 * malloc/malloc.c (musable): Use malloc_check_get_size.
19537 * malloc/tst-malloc-usable.c: New test case.
19538
4d038ae3
AS
195392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19540
19541 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19542
c4e85184
AM
195432012-09-05 Allan McRae <allan@archlinux.org>
19544
b9dafc56 19545 [BZ #13966]
c4e85184
AM
19546 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19547 determine header location.
19548 * configure: Regenerated.
19549
e1343020
AS
195502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19551
19552 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19553 float format.
19554 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19555 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19556 format.
e1343020
AS
19557 (test): Regenerate.
19558
0a9f1987
DM
195592012-09-04 David S. Miller <davem@davemloft.net>
19560
19561 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19562 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19564
29237804
FW
195652012-09-04 Florian Weimer <fweimer@redhat.com>
19566
19567 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19568 failures.
19569
edb3cb88
FW
19570 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19571
60160d83
JM
195722012-09-04 Joseph Myers <joseph@codesourcery.com>
19573
19574 [BZ #9914]
19575 * libio/iogetdelim.c: Include <limits.h>.
19576 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19577 + len + 1 would overflow.
19578
bcd6c8dc
AJ
195792012-09-03 Andreas Jaeger <aj@suse.de>
19580
19581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19582 * sysdeps/i386/fpu/libm-test-ulps: Update.
19583
4ffffbd2
LD
195842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19585
19586 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19587 Add s_sinf-sse2, s_conf-sse2.
19588
19589 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19590 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19591 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19592 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19593
19594 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19595 for using routine as __sinf_ia32.
19596 Use macro for function declaration and weak_alias.
19597 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19598 for using routine as __cosf_ia32.
19599 Use macro for function declaration and weak_alias.
19600
19601 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19602 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19603
19604 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19605 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19607
19608 * math/libm-test.inc (cos_test): Add more test cases.
19609 (sin_test): Likewise.
19610 (sincos_test): Likewise.
19611
511fa286
AK
196122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19613
19614 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19615 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19616 hidden.
19617 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19618
5f30cfec
L
196192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19620
19621 [BZ #14538]
19622 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19623 first element of the GOT.
19624 (elf_machine_load_address): Return the difference between
19625 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19626
0786794f
AM
196272012-09-01 Allan McRae <allan@archlinux.org>
19628
5f30cfec
L
19629 [BZ #13412]
19630 * configure.in (AWK): Require gawk version 3.0 or later.
19631 * configure: Regenerated.
0786794f 19632
26889eac
JM
196332012-09-01 Joseph Myers <joseph@codesourcery.com>
19634
19635 * sysdeps/unix/sysv/linux/kernel-features.h
19636 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19637 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19638 [__NR_clock_getres]: Make code unconditional.
19639 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19640 (clock_getcpuclockid): Remove code left unreachable by removal of
19641 conditionals.
19642 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19643 code unconditional.
19644 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19645 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19646 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19647 Make code unconditional.
19648 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19649 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19650 * sysdeps/unix/sysv/linux/clock_settime.c
19651 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19652 conditional code.
19653 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19654 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19655
d22e28b0
L
196562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19657
19658 [BZ #14476]
19659 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19660 scripts/test-installation.pl.
19661
19662 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19663 and $ld_so_version if it is set.
19664
050af9c4
SP
196652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19666
19667 [BZ #14516]
19668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19669 failure if reading from procfs failed.
19670 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19671
ad845c0b
JM
196722012-08-27 Joseph Myers <joseph@codesourcery.com>
19673
19674 * sysdeps/unix/sysv/linux/kernel-features.h
19675 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19676 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19677 Remove conditional code.
19678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19679 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19680 Remove conditional code.
19681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19682 * sysdeps/unix/sysv/linux/i386/fxstat.c
19683 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19685 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19686 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19688 * sysdeps/unix/sysv/linux/i386/lxstat.c
19689 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19691 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19692 Remove conditional code.
19693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19694 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19695 Remove conditional code.
19696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19697 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19698 <kernel-features.h>.
19699 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19700 Remove.
19701 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19702 Remove conditional code.
19703 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19704 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19705 Remove conditional.
19706
5dbf56af
MF
197072012-08-27 Mike Frysinger <vapier@gentoo.org>
19708
19709 [BZ #5400]
19710 * NEWS: Add fixed bug number.
19711
d6e70f43
JM
197122012-08-27 Joseph Myers <joseph@codesourcery.com>
19713
7efb4737
JM
19714 [BZ #14519]
19715 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19716 underflowing exponent in case of negative sign.
19717 * stdlib/tst-strtod-round-data: Add more tests.
19718 * stdlib/tst-strtod-round.c (tests): Regenerated.
19719
af92131a
JM
19720 [BZ #3479]
19721 * stdlib/strtod_l.c (NDIG): Remove.
19722 (HEXNDIG): Likewise.
19723 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19724 smallest representable value.
19725 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19726 lie within an exact representation of 1/2 ulp of the result.
19727 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19728 unconditionally.
19729 (TENS_P9_IDX): Define unconditionally.
19730 (TENS_P9_SIZE): Likewise.
19731 (TENS_P10_IDX): Likewise.
19732 (TENS_P10_SIZE): Likewise.
19733 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19734 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19735 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19736 entries for 10^2^13 and 10^2^14.
19737 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19738 (TENS_P13_IDX): Define.
19739 (TENS_P13_SIZE): Likewise.
19740 (TENS_P14_IDX): Likewise.
19741 (TENS_P14_SIZE): Likewise.
19742 (_fpioconst_pow10): Change array size to
19743 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19744 unconditional.
19745 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19746 1024]: Add entries for 10^2^13 and 10^2^14.
19747 [LAST_POW10 > _LAST_POW10]: Remove #error.
19748 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19749 (_fpioconst_pow10): Change array size to
19750 FPIOCONST_POW10_ARRAY_SIZE.
19751 * stdlib/gen-fpioconst.c: New file.
19752 * stdlib/gen-tst-strtod-round.c: Likewise.
19753 * stdlib/tst-strtod-round-data: Likewise.
19754 * stdlib/tst-strtod-round.c: Likewise.
19755 * stdlib/Makefile (tests): Add tst-strtod-round.
19756
d6e70f43
JM
19757 [BZ #14459]
19758 * stdlib/strtod_l.c: Include <stdint.h>.
19759 (NDEBUG): Do not define.
19760 (round_and_return): Change EXPONENT parameter to type intmax_t.
19761 Rearrange calculations to avoid internal overflow possibilities.
19762 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19763 Rearrange calculations to avoid internal overflow possibilities.
19764 Assert that number fits inside MPNSIZE limbs.
19765 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19766 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19767 calculations and add assertions to avoid internal overflow
19768 possibilities. Add casts to avoid signed/unsigned operations.
19769 * stdlib/tst-strtod-overflow.c: New file.
19770 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19771
1f529f7d
MP
197722012-08-25 Marek Polacek <polacek@redhat.com>
19773
19774 * time/time.h: Fix some typos in comments.
19775
59a629f1
RM
197762012-08-23 Roland McGrath <roland@hack.frob.com>
19777
19778 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19779 * posix/tst-rfc3484-2.c: Likewise.
19780 * posix/tst-rfc3484-3.c: Likewise.
19781
d3bafbc9
SM
197822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19783
19784 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19785 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19786
4efcc022
JM
197872012-08-23 Joseph Myers <joseph@codesourcery.com>
19788
19789 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19790 #include of fxstatat64.c.
19791
3cc3ef96
RM
197922012-08-22 Roland McGrath <roland@hack.frob.com>
19793
f04e2132
RM
19794 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19795 * shadow/getspent_r.c: Likewise.
19796 * shadow/getspnam.c: Likewise.
19797 * shadow/getspnam_r.c: Likewise.
19798 * gshadow/getsgent.c: Likewise.
19799 * gshadow/getsgent_r.c: Likewise.
19800 * gshadow/getsgnam.c: Likewise.
19801 * gshadow/getsgnam_r.c: Likewise.
19802 * inet/getnetbyad.c: Likewise.
19803 * inet/getnetbyad_r.c: Likewise.
19804 * inet/getnetbynm.c: Likewise.
19805 * inet/getnetbynm_r.c: Likewise.
19806 * inet/getnetent.c: Likewise.
19807 * inet/getnetent_r.c: Likewise.
19808 * inet/getproto.c: Likewise.
19809 * inet/getproto_r.c: Likewise.
19810 * inet/getprtent.c: Likewise.
19811 * inet/getprtent_r.c: Likewise.
19812 * inet/getprtname.c: Likewise.
19813 * inet/getprtname_r.c: Likewise.
19814 * inet/getrpcbyname.c: Likewise.
19815 * inet/getrpcbyname_r.c: Likewise.
19816 * inet/getrpcbynumber.c: Likewise.
19817 * inet/getrpcbynumber_r.c: Likewise.
19818 * inet/getrpcent.c: Likewise.
19819 * inet/getrpcent_r.c: Likewise.
19820 * inet/getaliasent.c: Likewise.
19821 * inet/getaliasent_r.c: Likewise.
19822 * inet/getaliasname.c: Likewise.
19823 * inet/getaliasname_r.c: Likewise.
19824 * nscd/getgrgid_r.c: Likewise.
19825 * nscd/getgrnam_r.c: Likewise.
19826 * nscd/gethstbyad_r.c: Likewise.
19827 * nscd/gethstbynm3_r.c: Likewise.
19828 * nscd/getpwnam_r.c: Likewise.
19829 * nscd/getpwuid_r.c: Likewise.
19830 * nscd/getsrvbynm_r.c: Likewise.
19831 * nscd/getsrvbypt_r.c: Likewise.
19832 * nscd/gai.c: Likewise.
19833
c53d909c
RM
19834 * configure.in (build_nscd): New substituted variable, set
19835 by --disable-build-nscd and defaults to $use_nscd.
19836 * configure: Regenerated.
19837 * config.make.in (build-nscd): New substituted variable.
19838 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19839 Change conditional to require [$(build-nscd) = yes] as well.
19840 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19841
3cc3ef96
RM
19842 [BZ# 13696]
19843 * configure.in (use_nscd): New substituted variable, set by
19844 --disable-nscd. If enabled, define USE_NSCD.
19845 * configure: Regenerated.
19846 * config.h.in: Add USE_NSCD.
19847 * config.make.in (use-nscd): New substituted variable.
19848 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19849 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19850 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19851 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19852 (CFLAGS-getgrnam_r.c): Likewise.
19853 (CFLAGS-initgroups.c): Likewise.
19854 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19855 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19856 Variables removed.
19857 * inet/getnetgrent_r.c
19858 (nscd_setnetgrent): New function, broken out of ...
19859 (setnetgrent): ... here. Call it.
19860 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19861 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19862 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19863 * nscd/Makefile (routines, aux): Move definitions after include of
19864 Makeconfig. Conditionalize on [$(use-nscd) != no].
19865 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19866 Conditionalize on [USE_NSCD].
19867 (is_nscd, nscd_init_cb): Likewise.
19868 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19869 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19870 * nss/nss_db/db-init.c: Likewise.
19871 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19872 [USE_NSCD].
19873 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19874 (make_request): Use it.
19875 (cache_valid_p): New function.
19876 (__check_pf): Use it.
19877 * NEWS: Add item for --disable-nscd.
19878
07e51550
DL
198792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19880
19881 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19882 to support sed >= 4.2.1-20-ga9bf076.
19883 * configure: Regenerated.
19884
35a5b08b
RM
198852012-08-22 Roland McGrath <roland@hack.frob.com>
19886
19887 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19888 Conditionalize whole body on [IREL].
19889
8479f23a
JL
198902012-08-22 Jeff Law <law@redhat.com>
19891
19892 [BZ #14505]
19893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19894 if the family is PF_UNSPEC.
19895
48da0b21
MF
198962012-08-22 Mike Frysinger <vapier@gentoo.org>
19897
19898 * Makerules (lib-version): Rename from V.
19899 (install-lib-nosubdir): Change V to lib-version.
19900
15d0da8c
WS
199012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19902
19903 [BZ #14252]
19904 * powerpc32/power6/wcschr.c: New file.
19905 * powerpc32/power6/wcscpy.c: New file.
19906 * powerpc32/power6/wcsrchr.c: New file.
19907 * powerpc64/power6/wcschr.c: New file.
19908 * powerpc64/power6/wcscpy.c: New file.
19909 * powerpc64/power6/wcsrchr.c: New file.
19910
bcca0895
MK
199112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19912
19913 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19914 (two_way_short_needle): Use it.
5a4aaa33
RM
19915 * string/strstr.c (AVAILABLE1_USES_J): Define.
19916 * string/strcasestr.c: Likewise.
99677e57
MK
19917
19918 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19919 array references.
19920 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19921
400726de
MK
19922 [BZ #11607]
19923 * NEWS: Add an entry.
19924 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19925 define their defaults.
19926 (two_way_short_needle): Detect end-of-string on-the-fly.
19927 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19928 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19929 * string/bug-strcasestr1.c: New test.
19930 * string/Makefile: Run it.
19931
20a71f2c
MK
199322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19933
19934 [BZ #11607]
19935 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19936 the first character.
19937
21ad0558
RM
199382012-08-21 Roland McGrath <roland@hack.frob.com>
19939
19940 * csu/elf-init.c (__libc_csu_irel): Function removed.
19941 * csu/libc-start.c (apply_irel): New function.
19942 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19943
0e1d9911
JM
199442012-08-21 Joseph Myers <joseph@codesourcery.com>
19945
19946 * sysdeps/unix/sysv/linux/kernel-features.h
19947 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19948 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19949 <kernel-features.h>.
19950 [__NR_fadvise64_64]: Make code unconditional.
19951 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19952 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19953 !__NR_fadvise64_64)]: Likewise.
19954 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19955 !__NR_fadvise64_64))]: Likewise.
19956 [__NR_fadvise64]: Make code unconditional.
19957 [!__NR_fadvise64]: Remove conditional code.
19958 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19959 <kernel-features.h>.
19960 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19961 unconditional.
19962 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19963 conditional code.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19965 not include <kernel-features.h>.
19966 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19967 unconditional.
19968 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19969 conditional code.
19970 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19971 include <kernel-features.h>.
19972 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19973 unconditional.
19974 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19975 conditional code.
19976
14a50c9d
WS
199772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19978
19979 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19980 slight instruction rearrangements per scrollpipe analysis.
19981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19982
c0f4faf0
RM
199832012-08-20 Roland McGrath <roland@hack.frob.com>
19984
696da859
RM
19985 * manual/syslog.texi (syslog; vsyslog, closelog):
19986 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19987 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19988
c0f4faf0
RM
19989 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19990 DSOCAPS to match condition on defining it.
19991
348363b2
JM
199922012-08-20 Joseph Myers <joseph@codesourcery.com>
19993
a35cbf28
JM
19994 * sysdeps/unix/sysv/linux/kernel-features.h
19995 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19997 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19998 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20000 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20001 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20003 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20004 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20005
445f7ecd
JM
20006 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20007 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20008
348363b2
JM
20009 * sysdeps/unix/sysv/linux/kernel-features.h
20010 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20011 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20012 unconditional.
20013 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20014 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20015 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20016 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20017 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20018 Make code unconditional.
20019 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20020 (__mmap64) [!__NR_mmap2]: Likewise.
20021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20022 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20023 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20024 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20025 [__NR_mmap2]: Make code unconditional.
20026 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20027 (__mmap64) [!__NR_mmap2]: Likewise.
20028
bc5bc0e5
AK
200292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20030
20031 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20032
88d506de
AJ
200332012-08-18 Andreas Jaeger <aj@suse.de>
20034
20035 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20036
493387d2
MF
200372012-08-18 Mike Frysinger <vapier@gentoo.org>
20038
20039 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20040 * include/unistd.h (__have_sock_cloexec): Likewise.
20041 (__have_pipe2): Likewise.
20042 (__have_dup3): Likewise.
20043
a277af22
MF
200442012-08-18 Mike Frysinger <vapier@gentoo.org>
20045
20046 [BZ #9685]
20047 * include/unistd.h (__have_pipe2): Change define into an extern int.
20048 (__have_dup3): Likewise.
20049 * socket/have_sock_cloexec.c: Include fcntl.h.
20050 (__have_pipe2): New variable.
20051 (__have_dup3): Likewise.
20052
fdab8fd3
MF
200532012-08-17 Mike Frysinger <vapier@gentoo.org>
20054
20055 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20056
31035e80
MP
200572012-08-17 Marek Polacek <polacek@redhat.com>
20058
20059 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20060 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20061
3bd9e993
RM
200622012-08-17 Roland McGrath <roland@hack.frob.com>
20063
c91c505f
RM
20064 * configure.in: Add AC_SUBST for sysheaders.
20065 * configure: Regenerated.
20066 * config.make.in (sysheaders): New substituted variable.
20067
7c6f9d53
RM
20068 * sysdeps/unix/mkfifo.c: Moved ...
20069 * sysdeps/posix/mkfifo.c: ... here.
20070 * sysdeps/unix/mkfifoat.c: Moved ...
20071 * sysdeps/posix/mkfifoat.c: ... here.
20072
20073 * sysdeps/unix/utime.c: Moved ...
20074 * sysdeps/posix/utime.c: ... here.
20075
20076 * sysdeps/unix/time.c: Moved ...
20077 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20078 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20079 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20080
20081 * sysdeps/unix/nice.c: Moved ...
20082 * sysdeps/posix/nice.c: ... here.
20083
20084 * sysdeps/unix/alarm.c: Moved ...
20085 * sysdeps/posix/alarm.c: ... here.
20086
3bd9e993
RM
20087 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20088
d1f09384
JL
200892012-08-17 Jeff Law <law@redhat.com>
20090
20091 * intl/Makefile (codeset_mo): New variable.
20092 ($(codeset_mo)): New target.
20093 (tst-codeset.out): Depend on that. Remove explicit rule.
20094 (tst-gettext3.out, tst-gettext5.out): Likewise.
20095 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20096 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20097 * intl/tst-codeset.sh: Remove.
20098 * intl/tst-gettext3.sh: Likewise.
20099 * intl/tst-gettext5.sh: Likewise.
20100
2ae1ae5c
RM
201012012-08-17 Roland McGrath <roland@hack.frob.com>
20102
c31fdb83
RM
20103 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20104 * sysdeps/unix/syscalls.list: ... here.
20105
a0844057
RM
20106 * sysdeps/posix/getaddrinfo.c
20107 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20108 (gaiconf_init, gaiconf_reload): Use them.
20109 [!_STATBUF_ST_NSEC]
20110 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20111 Define using time_t rather than struct timespec.
20112
750c1f2a
RM
20113 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20114 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20115 Macros removed.
20116 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20117 [!NO_THREADS].
20118 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20119 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20120 Likewise.
20121
2ae1ae5c
RM
20122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20123 __libc_cleanup_push argument.
20124
e66a42f5
RM
20125 * bits/param.h: New file.
20126 * misc/sys/param.h: New file.
20127 * include/sys/param.h: New file.
20128 * misc/Makefile (headers): Add bits/param.h.
20129 * sysdeps/generic/sys/param.h: File removed.
20130 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20131 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20132 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20133 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20134
b7c08a66
RM
20135 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20136 last change.
20137
b2e1c562
RM
20138 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20139 [_IO_MTSAFE_IO].
20140 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20141 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20142 New macros.
20143
c75ccd4c
RM
20144 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20145 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20146 rather than -D_IO_MTSAFE_IO conditionally.
20147 * stdio-common/Makefile (CPPFLAGS): Likewise.
20148 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20149 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20150 Use $(libio-mtsafe).
20151 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20152 of -D_IO_MTSAFE_IO.
20153 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20154 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20155 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20156 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20157 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20158 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20159 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20160 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20161 (CFLAGS-fread_u_chk.c): Likewise.
20162 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20163 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20164 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20165 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20166 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20167 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20168 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20169 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20170 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20171
20172 * libio/Makefile: Test [$(libc-reentrant) = yes]
20173 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20174
20175 * Makeconfig
20176 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20177 * sysdeps/pthread/configure: File removed.
20178 * sysdeps/pthread/Makeconfig: New file.
20179 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20180 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20181
d9195db8
GB
201822012-08-16 Gary Benson <gbenson@redhat.com>
20183
20184 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20185 unmapping the first object in a namespace.
20186
86466cd9
RM
201872012-08-16 Roland McGrath <roland@hack.frob.com>
20188
20189 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20190 (__internal_setnetgrent): ... this. Add internal_function to
20191 definition. Add libc_hidden_def.
20192 (setnetgrent): Update caller.
20193 (internal_endnetgrent): Renamed to ...
20194 (__internal_endnetgrent): ... this. Add internal_function to
20195 definition. Add libc_hidden_def.
20196 (endnetgrent): Update caller.
20197 (internal_getnetgrent_r): Renamed to ...
20198 (__internal_getnetgrent_r): ... this. Add internal_function to
20199 definition. Add libc_hidden_def.
20200 (__getnetgrent_r): Update caller.
20201 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20202
c3c8283c
JM
202032012-08-16 Joseph Myers <joseph@codesourcery.com>
20204
20205 * stdlib/longlong.h: Update from GCC.
20206
db1ee0a8
RM
202072012-08-16 Roland McGrath <roland@hack.frob.com>
20208
20209 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20210 on _QL, which is set by umul_ppmm but never used.
20211 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20212 variables, which are set by GMP macros but never used.
20213 * stdio-common/_itowa.c (_itowa): Likewise.
20214 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20215 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20216
30f69637
CD
202172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20218
20219 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20220 struct La_sh_regs is not constant.
20221 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20222 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20223 and struct La_sparc64_regs are not constant.
20224
93a78ac4
JM
202252012-08-16 Joseph Myers <joseph@codesourcery.com>
20226
20227 * sysdeps/unix/sysv/linux/kernel-features.h
20228 (__ASSUME_POSIX_TIMERS): Remove.
20229 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20231 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20232 Make code unconditional.
20233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20234 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20235 Make code unconditional.
20236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20237 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20238 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20239 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20240 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20241 Make code unconditional.
20242 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20243 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20244 (__libc_missing_posix_timers): Remove.
20245
dd924cd7
RM
202462012-08-15 Roland McGrath <roland@hack.frob.com>
20247
4b4f2771
RM
20248 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20249 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20250
601c888b
RM
20251 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20252
176790a7
RM
20253 * elf/dl-sym.c: Include <stdlib.h>.
20254
329bc018
RM
20255 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20256 constants, which avoids warnings in 32-bit builds.
20257
e04e272d
RM
20258 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20259 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20260
952bf94a
RM
20261 * misc/lseek.c: File moved to ...
20262 * io/lseek.c: ... here.
20263
7c99b50a
RM
20264 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20265
dd924cd7
RM
20266 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20267 shifting LEN more than 31 bits at once.
20268
b3f479a8
LD
202692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20270
20271 [BZ #14195]
8c4ae0d4
RM
20272 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20273 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20274 * string/test-strncasecmp.c (check1): Renamed to...
20275 (bz12205): ...this.
20276 (bz14195): Add new testcase for two empty input strings and N > 0.
20277 (test_main): Call new testcase, adapt for renamed function.
20278
9c55864e
AJ
202792012-08-15 Andreas Jaeger <aj@suse.de>
20280
20281 [BZ #14090]
20282 * crypt/md5test2.c: New test, based on test supplied by Serge
20283 Belyshev <belyshev@depni.sinp.msu.ru>.
20284 * crypt/Makefile (xtests): Add md5test-giant..
20285 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20286
02dcb6c5
PE
202872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20288
20289 [BZ #14090]
20290 * crypt/md5.c (md5_process_block): Don't assume the buffer
20291 length is less than 2**32.
20292 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20293 length is less than 2**64.
20294
a3f95dcc
RM
202952012-08-15 Roland McGrath <roland@hack.frob.com>
20296
be75d758
RM
20297 * string/str-two-way.h: Include <sys/param.h>.
20298 (MAX): Macro removed.
20299
7312ca90
RM
20300 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20301 Move #define and #undef of memmove to just before and after
20302 including <string.h>.
20303
9a0a5486
RM
20304 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20305 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20306 and after including <string.h>. Move declarations of
20307 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20308 to before #include "string/memmove.c".
20309
67cc348d
RM
20310 * include/dirent.h: Declare __getdirentries.
20311
a3f95dcc
RM
20312 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20313 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20314
ca98e171
MF
203152012-08-14 Mike Frysinger <vapier@gentoo.org>
20316
20317 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20318 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20319 * sysdeps/i386/configure: Regenerated.
20320 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20321 STABS_CURRENT_FILE, and STABS_FUN.
20322 (END): Remove call to STABS_FUN_END.
20323 (STABS_CURRENT_FILE1): Delete.
20324 (STABS_CURRENT_FILE): Likewise.
20325 (STABS_FUN): Likewise.
20326 (STABS_FUN_END): Likewise.
20327 (STABS_FUN2): Likewise.
20328 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20329 * sysdeps/x86_64/configure: Regenerated.
20330
5908bf46
RM
203312012-08-14 Roland McGrath <roland@hack.frob.com>
20332
20333 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20334 * elf/dl-lookup.c: Likewise.
5908bf46 20335
f2c05b9e
JM
203362012-08-14 Joseph Myers <joseph@codesourcery.com>
20337
20338 * sysdeps/unix/sysv/linux/kernel-features.h
20339 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20340 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20341 unconditionally.
20342 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20343 unconditionally.
20344 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20345 condition on __ASSUME_CLONE_THREAD_FLAGS.
20346
e11f5155
AJ
203472012-08-14 Andreas Jaeger <aj@suse.de>
20348
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20350
51a9ba86
MK
203512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20352
2fdd4f78
AJ
20353 * include/atomic.h (atomic_exchange_and_add): Split into ...
20354 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20355 New atomic macros.
51a9ba86 20356
ba6cba9e
MT
203572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20358
20359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20360
42443a47
JL
203612012-08-13 Jeff Law <law@redhat.com>
20362
20363 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20364 null byte in the output string.
20365
121dce05
JM
203662012-08-10 Joseph Myers <joseph@codesourcery.com>
20367
20368 * sysdeps/unix/sysv/linux/kernel-features.h
20369 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20370 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20371 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20372 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20373 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20374 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20375 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20376
bf51f568
JL
203772012-08-09 Jeff Law <law@redhat.com>
20378
20379 [BZ #13939]
20380 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20381 When avoid_arena is set, don't retry in the that arena. Pick the
20382 next one, whatever it might be.
20383 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20384 (arena_lock): Pass in new parameter to arena_get2.
20385 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20386 arena_get2.
20387 (__libc_malloc): Unify retrying after main arena failure with
20388 __libc_memalign version.
20389 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20390
f85fa270
L
203912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20392
20393 [BZ #14166]
20394 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20395 to __redirect_strstr.
20396 (__strstr_sse42): Use typeof __redirect_strstr.
20397 (__strstr_ia32): Likewise.
20398 (__libc_strstr): New prototype.
20399 (strstr): Renamed to ...
20400 (__libc_strstr): This.
20401 (strstr): New strong alias of __libc_strstr.
20402 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20404 __redirect_time.
20405 Include <time.h>.
20406 (__libc_time): New prototype.
20407 (time_ifunc): Replace time with __libc_time.
20408 (time): New strong alias and hidden definition of __libc_time.
20409 (__GI_time): Remove strong alias.
20410 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20411 Include <stddef.h>.
20412 (memmove): Redefined to __redirect_memmove.
20413 (__memmove_sse2): Use typeof __redirect_memmove.
20414 (__memmove_ssse3): Likewise.
20415 (__memmove_ssse3_back): Likewise.
20416 (__libc_memmove): New prototype.
20417 (memmove): Renamed to ...
20418 (__libc_memmove): This.
20419 (memmove): New strong alias of __libc_memmove.
20420
33b4a91e
MS
204212012-08-08 Mark Salter <msalter@redhat.com>
20422
20423 * elf/elf.h
20424 (R_MN10300_TLS_GD): Define.
20425 (R_MN10300_TLS_LD): Likewise.
20426 (R_MN10300_TLS_LDO): Likewise.
20427 (R_MN10300_TLS_GOTIE): Likewise.
20428 (R_MN10300_TLS_IE): Likewise.
20429 (R_MN10300_TLS_LE): Likewise.
20430 (R_MN10300_TLS_DTPMOD): Likewise.
20431 (R_MN10300_TLS_DTPOFF): Likewise.
20432 (R_MN10300_TLS_TPOFF): Likewise.
20433 (R_MN10300_SYM_DIFF): Likewise.
20434 (R_MN10300_ALIGN): Likewise.
20435 (R_MN10300_NUM): Update.
20436
b36137f1
JM
204372012-08-08 Joseph Myers <joseph@codesourcery.com>
20438
20439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20440 Remove.
20441
cdd915fd
RM
204422012-08-08 Roland McGrath <roland@hack.frob.com>
20443
a2433aac
RM
20444 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20445
cdd915fd
RM
20446 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20447 sysdeps/unix -> sysdeps/posix move.
20448 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20449
bf9b740a
AM
204502012-08-07 Allan McRae <allan@archlinux.org>
20451
20452 [BZ #14303]
20453 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20454 (SUNOS_CPP): Likewise.
20455 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20456 not found.
20457 (open_input): Call CPP using execvp.
20458
93df14ee
JM
204592012-08-07 Joseph Myers <joseph@codesourcery.com>
20460
20461 * sysdeps/unix/sysv/linux/kernel-features.h
20462 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20463 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20464 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20465 (__ASSUME_WAITID_SYSCALL): Likewise.
20466 * sysdeps/unix/sysv/linux/dl-execstack.c
20467 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20468 code unconditional.
20469 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20470 conditional code.
20471 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20472 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20473 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20474 code.
20475 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20476 unconditional.
20477 [__ASSUME_WAITID_SYSCALL]: Likewise.
20478 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20479
d34689de
RM
204802012-08-07 Roland McGrath <roland@hack.frob.com>
20481
a281decc
RM
20482 * sysdeps/unix/closedir.c: Renamed to ...
20483 * sysdeps/posix/closedir.c: ... here.
20484 * sysdeps/unix/dirfd.c: Renamed to ...
20485 * sysdeps/posix/dirfd.c: ... here.
20486 * sysdeps/unix/dirstream.h: Renamed to ...
20487 * sysdeps/posix/dirstream.h: ... here.
20488 * sysdeps/unix/fdopendir.c: Renamed to ...
20489 * sysdeps/posix/fdopendir.c: ... here.
20490 * sysdeps/unix/opendir.c: Renamed to ...
20491 * sysdeps/posix/opendir.c: ... here.
20492 * sysdeps/unix/readdir.c: Renamed to ...
20493 * sysdeps/posix/readdir.c: ... here.
20494 * sysdeps/unix/readdir_r.c: Renamed to ...
20495 * sysdeps/posix/readdir_r.c: ... here.
20496 * sysdeps/unix/rewinddir.c: Renamed to ...
20497 * sysdeps/posix/rewinddir.c: ... here.
20498 * sysdeps/unix/seekdir.c: Renamed to ...
20499 * sysdeps/posix/seekdir.c: ... here.
20500 * sysdeps/unix/telldir.c: Renamed to ...
20501 * sysdeps/posix/telldir.c: ... here.
20502 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20503 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20504 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20505 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20506
22895b47
RM
20507 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20508 * bits/fcntl.h: ... here.
20509
707a53b6
RM
20510 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20511 not 0.
20512 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20513 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20514 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20515 (struct flock): Move l_start, l_len to the beginning.
20516 Use __pid_t for l_pid.
20517 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20518 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20519 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20520 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20521 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20522 [__USE_LARGEFILE64] (struct flock64): New type.
20523 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20524
f0bd3e25
RM
20525 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20526 * bits/dirent.h: ... here.
20527
d34689de
RM
20528 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20529 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20530
6dad2c06
JM
205312012-08-07 Joseph Myers <joseph@codesourcery.com>
20532
20533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20534 Change from 2.6.0 to 2.6.16.
20535 * sysdeps/unix/sysv/linux/configure: Regenerated.
20536 * sysdeps/unix/sysv/linux/kernel-features.h
20537 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20538 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20539 version.
20540 (__ASSUME_UTIMES): Likewise.
20541 (__ASSUME_CLONE_STOPPED): Remove.
20542 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20543 architectures, not kernel version.
20544 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20545 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20546 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20547 (__ASSUME_WAITID_SYSCALL): Likewise.
20548 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20549 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20550 * README: State 2.6.16 as minimum Linux kernel version. Do not
20551 refer to older versions.
20552
03af9520
RM
205532012-08-06 Roland McGrath <roland@hack.frob.com>
20554
8e49df1d
RM
20555 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20556 Define alphasort64 as an alias.
20557 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20558 Define versionsort64 as an alias.
20559 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20560 Define scandir64 as an alias.
20561 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20562 Define scandirat64 as an alias.
20563 * dirent/alphasort64.c (alphasort64):
20564 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20565 * dirent/versionsort64.c: Likewise.
20566 * dirent/scandir64.c: Likewise.
20567 * dirent/scandirat64.c: Likewise.
20568 * sysdeps/wordsize-64/alphasort.c: File removed.
20569 * sysdeps/wordsize-64/alphasort64.c: File removed.
20570 * sysdeps/wordsize-64/scandir.c: File removed.
20571 * sysdeps/wordsize-64/scandir64.c: File removed.
20572 * sysdeps/wordsize-64/scandirat.c: File removed.
20573 * sysdeps/wordsize-64/scandirat64.c: File removed.
20574 * sysdeps/wordsize-64/versionsort.c: File removed.
20575 * sysdeps/wordsize-64/versionsort64.c: File removed.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20582 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20583 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20584
20585 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20587 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20589 [defined __arch64__ || defined __sparcv9]
20590 (__INO_T_MATCHES_INO64_T): New macro.
20591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20592 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20593 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20594 * sysdeps/unix/sysv/linux/bits/dirent.h
20595 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20596 (_DIRENT_MATCHES_DIRENT64): New macro.
20597
03af9520
RM
20598 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20599 Define lockf64 as an alias.
20600 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20601 Define fseeko64 as an alias.
20602 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20603 Define ftello64 as an alias.
20604 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20605 Define _IO_fgetpos64 and fgetpos64 as aliases.
20606 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20607 Define _IO_fsetpos64 and fsetpos64 as aliases.
20608 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20609 Conditionalize body on this.
20610 * libio/fseeko64.c: Likewise.
20611 * libio/ftello64.c: Likewise.
20612 * libio/iofgetpos64.c: Likewise.
20613 * libio/iofsetpos64.c: Likewise.
20614 * sysdeps/wordsize-64/lockf.c: File removed.
20615 * sysdeps/wordsize-64/lockf64.c: File removed.
20616 * sysdeps/wordsize-64/fseeko.c: File removed.
20617 * sysdeps/wordsize-64/fseeko64.c: File removed.
20618 * sysdeps/wordsize-64/ftello.c: File removed.
20619 * sysdeps/wordsize-64/ftello64.c: File removed.
20620 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20621 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20622 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20623 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20626 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20628 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20633 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20634
20635 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20637 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20639 [defined __arch64__ || defined __sparcv9]
20640 (__OFF_T_MATCHES_OFF64_T): New macro.
20641 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20642 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20644 (__OFF_T_MATCHES_OFF64_T): New macro.
20645
c5757acd
L
206462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 * stdlib/secure-getenv.c (__secure_getenv): Replace
20649 GLIBC_2_16 with GLIBC_2_17.
20650
3a31811e
L
206512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20652
20653 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20654 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20655
faa2bccb
DM
206562012-08-03 David S. Miller <davem@davemloft.net>
20657
20658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20659
85fe1997
JM
206602012-08-03 Joseph Myers <joseph@codesourcery.com>
20661
20662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20663 Remove.
20664 (__ASSUME_CORRECT_SI_PID): Likewise.
20665 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20666 (__ASSUME_TMPFS_NAME): Likewise.
20667 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20668 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20669 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20670 (HAVE_AUX_SECURE): Make definition unconditional.
20671 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20672 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20673
4f75b7a0
RM
206742012-08-03 Roland McGrath <roland@hack.frob.com>
20675
20676 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20677 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20678 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20679 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20680 __eloop_threshold instead of SYMLOOP_MAX.
20681
20682 * sysdeps/generic/eloop-threshold.h: New file.
20683 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20684 of MAXSYMLINKS.
20685 * elf/chroot_canon.c (chroot_canon): Likewise.
20686
7aab07e4
JM
206872012-08-03 Joseph Myers <joseph@codesourcery.com>
20688
20689 [BZ #13717]
20690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20691 Change to 2.6.0 everywhere.
20692 * sysdeps/unix/sysv/linux/configure: Regenerated.
20693 * sysdeps/unix/sysv/linux/kernel-features.h
20694 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20695 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20696 kernel versions.
20697 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20698 (__ASSUME_FUTEX_REQUEUE): Remove.
20699 (__ASSUME_STATFS64): Define unconditionally.
20700 (__ASSUME_AT_SECURE): Likewise.
20701 (__ASSUME_CORRECT_SI_PID): Likewise.
20702 (__ASSUME_TGKILL): Define without depending on kernel version for
20703 i386.
20704 (__ASSUME_UTIMES): Likewise.
20705 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20706 kernel version.
20707 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20708 (__ASSUME_TMPFS_NAME): Likewise.
20709 * README: Update reference to Linux kernel versions.
20710
b67e9372
MP
207112012-08-02 Marek Polacek <polacek@redhat.com>
20712
1f529f7d 20713 [BZ# 14150]
b67e9372
MP
20714 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20715 libc_cv_asm_type_prefix with %.
20716 * configure: Regenerated.
d2441631
RM
20717 * include/libc-symbols.h: Remove comment about
20718 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20719 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20720 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20721 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20722 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20723 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20724 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20725 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20726 * elf/tst-unique2mod1.c: Likewise.
20727 * elf/tst-unique1mod2.c: Likewise.
20728 * elf/tst-unique1mod1.c: Likewise.
20729 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20730 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20731 Replace ASM_TYPE_DIRECTIVE with .type.
20732 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20733 * sysdeps/i386/sysdep.h: Likewise.
20734 * sysdeps/x86_64/sysdep.h: Likewise.
20735 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20737 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20738 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20739 * sysdeps/powerpc/powerpc32/sysdep.h:
20740 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20741 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20742 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20743 * sysdeps/i386/fpu/e_powf.S: Likewise.
20744 * sysdeps/i386/fpu/e_expl.S: Likewise.
20745 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20746 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20747 * sysdeps/i386/fpu/e_pow.S: Likewise.
20748 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20749 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20750 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20751 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20752 * sysdeps/i386/fpu/e_log2.S: Likewise.
20753 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20754 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20755 * sysdeps/i386/fpu/e_powl.S: Likewise.
20756 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20757 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20758 * sysdeps/i386/fpu/e_logl.S: Likewise.
20759 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20760 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20761 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20762 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20763 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20764 * sysdeps/i386/fpu/e_log.S: Likewise.
20765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20766 * sysdeps/i386/fpu/e_logf.S: Likewise.
20767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20769 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20770 * sysdeps/i386/fpu/e_log10.S: Likewise.
20771 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20772 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20773 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20774 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20775 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20776 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20777 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20778 * sysdeps/i386/i686/strtok.S: Likewise.
20779 * sysdeps/i386/i386-mcount.S: Likewise.
20780 * sysdeps/i386/strtok.S: Likewise.
20781 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20782 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20783 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20784 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20785 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20786 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20787 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20788 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20789 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20790 * sysdeps/x86_64/_mcount.S: Likewise.
20791 * sysdeps/x86_64/strtok.S: Likewise.
20792 * sysdeps/sh/_mcount.S: Likewise.
20793
2747bf9a
RM
207942012-08-01 Roland McGrath <roland@hack.frob.com>
20795
20796 * libio/iofopen.c: Include <fcntl.h>.
20797 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20798 (_IO_fopen64, fopen64): Define as aliases.
20799 * libio/iofopen64.c: Include <fcntl.h>.
20800 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20801 Conditionalize body on this.
20802 * sysdeps/wordsize-64/iofopen.c: File removed.
20803 * sysdeps/wordsize-64/iofopen64.c: File removed.
20804
3fb791b8
MP
208052012-08-01 Marek Polacek <polacek@redhat.com>
20806
20807 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20808 Use dlfcn directly instead of a variable.
20809 (binfmt-subdir): Do not define.
20810 (dlfcn): Likewise.
20811
a9f1039f
JM
208122012-08-01 Joseph Myers <joseph@codesourcery.com>
20813
23bddc06
JM
20814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20815 Remove all definitions.
20816 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20817 <kernel-features.h>.
20818 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20819 (miss_F_GETOWN_EX): Remove all definitions.
20820 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20821 macro definition.
20822 [!__ASSUME_FCNTL64]: Remove conditional code.
20823 [__ASSUME_FCNTL64]: Make code unconditional.
20824 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20825 <kernel-features.h>.
20826 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20827 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20828 (lockf64) [__NR_fcntl64]: Make code unconditional.
20829 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20830
a9f1039f
JM
20831 * sysdeps/unix/sysv/linux/kernel-features.h
20832 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20833 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20834 Make code unconditional.
20835 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20836 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20838 [__NR_vfork]: Make code unconditional.
20839 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20840 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20842 [__NR_vfork]: Make code unconditional.
20843 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20844 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20845
09c0ee5f
RM
208462012-08-01 Roland McGrath <roland@hack.frob.com>
20847
48aec5b9
RM
20848 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20849 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20850
cd97c966
RM
20851 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20852 Define mkstemp64 as an alias.
3f55550c
RM
20853 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20854 Define mkstemps64 as an alias.
cd97c966
RM
20855 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20856 Define mkostemp64 as an alias.
b8625cfc
RM
20857 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20858 Define mkostemps64 as an alias.
cd97c966
RM
20859 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20860 Conditionalize body on this.
20861 * misc/mkostemp64.c: Likewise.
b8625cfc 20862 * misc/mkostemps64.c: Likewise.
3f55550c 20863 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20864 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20865 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20866 * sysdeps/wordsize-64/mkostemp.c: File removed.
20867 * sysdeps/wordsize-64/mkstemp.c: File removed.
20868 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20869 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20870 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20871 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20872
09c0ee5f
RM
20873 [BZ #14138]
20874 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20875 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20876 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20877 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20878
20879 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20880 compat_symbol macros from <shlib-compat.h> rather than the underlying
20881 default_symbol_version and symbol_version macros, so that DEFAULT
20882 lines in shlib-versions are respected.
20883 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20884
7e66ee51
FW
208852012-08-01 Florian Weimer <fweimer@redhat.com>
20886
20887 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20888 Declare with warn_unused_result.
20889 (setgid, setregid, setegid, setresgid): Likewise.
20890 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20891 Likewise.
20892 * WUR-REPORT: Remove set*id functions.
20893
d2a54255
PT
208942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20895
20896 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20897
7ecdb005
RM
208982012-07-31 Roland McGrath <roland@hack.frob.com>
20899
b4180a5e 20900 [BZ #10191]
789bd351
RM
20901 * include/sys/socket.h (__libc_accept, __libc_accept4):
20902 Add attribute_hidden.
20903 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20904
40ce302d
RM
20905 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20906 use of PTR_MANGLE.
20907 * inet/getnetgrent_r.c (setup): Likewise.
20908
7ecdb005
RM
20909 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20910
e2eabb2c
DM
209112012-07-31 David S. Miller <davem@davemloft.net>
20912
20913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20914
d0419dbf
JM
209152012-07-31 Joseph Myers <joseph@codesourcery.com>
20916
20917 [BZ #13629]
20918 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20919 value between 1.0 and 2.0 and smaller part has absolute value less
20920 than 1.0.
20921 * math/s_clog10.c (__clog10): Likewise.
20922 * math/s_clog10f.c (__clog10f): Likewise.
20923 * math/s_clog10l.c (__clog10l): Likewise.
20924 * math/s_clogf.c (__clogf): Likewise.
20925 * math/s_clogl.c (__clogl): Likewise.
20926 * math/libm-test.inc (clog_test): Add more tests.
20927 (clog10_test): Likewise.
20928 * sysdeps/i386/fpu/libm-test-ulps: Update.
20929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930
2bc13872
FW
209312012-07-31 Florian Weimer <fweimer@redhat.com>
20932
20933 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20934 Exit with zero in case no suitable GID is found, and write a
20935 message to standard error.
20936
bea9b193
RM
209372012-07-30 Roland McGrath <roland@hack.frob.com>
20938
20939 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20940 rather than to 1.
20941 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20942 (MAXPATHLEN): Removed.
20943 (NOGROUP, NODEV): New macros.
20944 (setbit, clrbit, isset, isclr): New macros.
20945 (howmany, roundup, powerof2): New macros.
20946 (DEV_BSIZE): New macro.
20947
20948 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20949 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20950
20951 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20952 definition on [!__NO_LONG_DOUBLE_MATH].
20953
20954 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20955 PTR_MANGLE and PTR_DEMANGLE.
20956
20957 * socket/accept4.c (accept4): Rename to __libc_accept4.
20958 Define accept4 as a weak alias.
20959
20960 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20961 on [_DIRENT_HAVE_D_TYPE].
20962 * io/ftw.c (ftw_dir): Likewise.
20963
20964 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20965
20966 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20967
20968 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20969 Use the BSD numbers rather than the arbitrary ones we had.
20970 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20971 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20972 (SIGXCPU, SIGXFSZ): New macros.
20973 (_NSIG): Now 32.
20974
20975 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20976 initializer on [_LIBC_REENTRANT].
20977
20978 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20979 definitions inside [_POSIX_MAPPED_FILES].
20980
20981 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20982
20983 * dirent/opendir.c: Include <fcntl.h>.
20984
20985 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20986 (__libc_getspecific): Likewise.
20987 (__libc_key_create): Likewise.
20988
20989 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20990 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20991 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20992 (tmpfile64): Define as alias.
20993 * sysdeps/wordsize-64/tmpfile.c: File removed.
20994 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20996 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20997
20998 * stdio-common/vfscanf.c: Include <stdbool.h>.
20999 * nss/makedb.c: Likewise.
21000 * stdio-common/_i18n_number.h: Likewise.
21001 * argp/argp-help.c: Likewise.
21002 * posix/wordexp.c: Likewise.
21003 * sysdeps/posix/spawni.c: Likewise.
21004 * nss/nss_files/files-initgroups.c: Likewise.
21005 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21006 * nss/nss_files/files-initgroups.c: Likewise.
21007 * nss/nss_db/db-netgrp.c: Likewise.
21008 * nss/nss_db/db-initgroups.c: Likewise.
21009 * io/fchmodat.c: Include <sys/stat.h>.
21010
21011 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21012 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21013
21014 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21015 [HAVE_MMAP].
21016
21017 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21018 Add multiple inclusion protection.
21019
e5abc686
DM
210202012-07-27 David S. Miller <davem@davemloft.net>
21021
21022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21023
815e6fa3
GB
210242012-07-27 Gary Benson <gbenson@redhat.com>
21025
21026 [BZ #14298]
21027 * elf/rtld.c: Include <stap-probe.h>.
21028 (dl_main): Added static probes "init_start" and "init_complete".
21029 * elf/dl-load.c: Include <stap-probe.h>.
21030 (lose): Take new parameter "nsid".
21031 Added static probe "map_failed".
21032 (_dl_map_object_from_fd): Pass namespace id to lose.
21033 Added static probe "map_start".
21034 (open_verify): Pass namespace id to lose.
21035 * elf/dl-open.c: Include <stap-probe.h>.
21036 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21037 and "reloc_complete".
21038 * elf/dl-close.c: Include <stap-probe.h>.
21039 (_dl_close_worker): Added static probes "unmap_start" and
21040 "unmap_complete".
21041 * elf/rtld-debugger-interface.txt: New file documenting the above.
21042
9f98c16c
RM
210432012-07-26 Roland McGrath <roland@hack.frob.com>
21044
21045 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21046 rather than a string variable.
21047 * sunrpc/rpc_main.c (h_output): Likewise.
21048 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21049
f3c22df3
PT
210502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21051
21052 * inet/check_native.c: New file.
21053
3129cfc6
JM
210542012-07-26 Joseph Myers <joseph@codesourcery.com>
21055
da865e95
JM
21056 [BZ #13629]
21057 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21058 if larger part has absolute value 1.0.
21059 * math/s_clog10.c (__clog10): Likewise.
21060 * math/s_clog10f.c (__clog10f): Likewise.
21061 * math/s_clog10l.c (__clog10l): Likewise.
21062 * math/s_clogf.c (__clogf): Likewise.
21063 * math/s_clogl.c (__clogl): Likewise.
21064 * math/libm-test.inc (clog_test): Add more tests.
21065 (clog10_test): Likewise.
21066 * sysdeps/i386/fpu/libm-test-ulps: Update.
21067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21068
3129cfc6
JM
21069 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21070 (pltexit): Likewise.
21071 (La_regs): Likewise.
21072 (La_retval): Likewise.
21073 (int_retval): Likewise.
21074 Update #error for removed macros to refer only to definitions in
21075 tst-audit.h.
21076 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21077 macro.
21078 (pltexit): Likewise.
21079 (La_regs): Likewise.
21080 (La_retval): Likewise.
21081 (int_retval): Likewise.
21082 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21083 macro.
21084 (pltexit): Likewise.
21085 (La_regs): Likewise.
21086 (La_retval): Likewise.
21087 (int_retval): Likewise.
21088 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21089 macro.
21090 (pltexit): Likewise.
21091 (La_regs): Likewise.
21092 (La_retval): Likewise.
21093 (int_retval): Likewise.
21094 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21095 macro.
21096 (pltexit): Likewise.
21097 (La_regs): Likewise.
21098 (La_retval): Likewise.
21099 (int_retval): Likewise.
21100 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21101 macro.
21102 (pltexit): Likewise.
21103 (La_regs): Likewise.
21104 (La_retval): Likewise.
21105 (int_retval): Likewise.
21106 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21107 macro.
21108 (pltexit): Likewise.
21109 (La_regs): Likewise.
21110 (La_retval): Likewise.
21111 (int_retval): Likewise.
21112 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21113 macro definitions in tst-audit.h.
21114 * sysdeps/i386/tst-audit.h: New file.
21115 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21116 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21117 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21118 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21119 * sysdeps/sh/tst-audit.h: Likewise.
21120 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21121 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21122 * sysdeps/x86_64/tst-audit.h: Likewise.
21123
bfc07087
AJ
211242012-07-26 Andreas Jaeger <aj@suse.de>
21125
b1b2aaf8
AJ
21126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21127 ptrace.
21128
21129 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21130 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21131 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21132 PTRACE_O_MASK.
21133 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21134 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21135 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21136
bfc07087
AJ
21137 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21138 value.
21139
21140 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21141 _sigsys.
21142 (si_call_addr, si_syscall, si_arch): Define new macro.
21143 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21144 _sigsys.
21145 (si_call_addr, si_syscall, si_arch): Define new marcro.
21146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21147 _sigsys.
21148 (si_call_addr, si_syscall, si_arch): Define new macro.
21149 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21150 _sigsys.
21151 (si_call_addr, si_syscall, si_arch): Define new macro.
21152
89b4b02f
JM
211532012-07-25 Joseph Myers <joseph@codesourcery.com>
21154
21155 [BZ #13717]
21156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21157 Change to 2.4.21 where previously 2.4.1.
21158 * sysdeps/unix/sysv/linux/configure: Regenerated.
21159 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21160 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21161 Linux kernel version.
21162 (__ASSUME_STD_AUXV): Remove.
21163 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21164 kernel version.
21165 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21166 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21167 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21168 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21169 (__ASSUME_NETLINK_SUPPORT): Likewise.
21170 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21171 (__no_netlink_support): Remove conditional definition.
21172 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21173 Remove.
21174 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21175 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21176 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21177 (if_nameindex_ioctl): Remove.
21178 (if_nameindex_netlink): Do not handle __no_netlink_support.
21179 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21180 code.
21181 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21182 Remove conditional code.
21183 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21184 code.
21185 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21186 unconditional.
21187 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21188 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21189 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21190 Remove.
21191 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21192 [!__ASSUME_STD_AUXV]: Remove conditional code.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21194 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21195 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21197 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21198 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21199 code.
21200 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21202 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21203 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21204 conditional code.
21205 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21207 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21208 code.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21210 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21211 conditional code.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21213 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21214 code unconditional.
21215 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21216 conditional code.
21217 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21218 unconditional.
21219 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21220 conditional code.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21222 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21223 unconditional.
21224 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21225 conditional code.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21227 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21228 code unconditional.
21229 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21230 conditional code.
21231 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21232 unconditional.
21233 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21234 conditional code.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21236 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21237 code unconditional.
21238 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21239 conditional code.
21240 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21241 unconditional.
21242 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21243 conditional code.
21244
842a39cd
AS
212452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21246
21247 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21248 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21249 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21250 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21251 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21252 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21253 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21254 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21255 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21256 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21257 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21258 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21259 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21260 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21264 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21265 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21267 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21268 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21270
84b3fd84
FW
212712012-07-25 Florian Weimer <fweimer@redhat.com>
21272
21273 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21274 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21275 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21276 Introduce __libc_secure_getenv.
0c7936d5
FW
21277 * stdlib/Versions (2.17): Add secure_getenv
21278 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21279 * stdlib/secure-getenv.c: Rename __secure_getenv to
21280 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21281 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21282 * stdlib/tst-secure-getenv.c: New.
21283 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21284 * manual/startup.texi (Environment Access): Document
21285 secure_getenv.
84b3fd84
FW
21286 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21287 __libc_secure_getenv.
21288 * inet/ruserpass.c (ruserpass): Likewise.
21289 * malloc/mtrace.c (mtrace): Likewise.
21290 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21291 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21292 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21293 * sysdeps/posix/tempname.c: Likewise. Evaluate
21294 HAVE_SECURE_GETENV.
21295 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21296 __secure_getenv to __libc_secure_getenv.
84b3fd84 21297 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21299 Likewise.
21300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21301 Likewise.
21302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21309
56e49b71
JM
213102012-07-25 Joseph Myers <joseph@codesourcery.com>
21311
21312 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21313 (struct La_i86_retval): Likewise.
21314 (struct La_x86_64_regs): Likewise.
21315 (struct La_x86_64_retval): Likewise.
21316 (struct La_x32_regs): Likewise.
21317 (struct La_x32_retval): Likewise.
21318 (struct La_ppc32_regs): Likewise.
21319 (struct La_ppc32_retval): Likewise.
21320 (struct La_ppc64_regs): Likewise.
21321 (struct La_ppc64_retval): Likewise.
21322 (struct La_sh_regs): Likewise.
21323 (struct La_sh_retval): Likewise.
21324 (struct La_s390_32_regs): Likewise.
21325 (struct La_s390_32_retval): Likewise.
21326 (struct La_s390_64_regs): Likewise.
21327 (struct La_s390_64_retval): Likewise.
21328 (struct La_sparc32_regs): Likewise.
21329 (struct La_sparc32_retval): Likewise.
21330 (struct La_sparc64_regs): Likewise.
21331 (struct La_sparc64_retval): Likewise.
21332 (struct audit_ifaces): Remove architecture-specific pltenter and
21333 pltexit members.
21334 * sysdeps/i386/ldsodefs.h: New file.
21335 * sysdeps/powerpc/ldsodefs.h: Likewise.
21336 * sysdeps/s390/ldsodefs.h: Likewise.
21337 * sysdeps/sh/ldsodefs.h: Likewise.
21338 * sysdeps/sparc/ldsodefs.h: Likewise.
21339 * sysdeps/x86_64/ldsodefs.h: Likewise.
21340
354691b7
MP
213412012-07-25 Marek Polacek <polacek@redhat.com>
21342
21343 [BZ #6808]
21344 * math/libm-test.inc (yn_test): Add another test.
21345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21346 to ERANGE when the result is +-Inf.
21347 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21348 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21349 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21350 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21351
bf9e2071
JM
213522012-07-24 Joseph Myers <joseph@codesourcery.com>
21353
21354 * conform/data/time.h-data (NULL): Use macro-constant. Require
21355 equal to 0.
21356 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21357 clock_t.
21358 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21359
57633811
TS
213602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21361
21362 * configure.in <sysdeps resolving>: Correct printing
21363 Implies_before.
21364 * configure: Regenerate.
21365
c23c33b0
TS
213662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21367
21368 * math/w_ilogb.c: Include <limits.h>.
21369 * math/w_ilogbl.c: Likewise.
21370
b5982523
JM
213712012-07-20 Joseph Myers <joseph@codesourcery.com>
21372
21373 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21374 va_copy. Document allowing for unavailable va_copy only as
21375 pre-C99 compatibility.
21376 * manual/string.texi (Copying and Concatenation): Use va_copy
21377 instead of __va_copy in concat example.
21378
ac4ea442
PT
213792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21380
21381 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21382 (__sendto): Use create_address_port. Initialize APORT and deallocate
21383 it if not null.
21384
f98eafbd
PT
21385 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21386 with O_NOLINK passed to __file_name_lookup.
21387
898c7aab
PT
21388 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21389 with O_NOLINK passed to __file_name_lookup.
21390
0ced335a
PT
21391 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21392 negative N or less than NGIDS.
21393
b3404dbd
PT
21394 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21395 type to string_t. Set ERANGE as errno and return it if NAME is not big
21396 enough. Use memcpy instead of strncpy.
21397
0f48659e
JM
213982012-07-20 Joseph Myers <joseph@codesourcery.com>
21399
21400 * elf/Makefile (check-data): Remove.
21401 (localplt.data): New vpath directive.
21402 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21403 instead of $(check-data).
21404 * scripts/data/localplt-generic.data: Move to ...
21405 * sysdeps/generic/localplt.data: ... here.
21406 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21407 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21408 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21410 ... here.
21411 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21413 ... here.
21414 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21416 ... here.
21417 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21419 ... here.
21420 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21422 ... here.
21423 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21425 ... here.
21426
d37cbdaa
AZ
214272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428
21429 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21430 PPC32 and PPC64 files.
21431 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21432 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21433
46f85fc2
AK
214342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21435
21436 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21437 __makecontext_ret to ...
21438 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21439 ... here and call exit if uc_link is NULL. New file.
21440 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21441 __makecontext_ret.S.
21442 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21443 __makecontext_ret to ...
21444 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21445 ... here and call exit if uc_link is NULL. New file.
21446 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21447 __makecontext_ret.S.
21448
08f43f9b
AK
214492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21450
21451 * elf/elf.h (R_390_IRELATIVE): New definition.
21452 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21453 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21454 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21455 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21456 (elf_machine_lazy_rel): Likewise.
21457 * sysdeps/s390/dl-irel.h: New file.
21458 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21459 * sysdeps/s390/s390-64/memset.S: New asm code.
21460 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21461 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21462 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21463 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21464 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21465 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21466 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21467 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21468 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21469 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21470 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21471 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21472 * sysdeps/s390/s390-32/memset.S: New asm code.
21473 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21474
3b05db33
MP
214752012-07-17 Marek Polacek <polacek@redhat.com>
21476
21477 [BZ #14349]
21478 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21479 * sysdeps/s390/s390-64/configure.in: Likewise.
21480 * sysdeps/sparc/configure.in: Likewise.
21481 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21482 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21483 * sysdeps/i386/configure.in: Likewise.
21484 * sysdeps/x86_64/configure.in: Likewise.
21485 * sysdeps/sh/configure.in: Likewise.
21486 * sysdeps/s390/s390-32/configure: Regenerated.
21487 * sysdeps/s390/s390-64/configure: Likewise.
21488 * sysdeps/x86_64/configure: Likewise.
21489 * sysdeps/sh/configure: Likewise.
21490 * sysdeps/powerpc/powerpc64/configure: Likewise.
21491 * sysdeps/powerpc/powerpc32/configure: Likewise.
21492 * sysdeps/sparc/configure: Likwise.
21493 * sysdeps/i386/configure: Likewise.
21494
a66877c6
MP
21495 * elf/dl-open.c: Comment fixes.
21496
cfc82fd8
JM
214972012-07-17 Joseph Myers <joseph@codesourcery.com>
21498
bd29910a
JM
21499 * Makefile [CXX] (check-data): Remove.
21500 [CXX] (c++-types.data): New vpath directive.
21501 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21502 vpath. Do not allow for C++ type data being missing.
21503 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21504 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21505 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21506 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21507 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21508 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21509 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21511 ... here.
21512 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21514 ... here.
21515 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21517 ... here.
21518 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21520 ... here.
21521 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21523 ... here.
21524 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21526 ... here.
21527 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21529 ... here.
21530 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21532
cfc82fd8
JM
21533 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21534 definitions to architecture-specific files.
21535 (TLS_IE): Likewise.
21536 (TLS_LD): Likewise.
21537 (TLS_GD): Likewise.
21538 * sysdeps/i386/tls-macros.h: New file.
21539 * sysdeps/powerpc/tls-macros.h: Likewise.
21540 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21541 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21542 * sysdeps/sh/tls-macros.h: Likewise.
21543 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21544 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21545 * sysdeps/x86_64/tls-macros.h: Likewise.
21546
f7db3170
TS
215472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21548
07cbfc23
TS
21549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21550 zero value for regular exit case.
21551
f7db3170
TS
21552 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21553 (__start_context): Preserve zero value for regular exit case.
21554
dc97c227
TS
215552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21556 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21557
21558 * manual/setjmp.texi (setcontext): Clarify normal process
21559 termination when uc_link is the null pointer.
21560 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21561 exit call.
21562
d0cd7d02
AS
215632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21564
21565 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21566 preprocessor. Test for each exception mask separately.
21567
dd318934
AJ
215682012-07-16 Andreas Jaeger <aj@suse.de>
21569
21570 * po/ru.po: Update from translation team.
21571
8048311a
JM
215722012-07-15 Joseph Myers <joseph@codesourcery.com>
21573
21574 * conform/data/string.h-data (NULL): Use macro-constant. Require
21575 equal to 0.
21576 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21577 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21578 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21579 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21581
b637d46e
AJ
215822012-07-13 Andreas Jaeger <aj@suse.de>
21583
21584 * po/fr.po: Update from translation team.
21585
541428fe
MP
215862012-07-12 Marek Polacek <polacek@redhat.com>
21587
21588 [BZ #14173]
21589 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21590 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21591 loop condition.
21592
ec332e94
JM
215932012-07-12 Joseph Myers <joseph@codesourcery.com>
21594
21595 [BZ #13717]
21596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21597 Change to 2.4.1 where previously 2.4.0.
21598 * sysdeps/unix/sysv/linux/configure: Regenerated.
21599 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21600 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21601 version.
21602 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21603 (__ASSUME_AT_CLKTCK): Remove.
21604 (__ASSUME_AT_PAGESIZE): Likewise.
21605 (__ASSUME_AT_XID): Likewise.
21606 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21607 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21608 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21609 unconditionally.
21610 (HAVE_AUX_PAGESIZE): Likewise.
21611 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21612 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21613 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21614
7b6e99be
JB
216152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21616
21617 [BZ #14307]
21618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21619 the temporary buffer used to invoke __gethostbyname2_r,
21620 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21621 host_data / struct gaih_addrtuple.
21622 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21623 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21624 header file nss/nsswitch.h.
21625 * nss/nsswitch.h (global scope): Add definition of implementation
21626 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21627 resolv/nss_dns/dns-host.c).
21628
608404eb
AJ
216292012-07-11 Andreas Jaeger <aj@suse.de>
21630
21631 * po/fr.po: Update from translation team.
21632
71220aca
AJ
21633 * po/sv.po: Update from translation team
21634 * po/fr.po: Another update from translation team.
21635
28cfe843
AZ
216362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21637
21638 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21639 for subnormals or multiply small sinh result by itself.
21640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21642
6b90f981
DM
216432012-07-11 David S. Miller <davem@davemloft.net>
21644
21645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21646
c6825772
AS
216472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21648
21649 [BZ #14347]
21650 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21651 (INTERNAL_MARK): Shift it here.
21652
7b8e0d49
MP
216532012-07-10 Marek Polacek <polacek@redhat.com>
21654
21655 [BZ #14151]
21656 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21657 libc_cv_asm_global_directive with .globl.
21658 * configure: Regenerated.
21659 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21660 with .globl.
21661 * sysdeps/i386/configure: Regenerated.
21662 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21663 with .globl.
21664 * sysdeps/x86_64/configure: Regenerated.
21665 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21666 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21667 * elf/tst-unique2mod2.c: Likewise.
21668 * elf/tst-unique2mod1.c: Likewise.
21669 * elf/tst-unique1mod2.c: Likewise.
21670 * elf/tst-unique1mod1.c: Likewise.
21671 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21672 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21673 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21674 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21675 * sysdeps/mach/sysdep.h: Likewise.
21676 * sysdeps/i386/sysdep.h: Likewise.
21677 * sysdeps/i386/i386-mcount.S: Likewise.
21678 * sysdeps/x86_64/_mcount.S: Likewise.
21679 * sysdeps/x86_64/sysdep.h: Likewise.
21680 * sysdeps/sh/_mcount.S: Likewise.
21681 * sysdeps/sh/sysdep.h: Likewise.
21682 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21683 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21684 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21685 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21686 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21687 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21688 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21689 * locale/localeinfo.h: Likewise.
21690 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21691 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21692
6c55cda3
RM
216932012-07-09 Roland McGrath <roland@hack.frob.com>
21694
21695 [BZ #14336]
21696 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21697 system".
21698 * manual/message.texi (The Uniforum approach): Likewise.
21699 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21700 (glibc iconv Implementation): Likewise.
21701
638a572e
JM
217022012-07-09 Joseph Myers <joseph@codesourcery.com>
21703
21704 [BZ #14337]
21705 * math/s_clog.c (__clog): Avoid scaling a value down where that
21706 could result in underflow.
21707 * math/s_clog10.c (__clog10): Likewise.
21708 * math/s_clog10f.c (__clog10f): Likewise.
21709 * math/s_clog10l.c (__clog10l): Likewise.
21710 * math/s_clogf.c (__clogf): Likewise.
21711 * math/s_clogl.c (__clogl): Likewise.
21712 * math/libm-test.inc (clog_test): Add more tests.
21713 (clog10_test): Likewise.
21714 * sysdeps/i386/fpu/libm-test-ulps: Update.
21715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21716
261f4859
AS
217172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21718
0abaf3e4
AS
21719 [BZ #14283]
21720 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21721 by 7 not 8 to examine high bit of fractional part.
21722
261f4859
AS
21723 [BZ #14042]
21724 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21725 for call to __mcount_internal.
21726 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21727 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21728 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21729
f17ac40d
JM
217302012-07-06 Joseph Myers <joseph@codesourcery.com>
21731
9ad63c23
JM
21732 [BZ #14154]
21733 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21734 approximation for values within 0x1p-13f of an odd multiple of
21735 pi/4.
21736 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21737 exception. Add more tests.
21738 * sysdeps/i386/fpu/libm-test-ulps: Update.
21739
f17ac40d
JM
21740 [BZ #6778]
21741 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21742 inputs and return -1 for them. Do not check for +Inf in case not
21743 reachable for +Inf.
21744 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21745 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21746 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21747 and return -1 for them. Do not check for +Inf in case not
21748 reachable for +Inf.
21749 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21750 define.
21751 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21752 and return -1 for them. Do not check for +Inf in case not
21753 reachable for +Inf.
21754 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21755 spurious underflow.
21756 * sysdeps/i386/fpu/libm-test-ulps: Update.
21757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21758
fb21f89b
MF
217592012-07-06 Mike Frysinger <vapier@gentoo.org>
21760
21761 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21762
cdfe2c5e
JM
217632012-07-05 Joseph Myers <joseph@codesourcery.com>
21764
21765 [BZ #14157]
21766 [BZ #14331]
21767 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21768 could result in spurious underflow. Scale down values above
21769 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21770 * math/s_csqrtf.c (__csqrtf): Likewise.
21771 * math/s_csqrtl.c (__csqrtl): Likewise.
21772 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21773 spurious underflow.
21774 * sysdeps/i386/fpu/libm-test-ulps: Update.
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21776
70d35b67
AS
217772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21778
704bc459
AS
21779 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21780 xopen-msg.sed.
21781 * catgets/xopen-msg.awk: New file.
21782 * catgets/xopen-msg.sed: Removed.
21783
70d35b67
AS
21784 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21785 po2text.sed.
21786 * intl/po2test.awk: New file.
21787 * intl/po2test.sed: Removed.
21788
ca61cf32
JM
217892012-07-04 Joseph Myers <joseph@codesourcery.com>
21790
21791 [BZ #14328]
21792 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21793 or multiply small sinh result by itself.
21794 * math/s_ctanf.c (__ctanf): Likewise.
21795 * math/s_ctanh.c (__ctanh): Likewise.
21796 * math/s_ctanhf.c (__ctanhf): Likewise.
21797 * math/s_ctanhl.c (__ctanhl): Likewise.
21798 * math/s_ctanl.c (__ctanl): Likewise.
21799 * math/libm-test.inc (ctan_test_tonearest): New function.
21800 (ctan_test_towardzero): Likewise.
21801 (ctan_test_downward): Likewise.
21802 (ctan_test_upward): Likewise.
21803 (ctanh_test_tonearest): Likewise.
21804 (ctanh_test_towardzero): Likewise.
21805 (ctanh_test_downward): Likewise.
21806 (ctanh_test_upward): Likewise.
21807 (main): Call these new functions.
21808 * sysdeps/i386/fpu/libm-test-ulps: Update.
21809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21810
ca48a46a
MF
218112012-07-03 Mike Frysinger <vapier@gentoo.org>
21812
21813 * .gitignore: Delete /ports entry.
21814
9d63d37d
AJ
218152012-07-03 Andreas Jaeger <aj@suse.de>
21816
21817 * po/bg.po: Update from translation team.
21818 * po/cs.po: Likewise.
21819 * po/de.po: Likewise.
21820 * po/hr.po: Likewise.
21821 * po/nl.pl: Likewise.
21822 * po/pl.po: Likewise.
21823 * po/vi.po: Likewise.
21824
370ca3d2
JM
218252012-07-03 Joseph Myers <joseph@codesourcery.com>
21826
95f5a9a8
JM
21827 * Makeconfig [!+link] (+link-before-libc): New variable.
21828 [!+link] (+link-after-libc): Likewise.
21829 [!+link] (+link-tests): Likewise.
21830 [!+link] (+link): Define in terms of $(+link-before-libc) and
21831 $(+link-after-libc).
21832 [!+link-static] (+link-static-before-libc): New variable.
21833 [!+link-static] (+link-static-after-libc): Likewise.
21834 [!+link-static] (+link-static-tests): Likewise.
21835 [!+link-static] (+link-static): Define in terms of
21836 $(+link-static-before-libc) and $(+link-static-after-libc).
21837 [build-shared] (link-libc-before-gnulib): New variable.
21838 [build-shared] (link-libc-tests): Likewise.
21839 [build-shared] (link-libc): Define in terms of
21840 $(link-libc-before-gnulib).
21841 [!build-shared] (link-libc-tests): New variable.
21842 (link-libc-static-tests): New variable.
21843 [!gnulib] (gnulib-arch): New variable.
21844 [!gnulib] (gnulib-tests): Likewise.
21845 [!gnulib] (static-gnulib-arch): Likewise.
21846 [!gnulib] (static-gnulib-tests): Likewise.
21847 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21848 Define with "=" instead of ":=".
21849 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21850 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21851 * Rules (binaries-all-notests): New variable.
21852 (binaries-all-tests): Likewise.
21853 (binaries-static-notests): Likewise.
21854 (binaries-static-tests): Likewise.
21855 (binaries-all): Define using $(binaries-all-notests) and
21856 $(binaries-all-tests).
21857 (binaries-static): Define using $(binaries-static-notests) and
21858 $(binaries-static-tests).
21859 (binaries-shared-tests): New variable.
21860 (binaries-shared-notests): Likewise.
21861 (binaries-shared): Remove variable.
21862 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21863 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21864 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21865 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21866 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21867 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21868 * elf/Makefile (sln-modules): New variable.
21869 (extra-objs): Add $(sln-modules:=.o).
21870 (ldconfig-modules): Add static-stubs.
21871 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21872 * elf/static-stubs.c: New file.
21873
7a845b2c
JM
21874 [BZ #14283]
21875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21876 by 7 not 8 to examine high bit of fractional part. Use volatile
21877 variables when splitting into final array of floats if
21878 __FLT_EVAL_METHOD__ != 0.
21879 * math/libm-test.inc (cos_test): Add another test.
21880 (sin_test): Likewise.
21881 * sysdeps/i386/fpu/libm-test-ulps: Update.
21882
e2283f38
JM
21883 [BZ #14273]
21884 * math/libm-test.inc (cosh_test): Add more tests.
21885
370ca3d2
JM
21886 * version.h (RELEASE): Set to "development".
21887 (VERSION): Set to "2.16.90".
21888
ee9247c3
CD
218892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21890
21891 * NEWS: Update copyright. Remove last-updated date.
21892 Mention math library bug fixes and timezone data changes.
21893 * README: Mention GNU/Hurd, x32, and HPPA support status.
21894
4648c381
TS
218952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21896
21897 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21898
aac78a43
AJ
218992012-06-27 Andreas Jaeger <aj@suse.de>
21900
21901 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21902
ed3dbfad
AJ
219032012-06-25 Andreas Jaeger <aj@suse.de>
21904
21905 * sysdeps/s390/fpu/libm-test-ulps: Update.
21906
4d0ee855
AS
219072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21908 Thomas Schwinge <thomas@codesourcery.com>
21909
21910 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21911 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21913 fanotify_mark.
21914
af1bce34
TS
219152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21916
a9fa33ba
TS
21917 * sysdeps/mach/start.c: Remove file.
21918 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21919 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21920 * sysdeps/sh/init-first.c: Likewise.
21921
58f902b8
TS
21922 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21923 registers for frame unwinding purposes, add CFI directives.
21924 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21926 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21927 Likewise.
21928
1518f58b
TS
21929 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21930 __fortify_fail returning.
21931 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21932
db9b5059
TS
21933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21934 sysdeps/sh/____longjmp_chk.S.
21935 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21936 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21937 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21938 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21939
967705fe
TS
21940 * sysdeps/sh/abort-instr.h: New file.
21941 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21942 process in case exit returns.
21943
a9def8c4
TS
21944 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21945 initialize the GOT register before use.
21946
2a649725
TS
21947 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21948 calculation of ARGC > 4.
21949
af1bce34
TS
21950 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21951 meaningful names to some local labels.
21952
d230f50a
KK
219532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21954 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21955
21956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21957 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21958 (__arch_compare_and_exchange_val_16_acq): Likewise.
21959 (__arch_compare_and_exchange_val_32_acq): Likewise.
21960 (atomic_exchange_and_add): Fix gUSA sequence.
21961 (atomic_add): Likewise.
21962 (atomic_add_negative): Likewise.
21963 (atomic_add_zero): Likewise.
21964 (atomic_bit_test_set): Likewise.
21965
0479b305
AS
219662012-06-22 Andreas Schwab <schwab@redhat.com>
21967
21968 [BZ #13579]
21969 * include/link.h (struct link_map): Add l_free_initfini.
21970 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21971 l_initfini.
21972 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21973 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21974 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21975 set.
21976
0e3933b9
CD
219772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21978
21979 * configure.in: Use AC_LANG_SOURCE.
21980 * configure: Regenerate.
21981
4248b1b1
RM
219822012-06-22 Roland McGrath <roland@hack.frob.com>
21983
21984 * configure.in (libc_cv_localstatedir): New substituted variable.
21985 * configure: Regenerated.
21986 * config.make.in (localstatedir): New variable, substituted from
21987 libc_cv_localstatedir.
21988 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21989 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21990 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21991 * sysdeps/gnu/configure: Regenerated.
21992
006dd861
JL
219932012-06-21 Jeff Law <law@redhat.com>
21994
21995 [BZ #14277]
21996 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21997 free. Simplify list management for _LIBC case.
21998
79662d42
JM
219992012-06-21 Joseph Myers <joseph@codesourcery.com>
22000
b7abb4bf
JM
22001 [BZ #14273]
22002 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22003 Clear sign bit of 64-bit integer value before comparing against
22004 overflow value.
22005
79662d42
JM
22006 * sysdeps/mach/configure: Regenerated.
22007
1f150908
L
220082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22009
22010 [BZ #14278]
22011 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22012
28363bbf
JL
220132012-06-21 Jeff Law <law@redhat.com>
22014
22015 [BZ #13882]
22016 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22017 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22018 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22019 * elf/dl-open.c (dl_open_worker): Likewise.
22020
09615db4
CD
220212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22022
22023 * scripts/list-sources.sh: Scan PORTS for translations.
22024 * po/libc.pot: Regenerated.
22025
2174c6dd
AJ
220262012-06-21 Andreas Jaeger <aj@suse.de>
22027
22028 [BZ #12194]
22029 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22030 warning.
22031 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22032 * bits/byteswap-16.h (__bswap_16): Likewise.
22033 * bits/byteswap.h (__bswap_constant_16): Likewise.
22034
3ee947b1
L
220352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22036
22037 [BZ #14117]
a2f34833
L
22038 * sysdeps/i386/fpu_control.h: Removed.
22039 * sysdeps/x86_64/fpu_control.h: Moved to ...
22040 * sysdeps/x86/fpu_control.h: Here.
22041
3ee947b1
L
22042 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22043 (_FPU_SETCW): Likewise.
22044
ed1825f8
L
220452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22046
25f1282a
L
22047 [BZ #14117]
22048 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22049 * sysdeps/x86/fpu/bits/mathinline.h: This.
22050 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22051
ed1825f8
L
22052 [BZ #14050]
22053 [BZ #14117]
22054 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22055 functions if __x86_64__ is defined.
22056
36d54b74
CLT
220572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22058
22059 * string/endian.h: Add !__ASSEMBLER__ condition for including
22060 conversion interfaces.
22061
10285c21
JM
220622012-06-15 Joseph Myers <joseph@codesourcery.com>
22063
22064 [BZ #14241]
22065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22066 of ABS(x) in calculating zero to negative powers other than odd
22067 integers.
22068 * math/libm-test.inc (pow_test): Add more tests.
22069
06c5abbd
AJ
220702012-06-15 Andreas Jaeger <aj@suse.de>
22071
22072 * manual/contrib.texi (Contributors): Update entry of Liubov
22073 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22074 Machado Filho.
22075
a3aeac40
CH
220762012-06-15 Cyril Hrubis <metan@ucw.cz>
22077
22078 * string/string.h: Add __wur to GNU version of strerror_r.
22079
49bdf4c1
L
220802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22081
22082 [BZ #14229]
22083 * string/Makefile (tests): Add tst-strtok_r.
22084 * string/tst-strtok_r.c: New file.
22085 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22086 RAX_LP/RDX_LP on SAVE_PTR.
22087
834f9b8d
RM
220882012-06-14 Roland McGrath <roland@hack.frob.com>
22089
22090 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22091
75fa1921
JM
220922012-06-14 Joseph Myers <joseph@codesourcery.com>
22093
22094 * libm_test.inc (csqrt_test): Allow more spurious underflow
22095 exceptions.
22096 (j0_test): Likewise.
22097 (j1_test): Likewise.
22098 (y0_test): Likewise.
22099 (y1_test): Likewise.
22100
771766df
CD
221012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22102
22103 * po/Makefile (libc.pot): Use UTF-8 charset.
22104
ceb9e56b
PP
221052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22106
22107 [BZ #14210]
22108 Suppress sign-conversion warning from FD_SET.
22109 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22110 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22111 not unsigned long int.
22112 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22113
ddb28975
L
221142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 [BZ #14050]
22117 [BZ #14117]
22118 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22119 __extern_always_inline instead of __extern_inline.
22120 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22121 (__signbit): Likewise.
22122 (__signbitl): Support C++ namespace.
22123 (lrintf): New inline function.
22124 (lrint): Likewise.
22125 (llrintf): Likewise.
22126 (llrint): Likewise.
22127 (fmaxf): Likewise.
22128 (fmax): Likewise.
22129 (fminf): Likewise.
22130 (fmin): Likewise.
22131 (rint): Likewise.
22132 (rintf): Likewise.
22133 (ceil): Likewise.
22134 (ceilf): Likewise.
22135 (floor): Likewise.
22136 (floorf): Likewise.
22137 (nearbyint): Likewise.
22138 (nearbyintf): Likewise.
22139
d7b4fb26
TS
221402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22141
22142 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22143 non-default versions.
22144
eb55f5c2
RM
221452012-06-11 Roland McGrath <roland@hack.frob.com>
22146
22147 [BZ #14218]
22148 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22149
366af02c
TS
221502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22151
99ff6e5c
TS
22152 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22153 (FE_UPWARD, FE_DOWNWARD): Don't define.
22154 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22156
366af02c
TS
22157 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22158 reading it.
22159 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22160 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22161
793ea851
KK
221622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22163
22164 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22166 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22167 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22168
a728a38f
L
221692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22170
22171 [BZ #14117]
c08010c7
L
22172 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22173 * sysdeps/i386/fpu/Implies: New file.
22174 * sysdeps/x86_64/fpu/Implies: Likewise.
22175 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22176 * sysdeps/x86/fpu/bits/fenv.h: This.
22177
a728a38f
L
22178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22179 __SSE_MATH__.
22180
6e230d11
SP
221812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22182
22183 [BZ #14134]
22184 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22185 character 0xffff that matches the last element of the
22186 conversion table.
22187
1b671feb
AZ
221882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22189
22190 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22191 fmodl commit.
22192
6043738b
AZ
221932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22194
22195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22196 values higher than 25.6283.
22197
34ae0b32
AZ
221982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22199
22200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22201 subnormal exponent extraction and add some __builtin_expect.
22202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22203 Fix for subnormal mantissa calculation.
22204
1214ec8f
MF
222052012-06-04 Mike Frysinger <vapier@gentoo.org>
22206
22207 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22208 cpu2 is -1 and errno is not ENOSYS.
22209
f3d1f93c
L
222102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22211
22212 [BZ #14117]
0e4a3cd7
L
22213 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22214 * sysdeps/x86/bits/string.h: This.
22215 * sysdeps/x86_64/bits/string.h: Removed.
22216
6704c645
L
22217 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22218 if not compiling for x86-64, but compiling for >= i486.
22219
48495318
L
22220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22221 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22222
14adcbfc
L
22223 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22224 New macro from Linux kernel 3.4.0.
22225 (FP_XSTATE_MAGIC2): Likewise.
22226 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22227 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22228 (struct _fpx_sw_bytes): New struct.
22229 (struct _xsave_hdr): Likewise.
22230 (struct _ymmh_state): Likewise.
22231 (struct _xstate): Likewise.
22232
68e408ab
L
22233 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22234 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22235 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22236 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22237 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22238 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22239
f3d1f93c
L
22240 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22241 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22242 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22243 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22244 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22245 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22246
d9dc34cd
TMQMF
222472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22248
22249 [BZ #13743]
22250 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22251 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22252 (sysdep_headers): Include sys/platform/ppc.h.
22253 * sysdeps/powerpc/test-gettimebase.c: Test for
22254 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22255 * manual/Makefile (appendices): Include platform.texi.
22256 * manual/contrib.texi (Contributors): Update @node pointers.
22257 * manual/maint.texi (Maintenance): Likewise.
22258 (Platform): New node.
22259 * manual/platform.texi: New file. Document the new features.
22260
4af3879c
SP
222612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22262 Jakub Jelinek <jakub@redhat.com>
22263
22264 [BZ #14188]
22265 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22266 where __builtin_expect is unavailable.
22267
2fd6ff13
DM
222682012-06-03 David S. Miller <davem@davemloft.net>
22269
22270 * stdlib/longlong.h: Updated from GCC.
22271
173f7220
AS
222722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22273
22274 [BZ #14042]
22275 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22276 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22277 __mcount_internal.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22279 (GLIBC_2.16): Likewise.
22280
f34a1c6f
L
222812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22284
88a4576f
JM
222852012-06-01 Joseph Myers <joseph@codesourcery.com>
22286
ea32bcdd
JM
22287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22288 (default-abi): New variable.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22290 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22291 variable.
22292 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22293 Likewise.
22294 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22295 Likewise.
22296 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22297 Likewise.
22298
88a4576f
JM
22299 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22300 definition. Document in comment.
22301
402fe938
DM
223022012-06-01 David S. Miller <davem@davemloft.net>
22303
22304 * stdlib/longlong.h: Updated from GCC.
22305
3553723f
L
223062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22307
22308 [BZ #14117]
3bd872c4
L
22309 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22310 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22311 sys/debugreg.h sys/io.h here.
22312 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22313 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22314 sys/io.h.
22315 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22316 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22317 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22318 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22319 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22320 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22321
3553723f
L
22322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22323 Define only if __x86_64__ is defined.
22324
4842e4fe
JM
223252012-06-01 Joseph Myers <joseph@codesourcery.com>
22326
c5bfe3d5
JM
22327 [BZ #14048]
22328 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22329 Use int64_t for variable i.
22330 * math/libm-test.inc (fmod_test): Add more tests.
22331
4842e4fe
JM
22332 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22333 z computation is not scheduled after fetestexcept.
22334 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22335 Use math_force_eval instead of asm to ensure calculation scheduled
22336 before exception test.
22337 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22338 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22339
efb73488
AJ
223402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22341
22342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22343 computation is not scheduled after fetestexcept.
22344
29bcce7c
L
223452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22346
22347 [BZ #14117]
22348 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22349 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22350
73a68f94
AZ
223512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22352
22353 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22354 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22355
67b6df78
L
223562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22357
edf2933a 22358 [BZ #14117]
ebc64a18
L
22359 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22360 <bits/wordsize.h>.
22361 (__WCHAR_MIN): Support __WORDSIZE == 64.
22362 (__WCHAR_MAX): Likewise.
22363
edf2933a
L
22364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22365 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22366
57c6cf40
L
22367 [BZ #14183]
22368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22369 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22370
67b6df78 22371 [BZ #14117]
8eb6281e
L
22372 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22373 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22374
aac639f4
L
22375 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22376 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22377
67b6df78
L
22378 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22379 Defined to 1 if __x86_64__ isn't defined.
22380 (_STAT_VER_LINUX_OLD): New.
22381 (st_atime): Remove duplicate.
22382 (st_mtime): Likewise.
22383 (st_ctime): Likewise.
22384
1c2cfe81
DM
223852012-05-31 David S. Miller <davem@davemloft.net>
22386
22387 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22388 entries.
22389
5be8418c
AS
223902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22391
e7725326
AS
22392 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22393 gen-libm-test.pl.
22394
5be8418c
AS
22395 [BZ #14132]
22396 * elf/dl-reloc.c: Include <_itoa.h>.
22397 (_dl_reloc_bad_type): Remove use of INTUSE.
22398 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22399 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22400 * stdio-common/psiginfo.c (psiginfo): Likewise.
22401 * stdio-common/psignal.c (psignal): Likewise.
22402 * string/strsignal.c (strsignal): Likewise.
22403 * include/signal.h (_sys_siglist): Declare hidden proto.
22404 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22405 INTVARDEF with libc_hidden_data_def.
22406 * stdio-common/itoa-udigits.c: Likewise.
22407 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22408 (_itoa_lower_digits_internal): Remove declaration.
22409 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22410 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22411 (_sys_sigabbrev_internal): Remove aliases.
22412 (_sys_siglist): Define hidden alias.
22413
507352f1
MT
224142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22415
22416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22417 bits/sysctl.h.
22418
42bbb1c3
L
224192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 [BZ #14117]
6bd784b6
L
22422 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22423 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22424
8bca20f0
L
22425 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22426 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22427 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22428 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22429 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22430 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22431
f9e890a9
L
22432 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22434 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22435
471101a1
L
22436 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22437 with __addr.
22438 (insw): Likewise.
22439 (insl): Likewise.
22440 (outsb): Likewise.
22441 (outsw): Likewise.
22442 (outsl): Likewise.
22443
6451c862
L
22444 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22446 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22447
a254b8c9
L
22448 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22449 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22450 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22451 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22452 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22453 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22454
b8dfdd92
L
22455 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22456 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22457
578cd270
L
22458 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22459 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22460
de662f5f
L
22461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22462 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22463 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22464
25653439
L
22465 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22466 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22467 to ...
22468 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22469
6bad24a0
L
22470 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22471 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22472 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22473
42bbb1c3
L
22474 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22475 for x86-64.
22476 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22477
2d10d547
JM
224782012-05-31 Joseph Myers <joseph@codesourcery.com>
22479
22480 * math/math.h (M_El): Use two more decimal places.
22481 (M_LOG2El): Likewise.
22482 (M_LOG10El): Likewise.
22483 (M_LN2l): Likewise.
22484 (M_LN10l): Likewise.
22485 (M_PIl): Likewise.
22486 (M_PI_2l): Likewise.
22487 (M_PI_4l): Likewise.
22488 (M_1_PIl): Likewise.
22489 (M_2_PIl): Likewise.
22490 (M_2_SQRTPIl): Likewise.
22491 (M_SQRT2l): Likewise.
22492 (M_SQRT1_2l): Likewise.
22493
f230c29b
DM
224942012-05-31 David S. Miller <davem@davemloft.net>
22495
22496 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22497 values between float registers.
22498 * sysdeps/sparc/sparc64/memset.S: Likewise.
22499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22500
fed806c3
MF
225012012-05-31 Mike Frysinger <vapier@gentoo.org>
22502
22503 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22504 -D_FORTIFY_SOURCE=1.
22505 (CPPFLAGS-tst-longjmp_chk.c): Define.
22506 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22507 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22508 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22509 CFLAGS-tst-wchar-h.c.
22510
30917259
MP
225112012-05-31 Marek Polacek <polacek@redhat.com>
22512
22513 [BZ #14132]
22514 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22515 __endmntent_internal): Remove declaration.
22516 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22517 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22518 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22519
1c58d5dc
DM
225202012-05-30 David S. Miller <davem@davemloft.net>
22521
22522 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22523 (___Q_simulate_exceptions): Use real FP ops rather than writing
22524 into the %fsr.
22525 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22526 Likewise.
22527
7dc00e0d
L
225282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22529
22530 [BZ #14117]
0bd53985
L
22531 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22532 * sysdeps/x86/bits/xtitypes.h: This.
22533
3a257e66
L
22534 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22535 * sysdeps/x86/bits/wordsize.h: This.
22536
62f62904
L
22537 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22538 * sysdeps/x86/bits/huge_vall.h: This.
22539
404fe9d9
L
22540 * sysdeps/i386/bits/select.h: Removed.
22541 * sysdeps/x86_64/bits/select.h: Renamed to ...
22542 * sysdeps/x86/bits/select.h: This.
22543
d48d0446
L
22544 * sysdeps/i386/bits/setjmp.h: Removed.
22545 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22546 * sysdeps/x86/bits/setjmp.h: This.
22547
7dc00e0d
L
22548 * sysdeps/i386/bits/mathdef.h: Removed.
22549 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22550 * sysdeps/x86/bits/mathdef.h: This.
22551
03277f8f
AS
225522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22553
22554 [BZ #14132]
22555 * include/sys/socket.h (__connect_internal)
22556 (__libc_sa_len_internal): Remove declaration.
22557 (__connect, __libc_sa_len): Declare hidden_proto.
22558 (SA_LEN): Remove use of INTUSE.
22559 * socket/connect.c: Add libc_hidden_def.
22560 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22561 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22562 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22563 alias.
22564 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22566 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22567 of adding _internal alias.
22568
13764867
L
225692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 [BZ #14117]
6bd97696
L
22572 * sysdeps/i386/bits/link.h: Removed.
22573 * sysdeps/i386/bits/linkmap.h: Likewise.
22574 * sysdeps/x86_64/bits/link.h: Renamed to ...
22575 * sysdeps/x86/bits/link.h: This.
22576 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22577 * sysdeps/x86/bits/linkmap.h: This.
22578
f726f0bb
L
22579 * sysdeps/i386/bits/endian.h: Removed.
22580 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22581 * sysdeps/x86/bits/endian.h: This.
22582
13764867
L
22583 * sysdeps/i386/bits/byteswap.h: Removed.
22584 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22585 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22586 * sysdeps/x86/bits/byteswap.h: This.
22587 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22588 * sysdeps/x86/bits/byteswap-16.h: This.
22589 * sysdeps/i386/Implies: Add x86.
22590 * sysdeps/x86_64/Implies: Likewise.
22591
ae251b0b
DM
225922012-05-30 David S. Miller <davem@davemloft.net>
22593
22594 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22595 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22596 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22597 (FP_TRAPPING_EXCEPTIONS): Define.
22598 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22599 (FP_TRAPPING_EXCEPTIONS): Define.
22600 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22601 subnormals only when inexact has been signalled or underflow
22602 exceptions are enabled.
22603 (_FP_PACK_CANONICAL): Likewise.
22604
d5c90867
L
226052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22606
22607 [BZ #14183]
22608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22609 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22610
63f1549e
RH
226112012-05-30 Richard Henderson <rth@twiddle.net>
22612
8d8f2279
RH
22613 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22614 with #ifndef NOT_IN_libc.
22615
63f1549e
RH
22616 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22617 marked to avoid plt entry.
22618
0ab0291b
L
226192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 [BZ #14112]
22622 * Makeconfig (default-abi): New macro.
22623 (abi-includes): Likewise.
22624 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22625 $(abi-$(default-abi)-lib-soname) for soname if defined.
22626 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22627 abi-variants.
22628 * Makefile (installed-stubs): Likewise.
22629 * include/stubs-biarch.h: Removed.
22630 * scripts/lib-names.awk: Only handle one library at a time.
22631 * scripts/soversions.awk: Remove WORDSIZE support.
22632 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22633 entries.
22634 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22635 Removed.
22636 (syscall-list-default-condition): Likewise.
22637 (syscall-list-default-condition): Likewise.
22638 (syscall-list-includes): Likewise.
22639 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22640 syscall-list-* with abi-*. Handle undefined abi-variants.
22641 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22642 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22643 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22644 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22645 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22646 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22647 Removed.
22648 (syscall-list-32-options): Likewise.
22649 (syscall-list-32-condition): Likewise.
22650 (syscall-list-64-options): Likewise.
22651 (syscall-list-64-condition): Likewise.
22652 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22653 macro.
22654 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22655 Renamed to ...
22656 (abi-*): This.
22657 (abi-64-ld-soname): New macro.
22658 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22660 Renamed to ...
22661 (abi-*): This.
22662 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22663 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22664
4da0431d
JM
226652012-05-30 Joseph Myers <joseph@codesourcery.com>
22666
3a85279c
JM
22667 * sysdeps/unix/sysv/linux/kernel-features.h
22668 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22669 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22670 include <kernel-features.h>.
22671 [!__NR_ftruncate64]: Remove conditional code.
22672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22673 [__NR_ftruncate64]: Make code unconditional.
22674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22675 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22676 include <kernel-features.h>.
22677 [!__NR_ftruncate64]: Remove conditional code.
22678 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22679 [__NR_ftruncate64]: Make code unconditional.
22680 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22682 include <kernel-features.h>.
22683 [!__NR_ftruncate64]: Remove conditional code.
22684 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22685 [__NR_ftruncate64]: Make code unconditional.
22686 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22688 include <kernel-features.h>.
22689 [!__NR_ftruncate64]: Remove conditional code.
22690 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22691 [__NR_ftruncate64]: Make code unconditional.
22692 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22693
4da0431d
JM
22694 * configure.in (libc_cv_fpie): Weaken to a compile test using
22695 LIBC_TRY_CC_OPTION.
22696 * configure: Regenerated.
22697
11ef492c
AK
226982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22699
22700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22704 Refreshed.
22705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22711 Refreshed.
22712
d66ef399
DM
227132012-05-27 David S. Miller <davem@davemloft.net>
22714
22715 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22716 (___Q_zero): New.
22717 (__Q_simulate_exceptions): Return void. Change to simulate
22718 exceptions by writing into the %fsr.
22719 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22720 (__Qp_handle_exceptions): Likewise.
22721 (numbers): Delete.
22722 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22723 __Qp_handle_exceptions.
22724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22725 __Qp_handle_exceptions.
22726 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22727 as unused and give dummy FP_RND_NEAREST initializer.
22728 (FP_INHIBIT_RESULTS): Define.
22729 (___Q_simulate_exceptions): Update declaration.
22730 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22731 formatting.
22732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22733 as unused and give dummy FP_RND_NEAREST initializer.
22734 (__Qp_handle_exceptions): Update declaration.
22735 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22736 formatting.
22737
04fb54b5
TS
227382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22739
22740 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22741 the temporary FPU control word.
22742 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22743 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22745 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22746 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22747 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22748 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22749 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22750 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22751 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22752 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22753
3f99608f
KK
227542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22755
22756 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22757 fields.
22758
65a4de4e
CLT
227592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22760
22761 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22762 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22763 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22764 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22765 Likewise.
22766 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22767 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22768 Likewise.
22769
15749d40
UD
227702012-05-27 Ulrich Drepper <drepper@gmail.com>
22771
22772 * po/h.po: Update from translation team.
22773
25dbcb27
AS
227742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22775
3d3f8e55
AS
22776 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22777
25dbcb27
AS
22778 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22779 handling of denormals.
22780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22781 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22782 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22787 Likewise.
22788
7ad47a80 227892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22790
22791 [BZ #14152]
22792 * math/libm-test.inc (fma_test): Don't always expect underflow
22793 exception.
22794
9c6ea9fa
SP
227952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22796
22797 [BZ #12416]
22798 * elf/tst-execstack.c: Include stackinfo.h.
22799 (do_test): Adjust test case to ensure that pthread_getattr_np
22800 behaviour remains the same after marking stack executable.
22801
a8239222
JM
228022012-05-25 Joseph Myers <joseph@codesourcery.com>
22803
22804 * sysdeps/unix/sysv/linux/kernel-features.h
22805 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22806 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22807 kernel-features.h.
22808 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22809 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22810 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22811 kernel-features.h.
22812 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22813 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22814
918b5606
L
228152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * configure.in: Define the default includes to being none.
22818 * configure: Regenerated.
22819
3a097cc7
RM
228202012-05-25 Roland McGrath <roland@hack.frob.com>
22821
8422c9a5
RM
22822 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22823 * sysdeps/x86_64/setjmp.S: Likewise.
22824 * sysdeps/i386/bsd-setjmp.S: Likewise.
22825 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22826 * sysdeps/i386/setjmp.S: Likewise.
22827 * sysdeps/i386/__longjmp.S: Likewise.
22828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22829 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22830
3a097cc7
RM
22831 * include/stap-probe.h: New file.
22832 * configure.in: Handle --enable-systemtap.
22833 * configure: Regenerated.
22834 * config.h.in (USE_STAP_PROBE): New #undef.
22835 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22836 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22837 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22838
21708942
JM
228392012-05-25 Joseph Myers <joseph@codesourcery.com>
22840
22841 [BZ #13717]
22842 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22843 to 2.4.0 where earlier.
22844 * sysdeps/unix/sysv/linux/configure: Regenerated.
22845 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22846 <kernel-features.h>.
22847 [__ASSUME_32BITUIDS]: Make code unconditional.
22848 [!__ASSUME_32BITUIDS]: Remove conditional code.
22849 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22850 <kernel-features.h>.
22851 [__ASSUME_32BITUIDS]: Make code unconditional.
22852 [!__ASSUME_32BITUIDS]: Remove conditional code.
22853 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22854 [__ASSUME_32BITUIDS]: Make code unconditional.
22855 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22856 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22857 <kernel-features.h>.
22858 [__ASSUME_32BITUIDS]: Make code unconditional.
22859 [!__ASSUME_32BITUIDS]: Remove conditional code.
22860 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22861 <kernel-features.h>.
22862 [__ASSUME_32BITUIDS]: Make code unconditional.
22863 [!__ASSUME_32BITUIDS]: Remove conditional code.
22864 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22865 <kernel-features.h>.
22866 [__ASSUME_32BITUIDS]: Make code unconditional.
22867 [!__ASSUME_32BITUIDS]: Remove conditional code.
22868 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22869 <kernel-features.h>.
22870 [__ASSUME_32BITUIDS]: Make code unconditional.
22871 [!__ASSUME_32BITUIDS]: Remove conditional code.
22872 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22873 <kernel-features.h>.
22874 [__ASSUME_32BITUIDS]: Make code unconditional.
22875 [!__ASSUME_32BITUIDS]: Remove conditional code.
22876 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22877 <kernel-features.h>.
22878 [__ASSUME_32BITUIDS]: Make code unconditional.
22879 [!__ASSUME_32BITUIDS]: Remove conditional code.
22880 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22881 <kernel-features.h>.
22882 [__ASSUME_32BITUIDS]: Make code unconditional.
22883 [!__ASSUME_32BITUIDS]: Remove conditional code.
22884 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22885 <kernel-features.h>.
22886 [__ASSUME_32BITUIDS]: Make code unconditional.
22887 [!__ASSUME_32BITUIDS]: Remove conditional code.
22888 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22889 <kernel-features.h>.
22890 [__ASSUME_32BITUIDS]: Make code unconditional.
22891 [!__ASSUME_32BITUIDS]: Remove conditional code.
22892 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22893 <kernel-features.h>.
22894 [__ASSUME_32BITUIDS]: Make code unconditional.
22895 [!__ASSUME_32BITUIDS]: Remove conditional code.
22896 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22897 <kernel-features.h>.
22898 [__NR_setresgid] (__setresgid): Do not declare.
22899 [__ASSUME_32BITUIDS]: Make code unconditional.
22900 [!__ASSUME_32BITUIDS]: Remove conditional code.
22901 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22902 <kernel-features.h>.
22903 [__NR_setresuid] (__setresuid): Do not declare.
22904 [__ASSUME_32BITUIDS]: Make code unconditional.
22905 [!__ASSUME_32BITUIDS]: Remove conditional code.
22906 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22907 <kernel-features.h>.
22908 [__ASSUME_32BITUIDS]: Make code unconditional.
22909 [!__ASSUME_32BITUIDS]: Remove conditional code.
22910 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22911 <kernel-features.h>.
22912 [__ASSUME_32BITUIDS]: Make code unconditional.
22913 [!__ASSUME_32BITUIDS]: Remove conditional code.
22914 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22915 <kernel-features.h>.
22916 [__ASSUME_32BITUIDS]: Make code unconditional.
22917 [!__ASSUME_32BITUIDS]: Remove conditional code.
22918 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22919 <kernel-features.h>.
22920 [__ASSUME_32BITUIDS]: Make code unconditional.
22921 [!__ASSUME_32BITUIDS]: Remove conditional code.
22922 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.c: Do not include
22927 <kernel-features.h>.
22928 [__ASSUME_32BITUIDS]: Make code unconditional.
22929 [!__ASSUME_32BITUIDS]: Remove conditional code.
22930 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22931 <kernel-features.h>.
22932 [__ASSUME_32BITUIDS]: Make code unconditional.
22933 [!__ASSUME_32BITUIDS]: Remove conditional code.
22934 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22935 <kernel-features.h>.
22936 [__ASSUME_32BITUIDS]: Make code unconditional.
22937 [!__ASSUME_32BITUIDS]: Remove conditional code.
22938 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22939 <kernel-features.h>.
22940 [__ASSUME_32BITUIDS]: Make code unconditional.
22941 [!__ASSUME_32BITUIDS]: Remove conditional code.
22942 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22943 <kernel-features.h>.
22944 [__ASSUME_32BITUIDS]: Make code unconditional.
22945 [!__ASSUME_32BITUIDS]: Remove conditional code.
22946 * sysdeps/unix/sysv/linux/kernel-features.h
22947 (__ASSUME_SETRESUID_SYSCALL): Remove.
22948 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22949 (__ASSUME_32BITUIDS): Likewise.
22950 (__ASSUME_LDT_WORKS): Likewise.
22951 (__ASSUME_O_DIRECTORY): Likewise.
22952 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22953 architecture but not kernel version.
22954 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22955 (__ASSUME_MMAP2_SYSCALL): Likewise.
22956 (__ASSUME_STAT64_SYSCALL): Likewise.
22957 (__ASSUME_IPC64): Likewise.
22958 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22965 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22966 132096]: Remove conditional code.
22967 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22968 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22969 <kernel-features.h>.
22970 [__ASSUME_32BITUIDS]: Make code unconditional.
22971 [!__ASSUME_32BITUIDS]: Remove conditional code.
22972 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22973 <kernel-features.h>.
22974 [__ASSUME_32BITUIDS]: Make code unconditional.
22975 [!__ASSUME_32BITUIDS]: Remove conditional code.
22976 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22977 <kernel-features.h>.
22978 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22979 unconditional.
22980 (__setresgid): Do not declare.
22981 [__ASSUME_32BITUIDS]: Make code unconditional.
22982 [!__ASSUME_32BITUIDS]: Remove conditional code.
22983 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22984 <kernel-features.h>.
22985 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22986 unconditional.
22987 (__setresuid): Do not declare.
22988 [__ASSUME_32BITUIDS]: Make code unconditional.
22989 [!__ASSUME_32BITUIDS]: Remove conditional code.
22990 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22991 <kernel-features.h>.
22992 [__ASSUME_32BITUIDS]: Make code unconditional.
22993 [!__ASSUME_32BITUIDS]: Remove conditional code.
22994 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22995 <kernel-features.h>.
22996 [__ASSUME_32BITUIDS]: Make code unconditional.
22997 [!__ASSUME_32BITUIDS]: Remove conditional code.
22998
a386f1cc
RH
229992012-05-25 Richard Henderson <rth@twiddle.net>
23000
23001 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23002 dl_hwcap to ifunc resolver.
23003 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23004 elf_ifunc_invoke.
23005 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23006 dl_hwcap to ifunc resolver.
23007 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23008
b6550497
JM
230092012-05-24 Joseph Myers <joseph@codesourcery.com>
23010
23011 [BZ #14153]
23012 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23013 for |x| <= 2**-26, not 2**-57.
23014 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23015 exception.
23016
b0bc23a1
JL
230172012-05-24 Jeff Law <law@redhat.com>
23018
23019 * stdio-common/Makefile (tests): Add bug25.
23020 * stdio-common/bug25.c: New test.
23021
347c92e9
L
230222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23023
23024 [BZ #13576]
23025 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23026 multiple of MALLOC_ALIGNMENT in size.
23027 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23028
6bcc8b3f
JM
230292012-05-24 Joseph Myers <joseph@codesourcery.com>
23030
23031 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23032 Require >= 256.
23033 (FILENAME_MAX): Use macro-int-constant.
23034 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23035 (_IOFBF): Use macro-int-constant.
23036 (_IOLBF): Likewise.
23037 (_IONBF): Likewise.
23038 (SEEK_CUR): Likewise.
23039 (SEEK_END): Likewise.
23040 (SEEK_SET): Likewise.
23041 (TMP_MAX): Likewise.
23042 (EOF): Use macro-int-constant. Require < 0.
23043 (NULL): Use macro-constant. Require == 0.
23044 (stdin): Require type to be FILE *.
23045 (stdout): Likewise.
23046 (stderr): Likewise.
23047 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23048 macro-int-constant.
23049 (EXIT_SUCCESS): Likewise.
23050 (NULL): Use macro-constant. Require == 0.
23051 (RAND_MAX): Use macro-int-constant.
23052 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23053 [C99-based standards] (strtof): Require function.
23054 [C99-based standards] (strtold): Likewise.
23055 [C99-based standards] (strtoll): Likewise.
23056 [C99-based standards] (strtoull): Likewise.
23057 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23058 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23059 [ISO || ISO99 || ISO11] (math.h): Likewise.
23060 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23061 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23063
d18ea0c5
AS
230642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23065
23066 [BZ #14132]
56d25bb8
AS
23067 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23068 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23069 * intl/dgettext.c (DCGETTEXT): Likewise.
23070 * intl/gettext.c (DCGETTEXT): Likewise.
23071 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23072 * posix/regex_internal.h (gettext): Likewise.
23073 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23074 Remove declaration.
23075 * include/argz.h (__argz_count_internal)
23076 (__argz_stringify_internal): Remove declaration.
23077 (__argz_count, __argz_stringify): Declare hidden proto.
23078 * intl/dcgettext.c: Remove use of INTDEF.
23079 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23080 * string/argz-stringify.c: Likewise.
23081 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23082 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23083 Declare hidden proto.
d18ea0c5
AS
23084 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23085 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23086 Declare hidden proto.
23087 * include/stdio.h (__asprintf_internal): Don't declare.
23088 (__asprintf): Don't define as macro. Declare hidden proto.
23089 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23090 (__fsetlocking): Declare hidden proto.
23091 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23092 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23093 hidden proto.
23094 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23095 (_IO_setlinebuf): Remove use of INTUSE.
23096 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23097 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23098 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23099 Remove declaration.
23100 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23101 (_IO_do_flush): Remove use of INTUSE.
23102 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23103 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23104 (_IO_adjust_column, _IO_least_wmarker)
23105 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23106 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23107 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23108 (_IO_default_doallocate, _IO_wdefault_doallocate)
23109 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23110 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23111 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23112 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23113 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23114 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23115 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23116 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23117 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23118 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23119 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23120 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23121 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23122 proto.
23123 (_IO_flush_all_internal, _IO_adjust_column_internal)
23124 (_IO_default_uflow_internal, _IO_default_finish_internal)
23125 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23126 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23127 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23128 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23129 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23130 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23131 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23132 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23133 (_IO_file_close_internal, _IO_file_close_it_internal)
23134 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23135 (_IO_file_init_internal, _IO_file_attach_internal)
23136 (_IO_file_fopen_internal, _IO_file_read_internal)
23137 (_IO_file_sync_internal, _IO_file_seek_internal)
23138 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23139 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23140 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23141 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23142 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23143 (_IO_list_all_internal, _IO_link_in_internal)
23144 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23145 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23146 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23147 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23148 (_IO_do_write_internal, _IO_padn_internal)
23149 (_IO_getline_info_internal, _IO_getline_internal)
23150 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23151 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23152 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23153 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23154 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23155 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23156 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23157 with libc_hidden_ver, remove use of INTUSE.
23158 * libio/genops.c: Likewise.
23159 * libio/freopen.c: Likewise.
23160 * libio/freopen64.c: Likewise.
23161 * libio/iofclose.c: Likewise.
23162 * libio/iofdopen.c: Likewise.
23163 * libio/iofflush.c: Likewise.
23164 * libio/iofflush_u.c: Likewise.
23165 * libio/iofgets.c: Likewise.
23166 * libio/iofgets_u.c: Likewise.
23167 * libio/iofopen.c: Likewise.
23168 * libio/iofopncook.c: Likewise.
23169 * libio/iofread.c: Likewise.
23170 * libio/iofread_u.c: Likewise.
23171 * libio/ioftell.c: Likewise.
23172 * libio/iofwrite.c: Likewise.
23173 * libio/iogetline.c: Likewise.
23174 * libio/iogets.c: Likewise.
23175 * libio/iogetwline.c: Likewise.
23176 * libio/iopadn.c: Likewise.
23177 * libio/iopopen.c: Likewise.
23178 * libio/ioseekoff.c: Likewise.
23179 * libio/ioseekpos.c: Likewise.
23180 * libio/iosetbuffer.c: Likewise.
23181 * libio/iosetvbuf.c: Likewise.
23182 * libio/ioungetc.c: Likewise.
23183 * libio/ioungetwc.c: Likewise.
23184 * libio/iovdprintf.c: Likewise.
23185 * libio/iovsprintf.c: Likewise.
23186 * libio/iovsscanf.c: Likewise.
23187 * libio/memstream.c: Likewise.
23188 * libio/obprintf.c: Likewise.
23189 * libio/oldfileops.c: Likewise.
23190 * libio/oldiofclose.c: Likewise.
23191 * libio/oldiofdopen.c: Likewise.
23192 * libio/oldiofopen.c: Likewise.
23193 * libio/oldiopopen.c: Likewise.
23194 * libio/oldstdfiles.c: Likewise.
23195 * libio/putc.c: Likewise.
23196 * libio/setbuf.c: Likewise.
23197 * libio/setlinebuf.c: Likewise.
23198 * libio/stdfiles.c: Likewise.
23199 * libio/strops.c: Likewise.
23200 * libio/vasprintf.c: Likewise.
23201 * libio/vscanf.c: Likewise.
23202 * libio/vsnprintf.c: Likewise.
23203 * libio/vswprintf.c: Likewise.
23204 * libio/wfiledoalloc.c: Likewise.
23205 * libio/wfileops.c: Likewise.
23206 * libio/wgenops.c: Likewise.
23207 * libio/wmemstream.c: Likewise.
23208 * libio/wstrops.c: Likewise.
23209 * libio/__fpurge.c: Likewise.
23210 * libio/__fsetlocking.c: Likewise.
23211 * assert/assert.c: Likewise.
23212 * debug/fgets_chk.c: Likewise.
23213 * debug/fgets_u_chk.c: Likewise.
23214 * debug/fread_chk.c: Likewise.
23215 * debug/fread_u_chk.c: Likewise.
23216 * debug/gets_chk.c: Likewise.
23217 * debug/obprintf_chk.c: Likewise.
23218 * debug/vasprintf_chk.c: Likewise.
23219 * debug/vdprintf_chk.c: Likewise.
23220 * debug/vsnprintf_chk.c: Likewise.
23221 * debug/vsprintf_chk.c: Likewise.
23222 * malloc/mtrace.c: Likewise.
23223 * misc/error.c: Likewise.
23224 * misc/syslog.c: Likewise.
23225 * stdio-common/asprintf.c: Likewise.
23226 * stdio-common/fxprintf.c: Likewise.
23227 * stdio-common/getw.c: Likewise.
23228 * stdio-common/isoc99_fscanf.c: Likewise.
23229 * stdio-common/isoc99_scanf.c: Likewise.
23230 * stdio-common/isoc99_vfscanf.c: Likewise.
23231 * stdio-common/isoc99_vscanf.c: Likewise.
23232 * stdio-common/isoc99_vsscanf.c: Likewise.
23233 * stdio-common/printf-prs.c: Likewise.
23234 * stdio-common/printf_fp.c: Likewise.
23235 * stdio-common/printf_fphex.c: Likewise.
23236 * stdio-common/printf_size.c: Likewise.
23237 * stdio-common/putw.c: Likewise.
23238 * stdio-common/scanf.c: Likewise.
23239 * stdio-common/sprintf.c: Likewise.
23240 * stdio-common/tmpfile.c: Likewise.
23241 * stdio-common/vfprintf.c: Likewise.
23242 * stdio-common/vfscanf.c: Likewise.
23243 * stdlib/strfmon_l.c: Likewise.
23244 * sunrpc/openchild.c: Likewise.
23245 * sunrpc/xdr_stdio.c: Likewise.
23246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23247 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23248
d6c33fda
RM
232492012-05-24 Roland McGrath <roland@hack.frob.com>
23250
c1487492
RM
23251 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23252
23253 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23254 in the third column, to generate for the shared library an IFUNC
23255 that uses _dl_vdso_vsym.
23256 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23257 * Makeconfig (object-suffixes-noshared): New variable.
23258
23259 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23260 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23261 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23262 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23263
d6c33fda
RM
23264 [BZ #14132]
23265 * include/sys/time.h (__gettimeofday): Remove macro.
23266 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23267 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23268 Remove INTDEF.
23269 (__gettimeofday): Add libc_hidden_def.
23270 (gettimeofday): Add libc_hidden_weak.
23271 * sysdeps/mach/gettimeofday.c: Likewise.
23272 * sysdeps/posix/gettimeofday.c: Likewise.
23273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23274 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23276 (__gettimeofday_internal): Remove strong_alias.
23277 (__gettimeofday): Add libc_hidden_def.
23278 (gettimeofday): Add libc_hidden_weak.
23279 * sysdeps/unix/syscalls.list (gettimeofday):
23280 Remove __gettimeofday_internal alias.
23281
b5a2bbe6
L
232822012-05-24 Daniel Jacobowitz <drow@false.org>
23283 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 [BZ #12495]
23286 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23287 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23288 (largebin_index_32_big): New.
23289 (largebin_index): Use it for 16-byte alignment.
23290 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23291 correction with front_misalign.
23292
cfba4fda
L
232932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23294
7f907421
L
23295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23297 Likewise.
23298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23299 Likewise.
23300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23301 Likewise.
23302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23303 Likewise.
23304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23305 Likewise.
23306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23307 Likewise.
23308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23309 Likewise.
23310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23311 Likewise.
23312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23313 Likewise.
23314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23315 Likewise.
23316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23317 Likewise.
23318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23319 Likewise.
23320
cfba4fda
L
23321 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23322 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23323
80bad0cc
JM
233242012-05-24 Joseph Myers <joseph@codesourcery.com>
23325
7a25eb06
JM
23326 [BZ #10846]
23327 [BZ #14036]
23328 * math/libm-test.inc (exp_test): Add test from bug 14036.
23329 (pow_test): Add test from bug 10846.
23330
795405f9
JM
23331 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23332 and other flags.
23333 (special_function): Do not include flags in test name.
23334 (parse_args): Likewise.
23335 * sysdeps/i386/fpu/libm-test-ulps: Update.
23336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23337 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23338 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340
80bad0cc
JM
23341 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23342 exceptions.
23343 * math/libm-test.inc ("Philosophy"): Update comment about
23344 exception testing.
23345 (UNDERFLOW_EXCEPTION): New macro.
23346 (UNDERFLOW_EXCEPTION_OK): Likewise.
23347 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23348 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23349 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23350 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23351 (INVALID_EXCEPTION_OK): Update value.
23352 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23353 (OVERFLOW_EXCEPTION_OK): Likewise.
23354 (IGNORE_ZERO_INF_SIGN): Likewise.
23355 (test_exceptions): Handle underflow exceptions.
23356 (acos_test): Update for underflow exception expectations.
23357 (cexp_test): Likewise.
23358 (clog_test): Likewise.
23359 (clog10_test): Likewise.
23360 (csqrt_test): Likewise.
23361 (ctan_test): Likewise.
23362 (ctanh_test): Likewise.
23363 (exp_test): Likewise.
23364 (exp10_test): Likewise.
23365 (exp2_test): Likewise.
23366 (expm1_test): Likewise.
23367 (fma_test): Likewise.
23368 (j0_test): Likewise.
23369 (jn_test): Likewise.
23370 (nexttoward_test): Likewise.
23371 (pow_test): Likewise.
23372 (scalbn_test): Likewise.
23373 (scalbln_test): Likewise.
23374 (tan_test): Likewise.
23375 (y1_test): Likewise.
23376 * sysdeps/i386/fpu/libm-test-ulps: Update.
23377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378
9e0e3d0b
DM
233792012-05-23 David S. Miller <davem@davemloft.net>
23380
23381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23382 (__libc_sigaction): Remove unused local variables.
23383
ccd0a08f
L
233842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23385
23386 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23387
62bdf9a6
PE
233882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23389
f8591f80
PE
23390 mktime: avoid signed integer overflow
23391 * time/mktime.c (__mktime_internal): Do not mishandle the case
23392 where diff == INT_MIN.
23393
94c7d826
PE
23394 mktime: simplify computation of average
23395 * time/mktime.c (ranged_convert): Use new time_t_avg function
23396 instead of rolling our own (probably-slower) code.
23397
ce73d683
PE
23398 mktime: do not assume signed right shift propagates sign bit
23399 * time/mktime.c (isdst_differ): New static function.
23400 (__mktime_internal): No need to normalize tm_isdst now.
23401 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23402 tm_isdst values.
23403
72a22e59
PE
23404 mktime: merge another wrapv change from gnulib
23405 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23406 from some compilers.
23407
68605433
PE
23408 mktime: remove incorrect attempt at unusual arithmetics
23409 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23410 The code didn't really work on such machines anyway.
23411 (TYPE_MINIMUM): Assume two's complement.
23412 (twos_complement_arithmetic): Verify that long_int and time_t
23413 are two's complement (or unsigned, in the latter case).
23414
03cf7fe3
PE
23415 mktime: check signed shifts on long_int and time_t, too
23416 * time/mktime.c (SHR): Check that shifts work as desired
23417 on the types long_int and time_t too, as SHR is used on
23418 such types.
23419
f04dfbc2
PE
23420 mktime: do not assume 'long' is wide enough
23421 * time/mktime.c (verify): Move decl up.
23422 (long_int): New type.
23423 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23424 to remove assumption in the code that 'long' is wide enough to
23425 store year values. This assumption is not true on x32 and on
23426 some non-glibc platforms.
23427
62bdf9a6
PE
23428 mktime: merge wrapv change from gnulib
23429 * time/mktime.c (WRAPV): New macro.
23430 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23431 (guess_time_tm, __mktime_internal): Do not assume that signed
23432 integer overflow wraps around; modern compilers generate code
23433 where this assumption is no longer valid.
23434
5e292e4f
L
234352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23436
23437 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23438 Replace "jmp L(pseudo_end)" with "ret".
23439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23440 Likewise.
23441
8caf8c87
AJ
234422012-05-23 Andreas Jaeger <aj@suse.de>
23443
23444 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23445 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23446
1a09dc56
AJ
234472012-05-23 Andreas Jaeger <aj@suse.de>
23448 Maximilian Attems <max@stro.at>
23449
23450 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23451 New macros.
23452
1c87aba0
L
234532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23454
23455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23456 code so that pseudo_end is just ret and the stack pointer is
23457 correct also for static library in error case.
23458
40e45bd5
JM
234592012-05-23 Joseph Myers <joseph@codesourcery.com>
23460
c2670533
JM
23461 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23462 move to syscalls.list.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23467
40e45bd5
JM
23468 * manual/install.texi (Running make install): Do not mention Linux
23469 kernel version for which pt_chown is not needed.
23470 (Linux): Do not mention problems with nscd with 2.0 kernels.
23471 * INSTALL: Regenerated.
23472
be08eda5
AJ
234732012-05-23 Andreas Jaeger <aj@suse.de>
23474
23475 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23476 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23477 macro.
23478 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23479 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23480 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23482 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23488 * sysdeps/unix/sysv/linux/bits/in.h
23489 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23490
a6a056bb
RM
234912012-05-22 Roland McGrath <roland@hack.frob.com>
23492
23493 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23494 (PREPARE_VERSION): Just use assert instead, it will be elided
23495 under [NDEBUG] anyway.
23496
c9009328
L
234972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23498
23499 * sysdeps/unix/sysv/linux/Makefile: Include
23500 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23501 (sysdep_routines): Remove sysctl.
c9009328
L
23502 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23503 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23504 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23505 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23506 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23507
73338355
AJ
235082012-05-22 Andreas Jaeger <aj@suse.de>
23509
23510 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23511 that pseudo_end is just ret and the stack pointer is correct also
23512 for static library in error case.
23513
d44638b0
PP
235142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23515
23516 [BZ #14122]
23517 * nss/nsswitch.c (defconfig_entries): New variable.
23518 (__nss_database_lookup): Don't leak defconfig entries.
23519 (nss_parse_service_list): Don't leak on error paths.
23520 (free_database_entries): New function.
23521 (free_defconfig): New function.
23522 (free_mem): Move common code to free_database_entries.
23523
31a39bd8
L
235242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23525
da0331a8
L
23526 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23527 Add arch_prctl.
23528 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23529
31a39bd8
L
23530 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23531 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23533 New macro.
23534 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23535 (INTERNAL_SYSCALL_TYPES): Likewise.
23536 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23537 (LOAD_REGS_TYPES_[1-6]): Likewise.
23538 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23539 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23540
45470df3
AZ
235412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23542
23543 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23544 copysignl for GLIBC_2_0.
23545 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23546 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23548 logbl for GLIBC_2_0.
23549 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23550 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23551
98a61bcb
L
235522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23553
a4f6e481
L
23554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23555 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23556
f63d5db6
L
23557 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23558 Use "neg %eax".
23559
98a61bcb
L
23560 * time/mktime.c: Update copyright years.
23561
95770f14
PE
235622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23563
6226efbd
PE
23564 mktime: merge comment-quoting-style change from gnulib
23565 * time/mktime.c: Quote 'like this' in comments.
23566 The GNU coding standards suggest that we no longer quote `like this',
23567 as "`" and "'" are typically rendered asymmetrically nowadays.
23568 The typical gnulib style is to quote 'like this' when quoting
23569 code, and "like this" when quoting English.
23570
b99e4f78
PE
23571 * time/mktime.c (compile-command): Add "-I.".
23572
643e01e6
PE
23573 mktime: merge mktime-internal.h change from gnulib
23574 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23575
2554247d
PE
23576 mktime: merge time_r change from gnulib
23577 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23578
826dd0ab
PE
23579 mktime: merge DEBUG change from gnulib
23580 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23581 case system <time.h> has a #define.
23582
bd83aabe
PE
23583 mktime: merge <sys/types.h> change from gnulib
23584 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23585 since <time.t> is now guaranteed to define time_t.
23586
95770f14
PE
23587 mktime: merge HAVE_CONFIG_H change from gnulib
23588 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23589
5e1a27a9
L
235902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23591
0e44a77e
L
23592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23593 Use "neg %eax".
23594
5e1a27a9
L
23595 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23596 __rlim_t cast.
23597 (struct rusage): Use anonymous union to pad each field to
23598 __syscall_slong_t.
23599
46259bec
DM
236002012-05-21 David S. Miller <davem@davemloft.net>
23601
23602 * Makefules (o-iterator): Remove .s cases.
23603 (compile-command.s): Delete.
23604 (COMPILE.s): Delete.
23605 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23606
59f0c22e
JM
236072012-05-21 Joseph Myers <joseph@codesourcery.com>
23608
23609 * configure.in (libc_cv_predef_stack_protector): Only consider
23610 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23611 * configure: Regenerated.
23612
20c07380
L
236132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23614
bbb3154b
L
23615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23616 New macro. Use R*LP on int and pointer.
23617 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23618 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23619 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23620 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23621
20c07380
L
23622 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23623 [__WORDSIZE_TIME64_COMPAT32] instead of
23624 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23625 (struct utmp): Likewise.
23626 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23627 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23628 Renamed to ...
23629 (__WORDSIZE_TIME64_COMPAT32): This.
23630 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23631 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23632 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23633 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23634 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23635 (__WORDSIZE_TIME64_COMPAT32): New macro.
23636
d8d1017e
AJ
236372012-05-21 Andreas Jaeger <aj@suse.de>
23638
23639 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23640 only if [SHARED]. Add prototype for __wcschr_ia32.
23641
6c7fb145
RM
236422012-05-21 Roland McGrath <roland@hack.frob.com>
23643
23644 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23645 of %rbp unmolested in the jmp_buf while mangling the low bits.
23646 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23647 unmolested high bits of %rbp while demangling the low bits.
23648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23649
66274218
AJ
236502012-05-21 Andreas Jaeger <aj@suse.de>
23651
07c58f8f
AJ
23652 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23653 * sunrpc/svc_simple.c: Use it for registerrpc.
23654 * sunrpc/xcrypt.c: Use it for passwd2des.
23655
66274218
AJ
23656 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23657
61f65140
L
236582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23661 Don't define if [__SYSCALL_WORDSIZE != 32].
23662 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23663 New macro.
23664
5fefb436
AJ
236652012-05-21 Bruno Haible <bruno@clisp.org>
23666 Andreas Jaeger <aj@suse.de>
23667
23668 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23669 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23670 inptr and inend for must_buffer_ch.
23671 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23672 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23673 * stdio-common/Makefile (tests): Remove bug15.
23674 (bug15-ENV): Remove macro.
23675 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23676 anymore.
23677
d8e272ab
AJ
236782012-05-19 Andreas Jaeger <aj@suse.de>
23679 Roland McGrath <roland@hack.frob.com>
23680
23681 * manual/contrib.texi: Completely rewritten. It contains now an
23682 alphabetical list of contributors and their contributions.
23683
4a56a162
RH
236842012-05-21 Richard Henderson <rth@twiddle.net>
23685
23686 * misc/getauxval.c (__getauxval): Use unsigned long int.
23687 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23688 (getauxval): Use unsigned long int.
23689
d024d23c
L
236902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23691
23692 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23693
cbc00a03
RM
236942012-05-21 Roland McGrath <roland@hack.frob.com>
23695
23696 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23697 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23698 __alignof__ (long double).
23699
478143fa
AZ
237002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23701
23702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23703
c7683a6d
RH
237042012-05-20 Richard Henderson <rth@twiddle.net>
23705
23706 * misc/getauxval.c: New file.
23707 * misc/sys/auxv.h: New file.
23708 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23709 (routines): Add getauxval.
23710 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23711 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23712 * elf/dl-sysdep.c (_dl_auxv): Remove.
23713 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23714 * elf/dl-support.c (_dl_auxv): New variable.
23715 (_dl_aux_init): Initialize it.
23716 * manual/startup.texi (Auxiliary Vector): New node.
23717 * sysdeps/generic/bits/hwcap.h: New file.
23718 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23719 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23720 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23721 * sysdeps/sparc/sysdep.h: ... here. Include it.
23722 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23723 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23725 Update.
c7683a6d
RH
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23734
a6f1845d
AZ
237352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23736
23737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23738
cbcbe830
DM
237392012-05-19 David S. Miller <davem@davemloft.net>
23740
23741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23742
e0b16cc2
JM
237432012-05-19 Joseph Myers <joseph@codesourcery.com>
23744
23745 [BZ #14123]
23746 * math/s_ccosh.c: Include <float.h>
23747 (__ccosh): Avoid internal overflow calculating sinh and cosh
23748 values before multiplying by sin and cos values.
23749 * math/s_ccoshf.c: Likewise.
23750 * math/s_ccoshl.c: Likewise.
23751 * math/s_csin.c: Likewise.
23752 * math/s_csinf.c: Likewise.
23753 * math/s_csinl.c: Likewise.
23754 * math/s_csinh.c: Likewise.
23755 * math/s_csinhf.c: Likewise.
23756 * math/s_csinhl.c: Likewise.
23757 * math/libm-test.inc (ccos_test): Add more tests.
23758 (ccosh_test): Likewise.
23759 (csin_test): Likewise.
23760 (csinh_test): Likewise.
23761 * sysdeps/i386/fpu/libm-test-ulps: Update.
23762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763
6ad13e08
L
237642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23765
f66f0ce8
L
23766 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23767 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23768
6ad13e08
L
23769 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23770
b1d072a7
JM
237712012-05-19 Joseph Myers <joseph@codesourcery.com>
23772
23773 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23774 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23775 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23776 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23777 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23778 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23779 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23780 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23781 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23782 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23783 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23784 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23785 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23786 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23787 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23788 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23789 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23790 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23791 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23792 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23793 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23794 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23795 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23796 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23797 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23798 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23799 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23800 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23801 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23802 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23803 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23804
9eae47cb
AJ
238052012-05-18 Andreas Jaeger <aj@suse.de>
23806
23807 * csu/.gitignore: Delete.
23808
bb07f69f
L
238092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23812 (timex): Use __syscall_slong_t.
23813
e6bdb741
AJ
238142012-05-18 Andreas Jaeger <aj@suse.de>
23815 Carlos O'Donell <carlos_odonell@mentor.com>
23816
23817 * manual/install.texi (Configuring and compiling): Update
23818 description about files modified in the source directory.
d6c33fda 23819 * INSTALL: Regenerated.
e6bdb741 23820
1b74487e
L
238212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23822
23823 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23824 value. Use "or" to set return value to -1.
23825 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23826 negate return value.
23827
a88b64b9
TMQMF
238282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23829
23830 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23831 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23832 failure if the compiler has Graphite support disabled.
23833 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23834 Likewise.
23835 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23836 CFLAGS-memmove.c): Likewise.
23837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23838 Likewise.
23839
3707636e
L
238402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23841
610b8622
L
23842 * sysdeps/x86_64/x32/_itoa.h: New file.
23843
7cd195df
L
23844 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23845 getdents system call only if kernel and user dirents have the
23846 same d_ino and d_off.
23847
94b07d20
L
23848 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23849 LLONG_MAX != LONG_MAX.
23850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23851 (_fitoa_word): Likewise.
23852
18298070
L
23853 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23854 years.
23855 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23856 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23858
553c7ea4
L
23859 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23860 include <bits/wordsize.h>. Check __x86_64__ instead of
23861 __WORDSIZE.
23862 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23863 if __x86_64__ is defined. Use anonymous union on fpstate.
23864
3707636e
L
23865 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23866 anonymous union.
23867
b53ef01a
AS
238682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23869
37fb1dc0
AS
23870 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23871 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23872 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23873 Refer to _rtld_local_ro instead of _rtld_global_ro.
23874 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23875 Likewise.
23876 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23877 Likewise.
23878 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23879 Likewise.
23880 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23881 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23882 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23883
b53ef01a
AS
23884 * sysdeps/powerpc/powerpc32/dl-machine.c
23885 (__elf_machine_runtime_setup) [PROF]: Don't reference
23886 _dl_prof_resolve.
23887
7a185db2
AJ
238882012-05-18 Andreas Jaeger <aj@suse.de>
23889
23890 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23891 function only available for GCCs before 3.4 since GCC 3.4
23892 introduced a builtin.
23893 (lrint): Likewise.
23894 (llrintf): Likewise.
23895 (llrint): Likewise.
23896 (fmaxf): Likewise.
23897 (fmax): Likewise.
23898 (fminf): Likewise.
23899 (fmin): Likewise.
23900 (rint): Likewise.
23901 (rintf): Likewise.
23902 (nearbyint): Likewise.
23903 (nearbyintf): Likewise.
23904 (ceil): Likewise.
23905 (ceilf): Likewise.
23906 (floor): Likewise.
23907 (floorf): Likewise.
23908
3e5aef87
L
239092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23910
428bd707
L
23911 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23912 on both fields and cast pointer to __syscall_ulong_t.
23913
3e5aef87
L
23914 * bits/types.h (__fsword_t): New type.
23915 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23916 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23918 (__FSWORD_T_TYPE): Likewise.
23919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23920 (__FSWORD_T_TYPE): Likewise.
23921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23922 (__FSWORD_T_TYPE): Likewise.
23923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23924 (__FSWORD_T_TYPE): Likewise.
23925 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23926 __SWORD_TYPE with __fsword_t.
23927 (statfs64): Likewise.
23928
1ba7c3dc
DM
239292012-05-17 David S. Miller <davem@davemloft.net>
23930
23931 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23932
59910343
AJ
239332012-05-17 Andreas Jaeger <aj@suse.de>
23934
23935 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23936 warning.
23937
2e4c1e9e
L
239382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23939
23940 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23941
de7f5ce7
AJ
239422012-05-17 Andreas Jaeger <aj@suse.de>
23943
23944 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23945 when it is used.
23946
286abc3d
CM
239472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23948
23949 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23950
477cc68e
L
239512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23952
23953 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23954 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23955
1a0994f5
CD
239562012-05-17 Andreas Jaeger <aj@suse.de>
23957 Carlos O'Donell <carlos_odonell@mentor.com>
23958
23959 [BZ #14059]
23960 * sysdeps/x86_64/multiarch/init-arch.h
23961 (bit_YMM_Usable): Rename to...
23962 (bit_AVX_Usable): ... this.
23963 (bit_FMA4_Usable): New macro.
23964 (bit_XMM_state): New macro.
23965 (bit_YMM_state): New macro.
23966 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23967 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23968 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23969 (CPUID_OSXSAVE): New macro.
23970 (CPUID_AVX): New macro.
23971 (CPUID_FMA4): New macro.
23972 (index_YMM_Usable): Rename to...
23973 (index_AVX_Usable): ... this.
23974 (HAS_AVX): Use HAS_ARCH_FEATURE.
23975 (HAS_FMA4): Likewise.
23976 (HAS_YMM_USABLE): Remove.
23977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23978 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23979 are present.
23980 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23981 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23982 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23983 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23984 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23985
0af797de
CM
239862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23987
23988 * math/libm-test.c: Support platforms without multiple rounding modes.
23989 * math/bug-nextafter.c: Support platforms without FP exceptions.
23990 * math/bug-nexttoward.c: Likewise.
23991 * math/test-fenv.c: Likewise.
23992 * math/test-misc.c: Likewise.
23993 * stdlib/bug-getcontext.c: Likewise.
23994
e39745ff
AJ
239952012-05-17 Andreas Jaeger <aj@suse.de>
23996
23997 * manual/examples/search.c (critter_cmp): Change signature to
23998 avoid warnings.
23999 * manual/string.texi (Collation Functions): Likewise.
24000
48970aba
L
240012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24002
24003 * bits/types.h: Fold copyright years.
24004 * bits/typesizes.h: Likewise.
24005 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24009 * time/time.h: Likewise.
24010
bedee953
PP
240112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24012
24013 [BZ #208]
24014 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24015 in instead of returning them. Return void.
24016 (__libc_mallinfo): Accumulate over all arenas.
24017 (__malloc_stats): Adjust for change in int_mallinfo interface.
24018
61653dfb
RM
240192012-05-16 Roland McGrath <roland@hack.frob.com>
24020
30b99d79
RM
24021 [BZ #10375]
24022 * configure.in (NM): Add AC_CHECK_TOOL for it.
24023 (libc_extra_cflags): New substituted variable.
24024 Check for -fstack-protector being used implicitly.
24025 * configure: Regenerated.
24026 * config.make.in (config-extra-cflags): New variable,
24027 gets @libc_extra_cflags@.
24028 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24029
61653dfb
RM
24030 [BZ #10375]
24031 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24032 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24033 * configure: Regenerated.
24034 * config.make.in (CPPUNDEFS): New substituted variable.
24035 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24036 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24037 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24038
661768bb
L
240392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24042 (mq_attr): Use __syscall_slong_t.
24043
d4261567
L
240442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24047 Check __x86_64__ instead of __WORDSIZE.
24048 (_STAT_VER_LINUX): Likewise.
24049 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24050 __syscall_ulong_t and __syscall_slong_t.
24051 (stat64): Likewise.
24052
cf3ff365
L
240532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24056
76cf3e4d
L
240572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24058
24059 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24060
a637753a
L
240612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24062
24063 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24064 __syscall_ulong_t.
24065
d5e05119
L
24066 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24067 include <bits/wordsize.h>. Check __x86_64__ instead of
24068 __WORDSIZE.
24069 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24070 defined.
24071 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24072
f62ee380
L
24073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24074 include <bits/wordsize.h>. Check __x86_64__ instead of
24075 __WORDSIZE.
24076 (user_regs_struct): Use "__extension__ unsigned long long"
24077 instead of "unsigned long" if __x86_64__ is defined.
24078 (user): Likewise. Pad after pointer field if __ILP32__ is
24079 defined.
24080
4e124ced
JM
240812012-05-16 Joseph Myers <joseph@codesourcery.com>
24082
6a3951a0
JM
24083 * configure.in (makeinfo): Require version 4.5 or later. Allow
24084 versions 5 to 9.
24085 * configure: Regenerated.
24086 * manual/install.texi (texinfo): Increase version requirement to
24087 4.5 or later.
24088 * INSTALL: Regenerated.
24089
4e124ced
JM
24090 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24091
953ca31a
L
240922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24093
24094 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24095
617aca05
L
24096 * sysdeps/x86_64/x32/ffs.c: New file.
24097
5762f7ae
L
24098 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24099 __syscall_ulong_t.
24100 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24101 defined. Use __syscall_ulong_t.
24102 (shminfo): Use __syscall_ulong_t.
24103 (shm_info): Likewise.
24104
a26b6856
L
24105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24106 __syscall_ulong_t.
24107
cb2b9ef7
L
24108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24109 <bits/wordsize.h>.
24110 (msgqnum_t): Use __syscall_ulong_t.
24111 (msglen_t): Likewise.
24112 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24113 __syscall_ulong_t.
24114
34683bb0
L
24115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24116 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24117
84a68786
L
24118 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24119
48baa5f1
L
24120 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24121 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24122
180be88b
L
24123 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24124 __syscall_slong_t.
24125
5e90c8ad
L
24126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24127 include <bits/wordsize.h>. Check __x86_64__ instead of
24128 __WORDSIZE.
24129
23dfb58b
L
24130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24131 "unsigned long long int" if __x86_64__ is defined.
24132 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24133
ce5d54b0
L
24134 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24135 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24136 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24137
13dc9eac
L
24138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24139 <stdint.h>.
24140 (GET_PC): Cast to uintptr_t first.
24141 (GET_FRAME): Likewise.
24142 (GET_STACK): Likewise.
24143
a7895d15
L
24144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24150 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24151 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24152 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24153 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24155 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24157 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24159 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24161 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24163 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24165 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24167 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24169 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24170 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24171 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24173
656416c9
AS
241742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24175
5bd66283
AS
24176 * Makerules (+depfiles): Also collect depfiles from .oS in
24177 $(extra-objs).
24178 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24179 .oS, $(libnldbl-routines)).
24180
656416c9
AS
24181 * Makerules (native-compile-mkdep-flags): Define.
24182 * sunrpc/Makefile (extra-objs): Add $(addprefix
24183 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24184 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24185 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24186 calling $(make-target-directory).
24187
a46f2169
L
241882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24189
24190 * bits/types.h (__snseconds_t): Removed.
24191 * time/time.h (struct timespec): Replace __snseconds_t with
24192 __syscall_slong_t.
24193 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24194 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24195 Likewise.
24196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24197 (__SNSECONDS_T_TYPE): Likewise.
24198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24199 (__SNSECONDS_T_TYPE): Likewise.
24200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24201 (__SNSECONDS_T_TYPE): Likewise.
24202
6af6528b
L
242032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24204
24205 * sysdeps/mach/hurd/bits/typesizes.h
24206 (__SYSCALL_SLONG_TYPE): New macro.
24207 (__SYSCALL_ULONG_TYPE): Likewise.
24208
de986b56
L
242092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24210
24211 * bits/types.h (__syscall_slong_t): New type.
24212 (__syscall_ulong_t): Likewise.
24213
24214 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24215 (__SYSCALL_ULONG_TYPE): Likewise.
24216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24217 (__SYSCALL_SLONG_TYPE): Likewise.
24218 (__SYSCALL_ULONG_TYPE): Likewise.
24219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24220 (__SYSCALL_SLONG_TYPE): Likewise.
24221 (__SYSCALL_ULONG_TYPE): Likewise.
24222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24223 (__SYSCALL_SLONG_TYPE): Likewise.
24224 (__SYSCALL_ULONG_TYPE): Likewise.
24225
85736dc7
L
242262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24229 Add sigaltstack-offsets.sym.
24230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24231 <sigaltstack-offsets.h>.
24232 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24233 longjmp_msg pointer.
24234 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24235 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24236 signal stack.
24237 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24238
cc03b296
JM
242392012-05-15 Joseph Myers <joseph@codesourcery.com>
24240
a9538892
JM
24241 * elf/stackguard-macros.h: Remove file.
24242 * sysdeps/generic/stackguard-macros.h: New file.
24243 * sysdeps/i386/stackguard-macros.h: Likewise.
24244 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24245 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24246 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24247 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24248 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24249 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24250 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24251 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24252 <elf/stackguard-macros.h>.
24253
cc03b296
JM
24254 [BZ #14109]
24255 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24256 __aligned__ in attribute.
24257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24258 (gregset_t): Likewise.
24259
93171016
L
242602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24261
24262 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24263 * sysdeps/x86_64/64/Implies-after: Here. New file.
24264 * sysdeps/x86_64/x32/Implies-after: New file.
24265
d86813a0
L
242662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24269 and access return value for _dl_profile_fixup. Use R10_LP to
24270 load frame size.
24271
2953ec75
L
242722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24275
3b550e9e
L
242762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24277
24278 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24279 * sysdeps/x86_64/x32/sysdep.h: New file.
24280
eda41706
L
242812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24282
24283 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24284 * sysdeps/x86_64/setjmp.S: Likewise.
24285
9ea01d93
AZ
242862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24287
24288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24290 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24292 remove unused global constant.
24293
02a91938
CM
242942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24295
24296 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24297 include of <not-cancel.h>.
24298
6540185f
RM
242992012-05-15 Roland McGrath <roland@hack.frob.com>
24300
24301 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24302
509072a0
AJ
243032012-05-15 Jeff Law <law@redhat.com>
24304 Andreas Jaeger <aj@suse.de>
24305
24306 [BZ #13594]
24307 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24308 out from...
24309 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24310 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24312 code changing __hst_map_handle.map.
24313
ba75122d
RM
243142012-05-15 Roland McGrath <roland@hack.frob.com>
24315
24316 * configure.in (sysnames): Look for Implies-before and Implies-after
24317 files.
24318 * configure: Regenerated.
24319
890d8bd8
L
243202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24323 8-byte data alignment with LP_SIZE alignment.
24324
f6ee6623
L
243252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24328 into R10_LP.
24329
ea2626f6
L
243302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24333
085f715e
L
243342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24335
24336 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24337 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24339 Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24341
be8498fc
L
243422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24345 (stackinfo_sub_sp): Likewise.
24346
70bc83b9
L
243472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24348
24349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24350 RAX_LP.
24351
9bc0b730
L
243522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24355 into R*_LP.
24356
6d2850e7
L
243572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24358
24359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24360 sizes into R*_LP.
24361
3cb84561
L
243622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24363
24364 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24365
54e2ed81
L
243662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24369 into R11_LP and load __x86_64_shared_cache_size_half into
24370 R8_LP.
24371
8a17f349
L
243722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24373
24374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24375 R8_LP.
24376
777b1eea
AZ
243772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24378
24379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24380 logb for POWER7.
24381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24382 logbf for POWER7.
24383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24384 logbl for POWER7.
24385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24386 powerpc32/power7/fpu/s_logb.c via #include.
24387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24388 powerpc32/power7/fpu/s_logbf.c via #include.
24389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24390 powerpc32/power7/fpu/s_logbl.c via #include.
24391
d20d4ac2
JM
243922012-05-15 Joseph Myers <joseph@codesourcery.com>
24393
24394 * README.libm: Remove file.
24395
6cdef1ab
L
243962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24399 count for x32. Use R*_LP and omit operand-size suffix.
24400
0b254d8f
L
244012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24402
24403 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24404 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24405 * sysdeps/x86_64/x32/shlib-versions: New file.
24406
ceb809dc
RM
244072012-05-14 Roland McGrath <roland@hack.frob.com>
24408
24409 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24410 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24411 Use _dl_fatal_printf instead.
24412
37f1abd4
JM
244132012-05-14 Joseph Myers <joseph@codesourcery.com>
24414
24415 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24416 set if not set by the user. Do not allow for being unset.
24417 * sysdeps/unix/sysv/linux/configure: Regenerated.
24418
11de3a33
L
244192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24422 the `q' suffix from lea and replace .quad with ASM_ADDR.
24423
e02f153a
L
244242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24427 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24428 instead of $17.
24429 (PTR_DEMANGLE): Likewise.
24430
520ae0fd
L
244312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24432
24433 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24434 (LP_OP): Likewise.
24435 (ASM_ADDR): Likewise.
24436 (RAX_LP): Likewise.
24437 (RBP_LP): Likewise.
24438 (RBX_LP): Likewise.
24439 (RCX_LP): Likewise.
24440 (RDI_LP): Likewise.
24441 (RSI_LP): Likewise.
24442 (RSP_LP): Likewise.
24443 (R8_LP): Likewise.
24444 (R9_LP): Likewise.
24445 (R10_LP): Likewise.
24446 (R10_LP): Likewise.
24447 (R11_LP): Likewise.
24448 (R12_LP): Likewise.
24449 (R13_LP): Likewise.
24450 (R14_LP): Likewise.
24451 (R15_LP): Likewise.
24452
b985be81
L
244532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24454
24455 * sysdeps/x86_64/x32/dl-machine.h: New file.
24456
6a4888ff
AJ
244572012-05-14 Andreas Jaeger <aj@suse.de>
24458
24459 * manual/Makefile (subdir): Remove export of subdir.
24460 (all): Remove target.
24461 (.PHONY): Remove all from list.
24462 (mkinstalldirs): Remove.
24463 (.PHONY): Remove installdirs from list.
24464 ($(inst_infodir)/libc.info): Use make-target-directory.
24465 (installdirs): Remove.
24466 (subdir_%): Remove.
24467 (glibc-targets): Remove.
24468 (lib): Remove.
24469 (stubs): Remove.
24470 ($(objpfx)stubs ../po/manual.pot): Remove.
24471 ($(objpfx)stamp%): Remove.
24472 (make-target-directory): Remove.
24473 (subdir_install): Remove.
24474 (routines): Remove.
24475 (aux): Remove.
24476 (sources): Remove.
24477 (objects): Remove.
24478 (headers): Remove.
24479
24480 [BZ #13750]
24481 * manual/.gitignore: Remove, it's not needed anymore.
24482 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24483 all files in it.
24484 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24485 directory.
24486 (texis): Renamed to $(objpfx)texis.
24487 (texis-path): New, contains path to generated files.
24488 (chapters.%): Use texis-path for complete path, add extra argument
24489 libc-texinfo.sh.
24490 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24491 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24492 (summary,texi, stamp-summary): Use complete path of
24493 files. Generate files in build dir.
24494 (dir-add.texi): Build in build dir.
24495 (libm-err.texi,stamp-libm-err): Likewise.
24496 (version.texi, stamp-version): Likewise.
24497 (.%c.texi): Likewise.
24498 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24499 (mostlyclean): Remove target.
24500 (realclean): Remove target.
24501 (generated): Add new variable with contents from mostlyclean and
24502 realclean, remove entries duplicated in common-mostlyclean, add
24503 stamp-libm-err and stamp-version.
24504 (generated-dirs): Add libc directory.
24505 ($(inst_infodir)/libc.info): Install files from build dir.
24506
24507 * manual/install.texi (Configuring and compiling): Adjust since
24508 the info files are not part of the tar ball anymore.
24509
7ac77294
AJ
245102012-05-14 Andreas Jaeger <aj@suse.de>
24511
24512 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24513 variable.
24514
ffb7875d
JM
245152012-05-14 Joseph Myers <joseph@codesourcery.com>
24516
24517 [BZ #13717]
24518 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24519 to 2.2.0 where earlier.
24520 * sysdeps/unix/sysv/linux/configure: Regenerated.
24521 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24522 Remove conditional code.
24523 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24524 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24525 Remove conditional code.
24526 [!__NR_lchown]: Likewise.
24527 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24528 [__NR_lchown]: Likewise.
24529 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24530 comment referencing __ASSUME_LCHOWN_SYSCALL.
24531 * sysdeps/unix/sysv/linux/i386/sigaction.c
24532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24534 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24535 Remove conditional code.
24536 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24537 (__protocol_available): Remove #if 0 code.
24538 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24539 conditional code.
24540 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24541 * sysdeps/unix/sysv/linux/kernel-features.h
24542 (__ASSUME_GETCWD_SYSCALL): Don't define.
24543 (__ASSUME_REALTIME_SIGNALS): Likewise.
24544 (__ASSUME_PREAD_SYSCALL): Likewise.
24545 (__ASSUME_PWRITE_SYSCALL): Likewise.
24546 (__ASSUME_POLL_SYSCALL): Likewise.
24547 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24548 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24549 non-SPARC.
24550 (__ASSUME_SIOCGIFNAME): Don't define.
24551 (__ASSUME_MSG_NOSIGNAL): Likewise.
24552 (__ASSUME_SENDFILE): Define unconditionally.
24553 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24554 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24555 conditional code.
24556 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24557 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24559 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24561 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24562 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24587 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24588 Remove conditional code.
24589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24590 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24591 Remove conditional code.
24592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24593 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24594 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24595 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24596 Remove conditional code.
24597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24598 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24599 Remove conditional code.
24600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24601 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24602 Remove conditional code.
24603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24604 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24605 Remove conditional code.
24606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24607 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24608 Remove conditional code.
24609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24610 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24613 * sysdeps/unix/sysv/linux/sigaction.c
24614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24616 * sysdeps/unix/sysv/linux/sigpending.c
24617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24619 * sysdeps/unix/sysv/linux/sigprocmask.c
24620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24622 * sysdeps/unix/sysv/linux/sigsuspend.c
24623 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24624 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24626 (__libc_missing_rt_sigs): Remove.
24627 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24628 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24629 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24630 Remove conditional code.
24631 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24632 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24633 return 1.
24634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24635 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24638
1bfb7291
AJ
246392012-05-14 Andreas Jaeger <aj@suse.de>
24640
caae5a81
AJ
24641 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24642 it's not used in glibc.
24643 (__coshm1): Likewise.
24644 (__acosh1p): Likewise.
24645 (__sgn): Likewise.
24646
1bfb7291
AJ
24647 * manual/string.texi (Copying and Concatenation): Add missing
24648 variable in concat example.
24649 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24650
c044d724
L
246512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24652
144c5467 24653 [BZ #14103]
c044d724
L
24654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24655 __builtin_clzl with __builtin_clzll.
24656
2523c62b
L
246572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 [BZ #14104]
24660 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24661 libc_freeres_ptr.
24662
d7bb4c42
LD
246632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24664
24665 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24666 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24667 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24669
9dc4e1fb
MF
246702012-05-14 Mike Frysinger <vapier@gentoo.org>
24671
24672 * NEWS: Update ia64 info.
24673
c7df0112
AS
246742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24675
24676 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24677 used as bcopy.
24678
dc70356c
TS
246792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24680
24681 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24682 * sysdeps/unix/syscalls.list (dup3): Likewise.
24683 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24684 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24685
9fb1a21f
L
246862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24687
24688 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24689 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24690
4822a2a5
L
246912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24692
24693 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24694 thread pointer.
24695 (TLS_IE): Use mov/add instead of movq/addq to load thread
24696 pointer.
24697 (TLS_GD_PREFIX): New.
24698 (TLS_GD): Use it.
24699
842b81d6
DM
247002012-05-11 David S. Miller <davem@davemloft.net>
24701
24702 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24703 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24704 (_FPU_SETCW): Likewise.
24705
1cf463cd
L
247062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24709 is 32-byte aligned.
24710
60cc4a18
AS
247112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24712
24713 [BZ #11837]
24714 * iconvdata/gb18030.c: Update tables.
24715 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24716 characters specially.
24717 (BODY for TO_LOOP): Add encoding of missing ranges.
24718
febb44a4
TS
247192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24720
24721 [BZ #13673]
24722 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24723 * sysdeps/mach/hurd/dup3.c: Likewise.
24724 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24725 * sysdeps/powerpc/memmove.c:: Likewise.
24726
0a10fb9e
L
247272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24728
24729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24730 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24731
df8a552f
L
247322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24733
24734 * elf/elf.h (R_X86_64_RELATIVE64): New.
24735 (R_X86_64_NUM): Updated.
24736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24737 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24738 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24739 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24740 tst-quad1pie tst-quad2pie
24741 (modules-names): Add tst-quadmod1 tst-quadmod2.
24742 ($(objpfx)tst-quad1): New dependency.
24743 ($(objpfx)tst-quad2): Likewise.
24744 ($(objpfx)tst-quad1pie): Likewise.
24745 ($(objpfx)tst-quad2pie): Likewise.
24746 * sysdeps/x86_64/tst-quad1.c: New file.
24747 * sysdeps/x86_64/tst-quad1pie.c: New file.
24748 * sysdeps/x86_64/tst-quad2.c: Likewise.
24749 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24750 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24751 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24752 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24753 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24754
f34d6f84
ST
247552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24756
f42d41d1
ST
24757 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24758 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24759 * streams/stropts.h (t_scalar_t): Define type.
24760
3c3571fc
ST
24761 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24762 (_PATH_PRESERVE): Set to "/var/lib".
24763 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24764
61f06bd3
ST
24765 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24766 instead of int.
24767
918d4d71
ST
24768 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24769 if __dir_mkfile succeeded.
24770
f34d6f84
ST
24771 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24772 checking for _hurd_dtablesize. Unlock it right after having
24773 finished _hurd_dtable allocation.
24774
10589b4a
TS
247752012-05-10 Thomas Schwinge <thomas@schwinge.name>
24776
674cdbc7
TS
24777 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24778 * sysdeps/mach/hurd/configure: Regenerated.
24779 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24780 special-casing to...
24781 * sysdeps/gnu/configure.in: ... this new file.
24782 * sysdeps/unix/sysv/linux/configure: Regenerated.
24783 * sysdeps/gnu/configure: New generated file.
24784
8e41b99f
TS
24785 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24786 for Linux: use nsec instead of usec, as well as:
24787 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24788 members of type struct timespec.
24789 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24790 New macros.
24791 (struct stat64): Likewise.
24792 (_STATBUF_ST_NSEC): New macro.
24793 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24794
10589b4a
TS
24795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24796 __strtoul_internal rather than strtoul.
24797
63643c85
PT
247982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24799
24800 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24801 and reject them.
24802
3faebe6a
ST
248032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24804
24805 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24806 which preserves existing values.
24807 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24808
c6474b07
PT
248092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24810
24811 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24812 TIMEOUT values. Return EINVAL for NFDS values either negative or
24813 greater than FD_SETSIZE.
24814
1043890b
ST
248152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24816
24817 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24818 allocated, call __vm_protect to finish enabling the existing space, and
24819 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24820 allocate the remainder.
24821
37ed8b9b
PT
248222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24823
24824 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24825 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24826
db653660
ST
248272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24828
37ed8b9b
PT
24829 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24830 sysdeps/mach/hurd/readlink.c.
b29d4053 24831
db653660
ST
24832 * posix/tst-sysconf.c (posix_options): Only use
24833 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24834 _POSIX_SYNCHRONIZED_IO when they are defined
24835 * sysdeps/mach/hurd/bits/posix_opt.h:
24836 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24837 (_XOPEN_REALTIME): Undefine macro.
24838 (_XOPEN_REALTIME_THREADS): Undefine macro.
24839 (_XOPEN_SHM): Undefine macro.
24840 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24841 macro to -1.
24842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24843 macro to -1.
24844 (_POSIX_ASYNC_IO): Undefine macro.
24845 (_POSIX_PRIORITIZED_IO): Undefine macro.
24846 (_POSIX_SPIN_LOCKS): Define macro to -1.
24847
ee16e894
ST
24848 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24849 SA_NODEFER, SA_RESETHAND.
24850 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24851 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24852 F_DUPFD_CLOEXEC.
24853
6103ae3b
TS
248542012-05-10 Thomas Schwinge <thomas@schwinge.name>
24855
24856 * elf/Makefile (pldd-modules): Define unconditionally.
24857
80b4e5f3
TS
248582012-05-10 Thomas Schwinge <thomas@schwinge.name>
24859
24860 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24861
edadcbd6
ST
248622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24863
24864 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24865 Return ENOENT when name is empty.
24866 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24867
80694780
TS
248682012-05-10 Thomas Schwinge <thomas@schwinge.name>
24869
1792c087
TS
24870 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24871
80694780
TS
24872 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24873
6b645f0d
ST
248742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24875
80694780
TS
24876 Fix mlock in all cases except non-readable pages.
24877 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24878 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24879
6b645f0d
ST
24880 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24881 (__mkdir): When path is `/', just fail with EEXIST.
24882 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24883
e468f8a3
TS
248842012-05-10 Thomas Schwinge <thomas@schwinge.name>
24885
24886 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24887 <sys/uio.h> (for writev).
24888 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24889 and <sys/param.h> (for MIN).
24890
a4186cff
PT
248912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24892
24893 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24894 REQUESTED_TIME. Properly set the remaining time and return EINTR
24895 if interrupted.
24896
510bbf14
TS
248972012-05-10 Thomas Schwinge <thomas@schwinge.name>
24898
24899 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24900 Depend on against $(link-rpcuserlibs).
24901
5d5722e8
ST
249022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24903
a4186cff
PT
24904 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24905 (__libc_stack_end): Do not use attribute_relro.
24906 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24907 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24908 to libthread-provided value.
a4186cff
PT
24909 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24910 attribute_relro.
5d5722e8 24911
37233df9
TS
249122012-05-10 Thomas Schwinge <thomas@schwinge.name>
24913
be971a2b
TS
24914 [BZ #3748]
24915 * bits/libc-lock.h (__libc_once_get): New macro.
24916 * sysdeps/mach/bits/libc-lock.h: Likewise.
24917 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24919 instead of using implementation details.
24920
37233df9
TS
24921 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24922 * libio/freopen.c: Likewise.
24923 * libio/freopen64.c: Likewise.
24924 * misc/syslog.c: Likewise.
24925 * nscd/connections.c: Likewise.
24926 * nscd/netgroupcache.c: Likewise.
24927 * sysdeps/posix/getcwd.c: Likewise.
24928
38de94a5
RM
249292012-05-10 Roland McGrath <roland@hack.frob.com>
24930
24931 * math/w_ilogbf.c: Add #include <limits.h>.
24932
67530489
ST
249332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24934
a4186cff 24935 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24936 path instead of returning without unlocking.
24937
67530489
ST
24938 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24939 immediate-write ioctls.
24940 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24941
5aa3a74a
TS
249422012-05-10 Thomas Schwinge <thomas@schwinge.name>
24943
18bad2ae
TS
24944 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24945 __builtin_frame_address instead of making assumptions about the
24946 location of the return address relative to DATA. Force early load of
24947 the return address.
24948 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24949 __builtin_frame_address.
24950
5aa3a74a
TS
24951 dup3 for GNU Hurd.
24952 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24953 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24954 implement dup3 and do some further code clean-ups.
24955 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24957
ecd0de9a
ST
249582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24959
cd9fa985
ST
24960 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24961
a4186cff
PT
24962 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24963 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24964 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24965 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24966 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24967 d->port.lock.
802ca5a5 24968
a4186cff
PT
24969 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24970 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24971 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24972
bcf55240
TS
249732012-05-10 Thomas Schwinge <thomas@schwinge.name>
24974
6960eb42
TS
24975 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24976 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24977 definitions.
24978
eb43375f
TS
24979 accept4 for GNU Hurd.
24980 * include/sys/socket.h (__libc_accept4): New prototype.
24981 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24982 to implement __libc_accept4.
24983 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24984 __libc_accept4.
24985 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24986
bcf55240
TS
24987 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24988 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24989 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24990 signal-defines.sym.
24991
6178c55b
ST
249922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24993
a4186cff 24994 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24995
6f080c2f
TS
249962012-05-10 Thomas Schwinge <thomas@schwinge.name>
24997
24998 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24999 assertion on O_CLOEXEC flag.
25000 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25001 * hurd/intern-fd.c: Likewise.
25002 * hurd/port2fd.c: Likewise.
25003
bcfe3a54
ST
250042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25005
25006 [BZ #3906]
25007 * bits/in.h (IPV6_PKTINFO): Define new macro.
25008 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25009
89c9aa49
AZ
250102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25011
25012 [BZ #13954]
25013 [BZ #13955]
25014 [BZ #13956]
25015 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25017 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25018 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25021 * math/libm-test.inc (logb_test) : Additional logb tests.
25022
021db4be
AJ
250232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25024 Andreas Jaeger <aj@suse.de>
25025
25026 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25027 * configure: Regenerated.
25028 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25029 * config.make.in (link-obsolete-rpc): New substituted variable.
25030 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25031 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25032 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25033 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25034 so that libc.a contains the symbols.
25035 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25036 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25037 * sunrpc/auth_none.c: Likewise.
25038 * sunrpc/auth_unix.c: Likewise.
25039 * sunrpc/authdes_prot.c: Likewise.
25040 * sunrpc/authuxprot.c: Likewise.
25041 * sunrpc/clnt_gen.c: Likewise.
25042 * sunrpc/clnt_perr.c: Likewise.
25043 * sunrpc/clnt_raw.c: Likewise.
25044 * sunrpc/clnt_simp.c: Likewise.
25045 * sunrpc/clnt_tcp.c: Likewise.
25046 * sunrpc/clnt_udp.c: Likewise.
25047 * sunrpc/clnt_unix.c: Likewise.
25048 * sunrpc/des_crypt.c: Likewise.
25049 * sunrpc/des_soft.c: Likewise.
25050 * sunrpc/get_myaddr.c: Likewise.
25051 * sunrpc/key_call.c: Likewise.
25052 * sunrpc/key_prot.c: Likewise.
25053 * sunrpc/netname.c: Likewise.
25054 * sunrpc/pm_getmaps.c: Likewise.
25055 * sunrpc/pm_getport.c: Likewise.
25056 * sunrpc/pmap_clnt.c: Likewise.
25057 * sunrpc/pmap_prot.c: Likewise.
25058 * sunrpc/pmap_prot2.c: Likewise.
25059 * sunrpc/pmap_rmt.c: Likewise.
25060 * sunrpc/publickey.c: Likewise.
25061 * sunrpc/rpc_cmsg.c: Likewise.
25062 * sunrpc/rpc_common.c: Likewise.
25063 * sunrpc/rpc_dtable.c: Likewise.
25064 * sunrpc/rpc_prot.c: Likewise.
25065 * sunrpc/rpc_thread.c: Likewise.
25066 * sunrpc/rtime.c: Likewise.
25067 * sunrpc/svc.c: Likewise.
25068 * sunrpc/svc_auth.c: Likewise.
25069 * sunrpc/svc_raw.c: Likewise.
25070 * sunrpc/svc_run.c: Likewise.
25071 * sunrpc/svc_tcp.c: Likewise.
25072 * sunrpc/svc_udp.c: Likewise.
25073 * sunrpc/svc_unix.c: Likewise.
25074 * sunrpc/svcauth_des.c: Likewise.
25075 * sunrpc/xcrypt.c: Likewise.
25076 * sunrpc/xdr.c: Likewise.
25077 * sunrpc/xdr_array.c: Likewise.
25078 * sunrpc/xdr_float.c: Likewise.
25079 * sunrpc/xdr_intXX_t.c: Likewise.
25080 * sunrpc/xdr_mem.c: Likewise.
25081 * sunrpc/xdr_rec.c: Likewise.
25082 * sunrpc/xdr_ref.c: Likewise.
25083 * sunrpc/xdr_sizeof.c: Likewise.
25084 * sunrpc/xdr_stdio.c: Likewise.
25085
b5c086a2
RM
250862012-05-10 Roland McGrath <roland@hack.frob.com>
25087
25088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25089 change. Update copyright years.
25090
6d74dd09
JM
250912012-05-10 Joseph Myers <joseph@codesourcery.com>
25092
25093 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25094
28e72501
MK
250952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25096 Joseph Myers <joseph@codesourcery.com>
25097 Paul Pluzhnikov <ppluzhnikov@google.com>
25098
25099 [BZ #14012]
25100 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25101 requiring rpcgen.
25102 [cross-compiling] (extra-libs): Likewise.
25103 [cross-compiling] (extra-libs-others): Likewise.
25104 [cross-compiling] (librpcsvc-routines): Likewise.
25105 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25106 [cross-compiling] (omit-deps): Likewise.
25107 (sunrpc-CPPFLAGS): New variable.
25108 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25109 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25110 (cross-rpcgen-objs): New variable.
25111 (extra-objs): Append $(cross-rpcgen-objs).
25112 ($(cross-rpcgen-objs)): New rule.
25113 ($(objpfx)cross-rpcgen): Likewise.
25114 (rpcgen-cmd): Define to use $(built-program-file). Expand
25115 comment.
25116 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25117 ($(objpfx)x%.stmp): Likewise.
25118 * sunrpc/proto.h [IS_IN_build] (_): Define.
25119 [IS_IN_build] (_libc_intl_domainname): Likewise.
25120
c8c59454
L
251212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25122
25123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25124 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25125 and R_X86_64_TPOFF64.
25126
6f27cd16
JM
251272012-05-10 Joseph Myers <joseph@codesourcery.com>
25128
25129 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25130 sysdeps/unix/sysv/syscalls.list.
25131 (stime): Likewise.
25132 (utime): Likewise.
25133 * sysdeps/unix/sysv/syscalls.list: Remove file.
25134
02467e1c
PE
251352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25136
25137 [BZ #3440]
25138 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25139 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25140 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25141 (__LC_IDENTIFICATION): Make these macros useful in #if
25142 expressions, as required by C99.
25143
da392631
AS
251442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25145
25146 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25147 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25148 after this.
25149
8115f29b
L
251502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25151
25152 * stdlib/longlong.h: Updated from GCC.
25153
bdd74070
AJ
251542012-05-09 Andreas Jaeger <aj@suse.de>
25155
edfe0dbe
AJ
25156 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25157 default is first entry.
25158 (run_mode): Set type.
25159 (main): Remove informal message about syslog.
25160 (options): Fix typo.
25161
bcfe3a54
ST
25162 [BZ #14053]
25163 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25164 to asm.
bcfe3a54
ST
25165 (lrint): Likewise.
25166 (llrintf): Likewise.
25167 (llrint): Likewise.
25168 (rint): Likewise.
25169 (rintf): Likewise.
25170 (nearbyint): Likewise.
25171 (nearbyintf): Likewise.
bdd74070 25172
91d8d69e
AJ
251732012-05-09 Andreas Jaeger <aj@suse.de>
25174 Pedro Alves <palves@redhat.com>
25175
25176 * nscd/nscd.c (run_mode): Use enum.
25177 (main): Cleanup coding style issue.
25178
bb90b80b
AJ
251792012-05-09 Alexandre Oliva <aoliva@redhat.com>
25180 Andreas Jaeger <aj@suse.de>
25181
bcfe3a54
ST
25182 * nscd/nscd.c (go_background): Replaced with...
25183 (run_mode): ... this.
bb90b80b 25184 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25185 (options): Add -F --foreground.
25186 (main): Implement it.
25187 (parse_opt): Parse it.
bb90b80b 25188
1a4b75a1
AJ
251892012-05-09 Andreas Jaeger <aj@suse.de>
25190
25191 [BZ #14083]
25192 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25193 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25194 -Wconversion warning.
25195 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25196 Likewise.
25197
b1cc2472
JM
251982012-05-09 Joseph Myers <joseph@codesourcery.com>
25199
25200 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25201 == 0.
25202 (LC_ALL): Use macro-int-constant.
25203 (LC_COLLATE): Likewise.
25204 (LC_CTYPE): Likewise.
25205 (LC_MESSAGES): Likewise.
25206 (LC_MONETARY): Likewise.
25207 (LC_NUMERIC): Likewise.
25208 (LC_TIME): Likewise.
25209 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25210 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25212 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25213 Specify type.
25214 [C99-based standards] (float_t): Expect type.
25215 [C99-based standards] (double_t): Expect type.
25216 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25217 type.
25218 [C99-based standards] (HUGE_VALL): Likewise.
25219 [C99-based standards] (INFINITY): Likewise.
25220 [C99-based standards] (NAN): Likewise.
25221 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25222 [C99-based standards] (FP_NAN): Likewise.
25223 [C99-based standards] (FP_NORMAL): Likewise.
25224 [C99-based standards] (FP_SUBNORMAL): Likewise.
25225 [C99-based standards] (FP_ZERO): Likewise.
25226 [C99-based standards] (FP_FAST_FMA): Use
25227 optional-macro-int-constant. Specify type. Require == 1.
25228 [C99-based standards] (FP_FAST_FMAF): Likewise.
25229 [C99-based standards] (FP_FAST_FMAL): Likewise.
25230 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25231 [C99-based standards] (FP_ILOGBNAN): Likewise.
25232 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25233 Specify type.
25234 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25235 [C99-based standards] (math_errhandling): Specify type.
25236 [ISO99 || ISO11] (signgam): Do not allow.
25237 [non-C99-based standards] (copysignf): Do not allow.
25238 [non-C99-based standards] (exp2f): Likewise.
25239 [non-C99-based standards] (log2f): Likewise.
25240 [non-C99-based standards] (modff): Allow.
25241 [non-C99-based standards] (erff): Do not allow.
25242 [non-C99-based standards] (erfcf): Likewise.
25243 [non-C99-based standards] (gammaf): Likewise.
25244 [non-C99-based standards] (hypotf): Likewise.
25245 [non-C99-based standards] (j0f): Likewise.
25246 [non-C99-based standards] (j1f): Likewise.
25247 [non-C99-based standards] (jnf): Likewise.
25248 [non-C99-based standards] (lgammaf): Likewise.
25249 [non-C99-based standards] (tgammaf): Likewise.
25250 [non-C99-based standards] (y0f): Likewise.
25251 [non-C99-based standards] (y1f): Likewise.
25252 [non-C99-based standards] (ynf): Likewise.
25253 [non-C99-based standards] (isnanf): Likewise.
25254 [non-C99-based standards] (acoshf): Likewise.
25255 [non-C99-based standards] (asinhf): Likewise.
25256 [non-C99-based standards] (atanhf): Likewise.
25257 [non-C99-based standards] (cbrtf): Likewise.
25258 [non-C99-based standards] (expm1f): Likewise.
25259 [non-C99-based standards] (ilogbf): Likewise.
25260 [non-C99-based standards] (log1pf): Likewise.
25261 [non-C99-based standards] (logbf): Likewise.
25262 [non-C99-based standards] (nextafterf): Likewise.
25263 [non-C99-based standards] (remainderf): Likewise.
25264 [non-C99-based standards] (rintf): Likewise.
25265 [non-C99-based standards] (scalbf): Likewise.
25266 [non-C99-based standards] (copysignl): Likewise.
25267 [non-C99-based standards] (exp2l): Likewise.
25268 [non-C99-based standards] (log2l): Likewise.
25269 [non-C99-based standards] (modfl): Allow.
25270 [non-C99-based standards] (erfl): Do not allow.
25271 [non-C99-based standards] (erfcl): Likewise.
25272 [non-C99-based standards] (gammal): Likewise.
25273 [non-C99-based standards] (hypotl): Likewise.
25274 [non-C99-based standards] (j0l): Likewise.
25275 [non-C99-based standards] (j1l): Likewise.
25276 [non-C99-based standards] (jnl): Likewise.
25277 [non-C99-based standards] (lgammal): Likewise.
25278 [non-C99-based standards] (tgammal): Likewise.
25279 [non-C99-based standards] (y0l): Likewise.
25280 [non-C99-based standards] (y1l): Likewise.
25281 [non-C99-based standards] (ynl): Likewise.
25282 [non-C99-based standards] (isnanl): Likewise.
25283 [non-C99-based standards] (acoshl): Likewise.
25284 [non-C99-based standards] (asinhl): Likewise.
25285 [non-C99-based standards] (atanhl): Likewise.
25286 [non-C99-based standards] (cbrtl): Likewise.
25287 [non-C99-based standards] (expm1l): Likewise.
25288 [non-C99-based standards] (ilogbl): Likewise.
25289 [non-C99-based standards] (log1pl): Likewise.
25290 [non-C99-based standards] (logbl): Likewise.
25291 [non-C99-based standards] (nextafterl): Likewise.
25292 [non-C99-based standards] (remainderl): Likewise.
25293 [non-C99-based standards] (rintl): Likewise.
25294 [non-C99-based standards] (scalbl): Likewise.
25295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25296 [non-C99-based standards] (FP_*): Do not allow.
25297 [C99-based standards] (FP_*): Change to
25298 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25299 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25300 allow.
25301 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25302 (SIG_ERR): Likewise.
25303 [X/Open-based standards] (SIG_HOLD): Likewise.
25304 (SIG_IGN): Likewise.
25305 (SIGABRT): Use macro-int-constant. Specify type. Require
25306 positive value.
25307 (SIGFPE): Likewise.
25308 (SIGILL): Likewise.
25309 (SIGINT): Likewise.
25310 (SIGSEGV): Likewise.
25311 (SIGTER): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25330 [X/Open-based standards] (SIGTRAP): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25335 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25336 allow.
25337
b9f1922d
IW
253382012-05-08 Ian Wienand <ianw@vmware.com>
25339
25340 [BZ #14080]
25341 * time/tzset.c (__tzset_parse_tz): Update default rules for
25342 daylight time changes in the Energy Policy Act of 2005.
25343
1db86e88
AJ
253442012-05-09 Andreas Jaeger <aj@suse.de>
25345
25346 [BZ #13983]
25347 * elf/ldconfig.c (parse_conf): Change string to make clear that
25348 ldconfig only issued a warning if ld.so.conf does not exist.
25349
dee4a4e3
DM
253502012-05-08 David S. Miller <davem@davemloft.net>
25351
ee0db190
DM
25352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25353 movxtod instead of popping the value on the stack.
25354
dee4a4e3
DM
25355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25356
6a43ec98
CD
253572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25358
25359 * config.h.in: Add HAVE_ARM_PCS_VFP.
25360
05c2c961
RMG
253612012-05-08 Roland Mc Grath <roland@hack.frob.com>
25362
bcfe3a54
ST
25363 [BZ #13979]
25364 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25365 checking but the checks are disabled for any reason.
05c2c961 25366
4b30f61a
L
253672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25370 and ELF64_R_TYPE with ELFW(R_TYPE).
25371
eee2bc67
JM
253722012-05-08 Joseph Myers <joseph@codesourcery.com>
25373
7ea5391a
JM
25374 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25375 (ulimit): Likewise.
25376
eee2bc67
JM
25377 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25378 (settimeofday): Likewise.
25379
abb66a67
MF
253802012-05-08 Mike Frysinger <vapier@gentoo.org>
25381
25382 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25383 a struct th_u2 inside the union, and move tu_block/tu_code into
25384 a new th_u3 union of tu_block/tu_code inside of that. Move
25385 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25386 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25387 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25388 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25389 (th_stuff): Change to th_u1.tu_stuff.
25390 (th_data): Define.
25391 (th_msg): Change to th_u1.th_u2.tu_data.
25392
7f18b530
DM
253932012-05-07 David S. Miller <davem@davemloft.net>
25394
05760585
DM
25395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25396
7f18b530
DM
25397 [BZ #14074]
25398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25399 (SETUP_PIC_REG): Use it.
25400 (SETUP_PIC_REG_LEAF): Use it.
25401
495fd99f
JM
254022012-05-07 Joseph Myers <joseph@codesourcery.com>
25403
25404 [BZ #13885]
25405 [BZ #13923]
25406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25407 USE_AS_EXPM1L.
25408 (EXPL_FINITE): Likewise.
25409 (FLDLOG): Likewise.
25410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25411 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25412 e_expl.S.
25413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25414 USE_AS_EXPM1L.
25415 (EXPL_FINITE): Likewise.
25416 (FLDLOG): Likewise.
25417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25418 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25419 e_expl.S.
25420 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25421 test of -max_value argument for long double.
25422 * sysdeps/i386/fpu/libm-test-ulps: Update.
25423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424
6693d694
DM
254252012-05-06 David S. Miller <davem@davemloft.net>
25426
25427 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25428 quad soft-float symbols whose references which are compiler
25429 generated.
25430 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25431
6c23e11c
JM
254322012-05-06 Joseph Myers <joseph@codesourcery.com>
25433
d8b82cad
JM
25434 [BZ #13884]
25435 [BZ #13914]
25436 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25437 USE_AS_EXP10L.
25438 (EXPL_FINITE): Likewise.
25439 (FLDLOG): Likewise.
25440 (c0): Likewise.
25441 (c1): Likewise.
25442 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25443 Adjust comments for base varying.
25444 (__expl_finite): Change alias to EXPL_FINITE.
25445 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25446 e_expl.S.
25447 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25448 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25450 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25452 USE_AS_EXP10L.
25453 (EXPL_FINITE): Likewise.
25454 (FLDLOG): Likewise.
25455 (c0): Likewise.
25456 (c1): Likewise.
25457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25458 Adjust comments for base varying.
25459 (__expl_finite): Change alias to EXPL_FINITE.
25460 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25461 tests for bugs.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25463
6c23e11c
JM
25464 [BZ #14064]
25465 * math/libm-test.inc (check_float_internal): Correct ulp
25466 calculation for subnormal expected results.
25467
29ba805c
AJ
254682012-05-06 Andreas Jaeger <aj@suse.de>
25469
25470 * Makeconfig (+math-flags): New, set to -frounding-math.
25471 (+cflags): Add +math-flags so that all of glibc gets compiled with
25472 it.
25473
25474 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25475
7b17aeda
JM
254762012-05-05 Joseph Myers <joseph@codesourcery.com>
25477
5779f134
JM
25478 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25479 Disable one test.
25480
41498f4d
JM
25481 [BZ #13787]
25482 [BZ #13922]
25483 [BZ #14036]
25484 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25485 (__ieee754_expl): Allow for and saturate large arguments.
25486 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25487 (u_threshold): Likewise.
25488 (__exp): Call __ieee754_exp before checking for overflow and
25489 underflow.
25490 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25491 (u_threshold): Likewise.
25492 (__expf): Call __ieee754_expf before checking for overflow and
25493 underflow.
25494 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25495 (u_threshold): Likewise.
25496 (__expl): Call __ieee754_expl before checking for overflow and
25497 underflow.
25498 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25499 (__ieee754_expl): Allow for and saturate large arguments.
25500 * math/libm-test.inc (exp_test): Add another test. Do not allow
25501 missing overflow exception on overflow.
25502 (expm1_test): Do not allow missing overflow exception on overflow.
25503
6698b8bf
JM
25504 * sysdeps/i386/fpu/e_expl.c: Move to ...
25505 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25506 rather than using inline asm.
25507 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25508 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25509 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25510
7b17aeda
JM
25511 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25512 (nice): Likewise.
25513 (poll): Likewise.
25514 (signal): Likewise.
25515 (time): Likewise.
25516 (times): Likewise.
25517
f7c85819
JM
255182012-05-04 Joseph Myers <joseph@codesourcery.com>
25519
25520 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25521 sysdeps/unix/common/syscalls.list.
25522 (fchmod): Likewise.
25523 (fchown): Likewise.
25524 (ftruncate): Likewise.
25525 (getrusage): Likewise.
25526 (gettimeofday): Likewise.
25527 (setpgid): Likewise.
25528 (setregid): Likewise.
25529 (setreuid): Likewise.
25530 (sigaction): Likewise.
25531 (truncate): Likewise.
25532 (vhangup): Likewise.
25533 * sysdeps/unix/common/syscalls.list: Remove file.
25534 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25535 * sysdeps/unix/sysv/linux/Implies: Likewise.
25536
336270d0
L
255372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25538
25539 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25541 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25542 Moved to ...
25543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25544 Here.
25545 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25546 to ...
25547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25548 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25549 to ...
25550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25551 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25552 to ...
25553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25554 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25555 to ...
25556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25558 to ...
25559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25560 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25561 to ...
25562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25563 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25564 to ...
25565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25566 Here.
25567 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25568 to ...
25569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25570 Here.
25571 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25572 to ...
25573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25574 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25575 Moved to ...
25576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25577 Here.
25578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25579 to ...
25580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25581
d128e450
JM
255822012-05-04 Joseph Myers <joseph@codesourcery.com>
25583
fa8ee516
JM
25584 * sysdeps/unix/common/bits/dirent.h: Remove file.
25585 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25586
d128e450
JM
25587 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25588 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25589 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25590 * sysdeps/unix/bsd/isatty.c: Likewise.
25591 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25592 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25593 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25594
ff8faaf0 255952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25596
62881be4 25597 [BZ #13563]
31dc8730
AZ
25598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25599 long double comparison inaccuracies.
25600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25602
6fef930c
AS
256032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25604
25605 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25606 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25607
8f203e6c
JM
256082012-05-04 Joseph Myers <joseph@codesourcery.com>
25609
25610 [BZ #14049]
25611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25612 nonzero digits before rounding a hex value.
25613 * stdlib/tst-strtod.c (tests): Add another test.
25614
5197d9c2
AK
256152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25616
25617 * sysdeps/s390/fpu/libm-test-ulps: Update.
25618
f0c1dedf
AJ
256192012-05-03 Andreas Jaeger <aj@suse.de>
25620
25621 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25622 does not get optimized out.
25623 (malloc_opt_barrier): New.
25624
a65ef2ae 256252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25626 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25627
2b942cb7 25628 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25629 intermediate file deletion.
2b942cb7 25630 (generated): Add .symlist files.
a65ef2ae 25631
54b71e02
JM
256322012-05-03 Joseph Myers <joseph@codesourcery.com>
25633
25634 [BZ #13775]
25635 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25636 Redirect under this condition.
25637 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25638 [__USE_GNU] (__dprintf_chk): Not under this condition.
25639 [__USE_GNU] (__vdprintf_chk): Likewise.
25640 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25641 under this condition.
25642 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25643 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25644 [__USE_XOPEN2K8] (vdprintf): Likewise.
25645 [__USE_GNU] (__dprintf_chk): Not under this condition.
25646 [__USE_GNU] (__vdprintf_chk): Likewise.
25647 [__USE_GNU] (dprintf): Likewise.
25648 [__USE_GNU] (vdprintf): Likewise.
25649
d3dfcc41
RM
256502012-05-03 Roland McGrath <roland@hack.frob.com>
25651
25652 * elf/Makefile (common-generated): Set this instead of generated for
25653 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25654 $(all-built-dso)-derived lists.
25655
7ac30cc5
AJ
256562012-05-03 Andreas Jaeger <aj@suse.de>
25657
0c51e550
AJ
25658 * sysdeps/i386/fpu/libm-test-ulps: Update.
25659
7ac30cc5
AJ
25660 * FAQ: Removed.
25661 * FAQ.in: Likewise.
25662 * scripts/gen-FAQ.pl: Likewise.
25663 * manual/install.texi (Installation): Point to online location of
25664 FAQ.
25665 * Makefile (files-for-dist): Remove FAQ.
25666 (FAQ): Remove.
25667
d4c2917f
AM
256682012-05-02 Allan McRae <allan@archlinux.org>
25669
25670 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25671 (LDFLAGS-reldepmod5.so): Likewise.
25672 (LDFLAGS-reldep6mod1.so): Likewise.
25673 (LDFLAGS-reldep6mod4.so): Likewise.
25674 (LDFLAGS-reldep8mod3.so): Likewise.
25675 (LDFLAGS-unload4mod1.so): Likewise.
25676 (LDFLAGS-unload4mod2.so): Likewise.
25677 (LDFLAGS-tst-initorder): Likewise.
25678 (LDFLAGS-tst-initordera2.so): Likewise.
25679 (LDFLAGS-tst-initordera3.so): Likewise.
25680 (LDFLAGS-tst-initordera4.so): Likewise.
25681 (LDFLAGS-tst-initorderb2.so): Likewise.
25682 (LDFLAGS-noload): Likewise.
25683 (LDFLAGS-next): Likewise.
25684 (LDFLAGS-order2mod1.so): Likewise.
25685 (LDFLAGS-order2mod2.so): Likewise.
25686 (LDFLAGS-tst-initorder2): Likewise.
25687 (LDFLAGS-tst-initorder2a.so): Likewise.
25688 (LDFLAGS-tst-initorder2b.so): Likewise.
25689 (LDFLAGS-tst-initorder2c.so): Likewise.
25690 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25691
d77f993f
DM
256922012-05-02 David S. Miller <davem@davemloft.net>
25693
25694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25695
171a70b4
PP
256962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25697
25698 [BZ #14055]
25699 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25700
0be196ad
AJ
257012012-05-02 Andreas Jaeger <aj@suse.de>
25702
25703 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25704 since we manipulate rounding mode.
25705 (CPPFLAGS-test-idouble.c): Likewise.
25706 (CPPFLAGS-test-ifloat.c): Likewise.
25707 (CFLAGS-test-ldouble.c): Likewise.
25708 (CFLAGS-test-double.c): Likewise.
25709 (CFLAGS-test-float.c): Likewise.
25710 (CFLAGS-test-misc.c): Likewise.
25711 (CFLAGS-test-test-fenv.c): Likewise.
25712
4f9d04aa
AZ
257132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25714
2b942cb7
RM
25715 [BZ #2550]
25716 [BZ #2570]
25717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25718 comparisons to determine direction to adjust input.
4f9d04aa 25719
82a79e7d
RM
257202012-05-01 Roland McGrath <roland@hack.frob.com>
25721
f5a01ca9
RM
25722 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25723 output to the target.
25724
90fe4186
RM
25725 * scripts/localplt.awk: New file.
25726 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25727 (check-localplt-CFLAGS): Variable removed.
25728 ($(all-built-dso:=.jmprel)): New static pattern rule.
25729 (generated): Add those targets.
25730 (localplt-built-dso): New variable.
25731 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25732
25733 * elf/check-localplt.c: File removed.
25734
82397ed6
RM
25735 * scripts/check-execstack.awk: New file.
25736 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25737 (check-execstack-CFLAGS): Variable removed.
25738 ($(objpfx)check-execstack.h): Target removed.
25739 ($(objpfx)execstack-default): New target.
25740 (generated): Add that instead of check-execstack.h.
25741 ($(all-built-dso:=.phdr)): New static pattern rule.
25742 (generated): Add those targets.
25743 * elf/check-execstack.c: File removed.
25744
82a79e7d
RM
25745 * scripts/check-textrel.awk: New file.
25746 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25747 (check-textrel-CFLAGS): Variable removed.
25748 (all-built-dso): Use := to define.o
25749 ($(all-built-dso:=.dyn)): New static pattern rule.
25750 (generated): Add those targets.
25751 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25752 * config.make.in (READELF): New substituted variable.
25753 * elf/check-textrel.c: File removed.
25754
62fde54f 257552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25756
615605c9
JM
25757 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25758 allow.
25759 * conform/data/ctype.h-data [C99-based standards] (isblank):
25760 Expect function.
25761 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25762 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25764 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25765 Specify type. Require positive value.
25766 (EILSEQ): Likewise.
25767 (ERANGE): Likewise.
25768 [ISO || POSIX] (EILSEQ): Do not expect.
25769 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25770 Specify type. Require positive value.
25771 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25772 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25773 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25775 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25776 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25777 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25778 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25779 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25780 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25781 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25782 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25783 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25784 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25785 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25786 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25787 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25788 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25789 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25790 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25791 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25792 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25793 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25797 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25799 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25800 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25801 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25802 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25803 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25804 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25805 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25807 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25808 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25809 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25810 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25811 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25812 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25813 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25814 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25815 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25816 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25817 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25818 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25819 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25820 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25821 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25822 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25823 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25824 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25825 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25827 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25829 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25830 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25831 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25832 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25833 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25834 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25835 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25836 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25837 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25838 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25839 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25840 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25841 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25842 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25843 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25844 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25845 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25846 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25847 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25848 Require >= 2.
25849 (FLT_ROUNDS): Expect as macro, not constant.
25850 (FLT_MANT_DIG): Use macro-int-constant.
25851 (DBL_MANT_DIG): Likewise.
25852 (LDBL_MANT_DIG): Likewise.
25853 (FLT_DIG): Likewise.
25854 (DBL_DIG): Likewise.
25855 (LDBL_DIG): Likewise.
25856 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25857 (DBL_MIN_EXP): Likewise.
25858 (LDBL_MIN_EXP): Likewise.
25859 (FLT_MAX_EXP): Use macro-int-constant.
25860 (DBL_MAX_EXP): Likewise.
25861 (LDBL_MAX_EXP): Likewise.
25862 (FLT_MAX_10_EXP): Likewise.
25863 (DBL_MAX_10_EXP): Likewise.
25864 (LDBL_MAX_10_EXP): Likewise.
25865 (FLT_MAX): Use macro-constant.
25866 (DBL_MAX): Likewise.
25867 (LDBL_MAX): Likewise.
25868 (FLT_EPSILON): Use macro-constant. Give upper bound.
25869 (DBL_EPSILON): Likewise.
25870 (LDBL_EPSILON): Likewise.
25871 (FLT_MIN): Likewise.
25872 (DBL_MIN): Likewise.
25873 (LDBL_MIN): Likewise.
25874 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25875 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25876 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25877 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25878 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25879 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25880 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25881 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25882 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25883 [ISO11] (FLT_TRUE_MIN): Likewise.
25884 [ISO11] (LDBL_TRUE_MIN): Likewise.
25885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25886 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25887 (SCHAR_MIN): Use macro-int-constant. Specify type.
25888 (SCHAR_MAX): Likewise.
25889 (UCHAR_MAX): Likewise.
25890 (CHAR_MIN): Likewise.
25891 (CHAR_MAX): Likewise.
25892 (MB_LEN_MAX): Use macro-int-constant.
25893 (SHRT_MIN): Use macro-int-constant. Specify type.
25894 (SHRT_MAX): Likewise.
25895 (USHRT_MAX): Likewise.
25896 (INT_MAX): Likewise.
25897 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25898 bound negative.
25899 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25900 bound with "U".
25901 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25902 bound with "L".
25903 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25904 bound negative. Suffix upper bound with "L".
25905 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25906 bound with "UL".
25907 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25908 Specify type.
25909 [C99-based standards] (LLONG_MAX): Likewise.
25910 [C99-based standards] (ULLONG_MAX): Likewise.
25911 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25912 == 0.
25913 [ISO11] (max_align_t): Require type.
25914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25915
c9140a62
JM
25916 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25917 from $CFLAGS, without defining away __attribute__ calls.
25918 (checknamespace): Use $CFLAGS_namespace.
25919
9af0bf29
JM
25920 * conform/conformtest.pl (@keywords): Only include C99 keywords
25921 for standards based on C99 or C11.
25922
343222a2
JM
25923 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25924 Disable tests.
25925 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25926 UNIX98]: Likewise.
25927
661f8cf0
JM
25928 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25929 usability of symbols in #if.
25930
ee74b9cb
JM
25931 * conform/conformtest.pl: If macro or constant types start
25932 "promoted:", expect the symbol to be of the following type
25933 promoted by the integer promotions.
62fde54f 25934
aafc49b3
JM
25935 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25936 in one place. Also handle "macro-constant".
25937
fefdf574
JM
25938 * conform/conformtest.pl: Only accept expected macro values with
25939 "==". Parse all "macro" lines in one place.
25940 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25941
f2d922fe
JM
25942 * conform/conformtest.pl: Handle braced types on "constant" lines
25943 instead of handling "typed-constant".
25944 * conform/data/signal.h-data: Use "constant" instead of
25945 "typed-constant".
25946
d22956c9
JM
25947 * conform/conformtest.pl: Handle "optional-" at start of lines in
25948 one place rather than duplicating several cases. Handle each
25949 format of "macro" line with initial "optional-".
25950
028e2e38
JM
25951 * conform/conformtest.pl: Only accept expected constant or
25952 optional-constant values with "==". Parse all "constant" lines in
25953 one place. Parse all "optional-constant" lines in one place.
25954 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25955 * conform/data/fmtmsg.h-data: Likewise.
25956 * conform/data/netinet/in.h-data: Likewise.
25957 * conform/data/tar.h-data: Likewise.
25958 * conform/data/limits.h-data: Use "==" form on "constant" and
25959 "optional-constant" lines.
25960
1b8f2850
JM
25961 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25962 Use -std=c99 for XOPEN2K.
25963 (@knownproblems): Remove.
25964 (newtoken): Don't check %isknown.
25965
a05a144b
JM
25966 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25967 Do not expect macro.
25968 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25980 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25981 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25998 [XPG3] (acosh): Likewise.
25999 [XPG3] (asinh): Likewise.
26000 [XPG3] (atanh): Likewise.
26001 [XPG3] (cbrt): Likewise.
26002 [XPG3] (expm1): Likewise.
26003 [XPG3] (ilogb): Likewise.
26004 [XPG3] (log1p): Likewise.
26005 [XPG3] (logb): Likewise.
26006 [XPG3] (nextafter): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26009 [XPG3] (remainder): Likewise.
26010 [XPG3] (rint): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26018 [UNIX98 || XOPEN2K] (scalb): Expect.
26019 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26020 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26084 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26087 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26088 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26156
73c5ebe3
JM
26157 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26158 _XOPEN_SOURCE_EXTENDED for XPG4.
26159
39c33b6c
JM
26160 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26161
62fde54f
JM
26162 * Makeconfig (localtime): Remove variable.
26163 (inst_localtime-file): Likewise.
26164
0741d64c
AS
261652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26166
26167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26168 Update.
26169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26170 Update.
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26172 Update.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26174 Update.
26175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26176 Update.
26177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26178 Update.
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26180 Update.
26181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26182 Update.
26183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26184 Update.
26185
7cb029ee
JM
261862012-05-01 Joseph Myers <joseph@codesourcery.com>
26187
26188 [BZ #2550]
26189 [BZ #2570]
26190 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26191 comparisons to determine direction to adjust input.
26192 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26193 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26195 Likewise.
26196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26197 Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26199 Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26202 Likewise.
26203 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26204 Likewise.
26205 * math/libm-test.inc (nexttoward_test): Add more tests.
26206
412bd966
AS
262072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26208
26209 [BZ #14040]
26210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26211 in version GLIBC_2.1, not GLIBC_2.0.
26212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26213 Likewise.
26214
9568c0c2
JM
262152012-04-30 Joseph Myers <joseph@codesourcery.com>
26216
adfbc8ac
JM
26217 [BZ #13942]
26218 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26219 (1 - x) * (1 + x).
26220 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26221 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26222 * math/libm-test.inc (acos_test): Add more tests.
26223 (asin_test): Likewise.
26224 * sysdeps/i386/fpu/libm-test-ulps: Update.
26225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26226
5ba3cc69
JM
26227 [BZ #14034]
26228 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26229 of square root.
26230 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26232 * math/libm-test.inc (acos_test_tonearest): New function.
26233 (acos_test_towardzero): Likewise.
26234 (acos_test_downward): Likewise.
26235 (acos_test_upward): Likewise.
26236 (asin_test_tonearest): Likewise.
26237 (asin_test_towardzero): Likewise.
26238 (asin_test_downward): Likewise.
26239 (asin_test_upward): Likewise.
26240 (main): Call the new functions.
26241 * sysdeps/i386/fpu/libm-test-ulps: Update.
26242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26243
9568c0c2
JM
26244 [BZ #13884]
26245 [BZ #13924]
26246 * math/e_exp10.c: Include <float.h>.
26247 (__ieee754_exp10): Handle underflow here rather than multiplying
26248 large negative argument by M_LN10.
26249 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26250 of __ieee754_expf.
26251 * math/e_exp10l.c: Include <float.h>.
26252 (__ieee754_exp10l): Handle underflow here rather than multiplying
26253 large negative argument by M_LN10l.
26254 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26255 spurious overflow exception on underflow.
26256
5ac3ea17
MP
262572012-04-29 Marek Polacek <polacek@redhat.com>
26258
26259 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26260 (__fortify_function): New macro.
26261 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26262 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26263 __extern_always_inline.
26264 * libio/bits/stdio2.h: Likewise.
26265 * libio/bits/stdio.h: Likewise.
26266 * string/string.h: Likewise.
26267 * string/bits/string3.h: Likewise.
26268 * include/stdio.h: Likewise.
26269 * stdlib/bits/stdlib.h: Likewise.
26270 * stdlib/stdlib.h: Likewise.
26271 * rt/bits/mqueue2.h: Likewise.
26272 * rt/mqueue.h: Likewise.
26273 * posix/bits/unistd.h: Likewise.
26274 * posix/unistd.h: Likewise.
26275 * io/bits/poll2.h: Likewise.
26276 * io/bits/fcntl2.h: Likewise.
26277 * io/fcntl.h: Likewise.
26278 * io/sys/poll.h: Likewise.
26279 * misc/bits/syslog.h: Likewise.
26280 * misc/bits/syslog-ldbl.h: Likewise.
26281 * misc/sys/syslog.h: Likewise.
26282 * socket/bits/socket2.h: Likewise.
26283 * socket/sys/socket.h: Likewise.
26284 * debug/tst-chk1.c: Likewise.
26285 * wcsmbs/bits/wchar2.h: Likewise.
26286 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26287 * wcsmbs/wchar.h: Likewise.
26288
ecf0ebfb
AJ
262892012-04-29 Andreas Jaeger <aj@suse.de>
26290
26291 * Makerules (tests): Remove enable-check-abi protection.
26292 (check-abi-warn): Remove.
26293 (check-abi-%): Remove check-abi-warn usage.
26294
26295 * configure.in: Remove check-abi configure option.
26296 * configure: Regenerated.
26297 * config.make.in (enable-check-abi): Remove.
26298
6d5c57fa
AS
262992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26300
24c5d07e 26301 [BZ #14033]
ded5180a
AS
26302 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26303 double functions to double *_finite functions.
26304
7e0d315d
AS
26305 [BZ #13941]
26306 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26307 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26308 LDBL_MIN_EXP.
26309 * stdio-common/Makefile (tests): Add tst-sprintf3.
26310 * stdio-common/tst-sprintf3.c: New file.
26311
6d5c57fa
AS
26312 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26313 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26314
0749ff8b
JM
263152012-04-28 Joseph Myers <joseph@codesourcery.com>
26316
26317 * conform/conformtest.pl: Remove duplicate typed-constant
26318 handling.
26319
8dbd5d7b
DM
263202012-04-28 David S. Miller <davem@davemloft.net>
26321
26322 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26323 (check-abi-%): Remove AWK script prerequisite and explicit
26324 abilist directory.
26325 (check-abi): Rewrite to just diff the symlist with the abilist.
26326 (config-tls, config-abi-config): Delete, no longer used.
26327 (update-abi-%): Remove AWK script and explicit abilist directory.
26328 (update-abi): Rewrite to simply compare and conditionally copy the
26329 symlist and the sysdep abilist file. Remove update-abi-config
26330 checks.
26331 * abilist/ld.abilist: Remove.
26332 * abilist/libBrokenLocale.abilist: Remove.
26333 * abilist/libanl.abilist: Remove.
26334 * abilist/libcrypt.abilist: Remove.
26335 * abilist/libdl.abilist: Remove.
26336 * abilist/librt.abilist: Remove.
26337 * abilist/libthread_db.abilist: Remove.
26338 * abilist/libutil.abilist: Remove.
26339 * scripts/extract-abilist.awk: Remove.
26340 * scripts/merge-abilist.awk: Remove.
26341 * sysdeps/generic/libcidn.abilist: New file.
26342 * sysdeps/generic/libnss_compat.abilist: New file.
26343 * sysdeps/generic/libnss_db.abilist: New file.
26344 * sysdeps/generic/libnss_dns.abilist: New file.
26345 * sysdeps/generic/libnss_files.abilist: New file.
26346 * sysdeps/generic/libnss_hesiod.abilist: New file.
26347 * sysdeps/generic/libnss_nis.abilist: New file.
26348 * sysdeps/generic/libnss_nisplus.abilist: New file.
26349 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26350 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26351 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26352 file.
26353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26354 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26355 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26356 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26357 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26358 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26359 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26360 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26361 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26362 file.
26363 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26364 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26366 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26367 file.
26368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26369 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26370 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26371 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26372 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26373 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26374 file.
26375 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26376 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26378 file.
26379 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26381 New file.
26382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26383 New file.
26384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26385 New file.
26386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26387 New file.
26388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26389 New file.
26390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26391 New file.
26392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26393 New file.
26394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26395 New file.
26396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26397 New file.
26398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26399 New file.
26400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26401 New file.
26402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26403 New file.
26404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26405 New file.
26406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26407 file.
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26409 New file.
26410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26411 New file.
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26413 file.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26415 New file.
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26417 New file.
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26419 file.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26421 New file.
26422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26423 New file.
26424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26425 New file.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26427 New file.
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26429 New file.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26431 New file.
26432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26434 file.
26435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26436 New file.
26437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26438 file.
26439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26440 file.
26441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26442 file.
26443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26444 file.
26445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26446 file.
26447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26448 New file.
26449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26450 file.
26451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26452 file.
26453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26454 New file.
26455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26456 file.
26457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26459 file.
26460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26461 New file.
26462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26463 file.
26464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26465 file.
26466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26467 file.
26468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26469 file.
26470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26471 file.
26472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26473 New file.
26474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26475 file.
26476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26477 file.
26478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26479 New file.
26480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26481 file.
26482 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26483 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26484 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26485 file.
26486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26487 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26488 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26489 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26490 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26491 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26492 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26493 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26494 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26495 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26498 file.
26499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26500 New file.
26501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26502 file.
26503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26504 file.
26505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26506 file.
26507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26508 file.
26509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26510 file.
26511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26512 New file.
26513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26514 New file.
26515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26516 file.
26517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26518 New file.
26519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26520 file.
26521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26523 file.
26524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26525 New file.
26526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26527 file.
26528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26529 file.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26531 file.
26532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26533 file.
26534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26535 file.
26536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26537 New file.
26538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26539 New file.
26540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26541 file.
26542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26543 New file.
26544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26545 file.
26546
41d73a1b
JM
265472012-04-28 Joseph Myers <joseph@codesourcery.com>
26548
26549 * conform/conformtest.pl: Fix typo in handling typed-constant from
26550 allow-header.
26551
28aeeda4
JM
265522012-04-27 Joseph Myers <joseph@codesourcery.com>
26553
adae8f5e
JM
26554 * README: Cut down references to pre-2.6 Linux kernels and
26555 Linuxthreads. Update lists of configurations in libc and ports
26556 and sort alphabetically. Say "or newer" with Linux kernel version
26557 requirements.
26558
28aeeda4
JM
26559 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26560
a462cb63
RA
265612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26562
26563 [BZ #887]
26564 * math/libm-test.inc (logb_test_downward): New test to expose
26565 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26566 rounding mode.
26567
6ad3493e
JM
265682012-04-27 Joseph Myers <joseph@codesourcery.com>
26569
26570 [BZ #14027]
26571 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26572 to be done.
26573 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26574 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26575
2ce4f015
JM
265762012-04-26 Joseph Myers <joseph@codesourcery.com>
26577
5aeb141a
JM
26578 * sysdeps/unix/i386/brk.S: Remove file.
26579 * sysdeps/unix/i386/dl-brk.S: Likewise.
26580 * sysdeps/unix/i386/pipe.S: Likewise.
26581 * sysdeps/unix/i386/sigreturn.S: Likewise.
26582 * sysdeps/unix/i386/syscall.S: Likewise.
26583 * sysdeps/unix/i386/vfork.S: Likewise.
26584 * sysdeps/unix/i386/wait.S: Likewise.
26585
7143acae
JM
26586 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26587 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26588
2ce4f015
JM
26589 * configure.in (arm*-none*): Do not allow without
26590 --enable-hacker-mode.
26591 (netbsd*): Remove case setting base_os.
26592 (386bsd*): Likewise.
26593 (freebsd*): Likewise.
26594 (bsdi*): Likewise.
26595 (osf*): Likewise.
26596 (sunos*): Likewise.
26597 (ultrix*): Likewise.
26598 (newsos*): Likewise.
26599 (dynix*): Likewise.
26600 (*bsd*): Likewise.
26601 (sysv*): Likewise.
26602 (isc*): Likewise.
26603 (esix*): Likewise.
26604 (sco*): Likewise.
26605 (minix*): Likewise.
26606 (irix4*): Likewise.
26607 (irix6*): Likewise.
26608 (solaris[2-9]*): Likewise.
26609 (none): Likewise.
26610 * configure: Regenerated.
26611
0ac229c8
AZ
266122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26613
26614 [BZ #11521]
26615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26616 overflow or cancellation in calculating denominator.
26617 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26619 down expression to avoid unexpected rounding in newer GCCs.
26620 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26621
33f244f4
DM
266222012-04-26 David S. Miller <davem@davemloft.net>
26623
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26625 long-double compat symbols.
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26639
cfa1f3e8
DM
266402012-04-25 David S. Miller <davem@davemloft.net>
26641
26642 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26643 HWCAP_* values only after the memory barriers have been defined.
26644 (atomic_full_barrier): Define.
26645 (atomic_read_barrier): Define.
26646 (atomic_write_barrier): Define.
26647
6e236b92
SP
266482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26649
26650 * shlib-versions: Add libgcc_s version information.
26651 * sysdeps/generic/libgcc_s.h: Remove.
26652 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26653 libgcc_s.h.
26654 * sysdeps/gnu/unwind-resume.c: Likewise.
26655 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26656
aab39a09
DM
266572012-04-25 David S. Miller <davem@davemloft.net>
26658
26659 * sysdeps/unix/sparc/brk.S: Delete.
26660 * sysdeps/unix/sparc/dl-brk.S: Delete.
26661 * sysdeps/unix/sparc/pipe.S: Delete.
26662 * sysdeps/unix/sparc/sysdep.S: Delete.
26663 * sysdeps/unix/sparc/sysdep.h: Delete.
26664 * sysdeps/unix/sparc/vfork.S: Delete.
26665 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26666 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26667 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26668 ret_ERRVAL, r0, r1, MOVE): Define.
26669 (JUMPTARGET): Remove.
26670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26671 sysdeps/unix/sparc/sysdep.h
26672 (ENTRY, END): Remove.
26673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26674
a3cc4f48
JM
266752012-04-25 Joseph Myers <joseph@codesourcery.com>
26676
2ed8cda2
JM
26677 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26678 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26679 -DIS_IN_build.
26680
35d76d59
JM
26681 * timezone/README: Update upstream location and email address for
26682 tzcode and tzdata.
26683 * timezone/zdump.c: Update from tzcode 2012b.
26684 * timezone/zic.c: Likewise.
26685
a3cc4f48
JM
26686 * configure.in (libc_cv_as_needed): Remove test.
26687 * configure: Regenerated.
26688 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26689 conditional definition.
26690 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26691 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26692 * config.make.in (have-as-needed): Remove variable.
26693
ceab42c3
SP
266942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26695 Paul Pluzhnikov <ppluzhnikov@google.com>
26696
26697 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26698 strings correctly.
26699
3ce2865f
CLT
267002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26701
26702 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26703 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26704 * sysdeps/sh/strlen.S: Likewise.
26705
f37e0d68
JM
267062012-04-24 Joseph Myers <joseph@codesourcery.com>
26707
ae186e9a
JM
26708 * sysdeps/unix/fork.S: Remove file.
26709 * sysdeps/unix/i386/fork.S: Likewise.
26710 * sysdeps/unix/sparc/fork.S: Likewise.
26711
b96914af
JM
26712 * sysdeps/unix/system.c: Remove file.
26713 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26714
f37e0d68
JM
26715 * sysdeps/unix/getegid.S: Remove file.
26716 * sysdeps/unix/geteuid.S: Likewise.
26717
87ef29ca
RM
267182012-04-24 Roland McGrath <roland@hack.frob.com>
26719
83bcd236
RM
26720 * scripts/check-localplt.awk: New file.
26721 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26722 of diff.
26723 * scripts/data/localplt-generic.data: Add a comment.
26724
87ef29ca
RM
26725 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26726 NODE when __dir_mkfile failed.
26727 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26728 Reported by Ludovic Courtès <ludo@gnu.org>.
26729
e5a6e567
AJ
267302012-04-24 Andreas Jaeger <aj@suse.de>
26731
26732 * Makerules (common-clean): Also remove gen-as-const-headers
26733 files.
26734
c1820385
JM
267352012-04-24 Joseph Myers <joseph@codesourcery.com>
26736
26737 * Makerules (native-compile): Do not change working directory for
26738 build. Use $(OUTPUT_OPTION) in command.
26739 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26740
94e02fc4
AZ
267412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26742
26743 [BZ #13886]
26744 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26745 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26746 * math/libm-test.inc (floor_test): Add more tests.
26747 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26748
3a533ca3
JM
267492012-04-24 Joseph Myers <joseph@codesourcery.com>
26750
940ab4b3
JM
26751 * sysdeps/unix/getdents.c: Remove file.
26752 * sysdeps/unix/sysv/getdents.c: Likewise.
26753 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26754
90e037bd
JM
26755 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26756 sysdeps/unix/mman/syscalls.list.
26757 (mmap): Likewise.
26758 (mprotect): Likewise.
26759 (msync): Likewise.
26760 (munmap): Likewise.
26761 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26762 * sysdeps/unix/mman/syscalls.list: Remove.
26763 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26764
3a533ca3
JM
26765 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26766 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26767 * configure: Regenerated.
26768 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26769 $(libgcc_s_suffix).
26770 * config.make.in (libgcc_s_suffix): Remove variable.
26771
1ad743de
JM
267722012-04-23 Joseph Myers <joseph@codesourcery.com>
26773
4ad451e2
JM
26774 * sysdeps/unix/sysv/gethostname.c: Move to ...
26775 * sysdeps/posix/gethostname.c: ... here.
26776
5e37ce39
JM
26777 * sysdeps/unix/execve.S: Remove file.
26778
1ad743de
JM
26779 * sysdeps/unix/_exit.S: Remove file.
26780
4e681b5b
AJ
267812012-04-23 Andreas Jaeger <aj@suse.de>
26782
26783 [BZ #13739]
26784 * manual/Makefile: Remove make dist support, there's no
26785 need for a stand-alone documentation tar ball.
26786 (TEXI2DVI): Define always, it's not in Makeconfig.
26787 (dist): Removed.
26788 (tar-it): Removed.
26789 (edition): Removed.
26790 (glibc-doc-$(edition).tar): Removed
26791 (%.Z): Removed.
26792 (%.gz): Removed.
26793 (%.uu): Removed.
26794 (ETAGS): Remove, it's in Makeconfig.
26795 (move-if-change): Remove, it's in Makeconfig.
26796
38686a03 267972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26798
26799 [BZ #13970]
26800 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26801 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26802 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26803 (strtod_l, strtof_l, strtold_l): Remove __wur.
26804 It is not necessarily an error to ignore strtol's return value.
26805 One can reliably look at the stored endptr to decide whether
26806 the number had valid syntax.
26807
7c0616fa
AJ
268082012-04-21 Andreas Jaeger <aj@suse.de>
26809
803cb6b7 26810 [BZ #13739]
7c0616fa
AJ
26811 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26812
b0fe253f
JM
268132012-04-21 Joseph Myers <joseph@codesourcery.com>
26814
26815 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26816 * sysdeps/unix/sysv/Versions: Remove file.
26817
8280f22d
MT
268182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26819
26820 [BZ #13927]
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26822
75ce411f 268232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26824
26825 [BZ #7064]
26826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26827 version from __vm86.
26828
097d59fa
JM
268292012-04-20 Joseph Myers <joseph@codesourcery.com>
26830
a90f3bcb
JM
26831 * sysdeps/unix/common/lxstat.c: Remove file.
26832 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26833
edc7ea78
JM
26834 * sysdeps/unix/sysv/Makefile: Remove file.
26835
cb78c221
JM
26836 * sysdeps/unix/sysv/direct.h: Remove file.
26837
efa6a45f
JM
26838 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26839 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26840 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26841 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26842 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26843 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26844 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26845
9c9f2d0c
JM
26846 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26847
4541c83b
JM
26848 * sysdeps/unix/xmknod.c: Remove file.
26849 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26850
f5d153a0
JM
26851 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26852
aa746595
JM
26853 * sysdeps/unix/sysv/i386/time.S: Remove file.
26854
cce5905e
JM
26855 * sysdeps/unix/fxstat.c: Remove file.
26856 * sysdeps/unix/xstat.c: Likewise.
26857 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26858
37fa3841
JM
26859 * sysdeps/unix/sysv/sigaction.c: Remove file.
26860
ff1962a3
JM
26861 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26862 (sysdep_headers): Remove variable.
26863 [termio.h not in sysdep_headers] (generated): Likewise.
26864 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26865 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26866 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26867 * sysdeps/unix/sysv/tcflow.c: Likewise.
26868 * sysdeps/unix/sysv/tcflush.c: Likewise.
26869 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26870 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26871 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26872 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26873 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26874
e7740d31
JM
26875 * sysdeps/unix/siglist.c: Remove file.
26876
ee06f18b
JM
26877 * sysdeps/unix/getppid.S: Remove file.
26878
097d59fa
JM
26879 * sysdeps/unix/mkdir.c: Remove file.
26880 * sysdeps/unix/rmdir.c: Likewise.
26881
ff3d51ec
AS
268822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26883
26884 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26885 ERR_MAX value.
26886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26887 errlist-compat value.
26888
50f81fd7
DM
268892012-04-18 David S. Miller <davem@davemloft.net>
26890
26891 * sysdeps/generic/memcopy.h (reg_char): Delete.
26892 * debug/strcat_chk.c: Use char, not reg_char.
26893 * debug/strcpy_chk.c: Likewise.
26894 * debug/strncat_chk.c: Likewise.
26895 * debug/strncpy_chk.c: Likewise.
26896 * string/memchr.c: Likewise.
26897 * string/memrchr.c: Likewise.
26898 * string/rawmemchr.c: Likewise.
26899 * string/strcat.c: Likewise.
26900 * string/strchr.c: Likewise.
26901 * string/strchrnul.c: Likewise.
26902 * string/strcmp.c: Likewise.
26903 * string/strcpy.c: Likewise.
26904 * string/strncat.c: Likewise.
26905 * string/strncmp.c: Likewise.
26906 * string/strncpy.c: Likewise.
26907
8ff41c46
WS
269082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26909
26910 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26911 __builtin_memcopy is called when src and dest ranges are known to not
26912 overlap.
26913
6b652f46
WS
269142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26915
26916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26917 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26918 fwd_align_merge macro call.
26919 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26920 bwd_align_merge macro call.
26921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26922
b282631e
WS
269232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26924
26925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26926 bwd_align_merge macros.
26927 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26928 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26930
95aa737c
DM
269312012-04-18 David S. Miller <davem@davemloft.net>
26932
26933 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26934
7a99a614
AJ
269352012-04-18 Andreas Jaeger <aj@suse.de>
26936
26937 [BZ# 6794]
26938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26941
26942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26943 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26945
26946 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26947 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26948 Adjust for changed ldbl-128 files.
26949
26950 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26951 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26953
e5270c23
DM
269542012-04-17 David S. Miller <davem@davemloft.net>
26955
26956 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26957
fb5e92c9
AS
269582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26959
26960 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26961 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26962 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26963 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26964 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26965 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26966
76da7265
AZ
269672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26968
26969 [BZ #6794]
26970 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26971 * math/libm-test.inc: Add ilogb errno and exception tests.
26972 * math/w_ilogb.c: New file: ilogb wrapper.
26973 * math/w_ilogbf.c: New file: ilogbf wrapper.
26974 * math/w_ilogbl.c: New file: ilogbl wrapper.
26975 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26976 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26977 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26978 exception being thrown with 0.0 as argument.
26979 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26980 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26981 exception being thrown with 0.0 as argument.
26982 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26983 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26984 exception being thrown with 0.0 as argument.
26985 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26986 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26987 exception being thrown with 0.0 as argument.
26988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26989 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26990 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26991 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26992 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26993 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26994 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26995 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26996 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26997
0396e69d
PB
269982012-04-17 Petr Baudis <pasky@ucw.cz>
26999
27000 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27001 with altivec.
27002
750b5926
MP
270032012-04-16 Marek Polacek <polacek@redhat.com>
27004
27005 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27006
751728a1
MP
270072012-04-16 Marek Polacek <polacek@redhat.com>
27008
27009 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27010 operands of fdivp instruction.
27011
34a27407
L
270122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27013
27014 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27015 * elf/tst-auditmod3b.c: Likewise.
27016 * elf/tst-auditmod4b.c: Likewise.
27017 * elf/tst-auditmod5b.c: Likewise.
27018 * elf/tst-auditmod6b.c: Likewise.
27019 * elf/tst-auditmod6c.c: Likewise.
27020 * elf/tst-auditmod7b.c: Likewise.
27021 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27022 * sysdeps/x86_64/preconfigure.in: Likewise.
27023 * sysdeps/x86_64/preconfigure: Regenerated.
27024
7e73e17d
L
270252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27026
27027 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27028 __ILP32__.
27029
c7a6ab72
AB
270302012-04-13 Antoine Balestrat <merkil33@gmail.com>
27031
27032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27033 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27034
a9e8e0e0
CL
270352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27036
27037 [BZ #13973]
27038 * locale/iso-639.def: Fix gl language name. Spotted by
27039 Yaron Shahrabani.
27040
ec98af7d
RM
270412012-04-12 Roland McGrath <roland@hack.frob.com>
27042
27043 [BZ #2074]
27044 * libio/libio.h (__io_write_fn): Update comment.
27045
247c3ede
PB
270462012-04-12 Petr Baudis <pasky@ucw.cz>
27047
27048 [BZ #2074]
27049 * stdio.texi (Hook Functions): The user provided writer function
27050 is not allowed to return -1.
27051
55939d6d
DM
270522012-04-11 David S. Miller <davem@davemloft.net>
27053
27054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27055
90020f5a
MF
270562012-04-11 Mike Frysinger <vapier@gentoo.org>
27057
27058 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27059 Add a leading slash to rtkaio.
27060
288f9098
JM
270612012-04-11 Jim Meyering <meyering@redhat.com>
27062
90020f5a
MF
27063 [BZ #11959]
27064 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27065 It is not necessarily an error to ignore fwrite's return
27066 value. One can reliably use ferror to test for errors after
27067 the fact.
288f9098 27068
4be2b570
L
270692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27070
27071 * bits/types.h (__snseconds_t): New type.
27072 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27073
27074 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27076 (__SNSECONDS_T_TYPE): Likewise.
27077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27078 (__SNSECONDS_T_TYPE): Likewise.
27079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27080 (__SNSECONDS_T_TYPE): Likewise.
27081
288f9098 270822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27083
27084 [BZ #2636]
27085 * manual/time.texi (Processor Time): Return type of times is
27086 elapsed real time since an arbitrary point in the past.
27087 (CPU Time): Move CLK_TCK from here...
27088 (Processor Time): ...to here. Correct description.
27089 * manual/conf.texi (Constants for Sysconf): Correct description of
27090 _SC_CLK_TCK.
27091
d7dd4413
DM
270922012-04-10 David S. Miller <davem@davemloft.net>
27093
27094 [BZ #13967]
27095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27096 where the is a gap between DT_REL(A) and DT_JMPREL.
27097
b46068fc
L
270982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27099
27100 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27101 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27102 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27103
73d65cc3
SP
271042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27105
27106 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27107 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27108 (dl_main): Handle --inhibit-cache.
27109 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27110 _dl_inhibit_cache.
27111 * elf/dl-load.c (_dl_map_object): Use it.
27112 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27113
bcc8d661
JM
271142012-04-09 Joseph Myers <joseph@codesourcery.com>
27115
8f9a2fae
JM
27116 [BZ #13872]
27117 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27118 (__ieee754_powl): Saturate large exponents rather than testing for
27119 overflow of y*log2(x).
27120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27121 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27122 exceptions.
27123
bcc8d661
JM
27124 [BZ #11521]
27125 * math/s_ctan.c: Include <float.h>.
27126 (__ctan): Avoid internal overflow or cancellation in calculating
27127 denominator.
27128 * math/s_ctanf.c: Likewise.
27129 * math/s_ctanl.c: Likewise.
27130 * math/s_ctanh.c: Likewise.
27131 * math/s_ctanhf.c: Likewise.
27132 * math/s_ctanhl.c: Likewise.
27133 * math/libm-test.inc (ctan_test): Add more tests.
27134 (ctanh_test): Likewise.
27135 * sysdeps/i386/fpu/libm-test-ulps: Update.
27136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27137
823fbbb4
AJ
271382012-04-09 Andreas Jaeger <aj@suse.de>
27139
03879793
AJ
27140 [BZ #6894]
27141 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27142 is an optional BSD extension.
27143
823fbbb4
AJ
27144 [BZ #10254]
27145 * manual/stdio.texi (Opening Streams): Document additional fopen
27146 parameters.
27147
8de131cb
RM
271482012-04-09 Roland McGrath <roland@hack.frob.com>
27149
27150 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27151 %eax without telling the compiler.
27152
c0ed9d7d
CD
271532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27154
27155 [BZ # 13963]
27156 * manual/install.texi: Use sourceware.org.
27157
c483f6b4
JM
271582012-04-09 Joseph Myers <joseph@codesourcery.com>
27159
d7dd9453
JM
27160 [BZ #13873]
27161 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27162 (__ieee754_pow): Generate overflow and underflow using huge*huge
27163 and tiny*tiny rather than just returning constant infinity or zero
27164 for large exponents.
27165 * math/libm-test.inc (pow_test): Require overflow exceptions for
27166 applicable cases of large exponents.
27167
c483f6b4
JM
27168 [BZ #706]
27169 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27170 (__ieee754_pow): Use iterative multiplication algorithm only for
27171 integer exponents with absolute value below 1024. Check for odd
27172 integer exponents when using algorithm for real exponents.
27173 * math/libm-test.inc (pow_test): Add more tests.
27174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27175
d2de7579
JM
271762012-04-08 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #13705]
27179 * math/libm-test.inc (exp_test): Do not allow overflow exception
27180 on underflow test.
27181
f77f1232
AJ
271822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27183
27184 [BZ #13705]
27185 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27186 instead of __kernel_standard_f.
27187
3884932b
MF
271882012-04-08 Mike Frysinger <vapier@gentoo.org>
27189
27190 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27191 * sysdeps/x86_64/memset_chk.S: Likewise.
27192
54472e9c
AJ
271932012-04-08 Andreas Jaeger <aj@suse.de>
27194
6ab0fbfc
AJ
27195 [BZ #10153]
27196 * manual/startup.texi (Environment Access): Describe return value
27197 for putenv and setenv.
27198
61efba8c
AJ
27199 [BZ #6895]
27200 * manual/filesys.texi (Directory Entries): Add description for
27201 DT_LNK.
27202
95c3f29a
AJ
27203 [BZ #6890]
27204 * manual/filesys.texi (Directory Entries): Clarify that it's file
27205 system not operating system in the description of DT_UNKNOWN.
27206
54472e9c
AJ
27207 [BZ #6578]
27208 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27209
624254b1
SC
272102012-04-08 Stephen Compall <s11@member.fsf.org>
27211
27212 [BZ #6649]
27213 * manual/llio.texi (Opening and Closing Files): Add cross
27214 reference to explain mode argument.
27215
1e4920e0
MF
272162012-04-07 Mike Frysinger <vapier@gentoo.org>
27217
27218 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27219 * sysdeps/x86_64/memset_chk.S: Likewise.
27220
5ed848f3
DM
272212012-04-07 David S. Miller <davem@davemloft.net>
27222
27223 * elf/elf.h (R_SPARC_WDISP10): Define.
27224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27225 R_SPARC_SIZE32.
27226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27227 R_SPARC_SIZE64 and R_SPARC_H34.
27228
96154cd8
CD
272292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27230
27231 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27232 conditions and remove no longer applicable assertion.
27233
9904dc47
L
272342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27235
27236 * bits/byteswap.h: Include <features.h>.
27237 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27238 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27239
f8887d0a
L
272402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27241
27242 * bits/byteswap.h (__bswap_16): Removed.
27243 Include <bits/byteswap-16.h> to get __bswap_16.
27244 * sysdeps/i386/bits/byteswap.h: Likewise.
27245 * sysdeps/s390/bits/byteswap.h: Likewise.
27246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27247 * bits/byteswap-16.h: New file.
27248 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27249 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27250 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27251 * string/Makefile (headers): Add bits/byteswap-16.h.
27252
62470f60
PP
272532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27254
27255 [BZ #13895]
27256 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27257 extra indirection.
27258 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27259 * nss/tst-nss-static.c: New.
27260
4dad7bab
RM
272612012-04-06 Robert Millan <rmh@gnu.org>
27262
27263 [BZ #6486]
27264 * manual/llio.texi (File Position Primitive): lseek
27265 refers to WHENCE when it really means OFFSET.
27266
e9142a17
AJ
272672012-04-06 Andreas Jaeger <aj@suse.de>
27268
2c040eff
AJ
27269 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27270 strncmp declarations.
27271
e9142a17
AJ
27272 * abilist/libc.abilist: Add __poll and __ppoll.
27273
ff9f1c5f
DM
272742012-04-05 David S. Miller <davem@davemloft.net>
27275
dcd2ae90
DM
27276 * scripts/check-local-headers.sh: Accept a host triplet in the
27277 path matched by the exclude regexp.
27278
993eb054
DM
27279 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27280 definition.
27281 * sysdeps/powerpc/powerpc32/dl-machine.h
27282 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27283 * sysdeps/s390/s390-32/dl-machine.h
27284 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27285 * sysdeps/sparc/sparc32/dl-machine.h
27286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27287 * sysdeps/sparc/sparc64/dl-machine.h
27288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27289
ff9f1c5f
DM
27290 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27291 lazy binding.
48e2e132 27292 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27293 undefined symbol errors.
27294
48e2e132 27295 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27296 DT_NEEDED entries.
27297
e80d6f94
MM
272982012-04-05 Michael Matz <matz@suse.de>
27299
27300 [BZ #13592]
27301 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27302
349fa79f
AJ
273032012-04-05 Andreas Jaeger <aj@suse.de>
27304
27305 [BZ #13908]
27306 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27307 comment.
27308
f402708f
KK
273092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27310
27311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27312 which ROUND is no valid rounding mode.
27313
2ecccfc9
KK
273142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27315
27316 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27317 read again.
27318 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27319
8a53f50f
KK
273202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27321
27322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27323 an exception using FPU order intentionally.
27324
273252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27326
27327 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27328 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27329 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27330 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27331
d653abb7
SJ
273322012-04-05 Simon Josefsson <simon@josefsson.org>
27333
27334 [BZ #12340]
27335 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27336 EINVAL when BUFLEN is too smal.
27337
c3b1bf7d
TS
273382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27339
27340 [BZ #13553]
27341 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27342 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27343
b1aa60f3
AJ
273442012-04-03 Andreas Jaeger <aj@suse.de>
27345
c3b1bf7d 27346 [BZ #13938]
67f60a26
AJ
27347 * manual/setjmp.texi (System V contexts): Fix sentence.
27348
b1aa60f3
AJ
27349 [BZ #13926]
27350 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27351 New macro for this case.
27352 [!__GNUC__] (__bswap_64): New inline function for this case.
27353 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27354 * bits/byteswap.h: Likewise.
27355 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27356 ull, guard with __GLIBC_HAVE_LONG_LONG.
27357
27358 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27359 __GLIBC_HAVE_LONG_LONG.
27360
27361 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27362 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27363
39c59c35
TMQMF
273642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27365
27366 [BZ #13691]
27367 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27368 inptr and inend, rather than using last_ch.
27369
135ffda8
DM
273702012-04-02 David S. Miller <davem@davemloft.net>
27371
27372 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27373 * stdio-common/printf-parse.h (read_int): Change return type to
27374 'int', return -1 on INT_MAX overflow.
27375 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27376 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27377 overflows INT_MAX. Check for overflow of in-format-string precision
27378 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27379 SIZE_MAX not INT_MAX for integer overflow test.
27380 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27381 skip the construct in the format string but do not record anything.
27382 * stdio-common/bug22.c: Adjust to test both width/prevision
27383 INT_MAX overflow as well as total length INT_MAX overflow. Check
27384 explicitly for proper errno values.
27385
228c019e
TS
273862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27387
302cadd3
TS
27388 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27389 CHAR_MAX.
27390 * string/test-strcmp.c [! WIDE]: Likewise.
27391 * time/tst-mktime2.c: Likewise for INT_MAX.
27392 * string/test-string.h: #include <sys/param.h> for MIN.
27393
228c019e
TS
27394 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27395 * sysdeps/i386/init-first.c (init): Likewise.
27396 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27397 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27398 * sysdeps/sh/init-first.c (init): Likewise.
27399
cfa633f5
UD
274002012-04-01 Ulrich Drepper <drepper@gmail.com>
27401
27402 * po/ru.po: Update from translation team.
d1635ef8 27403 * po/vi.po: Likewise.
cfa633f5 27404
6cd0a5ea
SP
274052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27406
27407 * resolv/nss_dns/dns-host.c: Merge copyright years.
27408
4b43400f
LD
274092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27410
27411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27412 Optimize memcpy with prefetch if
27413 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27414 src, dst pointers have unequal 16 byte alignments.
27415
48c41d04
SP
274162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27417
27418 [BZ #13928]
27419 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27420 from a CNAME entry and return the minimum ttl for the query.
27421 (gaih_getanswer_slice): Likewise.
27422
b8dc394d
JL
274232012-03-30 Jeff Law <law@redhat.com>
27424
27425 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27426 due to long keys.
27427 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27428 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27429
2f5a5ed0
JL
27430 * resolv/nss_dns/dns-host.c: Update copyright year.
27431
1d39e359
UD
274322012-03-30 Ulrich Drepper <drepper@gmail.com>
27433
c030f70c 27434 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27435 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27436
1d39e359
UD
27437 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27438 comments for sendmmsg.
27439
274402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27441
27442 [BZ #13691]
27443 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27444 with only 1 character between 0x0041 and 0x01b0.
27445 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27446 * wcsmbs/tst-mbsnrtowcs.c: New file.
27447
20fde227
DM
274482012-03-29 David S. Miller <davem@davemloft.net>
27449
27450 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27451 small copies by hand.
27452
984a4237
JL
274532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27454
27455 [BZ #13761]
27456 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27457 _nss_compat_initgroups_dyn): Fall back to malloc/free
27458 for large group memberships.
27459
18c9d62b
DM
274602012-03-28 David S. Miller <davem@davemloft.net>
27461
88d85d4f
DM
27462 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27463 that branches into memcpy.
27464 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27467 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27469 bits.
27470 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27471 implementation too.
27472 * sysdeps/sparc/mempcpy.S: New file.
27473
e5aa83e1
DM
27474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27475 the IFUNC routine in the libc case.
27476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27477
88570753
DM
27478 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27479 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27480 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27481 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27482 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27483 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27484 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27485 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27486
249d7567
DM
27487 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27488 loop to 256 bytes instead of 64 bytes and fix test signedness.
27489
18c9d62b
DM
27490 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27491 * sysdeps/sparc/sparc32/Makefile: rather than here...
27492 * sysdeps/sparc/sparc64/Makefile: and here.
27493
05f3d1f6
UD
274942012-03-28 Ulrich Drepper <drepper@gmail.com>
27495
27496 * malloc/mallocbug.c: Avoid warnings about unused variables.
27497
86ae07a8
JL
274982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27499
27500 [BZ #13760]
27501 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27502 in the right place. Discard and retry query if response is
27503 larger than input buffer size.
27504
41bf21a1
JM
275052012-03-28 Joseph Myers <joseph@codesourcery.com>
27506
d6270972
JM
27507 [BZ #369]
27508 [BZ #2678]
27509 [BZ #3866]
27510 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27511 x for large integer exponent.
27512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27514 sign of result as needed afterwards.
27515 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27516 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27517 result for underflowing pow the same as for overflow.
27518 (__kernel_standard_l): Handle powl overflow and underflow here
27519 rather than calling __kernel_standard.
27520 * math/libm-test.inc (pow_test): Add more tests.
27521
414fca03 27522 [BZ #3868]
41bf21a1
JM
27523 [BZ #13879]
27524 [BZ #13910]
27525 [BZ #13911]
27526 [BZ #13912]
27527 [BZ #13913]
27528 [BZ #13915]
27529 [BZ #13916]
27530 [BZ #13917]
27531 [BZ #13918]
27532 [BZ #13919]
27533 [BZ #13920]
27534 [BZ #13921]
27535 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27536 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27537 (__kernel_standard_l): New function.
27538 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27539 __kernel_standard.
27540 * math/w_acosl.c (__acosl): Likewise.
27541 * math/w_asinl.c (__asinl): Likewise.
27542 * math/w_atan2l.c (__atan2l): Likewise.
27543 * math/w_atanhl.c (__atanhl): Likewise.
27544 * math/w_coshl.c (__coshl): Likewise.
27545 * math/w_exp10l.c (__exp10l): Likewise.
27546 * math/w_exp2l.c (__exp2l): Likewise.
27547 * math/w_fmodl.c (__fmodl): Likewise.
27548 * math/w_hypotl.c (__hypotl): Likewise.
27549 * math/w_j0l.c (__j0l, __y0l): Likewise.
27550 * math/w_j1l.c (__j1l, __y1l): Likewise.
27551 * math/w_jnl.c (__jnl, __ynl): Likewise.
27552 * math/w_lgammal.c (__lgammal): Likewise.
27553 * math/w_log10l.c (__log10l): Likewise.
27554 * math/w_log2l.c (__log2l): Likewise.
27555 * math/w_logl.c (__logl): Likewise.
27556 * math/w_powl.c (__powl): Likewise.
27557 * math/w_remainderl.c (__remainderl): Likewise.
27558 * math/w_scalbl.c (sysv_scalbl): Likewise.
27559 * math/w_sinhl.c (__sinhl): Likewise.
27560 * math/w_sqrtl.c (__sqrtl): Likewise.
27561 * math/w_tgammal.c (__tgammal): Likewise.
27562 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27563 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27564 * math/libm-test.inc (acos_test): Add more tests.
27565 (acosh_test): Likewise.
27566 (asin_test): Likewise.
27567 (atanh_test): Likewise.
27568 (exp_test): Likewise.
27569 (exp10_test): Likewise.
27570 (exp2_test): Likewise.
27571 (expm1_test): Likewise.
27572 (lgamma_test): Likewise.
27573 (log_test): Likewise.
27574 (log10_test): Likewise.
27575 (log1p_test): Likewise.
27576 (log2_test): Likewise.
27577 (pow_test): Do not allow some spurious overflow exceptions.
27578 (sqrt_test): Add more tests.
27579 (tgamma_test): Likewise.
27580 (y0_test): Likewise.
27581 (y1_test): Likewise.
27582 (yn_test): Likewise.
27583
dd62fda6
AB
275842012-03-27 Anton Blanchard <anton@samba.org>
27585
27586 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27587 MAP_HUGETLB.
27588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27591
1e3cdfda
AJ
275922012-03-27 David S. Miller <davem@davemloft.net>
27593
b855ab85
DM
27594 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27595
1e3cdfda
AJ
27596 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27597 have-as-vis3 check.
27598
275992012-03-27 Andreas Jaeger <aj@suse.de>
27600
27601 * sysdeps/x86_64/elf/configure.in: Moved to ...
27602 * sysdeps/x86_64/configure.in: ... here.
27603 * sysdeps/x86_64/elf/start.S: Moved to ...
27604 * sysdeps/x86_64/start.S: ... here.
27605 * sysdeps/x86_64/elf/configure: Delete.
27606
27607 * sysdeps/x86_64/configure.in: Merge contents from
27608 sysdeps/i386/configure.in (without i686 check).
27609
27610 * sysdeps/i386/elf/Versions: Merge into ...
27611 * sysdeps/i386/Versions: ... this.
27612 * sysdeps/i386/elf/Versions: Delete file.
27613 * sysdeps/i386/elf/start.S: Moved to ...
27614 * sysdeps/i386/start.S: ...here.
27615 * sysdeps/i386/elf/configure.in: Merge into...
27616 * sysdeps/i386/configure.in: ...here.
27617 * sysdeps/i386/elf/configure.in: Delete file.
27618 * sysdeps/i386/elf/configure: Delete file.
27619
27620 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27621 * debug/backtracesyms.c: ... here.
27622 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27623 * debug/backtracesymsfd.c: ... here.
27624 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27625 * sysdeps/generic/ifunc-sel.h: ... here.
27626
27627 * sysdeps/unix/i386/start.c: Delete file.
27628 * sysdeps/unix/sparc/start.c: Delete file.
27629 * sysdeps/unix/start.c: Delete file.
27630
27631 * sysdeps/sh/elf/configure.in: Moved to ...
27632 * sysdeps/sh/configure.in: ... here.
27633 * sysdeps/sh/elf/start.S: Moved to ...
27634 * sysdeps/sh/start.S: ... here.
27635 * sysdeps/sh/elf/configure: Delete file.
27636
27637 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27638 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27639 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27640 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27641 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27642 * sysdeps/powerpc/powerpc64/start.S: here.
27643 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27644 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27645 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27646 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27647 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27648
27649 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27650 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27651 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27652 * sysdeps/powerpc/powerpc32/start.S: ... here.
27653 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27654 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27655 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27656
27657 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27658 * sysdeps/powerpc/ifunc-sel.h: ... here.
27659 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27660 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27661
27662 * sysdeps/sparc/elf/configure.in: Moved to ...
27663 * sysdeps/sparc/configure.in: ... here.
27664 * sysdeps/sparc/elf/configure: Delete file.
27665 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27666 * sysdeps/sparc/sparc32/start.S: ... here.
27667 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27668 * sysdeps/sparc/sparc64/start.S: ... here.
27669 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27670 * sysdeps/sparc/sparc32/Makefile: ... this.
27671 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27672 * sysdeps/sparc/sparc64/Makefile: ... this.
27673
27674 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27675 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27676 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27677 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27678 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27679 * sysdeps/s390/s390-32/setjmp.S: ... here.
27680 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27681 * sysdeps/s390/s390-32/configure.in: ... here.
27682 * sysdeps/s390/s390-32/elf/configure: Delete file.
27683 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27684 * sysdeps/s390/s390-32/start.S: ... here.
27685
27686 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27687 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27688 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27689 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27690 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27691 * sysdeps/s390/s390-64/setjmp.S: ... here.
27692 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27693 * sysdeps/s390/s390-64/configure.in: ... here
27694 * sysdeps/s390/s390-64/elf/configure: Delete file.
27695 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27696 * sysdeps/s390/s390-64/start.S: ... here.
27697 * sysdeps/s390/s390-64/elf/configure: Delete.
27698
27699 * configure.in: Remove support for elf directories in sysdeps.
27700
27701 * configure: Regenerated.
27702 * sysdeps/i386/configure: Regenerated.
27703 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27704 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27705 * sysdeps/s390/s390-32/configure: Regenerated.
27706 * sysdeps/s390/s390-64/configure: Regenerated.
27707 * sysdeps/sh/configure: Regenerated.
27708 * sysdeps/sparc/configure: Regenerated.
27709 * sysdeps/x86_64/configure: Regenerated.
27710
a3f61311
AS
277112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27712
c876e002
AS
27713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27714
a3f61311
AS
27715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27716 denormal result into account.
27717
ac4c54f0
RM
277182012-03-25 Roland McGrath <roland@hack.frob.com>
27719
27720 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27721 Reported by Allan McRae <allan@archlinux.org>.
27722
6a9b9c02
JL
277232012-03-23 Jeff Law <law@redhat.com>
27724
27725 * nss/getnssent.c (__nss_getent): Fix typo.
27726
4c42a0c1
DM
277272012-03-23 David S. Miller <davem@davemloft.net>
27728
27729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27730
1532c7ac
L
277312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27732
27733 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27734 to pad to uint64_t for each field.
27735 (dl_tls_index): Replace unsigned long with uint64_t.
27736
3ff42526
PP
277372012-03-23 Daniel Jacobowitz <dmj@google.com>
27738 Paul Pluzhnikov <ppluzhnikov@google.com>
27739
27740 [BZ #6528]
27741 * grp/Makefile (otherlibs): Don't set it.
27742 * inet/Makefile (otherlibs): Likewise.
27743 * login/Makefile (otherlibs): Likewise.
27744 * nscd/Makefile (otherlibs): Likewise.
27745 * posix/Makefile (otherlibs): Likewise.
27746 * pwd/Makefile (otherlibs): Likewise.
27747 * rt/Makefile (otherlibs): Likewise.
27748 * sunrpc/Makefile (otherlibs): Likewise.
27749 * nss/Makefile (otherlibs): Likewise.
27750 Add libnss_files to routines and static-only-routines.
27751 ($(objpfx)getent): Remove rule.
27752 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27753 static-only-routines.
27754
7c69cd14
JM
277552012-03-22 Joseph Myers <joseph@codesourcery.com>
27756
27757 [BZ #13892]
27758 * math/s_cexp.c: Include <float.h>.
27759 (__cexp): Handle exp result overflowing not necessarily
27760 overflowing both real and imaginary parts of result.
27761 * math/s_cexpf.c: Likewise.
27762 * math/s_cexpl.c: Likewise.
27763 * math/libm-test.inc (cexp_test): Add more tests.
27764 * sysdeps/i386/fpu/libm-test-ulps: Update.
27765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27766
81b035fe
L
277672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27768
27769 * include/link.h (ELFW): New macro.
27770 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27771 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27772
1da7940c
L
277732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27774
27775 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27776 with uint64_t.
27777
b749dbb9
L
277782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27779
27780 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27781 declaration.
27782 (struct La_x32_retval): Likewise.
27783
2ff87f3f
L
277842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27785
27786 * sysdeps/x86_64/preconfigure.in: New file.
27787 * sysdeps/x86_64/preconfigure: New generated file.
27788
c0df8e69
JM
277892012-03-22 Joseph Myers <joseph@codesourcery.com>
27790
48e44791
JM
27791 [BZ #13824]
27792 * math/e_exp2l.c: Include <float.h>.
27793 (__ieee754_exp2l): Handle overflow and underflow cases
27794 separately. Only pass fractional part of argument to
27795 __ieee754_expl.
27796 * math/libm-test.inc (exp2_test): Add more tests.
27797
c0df8e69
JM
27798 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27799 negating x to take absolute value.
27800 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27801 Likewise.
27802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27804 Likewise.
27805 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27806 computing low part if x was negated.
27807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27808
c8e43ba7
L
278092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27810
27811 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27812 la_x32_gnu_pltexit.
27813 (pltexit): Cast int_retval to ptrdiff_t.
27814 * elf/tst-auditmod3b.c: Likewise.
27815 * elf/tst-auditmod4b.c: Likewise.
27816 * elf/tst-auditmod5b.c: Likewise.
27817 * elf/tst-auditmod6b.c: Likewise.
27818 * elf/tst-auditmod6c.c: Likewise.
27819 * elf/tst-auditmod7b.c: Likewise.
27820
27821 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27822 and x32_gnu_pltexit.
27823
27824 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27825 __ELF_NATIVE_CLASS.
27826 (La_x32_regs): New macro.
27827 (La_x32_retval): Likewise.
27828 (la_x32_gnu_pltenter): New function prototype.
27829 (la_x32_gnu_pltexit): Likewise.
27830
7998fa78
AS
278312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27832
dcb33988
AS
27833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27834 exponent.
27835
233fc563
AS
27836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27837
7998fa78
AS
27838 * configure.in (libc_cv_cc_nofma): Check for option to disable
27839 generation of FMA instructions.
27840 * configure: Regenerate.
27841 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27842 * sysdeps/ieee754/dbl-64/Makefile: New file.
27843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27844 Remove brandred-fma4.
27845 (CFLAGS-brandred-fma4.c): Remove.
27846 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27847 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27848 define.
27849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27850 define.
27851
8e95c99a
L
278522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27853
27854 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27855 LLONG_MAX != LONG_MAX.
27856 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27857 (_fitoa_word): Likewise.
27858 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27859 LLONG_MAX != LONG_MAX.
27860 * stdio-common/_itowa.h: Include <_itoa.h>.
27861 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27862 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27863 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27864 only if not defined.
27865 (_ITOA_WORD_TYPE): Likewise.
27866 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27867 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27868
6f4db457
DM
278692012-03-21 David S. Miller <davem@davemloft.net>
27870
27871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27872
7785fe5a
L
278732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27876 of x86_64 when setting libc_cv_slibdir, libdir and
27877 libc_cv_localedir.
27878 * sysdeps/unix/sysv/linux/configure: Regenerated.
27879
4535cd55
JM
278802012-03-21 Joseph Myers <joseph@codesourcery.com>
27881
27882 * manual/lang.texi (Old Varargs): Remove section.
27883 (How Variadic): Update menu.
27884 (va_start): Do not mention varargs.h.
27885
17228132
TS
278862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27887 Joseph Myers <joseph@codesourcery.com>
27888
27889 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27890 link test.
27891 * configure: Regenerated.
27892
8149f976
TS
278932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27894
05f3d1f6
UD
27895 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27896 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27897 conformtest.pl
8149f976 27898
1a4ac776
JM
278992012-03-21 Joseph Myers <joseph@codesourcery.com>
27900
be22ce65
JM
27901 * NOTES: Remove.
27902 * Makefile (files-for-dist): Remove NOTES.
27903 (NOTES): Remove rule.
27904 * README: Don't refer to NOTES.
27905 * manual/creature.texi: Don't include macros.texi.
27906 * manual/intro.texi (creature.texi): Remove comment referring to
27907 NOTES.
27908
40b601fb
JM
27909 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27910 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27911 * configure: Regenerated.
27912 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27913 LIBC_TRY_CC_OPTION.
27914 (libc_cv_as_i686): Likewise.
27915 (libc_cv_cc_avx): Likewise.
27916 (libc_cv_cc_sse2avx): Likewise.
27917 (libc_cv_cc_fma4): Likewise.
27918 (libc_cv_cc_novzeroupper): Likewise.
27919 * sysdeps/i386/configure: Regenerated.
27920
1a4ac776
JM
27921 [BZ #13883]
27922 * sysdeps/i386/fpu/s_cexp.S: Remove.
27923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27925 * math/libm-test.inc (cexp_test): Add more tests.
27926 * sysdeps/i386/fpu/libm-test-ulps: Update.
27927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27928
a458e7fe
AM
279292012-03-21 Allan McRae <allan@archlinux.org>
27930
27931 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27932
0cb7efc5
JM
279332012-03-21 Joseph Myers <joseph@codesourcery.com>
27934
27935 [BZ #13871]
27936 * math/w_exp2.c: Do not include <float.h>.
27937 (o_threshold, u_threshold): Remove.
27938 (__exp2): Calculate result before checking finiteness and calling
27939 __kernel_standard.
27940 * math/w_exp2f.c: Likewise.
27941 * math/w_exp2l.c: Likewise.
27942 * math/libm-test.inc (exp2_test): Require overflow exception for
27943 1e6 input.
2460d3aa
JM
27944
27945 [BZ #3866]
27946 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27947 range of signed 64-bit integers before using fistpll. Remove
27948 checks for whether integers fit in mantissa bits.
27949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27950 the range of signed 32-bit integers before using fistpl. Remove
27951 checks for whether integers fit in mantissa bits.
27952 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27953 (__ieee754_powl): Test for y outside the range of signed 64-bit
27954 integers before using fistpll. Reduce 64-bit values to 63-bit
27955 ones as needed.
27956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27957 divide-by-zero is raised for zero to large negative powers.
27958 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27959 (__ieee754_powl): Test for y outside the range of signed 64-bit
27960 integers before using fistpll. Reduce 64-bit values to 63-bit
27961 ones as needed.
27962 * math/libm-test.inc (pow_test): Add more tests.
27963
eb96ffb0
L
279642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27967 <stdio-common/_itoa.h>.
27968 * debug/segfault.c: Likewise.
27969 * elf/dl-cache.c: Likewise.
27970 * elf/dl-minimal.c: Likewise.
27971 * elf/dl-misc.c: Likewise.
27972 * elf/dl-sysdep.c: Likewise.
27973 * elf/dl-version.c: Likewise.
27974 * elf/rtld.c: Likewise.
27975 * hurd/hurdsock.c: Likewise.
27976 * hurd/lookup-retry.c: Likewise.
27977 * malloc/malloc.c: Likewise.
27978 * malloc/mtrace.c: Likewise.
27979 * nscd/nscd_getgr_r.c: Likewise.
27980 * nscd/nscd_getpw_r.c: Likewise.
27981 * nscd/nscd_getserv_r.c: Likewise.
27982 * posix/getopt_init.c: Likewise.
27983 * posix/wordexp.c: Likewise.
27984 * stdio-common/_itoa.c: Likewise.
27985 * stdio-common/printf_fphex.c: Likewise.
27986 * stdio-common/vfprintf.c: Likewise.
27987 * string/_strerror.c: Likewise.
27988 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27989 * sysdeps/i386/i686/hp-timing.h: Likewise.
27990 * sysdeps/mach/_strerror.c: Likewise.
27991 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27992 * sysdeps/mach/hurd/sethostid.c: Likewise.
27993 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27994 * sysdeps/mach/xpg-strerror.c: Likewise.
27995 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27997 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27998 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27999 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28000 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28002 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28003 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28004 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28005 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28006 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28007 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28008 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28009 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28011 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28012 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28013 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28014 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28015 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28016
28017 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28018
28019 * stdio-common/_itoa.h: Moved to ...
28020 * sysdeps/generic/_itoa.h: Here.
28021
28022 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28023
28024 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28025 instead of "_itoa.h" and "_itowa.h".
28026 * stdio-common/vfprintf.: Likewise.
28027
d1af992d
L
280282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28029
28030 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28031 <bits/wordsize.h>.
28032 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28033 (__signbit): Likwise.
28034 (llrintf): Likwise.
28035 (llrint): Likwise.
28036
114883e0
L
280372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28040 __WORDSIZE != 64.
28041
c135cc1b
JM
280422012-03-20 Joseph Myers <joseph@codesourcery.com>
28043
28044 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28045 OVERFLOW_EXCEPTION_OK.
28046 * math/libm-test.inc ("Philosophy"): Update comment about
28047 exception testing.
28048 (OVERFLOW_EXCEPTION): Define.
28049 (OVERFLOW_EXCEPTION_OK): Likewise.
28050 (INVALID_EXCEPTION_OK): Renumber.
28051 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28052 (IGNORE_ZERO_INF_SIGN): Likewise.
28053 (test_exceptions): Handle FE_OVERFLOW.
28054 (exp10_test): Expect overflow exceptions.
28055 (exp2_test): Likewise.
28056 (expm1_test): Likewise.
28057 (nextafter_test): Likewise.
28058 (pow_test): Likewise.
28059 (scalbn_test): Likewise.
28060 (scalbln_test): Likewise.
28061
95443d88
L
280622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28063
28064 * sysdeps/x86_64/bits/atomic.h
28065 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28066 64bit integer.
28067 (atomic_exchange_acq): Likewise.
28068 (__arch_exchange_and_add_body): Likewise.
28069 (__arch_add_body): Likewise.
28070 (atomic_add_negative): Likewise.
28071 (atomic_add_zero): Likewise.
28072
490df6c4
L
280732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28074
c2722551 28075 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28076 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28077
5e52b189
L
280782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28081 Check __x86_64__ instead of __WORDSIZE.
28082
a9879d4c
L
280832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28084
28085 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28086
5df98260
DM
280872012-03-19 David S. Miller <davem@davemloft.net>
28088
e1497744
DM
28089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28090
5df98260
DM
28091 * sysdeps/sparc/fpu/fenv_private.h: New file.
28092 * sysdeps/sparc/fpu/math_private.h: Use it.
28093 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28094 Remove.
28095 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28096 (libc_feholdexcept_setroundl): Remove.
28097 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28098 Remove.
28099 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28100 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28101
b4c35121
L
281022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28103
28104 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28105 int64_t instead of long int.
28106 (INSERT_WORDS64): Likwise.
28107
56965fd7
L
281082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28111 _Unwind_GetCFA return to _Unwind_Ptr first.
28112
83d1aec8
JM
281132012-03-19 Joseph Myers <joseph@codesourcery.com>
28114
1897ad44
JM
28115 [BZ #13629]
28116 * math/s_clog.c: Include <float.h>.
28117 (__clog): Scale large or subnormal inputs.
28118 * math/s_clogf.c: Likewise.
28119 * math/s_clogl.c: Likewise.
28120 * math/s_clog10.c: Include <float.h>.
28121 (M_LOG10_2): Define.
28122 (__clog10): Scale large or subnormal inputs.
28123 * math/s_clog10f.c: Likewise.
28124 * math/s_clog10l.c: Likewise.
28125 * math/libm-test.inc (clog_test): Add more tests.
28126 (clog10_test): Likewise.
28127 * sysdeps/i386/fpu/libm-test-ulps: Update.
28128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28129
7726d6a9
JM
28130 [BZ #11451]
28131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28132 x and y.
28133 * math/libm-test.inc (atan2_test): Add another test.
28134
83d1aec8
JM
28135 * Makerules (common-objdir-compile): Remove.
28136 * sysdeps/unix/Makefile (config-generated): Do not add
28137 $(unix-generated) to variable.
28138 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28139 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28140 Remove rule.
28141 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28142 Likewise.
28143 [generic bits/local_lim.h] (before-compile): Do not append to
28144 variable.
28145 [generic bits/local_lim.h] (common-generated): Likewise.
28146 [generic sys/param.h] (before-compile): Do not append to variable.
28147 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28148 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28149 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28150 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28151 include.
28152 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28153 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28154 [generic sys/param.h] ($(addprefix
28155 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28156 [generic sys/param.h] (common-generated): Do not append to
28157 variable.
28158 [generic sys/param.h] (sysdep_headers): Likewise.
28159 [generic bits/errno.h] (before-compile): Do not append to
28160 variable.
28161 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28162 rule.
28163 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28164 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28165 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28166 [generic bits/errno.h] (common-generated): Do not append to
28167 variable.
28168 [generic bits/ioctls.h] (before-compile): Do not append to
28169 variable.
28170 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28171 rule.
28172 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28173 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28174 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28175 rule.
28176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28177 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28178 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28179 [generic bits/ioctls.h] (common-generated): Do not append to
28180 variable.
28181 [generic sys/syscall.h] (syscall.h): Remove variable.
28182 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28183 rule.
28184 [generic sys/syscall.h] (before-compile): Do not append to
28185 variable.
28186 [generic sys/syscall.h] (common-generated): Likewise.
28187 * sysdeps/unix/errnos-tmpl.c: Remove file.
28188 * sysdeps/unix/errnos.awk: Likewise.
28189 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28190 * sysdeps/unix/ioctls.awk: Likewise.
28191 * sysdeps/unix/mk-local_lim.c: Likewise.
28192 * sysdeps/unix/snarf-ioctls: Likewise.
28193
4851a949
RH
281942012-03-19 Richard Henderson <rth@twiddle.net>
28195
bd37f2ee
RH
28196 * sysdeps/i386/fpu/fenv_private.h: New file.
28197 * sysdeps/i386/fpu/math_private.h: Use it.
28198 (math_opt_barrier, math_force_eval): Remove.
28199 (libc_feholdexcept_setround_53bit): Remove.
28200 (libc_feupdateenv_53bit): Remove.
28201 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28202 (math_opt_barrier, math_force_eval): Remove.
28203 (libc_feholdexcept): Remove.
28204 (libc_feholdexcept_setround): Remove.
28205 (libc_fetestexcept, libc_fesetenv): Remove.
28206 (libc_feupdateenv_test): Remove.
28207 (libc_feupdateenv, libc_feholdsetround): Remove.
28208 (libc_feresetround): Remove.
28209
d0adc922
RH
28210 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28211 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28212
0fe0f1f8
RH
28213 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28214 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28215 (libc_feupdateenv_testl): New.
28216 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28217 (libc_feupdateenv_testf): New.
28218 (libc_feupdateenv): Use libc_feupdateenv_test.
28219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28221
eb92c487
RH
28222 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28223 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28224 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28225 (libc_feresetround_noex): New.
28226 (libc_feresetround_noexf): New.
28227 (libc_feresetround_noexl): New.
28228 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28229 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28230 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28232 SET_RESTORE_ROUND.
28233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28235 (__cos): Likewise.
28236 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28237 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28238 SET_RESTORE_ROUND_NOEX.
28239 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28240 SET_RESTORE_ROUND_NOEXF.
28241 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28242 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28243 (libc_feholdsetroundf): New.
28244 (libc_feresetround, libc_feresetroundf): New.
28245
7d2e8012
RH
28246 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28247 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28248 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28249
b4dabbb4
RH
28250 * sysdeps/generic/math_private.h: Include <fenv.h>.
28251 (default_libc_feholdexcept): New.
28252 (default_libc_feholdexcept_setround): New.
28253 (default_libc_fesetenv, default_libc_feupdateenv): New.
28254 (libc_feholdexcept): Only define if undefined.
28255 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28257 (libc_feholdexcept_setroundl): Likewise.
28258 (libc_feholdexcept_setround_53bit): Likewise.
28259 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28262 (libc_feupdateenv_53bit): Likewise.
28263 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28264 (libc_feholdexcept): Convert from macro to inline function.
28265 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28266 (libc_fesetenv, libc_feupdateenv): Likewise.
28267
4851a949
RH
28268 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28269 not previously defined.
28270 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28271 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28272 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28273 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28274 * sysdeps/ieee754/flt-32/math_private.h: New file.
28275 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28276 math_private.h below SET_FLOAT_WORD.
28277 (__isnan, __isinf_ns, __finite): Remove.
28278 (__isnanf, __isinf_nsf, __finitef): Remove.
28279
e79d442e
AS
282802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28281
28282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28283
90b80344
DM
282842012-03-17 David S. Miller <davem@davemloft.net>
28285
28286 [BZ #6471]
28287 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28288 for 2.16.
28289
edc21804
DM
282902012-03-16 David S. Miller <davem@davemloft.net>
28291
77e927af
DM
28292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28293 warnings.
28294
374976dd
DM
28295 [BZ #6471]
28296 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28297 properly.
28298 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28299 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28300 sysdep_routines when subdir is sysvipc.
28301 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28302 __getshmlba helper.
28303
edc21804
DM
28304 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28305
473c3ef3
L
283062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28307
28308 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28309 [__LP64__].
28310
eb0f39b6
L
283112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28312
28313 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28314 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28315 (__lround): Renamed to ...
28316 (__llround): This. Replace long int with long long int.
28317 Define lround functions as aliases of llround functions.
28318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28319
6b6cd74b
L
283202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28323 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28324 adresses to uintptr_t. Replace "long int" and "unsigned long
28325 int" with "greg_t" on va_arg.
28326
f1a77b01
L
283272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28328
28329 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28330 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28331
28332 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28333 Move e_machine check before EI_CLASS check. Handle x32
28334 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28335 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28336 SKIP_EM_IA_64 and include
28337 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28338
28339 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28340 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28341 (add_system_dir): New macro.
28342
28343 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28344 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28345
11b90b9f
JM
283462012-03-16 Joseph Myers <joseph@codesourcery.com>
28347
c36e1d23
JM
28348 [BZ #2551]
28349 [BZ #2552]
28350 [BZ #2553]
28351 [BZ #2554]
28352 [BZ #2562]
28353 [BZ #2563]
28354 [BZ #2565]
28355 [BZ #2566]
28356 [BZ #2576]
28357 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28358 (y0): Likewise.
28359 * math/w_j0f.c (j0f): Likewise.
28360 (y0f): Likewise.
28361 * math/w_j0l.c (__j0l): Likewise.
28362 (__y0l): Likewise.
28363 * math/w_j1.c (j1): Likewise.
28364 (y1): Likewise.
28365 * math/w_j1f.c (j1f): Likewise.
28366 (y1f): Likewise.
28367 * math/w_j1l.c (__j1l): Likewise.
28368 (__y1l): Likewise.
28369 * math/w_jn.c (jn): Likewise.
28370 (yn): Likewise.
28371 * math/w_jnf.c (jnf): Likewise.
28372 (ynf): Likewise.
28373 * math/w_jnl.c (__jnl): Likewise.
28374 (__ynl): Likewise.
28375 * math/libm-test.inc (j0_test): Add more tests.
28376 (j1_test): Likewise.
28377 (jn_test): Likewise. Add trailing semicolon to existing test.
28378 (y0_test): Likewise.
28379 (y1_test): Likewise.
28380 * sysdeps/i386/fpu/libm-test-ulps: Update.
28381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28382
11b90b9f
JM
28383 [BZ #13851]
28384 [BZ #13854]
28385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28386 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28387 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28389 (__tanl): Set errno for infinite argument.
28390 * sysdeps/i386/fpu/mptan.c: Remove.
28391 * sysdeps/i386/fpu/s_tan.S: Likewise.
28392 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28393 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28394 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28395 * math/libm-test.inc (tan_test): Add more tests and enable more
28396 tests for double and long double.
28397 * sysdeps/i386/fpu/libm-test-ulps: Update.
28398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28399
6a1bd2a1
JK
284002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28401
28402 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28403 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28404
10a803e0
RM
284052012-03-16 Roland McGrath <roland@hack.frob.com>
28406
28407 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28408 * configure.in: Use it for both main tree and add-ons.
28409 * configure: Regenerated.
28410
f196c7f7
L
284112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28414
8848d99d
JM
284152012-03-16 Joseph Myers <joseph@codesourcery.com>
28416
96cbe7f4
JM
28417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28418 in comment.
28419
8848d99d
JM
28420 [BZ #13851]
28421 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28422 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28426 infinite argument.
28427 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28429 != 0 for prec == 2.
28430 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28431 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28432 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28433 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28434 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28435 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28436 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28437 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28438 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28439 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28440 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28441 * math/libm-test.inc (cos_test): Add more tests and enable more
28442 tests for long double.
28443 (sin_test): Likewise.
28444 (sincos_test): Likewise.
28445 * sysdeps/i386/fpu/libm-test-ulps: Update.
28446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28447
dd7f4703
DM
284482012-03-16 David S. Miller <davem@davemloft.net>
28449
28450 * sysdeps/sparc/fpu/math_private.h: New file.
28451
006f1daa
DM
284522012-03-15 David S. Miller <davem@davemloft.net>
28453
c0c83bc8
DM
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28455 file.
e6a62e18 28456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28458 file.
e6a62e18
DM
28459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28465 sysdep routines.
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28467
88cb87d9
DM
28468 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28469 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28470
006f1daa 28471 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28473 sparc-ifunc.h
006f1daa 28474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28476 Likewise.
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28478 Likewise.
006f1daa
DM
28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28483 Likewise.
006f1daa
DM
28484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28489 Likewise.
28490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28491 Likewise.
006f1daa
DM
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28516
11e0098e
AS
285172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28518
28519 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28520 scaling.
28521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28522
e85b09d0
AJ
285232012-03-15 Andreas Jaeger <aj@suse.de>
28524
28525 [BZ #13852]
28526 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28527 ieee754/flt-32 implementation for sin, cos and sincos.
28528 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28529 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28530 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28531 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28532 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28533 ieee754/flt-32 implementation for tan.
28534
28535 * math/libm-test.inc (cos_test): Enable some large input tests for
28536 float as well
28537 (sin_test): Likewise.
28538 (sincos_test): Likewise.
28539 (tan_test): Add tests for large input.
28540
28541 * sysdeps/i386/fpu/libm-test-ulps: Update.
28542
81c64153
AJ
285432012-03-15 Andreas Jaeger <aj@suse.de>
28544
28545 [BZ #13658]
28546 * math/libm-test.inc (cos_test): Add more test cases.
28547 (sin_test): Likewise.
28548 (sincos_test): Likewise.
28549
7bbfa5c6
AJ
285502012-03-15 Andreas Jaeger <aj@suse.de>
28551
28552 [BZ #13837]
28553 * math/libm-test.inc (cos_test): Add a test case for large input
28554 value.
28555 (sin_test): Likewise.
28556 (sincos_test): Likewise.
28557
285582012-03-15 Andreas Jaeger <aj@suse.de>,
28559 Joseph Myers <joseph@codesourcery.com>
28560
28561 [BZ #13658]
0671f479 28562 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28563 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28564 * sysdeps/i386/fpu/branred.c: Likewise.
28565 * sysdeps/i386/fpu/dosincos.c: Likewise.
28566 * sysdeps/i386/fpu/mpa.c: Likewise.
28567 * sysdeps/i386/fpu/s_cos.S: Likewise.
28568 * sysdeps/i386/fpu/s_sin.S: Likewise.
28569 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28570 * sysdeps/i386/fpu/sincos32.c: Likewise.
28571
28572 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28573 Define.
28574 (libc_feupdateenv_53bit): Define.
28575 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28576 Define.
28577 (libc_feupdateenv_53bit): Define.
28578
28579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28580 53 bit (without extend i386 double precision).
28581
28582 * math/libm-test.inc (sincos_test): Add tests for large input.
28583 (sin): Likewise.
28584 (cos): Likewise.
28585
28586 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28587
9cad04ea
AS
285882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28589
28590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28591
f7062b9a
DM
285922012-03-15 David S. Miller <davem@davemloft.net>
28593
28594 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28595 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28596 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28597 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28610 file.
f7062b9a 28611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28613 file.
f7062b9a 28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28616 file.
f7062b9a 28617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28619 file.
f7062b9a
DM
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28622 fmin/fmax sysdep routines.
28623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28624
7bd951ff
DM
286252012-03-14 David S. Miller <davem@davemloft.net>
28626
559398ab
DM
28627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28656 routines.
28657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28658 file.
559398ab 28659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28661 file.
559398ab 28662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28664 file.
559398ab 28665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28667 file.
559398ab 28668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28670 file.
559398ab 28671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28673 file.
28674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28675 file.
28676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28677 file.
28678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28679 file.
28680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28681 New file.
28682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28683 file.
28684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28685 file.
559398ab 28686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28688 file.
559398ab 28689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28691 file.
559398ab 28692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28694 file.
559398ab 28695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28697 VIS3 routines.
559398ab
DM
28698
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28700 New file.
28701
5a1c1e32
DM
28702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28703
eae47a36
DM
28704 * sysdeps/sparc/configure.in: New file.
28705 * sysdeps/sparc/configure: Generate.
28706 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28707 * configure: Regenerate.
28708 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28709 * config.make.in (have-as-vis3): New.
28710 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28711 available use -Av9d instead of -Av9a.
28712 * sysdeps/sparc/sparc64/Makefile: Likewise.
28713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28715 New file.
28716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28717 file.
28718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28719 New file.
28720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28721 file.
eae47a36
DM
28722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28727
c0c83bc8
DM
28728 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28729 fzeros/fnegs to load 0x80000000 into a float register instead of
28730 using the stack.
7bd951ff
DM
28731 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28732
bd951ccb
JM
287332012-03-14 Joseph Myers <joseph@codesourcery.com>
28734
28735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28736 bits/syscall.h.
28737 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28738 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28739 ($(inst_includedir)/bits/syscall.h): Remove rule.
28740 ($(objpfx)bits/syscall.d): Include instead of
28741 $(objpfx)syscall-list.d.
28742 (generated): Change syscall-list.h and syscall-list.d to
28743 bits/syscall.h and bits/syscall.d.
28744
bb4e6db2
RM
287452012-03-14 Roland McGrath <roland@hack.frob.com>
28746
28747 [BZ #13846]
28748 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28749
aa4a2ae1
JM
287502012-03-14 Joseph Myers <joseph@codesourcery.com>
28751
e456826d
JM
28752 [BZ #13841]
28753 * math/s_csqrt.c: Include <float.h>.
28754 (__csqrt): Scale large or subnormal inputs.
28755 * math/s_csqrtf.c: Likewise.
28756 * math/s_csqrtl.c: Likewise.
28757 * math/libm-test.inc (csqrt_test): Add more tests.
28758 * sysdeps/i386/fpu/libm-test-ulps: Update.
28759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28760
aa4a2ae1
JM
28761 [BZ #13840]
28762 * math/libm-test.inc (hypot_test): Add more tests.
28763
7c10fd35
DM
287642012-03-13 David S. Miller <davem@davemloft.net>
28765
28766 [BZ #13840]
28767 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28768 double-precision for the calculation instead of scaling.
28769
f453b98b
JM
287702012-03-13 Joseph Myers <joseph@codesourcery.com>
28771
28772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28773 manipulate bits before adding and subtracting TWO52[sx].
28774 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28775 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28776 Likewise.
28777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28778
09a3453f
DM
287792012-03-13 David S. Miller <davem@davemloft.net>
28780
8e59da90
DM
28781 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28782 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28784 rtld-global-offsets.h
28785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28786
2a8ab7f2
DM
28787 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28788 large parameters.
28789
10f62770
DM
28790 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28791
5f0bdb18
DM
28792 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28793 'err' in the ifdef scope in which it is actually used.
28794
09a3453f
DM
28795 * nss/nss_db/db-init.c: Include string.h
28796
b4b2eb5e
DM
287972012-03-12 David S. Miller <davem@davemloft.net>
28798
98bb2f1c
DM
28799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28800 masking out of the most significant byte of random value used.
28801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28802 Fix coding style in previous change.
28803
b4b2eb5e
DM
28804 * sysdeps/unix/sysv/linux/kernel-features.h
28805 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28806 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28807 expression.
28808 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28809 later.
28810
6e226b09
DM
288112012-03-11 David S. Miller <davem@davemloft.net>
28812
a1bcbd40
DM
28813 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28814 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28816 for 'resultvar' otherwise things get truncated on 64-bit.
28817
cb9d6174
DM
28818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28819 Fix masking out of the most significant byte of random value used.
28820
6e226b09
DM
28821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28822
058c132d
AS
288232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28824
28825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28826
2d2cd515
DM
288272012-03-09 David S. Miller <davem@davemloft.net>
28828
28829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28830 variables with appropriate CPP guards.
28831 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28832 frame pointer, not the stack pointer. Correct layout comments. Fix test
28833 on resulting framesize and the management of the outregs buffer for pltexit.
28834 Preserve floating point return values across _dl_call_pltexit call.
28835 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28836 framesize and the management of the outregs buffer for pltexit.
28837 Preserve floating point return values across _dl_call_pltexit
28838 call.
28839 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28840 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28841 (print_exit): Fix format string for return register value.
28842
9a07f9d0
JM
288432012-03-10 Joseph Myers <joseph@codesourcery.com>
28844
28845 * sunrpc/Makefile (others): Add rpcgen.
28846 ($(objpfx)rpcgen): Remove special build rule and dependency on
28847 libc.
28848 * sunrpc/rpcgen.c: New file.
28849
547b5e30
PE
288502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28851
c524201a
PE
28852 [BZ #13673]
28853 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28854 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28855 * sysdeps/i386/crti.S: Likewise.
28856 * sysdeps/i386/crtn.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28858 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28859 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28861 * sysdeps/sh/crti.S: Likewise.
28862 * sysdeps/sh/crtn.S: Likewise.
28863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28864
7b6235f2
PE
28865 [BZ #13673]
28866 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28867 with URL.
28868 * locale/programs/locfile-kw.gperf: Likewise.
28869 * locale/programs/charmap-kw.h: Regenerated.
28870 * locale/programs/locfile-kw.h: Likewise.
28871
547b5e30
PE
28872 [BZ #13673]
28873 * intl/plural.y: Replace FSF snail mail address with URL.
28874 * intl/plural.c: Regenerated.
28875
5f0a5dae
RH
288762012-03-09 Richard Henderson <rth@twiddle.net>
28877
28878 * include/math_private.h: Remove file.
28879 * math/math_private.h: Move file ...
28880 * sysdeps/generic/math_private.h: ... here.
28881
b8c03620
RH
28882 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28883 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28884 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28885
4e234f5d 28886 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28887 and <math_private.h>.
28888 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28889 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28890 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28891 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28892 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28928 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28929 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28930 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28931 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28932 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28933 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28934 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28935 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28936 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28937 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28938 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28939 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28940 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28941 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28942 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28944 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28946 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28947 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28949 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28952 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28962 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28970 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28976 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28977 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28978 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28979 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28981 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28983 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28984 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28985 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28988 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28989 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28992 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28993 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28996 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28998 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28999 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29002 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29004 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29005 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29006 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29008 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29009 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29011 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29012 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29013 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29014 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29015 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29016 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29017 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29018 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29019 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29021 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29022 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29023 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29024 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29025 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29026 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29027 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29029 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29030 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29031 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29032 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29033 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29034 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29035 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29036 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29037 * sysdeps/ieee754/k_standard.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29112 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29115 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29120 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29157 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29158 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29160 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29165 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29170 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29187 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29188 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29198 * sysdeps/ieee754/s_lib_version.c: Likewise.
29199 * sysdeps/ieee754/s_matherr.c: Likewise.
29200 * sysdeps/ieee754/s_signgam.c: Likewise.
29201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29203 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29204 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29205 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29206 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29207 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29208 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29209 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29210 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29212 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29213 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29214 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29215 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29216 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29217 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29218 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29219 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29222
1991fa03
JM
292232012-03-09 Joseph Myers <joseph@codesourcery.com>
29224
29225 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29226 * sunrpc/rpc_main.c: Likewise.
29227 * sunrpc/rpc_svcout.c: Likewise.
29228
60d6f5a6
DM
292292012-03-09 David S. Miller <davem@davemloft.net>
29230
29231 * include/math_private.h: New file.
29232
4962050e
JM
292332012-03-09 Joseph Myers <joseph@codesourcery.com>
29234
02a6f887
JM
29235 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29236 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29237 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29238 from <bits/socket_type.h>.
29239 (enum __socket_type): Don't define here.
29240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29242 bits/socket_type.h.
29243
c6e013c1
JM
29244 [BZ #13566]
29245 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29246 checking __USE_GNU.
29247
4962050e
JM
29248 * Makerules ($(inst_includedir)/%.h): New rule.
29249 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29250 (install-others): Remove variable setting.
29251 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29252
38842f45
RH
292532012-03-08 Richard Henderson <rth@twiddle.net>
29254
67bb6da6
RH
29255 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29256 from macro to inline function; merge with the
29257 !__LIBC_INTERNAL_MATH_INLINES version.
29258 (__ieee754_sqrtf): Likewise.
29259
15194b4b
RH
29260 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29261 to inline function.
29262 (__rintf, __floor, __floorf): Likewise.
29263
64e21ede
RH
29264 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29265 macro to inline function.
29266 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29267
38842f45
RH
29268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29269 not <math/math_private.h>.
29270
c64bf5fe
DM
292712012-03-08 David S. Miller <davem@davemloft.net>
29272
29273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29274 copyright year.
29275 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29276
82d86f28
TS
292772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29278
29279 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29280 normalization.
29281 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29282 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29283
aea5d727
UD
292842012-03-08 Ulrich Drepper <drepper@gmail.com>
29285
29286 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29287 be defined individually, they must be defined as a block. Define
29288 S for printing a string instead of hidint the different by using a
29289 macro for adding the 'l'.
29290 * stdio-common/tst-fphex-wide.c: Adjust.
29291
70bca0a3
MP
292922012-03-07 Marek Polacek <polacek@redhat.com>
29293
29294 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29295
65b81130
MP
292962012-03-08 Marek Polacek <polacek@redhat.com>
29297
29298 [BZ #13806]
29299 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29300 * stdio-common/tst-fphex.c: Define a few macros to make the
29301 test reusable. Use them.
29302 * stdio-common/tst-fphex-wide.c: New file.
29303
07037eeb
JM
293042012-03-08 Joseph Myers <joseph@codesourcery.com>
29305
a7a93d50
JM
29306 [BZ #6911]
29307 * manual/macros.texi (gnusystems): New macro.
29308 (nongnusystems): Likewise.
29309 (gnulinuxhurdsystems): Likewise.
29310 (gnuhurdsystems): Likewise..
29311 (gnulinuxsystems): Likewise.
29312 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29313 variants of the GNU system, not "GNU system".
29314 * manual/conf.texi: Likewise.
29315 * manual/errno.texi: Likewise. Update example of errno macro
29316 expansion.
29317 * manual/filesys.texi: Likewise.
29318 (getumask): Document as specific to GNU/Hurd.
29319 * manual/install.texi: Likewise. Reword some references to
29320 GNU/Linux.
29321 * manual/intro.texi: Likewise.
29322 * manual/io.texi: Likewise.
29323 (File Name Portability): Detail which constraints are inapplicable
29324 to all GNU systems and which are only inapplicable to GNU/Hurd.
29325 * manual/job.texi: Likewise.
29326 * manual/llio.texi: Likewise.
29327 (O_NOCTTY): Document as present on GNU/Linux.
29328 * manual/maint.texi: Likewise.
29329 * manual/memory.texi: Likewise.
29330 * manual/pattern.texi: Likewise.
29331 * manual/pipe.texi: Likewise.
29332 * manual/process.texi: Likewise.
29333 * manual/resource.texi: Likewise.
29334 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29335 child on GNU/Hurd.
29336 * manual/setjmp.texi: Likewise.
29337 * manual/signal.texi: Likewise.
29338 * manual/startup.texi: Likewise.
29339 * manual/stdio.texi: Likewise.
29340 * manual/terminal.texi: Likewise.
29341 (ONLCR): Document as POSIX.
29342 (OXTABS): Document availability on GNU/Linux as XTABS.
29343 (ONOEOT): Document availability separately from other bits.
29344 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29345 * manual/time.texi: Likewise.
29346 * manual/users.texi: Likewise.
29347 * INSTALL: Regenerated.
29348 * sysdeps/gnu/errlist.c: Regenerated.
29349
07037eeb
JM
29350 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29351 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29352 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29353 puts.
29354 * configure: Regenerated.
29355
d1d3431a
JM
293562012-03-07 Joseph Myers <joseph@codesourcery.com>
29357
af6a1e37
JM
29358 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29359 default includes instead of AC_HEADER_CHECK.
29360 * sysdeps/i386/configure: Regenerated.
29361
d1d3431a
JM
29362 [BZ #10716]
29363 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29364 * math/s_cacoshf.c (__cacoshf): Likewise.
29365 * math/s_cacoshl.c (__cacoshl): Likewise.
29366 * math/s_casinh.c (__casinh): Set signs of result from argument.
29367 * math/s_casinhf.c (__casinhf): Likewise.
29368 * math/s_casinhl.c (__casinhl): Likewise.
29369 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29370 (casinh_test): Add more tests.
29371 * sysdeps/i386/fpu/libm-test-ulps: Update.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29373
482ff4da
UD
293742012-03-07 Ulrich Drepper <drepper@gmail.com>
29375
872fda05
UD
29376 * po/zh_TW.po: Update from translation team.
29377
a4300c7a
UD
29378 * login/Makefile (distribute): Remove variable.
29379 * catgets/Makefile: Likewise.
29380 * mach/Makefile: Likewise.
29381 * malloc/Makefile: Likewise.
29382 * misc/Makefile: Likewise.
29383 * iconv/Makefile: Likewise.
29384 * nscd/Makefile: Likewise.
29385 * hurd/Makefile: Likewise.
29386 * manual/Makefile: Likewise.
29387 * locale/Makefile: Likewise.
29388 * intl/Makefile: Likewise.
29389 * conform/Makefile: Likewise.
29390 * nss/Makefile: Likewise.
29391 * time/Makefile: Likewise.
29392 * soft-fp/Makefile: Likewise.
29393 * dirent/Makefile: Likewise.
29394 * gmon/Makefile: Likewise.
29395 * po/Makefile: Likewise.
29396 * rt/Makefile: Likewise.
29397 * socket/Makefile: Likewise.
29398 * math/Makefile: Likewise.
29399 * signal/Makefile: Likewise.
29400 * debug/Makefile: Likewise.
29401 * elf/Makefile: Likewise.
29402 * timezone/Makefile: Likewise.
29403 * stdlib/Makefile: Likewise.
29404 * iconvdata/Makefile: Likewise.
29405 * sunrpc/Makefile: Likewise.
29406 * io/Makefile: Likewise.
29407 * argp/Makefile: Likewise.
29408 * inet/Makefile: Likewise.
29409 * hesiod/Makefile: Likewise.
29410 * grp/Makefile: Likewise.
29411 * csu/Makefile: Likewise.
29412 * wctype/Makefile: Likewise.
29413 * crypt/Makefile: Likewise.
29414 * libio/Makefile: Likewise.
29415 * string/Makefile: Likewise.
29416 * nis/Makefile: Likewise.
29417 * resolv/Makefile: Likewise.
29418 * stdio-common/Makefile: Likewise.
29419 * wcsmbs/Makefile: Likewise.
29420 * dlfcn/Makefile: Likewise.
29421 * posix/Makefile: Likewise.
29422
3b7c4e74 29423 [BZ #6959]
482ff4da
UD
29424 * timezone/Makefile: Don't install timezone files, just the programs
29425 and scripts.
29426
f72ed77d
UD
294272012-03-06 Ulrich Drepper <drepper@gmail.com>
29428
a000466f
UD
29429 * nss/databases.def: Add missing gshadow entry.
29430
f72ed77d
UD
29431 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29432
a53b7a4e
MP
294332012-03-06 Marek Polacek <polacek@redhat.com>
29434
29435 [BZ #13726]
29436 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29437 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29438 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29439 * stdio-common/tst-long-dbl-fphex.c: New file.
29440
e9258400
DM
294412012-03-06 David S. Miller <davem@davemloft.net>
29442
29443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29444 (set_obp_int): New function.
29445 (get_obp_int): New function.
29446 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29448 Avoid unused variable warnings on 'val' and use builtin_expect.
29449 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29450 __builtin_expect.
e9258400
DM
29451 (INLINE_CLONE_SYSCALL): Likewise.
29452
3bd2c723
DM
294532012-03-05 David S. Miller <davem@davemloft.net>
29454
29455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29456
bbb78d03
AS
294572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29458
884c5db4
AS
29459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29460
bbb78d03
AS
29461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29462 only for |x| >= 40.
29463 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29464
1c9f702a 294652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29466
29467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29468 Replace gettimeofday with __vdso_gettimeofday.
29469
7be16f82
RM
29470 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29471 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29472 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29473
29474 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29475 time with __vdso_time.
29476
ed58a00f
JM
294772012-03-05 Joseph Myers <joseph@codesourcery.com>
29478
29479 * manual/lang.texi (size_t): Note types to which size_t may be
29480 equivalent with the GNU C Library, but do not describe when
29481 differences between them are significant.
29482
30ee4ced
AJ
294832012-03-05 Andreas Jaeger <aj@suse.de>
29484
29485 * sysdeps/i386/fpu/libm-test-ulps: Update.
29486
b7cd39e8
JM
294872012-03-05 Joseph Myers <joseph@codesourcery.com>
29488
29489 [BZ #3976]
29490 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29491 (__ieee754_pow): Save and restore rounding mode and use
29492 round-to-nearest for main computations.
29493 * math/libm-test.inc (pow_test_tonearest): New function.
29494 (pow_test_towardzero): Likewise.
29495 (pow_test_downward): Likewise.
29496 (pow_test_upward): Likewise.
29497 (main): Call the new functions.
29498 * sysdeps/i386/fpu/libm-test-ulps: Update.
29499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29500
29501 [BZ #3976]
29502 * math/libm-test.inc (cosh_test_tonearest): New function.
29503 (cosh_test_towardzero): Likewise.
29504 (cosh_test_downward): Likewise.
29505 (cosh_test_upward): Likewise.
29506 (sinh_test_tonearest): Likewise.
29507 (sinh_test_towardzero): Likewise.
29508 (sinh_test_downward): Likewise.
29509 (sinh_test_upward): Likewise.
29510 (main): Call the new functions.
29511 * sysdeps/i386/fpu/libm-test-ulps: Update.
29512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29513
6c6a98c9
TV
295142012-03-05 Tom de Vries <tom@codesourcery.com>
29515
29516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29517 default stack guard is set in last bytes.
29518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29519
21bb2d2e 295202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29521
21bb2d2e 29522 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29523
21bb2d2e
AJ
29524 [BZ #13656]
29525 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29526 possibly allocate from heap instead of stack.
29527 * stdio-common/bug-vfprintf-nargs.c: New file.
29528 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29529
c6922934
AS
295302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29531
29532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29533
bc957d53
MP
295342012-03-03 Marek Polacek <polacek@redhat.com>
29535
29536 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29537 * math/math_private.h: Likewise.
29538 * stdlib/tst-strtod.c: Likewise.
29539 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29540 * sysdeps/x86_64/bits/atomic.h: Likewise.
29541
6358490d
DM
295422012-03-02 David S. Miller <davem@davemloft.net>
29543
29544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29548 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29549 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29550 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29551 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29552
01ae168d
RM
295532012-03-02 Roland McGrath <roland@hack.frob.com>
29554
d9a17c07
RM
29555 [BZ #13792]
29556 * manual/examples/README: New file, says the example source files
29557 can be used under GPL>=2.
29558 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29559 line containing just "*/".
29560 * manual/examples/add.c: Add copyright header (GPL>=2).
29561 * manual/examples/argp-ex1.c: Likewise.
29562 * manual/examples/argp-ex2.c: Likewise.
29563 * manual/examples/argp-ex3.c: Likewise.
29564 * manual/examples/argp-ex4.c: Likewise.
29565 * manual/examples/atexit.c: Likewise.
29566 * manual/examples/db.c: Likewise.
29567 * manual/examples/dir.c: Likewise.
29568 * manual/examples/dir2.c: Likewise.
29569 * manual/examples/execinfo.c: Likewise.
29570 * manual/examples/filecli.c: Likewise.
29571 * manual/examples/filesrv.c: Likewise.
29572 * manual/examples/fmtmsgexpl.c: Likewise.
29573 * manual/examples/genpass.c: Likewise.
29574 * manual/examples/inetcli.c: Likewise.
29575 * manual/examples/inetsrv.c: Likewise.
29576 * manual/examples/isockad.c: Likewise.
29577 * manual/examples/longopt.c: Likewise.
29578 * manual/examples/memopen.c: Likewise.
29579 * manual/examples/memstrm.c: Likewise.
29580 * manual/examples/mkfsock.c: Likewise.
29581 * manual/examples/mkisock.c: Likewise.
29582 * manual/examples/mygetpass.c: Likewise.
29583 * manual/examples/pipe.c: Likewise.
29584 * manual/examples/popen.c: Likewise.
29585 * manual/examples/rprintf.c: Likewise.
29586 * manual/examples/search.c: Likewise.
29587 * manual/examples/select.c: Likewise.
29588 * manual/examples/setjmp.c: Likewise.
29589 * manual/examples/sigh1.c: Likewise.
29590 * manual/examples/sigusr.c: Likewise.
29591 * manual/examples/stpcpy.c: Likewise.
29592 * manual/examples/strdupa.c: Likewise.
29593 * manual/examples/strftim.c: Likewise.
29594 * manual/examples/strncat.c: Likewise.
29595 * manual/examples/subopt.c: Likewise.
29596 * manual/examples/swapcontext.c: Likewise.
29597 * manual/examples/termios.c: Likewise.
29598 * manual/examples/testopt.c: Likewise.
29599 * manual/examples/testpass.c: Likewise.
29600 * manual/examples/timeval_subtract.c: Likewise.
29601
01ae168d
RM
29602 [BZ #13792]
29603 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29604 function to ...
29605 * manual/timeval_subtract.c.texi: ... here, new file.
29606
49efa33d
DM
296072012-03-02 David S. Miller <davem@davemloft.net>
29608
29609 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29610
28afd92d
JM
296112012-03-02 Joseph Myers <joseph@codesourcery.com>
29612
804360ed
JM
29613 [BZ #3976]
29614 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29615 (__sin): Save and restore rounding mode and use round-to-nearest
29616 for all computations.
29617 (__cos): Save and restore rounding mode and use round-to-nearest
29618 for all computations.
29619 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29620 <fenv.h>.
29621 (tan): Save and restore rounding mode and use round-to-nearest for
29622 all computations.
29623 * math/libm-test.inc (cos_test_tonearest): New function.
29624 (cos_test_towardzero): Likewise.
29625 (cos_test_downward): Likewise.
29626 (cos_test_upward): Likewise.
29627 (sin_test_tonearest): Likewise.
29628 (sin_test_towardzero): Likewise.
29629 (sin_test_downward): Likewise.
29630 (sin_test_upward): Likewise.
29631 (tan_test_tonearest): Likewise.
29632 (tan_test_towardzero): Likewise.
29633 (tan_test_downward): Likewise.
29634 (tan_test_upward): Likewise.
29635 (main): Call the new functions.
29636 * sysdeps/i386/fpu/libm-test-ulps: Update.
29637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29638
a6d06d7b
JM
29639 [BZ #10135]
29640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29641 small n, then large n, before computing and testing k+n.
29642 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29644 Likewise.
29645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29646 Likewise.
29647 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29648 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29649 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29650 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29651 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29652 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29655 * math/libm-test.inc (scalbn_test): Add more tests.
29656 (scalbln_test): Likewise.
29657
07e12bb3
JM
29658 * manual/filesys.texi (mode_t): Describe constraints on size and
29659 signedness, not exact equivalence to a particular type.
29660 (ino_t): Likewise.
29661 (ino64_t): Likewise.
29662 (dev_t): Likewise.
29663 (nlink_t): Likewise.
29664 (blkcnt_t): Likewise.
29665 (blkcnt64_t): Likewise.
29666 * manual/llio.texi (off_t): Likewise.
29667
28afd92d
JM
29668 [BZ #3976]
29669 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29670 (__ieee754_exp): Save and restore rounding mode and use
29671 round-to-nearest for all computations.
29672 * math/libm-test.inc (exp_test_tonearest): New function.
29673 (exp_test_towardzero): Likewise.
29674 (exp_test_downward): Likewise.
29675 (exp_test_upward): Likewise.
29676 (main): Call the new functions.
29677 * sysdeps/i386/fpu/libm-test-ulps: Update.
29678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29679
b1eeb65d
CD
296802012-03-01 Chris Demetriou <cgd@google.com>
29681
29682 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29683 have predictable order.
29684
53362a4b
DM
296852012-03-01 David S. Miller <davem@davemloft.net>
29686
3c969083
DM
29687 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29688
759707de
DM
29689 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29690 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29691 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29692 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29693
dfdb8ff2
DM
29694 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29695 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29696 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29698 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29699 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29700 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29701 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29702 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29703
ead89f96
DM
29704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29705
7f66bd07
DM
29706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29707 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29709
53362a4b
DM
29710 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29711 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29712 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29713 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29714 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29717 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29718 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29719 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29720 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29726 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29727 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29728 * sysdeps/sparc/elf/configure: Regenerated.
29729
7b1902cb
JM
297302012-03-01 Joseph Myers <joseph@codesourcery.com>
29731
bec039bc
JM
29732 * configure.in (AS, LD): Require binutils 2.20 or later.
29733 * configure: Regenerated.
29734 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29735 as required minimum version.
29736 * INSTALL: Regenerated.
29737
7b1902cb
JM
29738 [BZ #2541]
29739 [BZ #4108]
29740 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29741 before squaring exponent.
29742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29743 bottom long double and 27 bits of top long double before squaring
29744 exponent.
29745 * math/libm-test.inc (erfc_test): Add more tests.
29746 * sysdeps/i386/fpu/libm-test-ulps: Update.
29747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29749
f775c276
KT
297502012-03-01 Kai Tietz <ktietz@redhat.com>
29751
29752 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29753 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29754 containing bit-fields.
29755 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29756 * soft-fp/single.h (_FP_UNION_S): Likewise.
29757 * soft-fp/double.h (_FP_UNION_D): Likewise.
29758
5b8a4d4a
JM
297592012-02-29 Joseph Myers <joseph@codesourcery.com>
29760
0bab47b6
JM
29761 [BZ #13786]
29762 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29763 not include ../strcmp.S.
29764 [USE_AS_STRNCASECMP_L]: Likewise.
29765 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29766 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29767 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29768 (__strncasecmp_l_ia32): Define as alias to
29769 __strncasecmp_l_nonascii.
29770
0fcad3e2
JM
29771 [BZ #5794]
29772 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29773 * sysdeps/i386/fpu/libm-test-ulps: Update.
29774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29775
5b8a4d4a
JM
29776 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29778
8fdceb2e
JL
297792012-02-29 Jeff Law <law@redhat.com>
29780
29781 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29782 out of bounds read.
29783
1f393a11
MP
297842012-02-29 Marek Polacek <polacek@redhat.com>
29785
29786 [BZ #13706]
29787 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29788 * elf/Makefile: Add rules to run tst-unused-dep.out.
29789
8847f037
DM
297902012-02-28 David S. Miller <davem@davemloft.net>
29791
29792 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29793 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29798
169d7f11
JM
297992012-02-29 Joseph Myers <joseph@codesourcery.com>
29800
29801 * math/libm-test.inc (llround_test): Move one test from
29802 lround_test. Use TEST_f_L in moved test.
29803 (lround_test): Move misplaced test to llround_test. Add testcase
29804 from bug 2561.
29805
39adf059
UD
298062012-02-28 Ulrich Drepper <drepper@gmail.com>
29807
29808 * sysdeps/x86_64/fpu/e_expf.S: New file.
29809 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29810
71b5d1c5
SB
298112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29812
29813 [BZ #13637]
29814 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29815 of remain_len that may cause incomplete multi-byte character and
29816 false match.
29817 * posix/bug-regex33.c: New file.
29818 * posix/Makefile (tests): Add bug-regex33.
29819
1f77f049
JM
298202012-02-28 Joseph Myers <joseph@codesourcery.com>
29821
29822 * manual/macros.texi: New file.
29823 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29824 * manual/libc.texinfo: Include macros.texi.
29825 * manual/creatute.texi: Likewise.
29826 * manual/install.texi: Likewise.
29827 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29828 @glibcadj{} in references to the GNU C Library.
29829 * manual/charset.texi: Likewise.
29830 * manual/conf.texi: Likewise.
29831 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29832 when not using those macros.
29833 * manual/creature.texi: Likewise.
29834 * manual/crypt.texi: Likewise.
29835 * manual/errno.texi: Likewise.
29836 * manual/filesys.texi: Likewise.
29837 * manual/header.texi: Likewise.
29838 * manual/install.texi: Likewise.
29839 * manual/intro.texi: Likewise.
29840 * manual/io.texi: Likewise.
29841 * manual/job.texi: Likewise.
29842 * manual/lang.texi: Likewise.
29843 * manual/libc.texiinfo: Likewise.
29844 * manual/llio.texi: Likewise.
29845 * manual/locale.texi: Likewise.
29846 * manual/maint.texi: Likewise.
29847 * manual/math.texi: Likewise.
29848 * manual/memory.texi: Likewise.
29849 * manual/message.texi: Likewise.
29850 * manual/nss.texi: Likewise.
29851 * manual/pattern.texi: Likewise.
29852 * manual/process.texi: Likewise.
29853 * manual/resource.texi: Likewise.
29854 * manual/search.texi: Likewise.
29855 * manual/setjmp.texi: Likewise.
29856 * manual/signal.texi: Likewise.
29857 * manual/socket.texi: Likewise.
29858 * manual/startup.texi: Likewise.
29859 * manual/stdio.texi: Likewise.
29860 * manual/string.texi: Likewise.
29861 * manual/sysinfo.texi: Likewise.
29862 * manual/syslog.texi: Likewise.
29863 * manual/terminal.texi: Likewise.
29864 * manual/time.texi: Likewise.
29865 * manual/users.texi: Likewise.
29866 * INSTALL: Regenerated.
29867 * NOTES: Regenerated.
d40c5d54 29868 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29869
450bf206
AS
298702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29871
29872 * include/dirent.h: Include <dirstream.h> before
29873 <dirent/dirent.h>.
29874
741a235b
DM
298752012-02-28 David S. Miller <davem@davemloft.net>
29876
29877 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29878 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29879 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29881
d6b5aa58
DM
298822012-02-27 David S. Miller <davem@davemloft.net>
29883
1aff59a3
DM
29884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29886 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29888
d6b5aa58
DM
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29890 frame pointer instead of stack pointer relative arg slot.
29891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29894
433f48bf
CD
298952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29896
29897 [BZ #3992]
29898 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29899
d674b76d
DM
299002012-02-27 David S. Miller <davem@davemloft.net>
29901
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29906 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29907 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29908 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29909 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29910
0e7727f7
JM
299112012-02-27 Joseph Myers <joseph@codesourcery.com>
29912
29913 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29914 later. Allow versions 5-9.
43be4ca2 29915 * configure: Regenerated.
0e7727f7
JM
29916 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29917 required minimum version and 4.6 as recommended version. Do not
29918 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29919 * INSTALL: Regenerated.
0e7727f7 29920
a78bc654
DM
299212012-02-27 David S. Miller <davem@davemloft.net>
29922
428d5830
DM
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29927 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29928 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29929 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29930 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29931
a78bc654
DM
29932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29933 manipulate bits before adding and subtracting TWO112[sx].
29934 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29935
4579f81c
RM
299362012-02-27 Roland McGrath <roland@hack.frob.com>
29937
36c8acb4
RM
29938 [BZ #13775]
29939 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29940 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29941 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29942 being in POSIX, because they are in 1003.1-2008.
29943
84ad622b
RM
29944 * rt/tst-aio.c: Include <fcntl.h>.
29945 * rt/tst-aio7.c: Likewise.
29946 * rt/tst-aio64.c: Likewise.
29947
4579f81c
RM
29948 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29949
abd923db
JM
299502012-02-27 Joseph Myers <joseph@codesourcery.com>
29951
29952 * manual/install.texi (--with-headers): Describe headers as
29953 interface headers, not private headers.
29954 (Specific advice for GNU/Linux systems): Describe use of headers
29955 from "make headers_install", not private headers from older
29956 kernels.
43be4ca2 29957 * INSTALL: Regenerated.
abd923db
JM
29958 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29959 Change to 2.6.19.
29960 * sysdeps/unix/sysv/linux/configure: Regenerated.
29961
6664049b
JM
29962 * manual/llio.texi (fclean): Remove documentation.
29963
bb8b6697
JM
29964 * manual/Makefile (libc-texi-generated): New variable. Include
29965 version.texi.
29966 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29967 $(libc-texi-generated), not duplicated list of files.
29968 (version.texi, stamp-version): New rules.
29969 (realclean): Remove $(libc-texi-generated), not individual files
29970 from that list. Do not remove dir-add.texinfo.
29971 * manual/libc.texinfo: Comment out uses of edition numbers and
29972 references to printed manual. Remove last-updated dates.
29973 (EDITION): Comment out.
29974 (ISBN): Likewise.
29975 (VERSION, UPDATED): Remove.
29976 (version.texi): Include.
29977
12e5c3b9
AS
299782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29979
29980 * sysdeps/posix/spawni.c: Include <signal.h>.
29981 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29982 * sysdeps/pthread/aio_fsync.c: Likewise.
29983
4efeffc1 299842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29985
ba63ba08
UD
29986 * conform/Makefile (tests): Run only when not cross-compiling and
29987 when fast-check is not defined.
29988
d94a4670
UD
29989 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29990 * conform/data/limits.h-data: Fixes for POSIX2008.
29991 * conform/run-conformtest.sh: Run all tests.
29992 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29993 headers.
29994 * include/bits/dlfcn.h: Likewise.
29995 * include/langinfo.h: Likewise.
29996 * include/monetary.h: Likewise.
29997 * include/sys/poll.h: Likewise.
29998
29999 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30000 for __USE_GNU.
30001 * posix/spawn.h: Define __need_sigset_t.
30002 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30003 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30004 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30005 to get sigevent_t only.
30006 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30007 only for __USE_GNU.
30008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30009 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30010 process_vm_writev only for __USE_GNU.
30011 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30012
30013 * conform/Makefile: For now ignore errors from run-conformtest.
30014 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30015 POSIX to avoid namespace pollution. Don't prepend headers.
30016 * conform/data/aio.h-data: Fixes for POSIX testing.
30017 * conform/data/fcntl.h-data: Likewise.
30018 * conform/data/glob.h-data: Likewise.
30019 * conform/data/grp.h-data: Likewise.
30020 * conform/data/pthread.h-data: Likewise.
30021 * conform/data/pwd.h-data: Likewise.
30022 * conform/data/signal.h-data: Likewise.
30023 * conform/data/spawn.h-data: Likewise.
30024 * conform/data/stdio.h-data: Likewise.
30025 * conform/data/stdlib.h-data: Likewise.
30026 * conform/data/stropts.h-data: Likewise.
30027 * conform/data/sys/mman.h-data: Likewise.
30028 * conform/data/sys/stat.h-data: Likewise.
30029 * conform/data/sys/types.h-data: Likewise.
30030 * conform/data/sys/wait.h-data: Likewise.
30031 * conform/data/time.h-data: Likewise.
30032 * conform/data/unistd.h-data: Likewise.
30033 * conform/data/utime.h-data: Likewise.
30034
30035 * io/sys/stat.h: fchmod was always in POSIX.
30036 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30037 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30038 * rt/aio.h: Define __need_timespec before including <time.h>.
30039 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30040 struct. Add forward declaration of pthread_attr_t and use it in
30041 sigevent.
30042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30044 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30045 always remove CLK_TCK definition.
30046
c20105c3
AS
300472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30048
30049 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30050
7a270350
UD
300512012-02-25 Ulrich Drepper <drepper@gmail.com>
30052
31341567
UD
30053 * conform/run-conformtest.sh: New file.
30054 * conform/Makefile: Run run-conformtest for tests.
30055 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30056 support.
30057
30058 * conform/data/uchar.h-data: New file.
30059 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30060 * conform/data/arpa/inet.h-data: Likewise.
30061 * conform/data/assert.h-data: Likewise.
30062 * conform/data/complex.h-data: Likewise.
30063 * conform/data/cpio.h-data: Likewise.
30064 * conform/data/ctype.h-data: Likewise.
30065 * conform/data/dirent.h-data: Likewise.
30066 * conform/data/dlfcn.h-data: Likewise.
30067 * conform/data/errno.h-data: Likewise.
30068 * conform/data/fcntl.h-data: Likewise.
30069 * conform/data/float.h-data: Likewise.
30070 * conform/data/fmtmsg.h-data: Likewise.
30071 * conform/data/fnmatch.h-data: Likewise.
30072 * conform/data/ftw.h-data: Likewise.
30073 * conform/data/glob.h-data: Likewise.
30074 * conform/data/grp.h-data: Likewise.
30075 * conform/data/iconv.h-data: Likewise.
30076 * conform/data/inttypes.h-data: Likewise.
30077 * conform/data/langinfo.h-data: Likewise.
30078 * conform/data/libgen.h-data: Likewise.
30079 * conform/data/limits.h-data: Likewise.
30080 * conform/data/locale.h-data: Likewise.
30081 * conform/data/math.h-data: Likewise.
30082 * conform/data/monetary.h-data: Likewise.
30083 * conform/data/mqueue.h-data: Likewise.
30084 * conform/data/ndbm.h-data: Likewise.
30085 * conform/data/net/if.h-data: Likewise.
30086 * conform/data/netdb.h-data: Likewise.
30087 * conform/data/netinet/in.h-data: Likewise.
30088 * conform/data/nl_types.h-data: Likewise.
30089 * conform/data/poll.h-data: Likewise.
30090 * conform/data/pthread.h-data: Likewise.
30091 * conform/data/pwd.h-data: Likewise.
30092 * conform/data/regex.h-data: Likewise.
30093 * conform/data/sched.h-data: Likewise.
30094 * conform/data/search.h-data: Likewise.
30095 * conform/data/semaphore.h-data: Likewise.
30096 * conform/data/setjmp.h-data: Likewise.
30097 * conform/data/signal.h-data: Likewise.
30098 * conform/data/spawn.h-data: Likewise.
30099 * conform/data/stdarg.h-data: Likewise.
30100 * conform/data/stdio.h-data: Likewise.
30101 * conform/data/stdlib.h-data: Likewise.
30102 * conform/data/string.h-data: Likewise.
30103 * conform/data/strings.h-data: Likewise.
30104 * conform/data/stropts.h-data: Likewise.
30105 * conform/data/sys/ipc.h-data: Likewise.
30106 * conform/data/sys/mman.h-data: Likewise.
30107 * conform/data/sys/msg.h-data: Likewise.
30108 * conform/data/sys/resource.h-data: Likewise.
30109 * conform/data/sys/select.h-data: Likewise.
30110 * conform/data/sys/sem.h-data: Likewise.
30111 * conform/data/sys/shm.h-data: Likewise.
30112 * conform/data/sys/socket.h-data: Likewise.
30113 * conform/data/sys/stat.h-data: Likewise.
30114 * conform/data/sys/statvfs.h-data: Likewise.
30115 * conform/data/sys/time.h-data: Likewise.
30116 * conform/data/sys/timeb.h-data: Likewise.
30117 * conform/data/sys/times.h-data: Likewise.
30118 * conform/data/sys/types.h-data: Likewise.
30119 * conform/data/sys/uio.h-data: Likewise.
30120 * conform/data/sys/un.h-data: Likewise.
30121 * conform/data/sys/utsname.h-data: Likewise.
30122 * conform/data/sys/wait.h-data: Likewise.
30123 * conform/data/syslog.h-data: Likewise.
30124 * conform/data/tar.h-data: Likewise.
30125 * conform/data/termios.h-data: Likewise.
30126 * conform/data/utime.h-data: Likewise.
30127 * conform/data/utmpx.h-data: Likewise.
30128 * conform/data/varargs.h-data: Likewise.
30129 * conform/data/wchar.h-data: Likewise.
30130 * conform/data/wctype.h-data: Likewise.
30131 * conform/data/wordexp.h-data: Likewise.
30132
30133 * include/stropts.h: New file.
30134 * include/uchar.h: New file.
30135 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30136 * include/assert.h: Likewise.
30137 * include/ctype.h: Likewise.
30138 * include/dirent.h: Likewise.
30139 * include/dlfcn.h: Likewise.
30140 * include/fcntl.h: Likewise.
30141 * include/fnmatch.h: Likewise.
30142 * include/glob.h: Likewise.
30143 * include/grp.h: Likewise.
30144 * include/libio.h: Likewise.
30145 * include/locale.h: Likewise.
30146 * include/math.h: Likewise.
30147 * include/net/if.h: Likewise.
30148 * include/netdb.h: Likewise.
30149 * include/netinet/in.h: Likewise.
30150 * include/pthread.h: Likewise.
30151 * include/pwd.h: Likewise.
30152 * include/regex.h: Likewise.
30153 * include/sched.h: Likewise.
30154 * include/search.h: Likewise.
30155 * include/setjmp.h: Likewise.
30156 * include/signal.h: Likewise.
30157 * include/stdio.h: Likewise.
30158 * include/stdlib.h: Likewise.
30159 * include/string.h: Likewise.
30160 * include/sys/cdefs.h: Likewise.
30161 * include/sys/mman.h: Likewise.
30162 * include/sys/msg.h: Likewise.
30163 * include/sys/resource.h: Likewise.
30164 * include/sys/select.h: Likewise.
30165 * include/sys/socket.h: Likewise.
30166 * include/sys/stat.h: Likewise.
30167 * include/sys/statvfs.h: Likewise.
30168 * include/sys/time.h: Likewise.
30169 * include/sys/times.h: Likewise.
30170 * include/sys/uio.h: Likewise.
30171 * include/sys/utsname.h: Likewise.
30172 * include/sys/wait.h: Likewise.
30173 * include/termios.h: Likewise.
30174 * include/time.h: Likewise.
30175 * include/ulimit.h: Likewise.
30176 * include/unistd.h: Likewise.
30177 * include/utime.h: Likewise.
30178 * include/wchar.h: Likewise.
30179 * include/wctype.h: Likewise.
30180 * include/wordexp.h: Likewise.
30181
30182 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30183
7a270350
UD
30184 * time/time.h: TIME_UTC must be a macro.
30185 Make timespec_get available for ISO C11 only as well.
30186
7724defc
UD
301872012-02-24 Ulrich Drepper <drepper@gmail.com>
30188
30189 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30190 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30191
6b1d1d46
JM
301922012-02-24 Joseph Myers <joseph@codesourcery.com>
30193
30194 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30195
0f8bbd69
JM
301962012-02-24 Joseph Myers <joseph@codesourcery.com>
30197
30198 * manual/texinfo.tex: Update to version 2012-01-19.16.
30199
66ab80bc
JM
302002012-02-24 Joseph Myers <joseph@codesourcery.com>
30201
30202 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30203
74981cc5
RM
302042012-02-24 Roland McGrath <roland@hack.frob.com>
30205
ee968201
RM
30206 [BZ #13738]
30207 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30208 * manual/fdl-1.3.texi: New file.
30209 * manual/fdl-1.1.texi: File removed.
30210
74981cc5
RM
30211 [BZ #13738]
30212 * manual/libc.texinfo (FDL_VERSION): New @set.
30213 Use it for mention of FDL in cover text.
30214 (Documentation License): Use it in @include file name.
30215
7bb764bc
JM
302162012-02-22 Joseph Myers <joseph@codesourcery.com>
30217 Roland McGrath <roland@hack.frob.com>
30218
30219 [BZ #5461]
30220 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30221 not LONG_LONG_MAX and LONG_LONG_MIN.
30222 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30223 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30224 name.
30225 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30226
6cbeae47
JM
302272012-02-22 Joseph Myers <joseph@codesourcery.com>
30228
30229 [BZ #2547]
30230 [BZ #11365]
30231 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30232 manipulate bits before adding and subtracting TWO23[sx].
30233 * math/libm-test.inc (nearbyint_test): Add more tests.
30234
fe45ce09
JM
302352012-02-22 Joseph Myers <joseph@codesourcery.com>
30236
30237 [BZ #2548]
30238 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30239 bits before adding and subtracting TWO23[sx].
30240 * math/libm-test.inc (rint_test): Add more tests.
30241 (rint_test_tonearest): Likewise.
30242 (rint_test_towardzero): Likewise.
30243 (rint_test_downward): Likewise.
30244 (rint_test_upward: Likewise.
30245
ff3b3d82
JM
302462012-02-22 Joseph Myers <joseph@codesourcery.com>
30247
30248 [BZ #10110]
30249 * include/stdc-predef.h: New file. Extracted from features.h.
30250 * include/features.h: Include stdc-predef.h.
30251 * Makefile (headers): Add stdc-predef.h.
30252 * CONFORMANCE (Compiler limitations): Update.
30253
ef0aab35
JM
302542012-02-22 Joseph Myers <joseph@codesourcery.com>
30255
30256 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30257
58639409
DM
302582012-02-21 David S. Miller <davem@davemloft.net>
30259
30260 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30261 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30262
c0e70b25
DM
302632012-02-20 David S. Miller <davem@davemloft.net>
30264
30265 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30266 using a normal save/restore sequence, rather than allocating a
30267 dummy stack frame just to store a frame pointer and restore.
30268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30269
fb06851d
JM
302702012-02-21 Joseph Myers <joseph@codesourcery.com>
30271
30272 * manual/install.texi: Fix stray word in line-wrapped comment.
30273
7a8b71c3
DM
302742012-02-20 David S. Miller <davem@davemloft.net>
30275
d510c123
DM
30276 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30277 both binutils and gcc support GOTDATA.
30278
0722d7c2
DM
30279 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30280 "rd %pc" in the PIC register setup sequences.
30281
3d2b3019
DM
30282 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30283 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30284 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30285 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30286 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30291 (SYSCALL_ERROR_HANDLER): Likewise.
30292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30295 (SYSCALL_ERROR_HANDLER): Likewise.
30296
c80098a9
DM
30297 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30298 (HAVE_GCC_GOTDATA): New.
30299 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30300 relocation support in both binutils and gcc.
30301 * sysdeps/sparc/elf/configure: Regenerate.
30302
3a2545a0
DM
30303 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30304 * sysdeps/sparc/sparc32/elf/configure: Delete.
30305 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30306 * sysdeps/sparc/sparc64/elf/configure: Delete.
30307 * sysdeps/sparc/elf/configure.in: New file.
30308 * sysdeps/sparc/elf/configure: Generate.
30309
7a8b71c3
DM
30310 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30311 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30313 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30314 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30315
f1e86fca
JM
303162012-02-21 Joseph Myers <joseph@codesourcery.com>
30317
30318 * manual/install.texi: Do not mention specific glibc version
30319 numbers.
30320 * manual/libc.texinfo (VERSION, UPDATED): Update.
30321 (@copying): Use @copyright{} and range of years.
30322
0e7dfaef
JM
303232012-02-21 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #13695]
30326 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30327 [crti.S not in sysdirs] (generated): Do not append.
30328 [crti.S not in sysdirs] (omit-deps): Likewise.
30329 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30330 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30331 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30332 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30333 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30334 Likewise.
30335 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30336 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30337 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30338 * csu/defs.awk: Remove file.
30339 * sysdeps/generic/initfini.c: Likewise.
30340 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30341 variable.
30342 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30343 Likewise.
30344
599af3ca
JM
303452012-02-20 Joseph Myers <joseph@codesourcery.com>
30346
30347 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30348 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30349 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30350 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30352 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30353 <bits/epoll.h>.
30354 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30355 (__EPOLL_PACKED): Define to empty if not defined by
30356 <bits/epoll.h>.
30357 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30359 bits/epoll.h.
30360
0e499750
JM
303612012-02-20 Joseph Myers <joseph@codesourcery.com>
30362
30363 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30364 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30365 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30366 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30367 <bits/timerfd.h>.
30368 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30370 bits/timerfd.h.
30371
5ad91f6e
JM
303722012-02-20 Joseph Myers <joseph@codesourcery.com>
30373
30374 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30375 in C locale.
30376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30377 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30378 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30380
06b99b02
AJ
303812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30382
30383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30385
7638c0fd
AS
303862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30387
30388 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30389 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30390 defined.
30391 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30392 Likewise.
30393 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30394 entry for 2.16.
30395
92221550
AJ
303962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30397
30398 * math/w_acos.c: Use non-signaling floating-point comparisons.
30399 * math/w_acosf.c: Likewise.
30400 * math/w_acosh.c: Likewise.
30401 * math/w_acoshf.c: Likewise.
30402 * math/w_acoshl.c: Likewise.
30403 * math/w_acosl.c: Likewise.
30404 * math/w_asin.c: Likewise.
30405 * math/w_asinf.c: Likewise.
30406 * math/w_asinl.c: Likewise.
30407 * math/w_atanh.c: Likewise.
30408 * math/w_atanhf.c: Likewise.
30409 * math/w_atanhl.c: Likewise.
30410 * math/w_exp2.c: Likewise.
30411 * math/w_exp2f.c: Likewise.
30412 * math/w_exp2l.c: Likewise.
30413 * math/w_j0.c: Likewise.
30414 * math/w_j0f.c: Likewise.
30415 * math/w_j0l.c: Likewise.
30416 * math/w_j1.c: Likewise.
30417 * math/w_j1f.c: Likewise.
30418 * math/w_j1l.c: Likewise.
30419 * math/w_jn.c: Likewise.
30420 * math/w_jnf.c: Likewise.
30421 * math/w_log.c: Likewise.
30422 * math/w_log10.c: Likewise.
30423 * math/w_log10f.c: Likewise.
30424 * math/w_log10l.c: Likewise.
30425 * math/w_log2.c: Likewise.
30426 * math/w_log2f.c: Likewise.
30427 * math/w_log2l.c: Likewise.
30428 * math/w_logf.c: Likewise.
30429 * math/w_logl.c: Likewise.
30430 * math/w_sqrt.c: Likewise.
30431 * math/w_sqrtf.c: Likewise.
30432 * math/w_sqrtl.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30436 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30437 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30438
ebaf36eb
JM
304392012-02-19 Joseph Myers <joseph@codesourcery.com>
30440
30441 [BZ #9739]
30442 * manual/string.texi (strnlen): Use correct parameter name in
30443 equivalent expression.
30444
71c254a6
JM
304452012-02-19 Joseph Myers <joseph@codesourcery.com>
30446
30447 [BZ #11174]
30448 * manual/users.texi (seteuid): Consistently use neweuid for
30449 argument name.
30450
16d2c631
JM
304512012-02-19 Joseph Myers <joseph@codesourcery.com>
30452
30453 [BZ #13704]
30454 * manual/nss.texi (Services in the NSS configuration): Correct
30455 list of services in example configuration file.
30456
cd837b09
NB
304572012-02-19 Nick Bowler <nbowler@draconx.ca>
30458
30459 [BZ #11322]
30460 * manual/arith.texi: Remove statements about negative zero
30461 behaving identically to zero.
30462
02c4bbad
JM
304632012-02-18 Joseph Myers <joseph@codesourcery.com>
30464
30465 [BZ #5993]
30466 * manual/install.texi: Do not document upgrading from libc5.
30467
366842e7
JM
304682012-02-18 Joseph Myers <joseph@codesourcery.com>
30469
30470 [BZ #4596]
30471 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30472
dd54084d
DM
304732012-02-18 David S. Miller <davem@davemloft.net>
30474
30475 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30476 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30477 %o7 across the call.
30478 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30479 instead.
30480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30481 SETUP_PIC_REG_LEAF.
30482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30483 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30484 * sysdeps/sparc/crtn.S: Likewise.
30485
2bcc53a3
UD
304862012-02-17 Ulrich Drepper <drepper@gmail.com>
30487
30488 * aout/Makefile: Remove.
30489
09c093b5
RK
304902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30491
30492 [BZ #13058]
30493 * manual/examples/argp-ex1.c (main): Format definition in GNU
30494 style.
30495 * manual/examples/argp-ex2.c (main): Likewise.
30496 * manual/examples/argp-ex3.c (main): Likewise.
30497 * manual/examples/argp-ex4.c (main): Likewise.
30498 * manual/examples/longopt.c (main): Use new-style prototype
30499 definition.
30500 * manual/examples/strncat.c (main): Specify return type and use
30501 (void) for arguments.
30502 * manual/examples/subopt.c (main): Use char **argv argument.
30503
2ee633a2
JM
305042012-02-17 Joseph Myers <joseph@codesourcery.com>
30505
30506 [BZ #5077]
30507 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30508 rounding modes.
30509
0520adde
FB
305102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30511
30512 [BZ #6907]
30513 * manual/string.texi (strchr): Change when strchrnul is
30514 recommended.
30515
3f4081cd
DGM
305162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30517
30518 [BZ #174]
30519 * manual/locale.texi (setlocale): Document LOCPATH.
30520
d1b10e78
JM
305212012-02-17 Joseph Myers <joseph@codesourcery.com>
30522
30523 [BZ #10210]
30524 * manual/process.texi (execle): Move @dots{} before last argument.
30525
79c6869c
PB
305262012-02-17 Paul Bolle <pebolle@tiscali.nl>
30527
30528 [BZ #12047]
30529 * manual/charset.texi (Generic Charset Conversion): Fix typo
30530 (LC_TYPE -> LC_CTYPE).
30531
cc6e48bc
NB
305322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30533
30534 [BZ #5805]
30535 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30536 (scalbnf): Likewise.
30537 (scalbnl): Likewise.
30538 (scalbln): Likewise.
30539 (scalblnf): Likewise.
30540 (scalblnl): Likewise.
30541 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30542 (vwarnx): Likewise.
30543 (verr): Likewise.
30544 (verrx): Likewise.
30545 * manual/filesys.texi (telldir): Use braces around return type.
30546 * manual/llio.texi (mmap): Add space after comma.
30547 (mmap64): Likewise.
30548 * manual/math.texi (jn): Use @var{} on parameter names.
30549 (jnf): Likewise.
30550 (jnl): Likewise.
30551 (yn): Likewise.
30552 (ynf): Likewise.
30553 (ynl): Likewise.
30554 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30555 line.
30556 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30557 "...".
30558 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30559 (sched_get_priority_max): Likewise.
30560 * manual/signal.texi (sigvec): Add space after comma.
30561 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30562 names.
30563 (if_indextoname): Likewise.
30564 (if_freenameindex): Likewise.
30565 (sendto): Use ',' instead of '.' in prototype.
30566 * manual/startup.texi (syscall): Use @dots{} instead of literal
30567 "...".
30568 * manual/stdio.texi (__fpending): Separate initial words of
30569 paragraph from @deftypefun line.
30570 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30571 "...".
30572 (vsyslog): Use @var{} on parameter names.
30573 * manual/terminal.texi (stty): Use @var{} on parameter names.
30574 * manual/users.texi (getutmp): Use @var{} on parameter names.
30575 (getutmpx): Likewise.
30576
5b23062f
JM
305772012-02-17 Joseph Myers <joseph@codesourcery.com>
30578
30579 [BZ #6884]
30580 * manual/stdio.texi (fopen): Fix typos in description of
30581 ",ccs=STRING".
30582
8dee4833
AJ
305832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30584
30585 [BZ #4026]
30586 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30587 get clock_id definition.
30588
9078ce93
TS
305892012-02-17 Thomas Schwinge <thomas@schwinge.name>
30590
30591 [BZ #4822]
30592 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30593 (madvise): Cast every argument to void on its own.
30594
3835c55f
JM
305952012-02-17 Joseph Myers <joseph@codesourcery.com>
30596
30597 [BZ #9902]
30598 * manual/startup.texi (Exit Status): Fix typo.
30599
35c47e37
JM
306002012-02-17 Joseph Myers <joseph@codesourcery.com>
30601
30602 [BZ #10140]
30603 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30604 * manual/examples/argp-ex2.c: Likewise.
30605 * manual/examples/argp-ex3.c: Likewise.
30606
e3b69ca7
RH
306072012-02-16 Richard Henderson <rth@redhat.com>
30608
30609 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30610 * sysdeps/s390/s390-32/initfini.c: Remove.
30611 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30612 * sysdeps/s390/s390-64/initfini.c: Remove.
30613
df83af67
KK
306142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30615
30616 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30617 compiler output for sysdeps/generic/initfini.c.
30618 * sysdeps/sh/elf/initfini.c: Remove file.
30619
f63f3380
DM
306202012-02-16 David S. Miller <davem@davemloft.net>
30621
fb59b3a4
DM
30622 [BZ #11494]
30623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30624
f63f3380
DM
30625 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30626 * sysdeps/sparc/crti.S: New file.
30627 * sysdeps/sparc/crtn.S: New file.
30628 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30629 * sysdeps/sparc/sparc64/Makefile: Likewise.
30630
df6a4a4a
MF
306312012-02-15 Mike Frysinger <vapier@gentoo.org>
30632
6dd8f3dc 30633 [BZ #3335]
df6a4a4a
MF
30634 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30635
1cac7236
RM
306362012-02-15 Roland McGrath <roland@hack.frob.com>
30637
d2c736f8
RM
30638 [BZ #4822]
30639 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30640
1cac7236
RM
30641 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30642 (write, read, close): Likewise.
30643 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30644
8e475601
JM
306452012-02-15 Joseph Myers <joseph@codesourcery.com>
30646
30647 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30648 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30649 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30650 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30651 <bits/signalfd.h>.
30652 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30654 bits/signalfd.h.
30655
ed656b40
MP
306562012-02-14 Marek Polacek <polacek@redhat.com>
30657
30658 * sysdeps/x86_64/crti.S: New file.
30659 * sysdeps/x86_64/crtn.S: New file.
30660 * sysdeps/x86_64/elf/initfini.c: Remove file.
30661
2a979d3a
JM
306622012-02-13 Joseph Myers <joseph@codesourcery.com>
30663
30664 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30665 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30666 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30667 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30668 <bits/inotify.h>.
30669 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30671 bits/inotify.h.
30672
2a418ac3
JM
306732012-02-13 Joseph Myers <joseph@codesourcery.com>
30674
30675 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30676 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30677 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30678 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30679 <bits/eventfd.h>.
30680 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30682 bits/eventfd.h.
30683
fb779be7
TS
306842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30685
e19e83c5
RM
30686 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30687 __feraiseexcept instead of feraiseexcept.
7c35ffed 30688
fb779be7
TS
30689 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30690 nanosleep invocations.
30691 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30692 strings, and add error checking for a nanosleep invocations.
30693
59ba27a6
PE
306942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30695
30696 Replace FSF snail mail address with URLs, as per GNU coding standards.
30697 Most of the snail mail addresses were wrong anyway, and omitting
30698 them makes the source code easier to maintain. Almost all of the
30699 changes are to license notices and to locale LC_IDENTIFICATION
30700 addresses, except for this one:
30701 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30702 not its snail mail address.
30703
57b957eb
RH
307042012-02-09 Richard Henderson <rth@twiddle.net>
30705
af850b1c
RH
30706 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30707 of kernel-features.h.
30708
57b957eb
RH
30709 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30710
6b73181a
MP
307112012-02-08 Marek Polacek <polacek@redhat.com>
30712
30713 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30714 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30715 * sysdeps/gnu/_G_config.h: Likewise.
30716 * sysdeps/generic/_G_config.h: Likewise.
30717
26ecc33a
AS
307182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30719
6c6dbc63
AS
30720 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30721 tests.
30722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30723
e216c012
AS
30724 * sysdeps/powerpc/powerpc32/crti.S: New file.
30725 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30726 * sysdeps/powerpc/powerpc64/crti.S: New file.
30727 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30728
26ecc33a
AS
30729 * Makeconfig (have-initfini): Don't set.
30730 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30731 * configure.in (nopic_initfini): Don't substitute.
30732 * config.h.in (HAVE_INITFINI): Don't #undef.
30733 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30734 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30735
3add8e13
JM
307362012-02-08 Joseph Myers <joseph@codesourcery.com>
30737
30738 Support crti.S and crtn.S provided directly by architectures.
30739 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30740 [crti.S in sysdirs] (omit-deps): Likewise.
30741 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30742 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30743 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30744 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30745 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30746 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30747 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30748 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30749 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30750 compiler output for sysdeps/generic/initfini.c.
30751 * sysdeps/i386/elf/Makefile: Remove file.
30752 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30753
a22f12b4
MP
307542012-02-07 Marek Polacek <polacek@redhat.com>
30755
30756 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30757 * sysdeps/gnu/_G_config.h: Likewise.
30758 * sysdeps/mach/hurd/_G_config.h: Likewise.
30759
148cf100
MP
307602012-02-07 Marek Polacek <polacek@redhat.com>
30761
30762 * math/Makefile (tests): Add tst-CMPLX2.
30763 * math/tst-CMPLX2.c: New file.
30764
cfdc0dd7
AS
307652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30766
84ba42c4
AS
30767 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30768
cfdc0dd7
AS
30769 * math/libm-test.inc (jn_test): Add missing L suffix.
30770
622c86f4
MP
307712012-02-06 Marek Polacek <polacek@redhat.com>
30772
30773 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30774 * sysdeps/i386/fpu/e_powf.S: Likewise.
30775 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30776 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30777 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30778 * sysdeps/i386/fpu/e_pow.S: Likewise.
30779 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30781 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30782 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30783 * sysdeps/i386/fpu/e_log2.S: Likewise.
30784 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30786 * sysdeps/i386/fpu/e_powl.S: Likewise.
30787 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30789 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30790 * sysdeps/i386/fpu/e_logl.S: Likewise.
30791 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30792 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30793 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30794 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30795 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30796 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30797 * sysdeps/i386/fpu/e_log.S: Likewise.
30798 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30800 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30801 * sysdeps/i386/fpu/e_logf.S: Likewise.
30802 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30803 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30804 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30806 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30807 * sysdeps/i386/fpu/e_log10.S: Likewise.
30808 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30809 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30810 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30811 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30814 * sysdeps/i386/asm-syntax.h: Likewise.
30815 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30816 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30817 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30818 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30819 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30821 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30822 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30824 * sysdeps/powerpc/sysdep.h: Likewise.
30825 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30826 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30827
d4a54ac6
JM
308282012-02-06 Joseph Myers <joseph@codesourcery.com>
30829
30830 [BZ #411]
30831 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30832
314054ea
JM
308332012-02-06 Joseph Myers <joseph@codesourcery.com>
30834
30835 * sysdeps/i386/sysdep.h: Include <features.h>.
30836 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30837 version.
30838
d8e0ca50
JM
308392012-02-05 Joseph Myers <joseph@codesourcery.com>
30840
30841 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30842 Define.
30843 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30844 LOAD_PIC_REG_STR.
30845
b1da7dd9
JM
308462012-02-03 Joseph Myers <joseph@codesourcery.com>
30847
30848 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30849 (SETUP_PIC_REG): Use GET_PC_THUNK.
30850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30851 macro.
30852
9a1d9254
JM
308532012-02-03 Joseph Myers <joseph@codesourcery.com>
30854
30855 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30856 for non-PIC compilation.
30857 (SETUP_PIC_REG): Add .p2align directive.
30858 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30859 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30861 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30863 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30864 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30866 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30867 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30868 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30869 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30870 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30871 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30872 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30873 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30874 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30875 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30876 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30877 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30878 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30880 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30881 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30886 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30887 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30888 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30889 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30890 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30891 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30892 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30893 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30894 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30895 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30896 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30897 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30898 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30899
65dc3b75
JM
309002012-02-03 Joseph Myers <joseph@codesourcery.com>
30901
30902 * math/tst-CMPLX.c: Include <stdio.h>.
30903
d55bf177
JM
309042012-01-31 Joseph Myers <joseph@codesourcery.com>
30905
30906 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30907 float.
30908 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30909 * sysdeps/sparc/bits/mathdef.h: Likewise.
30910
69db4f8f
MP
309112012-01-31 Marek Polacek <polacek@redhat.com>
30912
30913 * libio/libio.h: Don't define _PARAMS.
30914 * locale/programs/config.h: Don't define PARAMS.
30915 * stdlib/strtol_l.c: Likewise.
30916 (__strtol_l): Remove PARAMS from the prototype.
30917
41b81892
UD
309182012-01-31 Ulrich Drepper <drepper@gmail.com>
30919
3b49edc0
UD
30920 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30921 names. Just use the correct names. Remove unnecessary wrapper
30922 functions.
30923 * malloc/arena.c: Likewise.
30924 * malloc/hooks.c: Likewise.
30925
41b81892
UD
30926 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30927 ARENA_TEST says not to. Simplify test for creation of a new arena.
30928 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30929
27a25b6e
UD
309302012-01-30 Ulrich Drepper <drepper@gmail.com>
30931
30932 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30933 into tail calls.
30934 (update_get_addr): New function.
30935 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30936 GET_ADDR_MODULE parameter.
30937
c8a89e7d
JM
309382012-01-30 Joseph Myers <joseph@codesourcery.com>
30939
30940 * crypt/cert.c: Remove __STDC__ conditionals.
30941 * crypt/crypt-entry.c: Likewise.
30942 * crypt/crypt_util.c: Likewise.
30943 * libio/filedoalloc.c: Likewise.
30944 * libio/fileops.c: Likewise.
30945 * libio/genops.c: Likewise.
30946 * libio/iofclose.c: Likewise.
30947 * libio/iofdopen.c: Likewise.
30948 * libio/iofopen.c: Likewise.
30949 * libio/iofopen64.c: Likewise.
30950 * libio/iogetdelim.c: Likewise.
30951 * libio/iopopen.c: Likewise.
30952 * libio/obprintf.c: Likewise.
30953 * libio/oldfileops.c: Likewise.
30954 * libio/oldiofclose.c: Likewise.
30955 * libio/oldiofdopen.c: Likewise.
30956 * libio/oldiofopen.c: Likewise.
30957 * libio/oldiopopen.c: Likewise.
30958 * libio/wfiledoalloc.c: Likewise.
30959 * libio/wgenops.c: Likewise.
30960 * locale/programs/xmalloc.c: Likewise.
30961 * misc/syslog.c: Likewise.
30962 * stdio-common/xbug.c: Likewise.
30963 * string/memchr.c: Likewise.
30964 * string/memcmp.c: Likewise.
30965 * string/memrchr.c: Likewise.
30966 * string/rawmemchr.c: Likewise.
30967 * sysdeps/posix/getcwd.c: Likewise.
30968 * time/strftime_l.c: Likewise.
30969
3b100462
JM
309702012-01-30 Joseph Myers <joseph@codesourcery.com>
30971
30972 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30973 * config.make.in (config-cflags-sse2avx): Define.
30974 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30975 Fix typo.
30976
607998af
CM
309772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30978
30979 * scripts/config.guess: Update from upstream config git repository.
30980 * scripts/config.sub: Likewise.
30981
3601428f
CM
309822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30983
3ac8b282
CM
30984 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30985 (EM_NUM): Update.
30986 (R_TILEPRO_*, R_TILEGX_*): New macros.
30987
e034841e
CM
30988 * scripts/firstversions.awk: Fix bug in version range handling.
30989
540d7568
CM
30990 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30991
3601428f
CM
30992 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30993
463de862
CM
30994 * include/sys/epoll.h: New file.
30995 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30996 libc_hidden_def.
30997
73139a76
UD
309982012-01-28 Ulrich Drepper <drepper@gmail.com>
30999
96bc5b45
UD
31000 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31001 Avoid unnecessary __WORDSIZE == 64 test.
31002 (fmaxf): Use VEX format if possible.
31003 (fmax): Likewise.
31004 (fminf): Likewise.
31005 (fmin): Likewise.
31006
56f6f6a2
UD
31007 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31008 * math/math_private.h: Remove libc_fegetround* and
31009 libc_fesetround*.
31010 * sysdeps/i386/configure.in: Check for -msse2avx.
31011 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31012 also if SSE2AVX is defined.
31013 Remove libc_fegetround* and libc_fesetround*.
31014 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31015 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31017 of HAS_YMM_USABLE.
31018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31023
73139a76
UD
31024 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31025
d73f93a4
AZ
310262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31027
31028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31029 size is not set.
31030 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31031
6ee65ed6
UD
310322012-01-27 Ulrich Drepper <drepper@gmail.com>
31033
31034 [BZ #13618]
31035 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31036 relocation.
31037 * Makeconfig (libm): Define.
31038 * elf/Makefile: Add rules to build and run tst-relsort1.
31039 * elf/tst-relsort1.c: New file.
31040 * elf/tst-relsort1mod1.c: New file.
31041 * elf/tst-relsort1mod2.c: New file.
31042
8db21882
JM
310432012-01-27 Joseph Myers <joseph@codesourcery.com>
31044
31045 * math/s_ldexp.c: Remove __STDC__ conditionals.
31046 * math/s_ldexpf.c: Likewise.
31047 * math/s_ldexpl.c: Likewise.
31048 * math/s_nextafter.c: Likewise.
31049 * math/s_nexttowardf.c: Likewise.
31050 * math/s_significand.c: Likewise.
31051 * math/s_significandf.c: Likewise.
31052 * math/s_significandl.c: Likewise.
31053 * math/w_jnl.c: Likewise.
31054 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31055 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31060 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31062 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31063 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31064 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31066 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31071 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31073 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31074 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31076 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31078 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31079 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31080 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31081 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31082 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31084 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31085 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31086 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31087 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31088 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31089 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31090 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31091 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31092 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31093 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31094 * sysdeps/ieee754/k_standard.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31113 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31114 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31127 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31148 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31155 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31156 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31161 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31167 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31170 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31172 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31174 * sysdeps/ieee754/s_matherr.c: Likewise.
31175 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31176 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31178 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31179
965a54a4
JM
311802012-01-26 Joseph Myers <joseph@codesourcery.com>
31181
31182 * crypt/md5.h: Remove __STDC__ conditionals.
31183 * libio/libioP.h: Likewise.
31184 * locale/programs/config.h: Likewise.
31185 * sysdeps/generic/sysdep.h: Likewise.
31186 * sysdeps/i386/asm-syntax.h: Likewise.
31187 * sysdeps/s390/asm-syntax.h: Likewise.
31188 * sysdeps/unix/sysdep.h: Likewise.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31191
7071ad79
JM
311922012-01-26 Joseph Myers <joseph@codesourcery.com>
31193
31194 * libio/libio.h: Remove __STDC__ conditionals.
31195 * malloc/obstack.h: Likewise.
31196 * math/complex.h: Likewise.
31197 * math/math.h: Likewise.
31198 * sysdeps/generic/_G_config.h: Likewise.
31199 * sysdeps/gnu/_G_config.h: Likewise.
31200 * sysdeps/mach/hurd/_G_config.h: Likewise.
31201 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31202 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31203 * sysdeps/sparc/bits/mathdef.h: Likewise.
31204
afc5ed09
UD
312052012-01-26 Ulrich Drepper <drepper@gmail.com>
31206
31207 [BZ #13583]
31208 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31209 Clean up HAS_* macros.
afc5ed09 31210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31211 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31212 possible.
31213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31214 HAS_AVX.
31215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31220
bdb6de1d
JM
312212012-01-25 Joseph Myers <joseph@codesourcery.com>
31222
31223 * elf/tst-unique3.cc (gets): Remove declaration.
31224 * elf/tst-unique3lib.cc (gets): Likewise.
31225 * elf/tst-unique3lib2.cc (gets): Likewise.
31226 * elf/tst-unique4.cc (gets): Likewise.
31227
b15549e6
UD
312282012-01-24 Ulrich Drepper <drepper@gmail.com>
31229
31230 * include/stdio.h: Add C++ protection. Add gets declarations and
31231 definitions.
31232 * debug/tst-chk1.c: Don't declare gets here.
31233 * stdio-common/tst-gets.c: Likewise.
31234
a037381f
JM
312352012-01-24 Joseph Myers <joseph@codesourcery.com>
31236
31237 * posix/glob: Remove directory.
31238
f1d4aa75
JM
312392012-01-24 Joseph Myers <joseph@codesourcery.com>
31240
31241 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31242
81c0c964
PT
312432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31244
31245 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31246 of the non-standard EPFNOSUPPORT.
31247
0ea698ae
ST
312482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31249
31250 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31251 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31252 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31253
d220b117
UD
312542012-01-21 Ulrich Drepper <drepper@gmail.com>
31255
31256 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31257
3e1aa84e
UD
312582012-01-20 Ulrich Drepper <drepper@gmail.com>
31259
31260 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31261 transient errors.
31262 * nscd/grpcache.c (cache_addgr): Likewise.
31263 * nscd/hstcache.c (cache_addhst): Likewise.
31264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31265 * nscd/pwdcache.c (cache_addpw): Likewise.
31266 * nscd/servicescache.c (cache_addserv): Likewise.
31267
400aa020
UD
312682012-01-16 Ulrich Drepper <drepper@gmail.com>
31269
d77e7869
UD
31270 * malloc/malloc.c: Various cleanups.
31271 * malloc/hooks.c: Likewise.
31272
400aa020
UD
31273 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31274 * stdlib/bug-fmtmsg1.c: New file.
31275
31276 * stdlib/fmtmsg.c (init): Add missing unlock.
31277 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31278
e0a309cf
MP
312792012-01-12 Marek Polacek <polacek@redhat.com>
31280
31281 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31282 and _GNU_SOURCE.
31283
929d11c7
WS
312842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31285
31286 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31287 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31288 macro to ensure uniqueness of label name.
31289 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31290 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31291
41d0e869
UD
312922012-01-11 Ulrich Drepper <drepper@gmail.com>
31293
0cc5ed3b
UD
31294 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31295
41d0e869
UD
31296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31300
a47a831a
UD
313012012-01-10 Ulrich Drepper <drepper@gmail.com>
31302
daa891c0
UD
31303 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31304
31305 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31306 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31307 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31308
e58ef0f2
UD
31309 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31310
a47a831a 31311 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31312 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31315
31316 * math/bits/math-finite.h: Add ldexp support.
31317
a0bfc9c7
MP
313182012-01-10 Marek Polacek <polacek@redhat.com>
31319
31320 * locale/programs/localedef.h (show_archive_content): Add noreturn
31321 attribute.
31322
d6e97a1d
UD
313232012-01-09 Ulrich Drepper <drepper@gmail.com>
31324
31325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31326
d5835c26
UD
313272012-01-08 Ulrich Drepper <drepper@gmail.com>
31328
e5f484c6
UD
31329 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31330
d5835c26
UD
31331 * io/Makefile (headers): Add bits/poll2.h.
31332
d1f741e9
WS
313332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31334
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31336 typo #include statement.
31337
ec09c1c4
UD
313382012-01-08 Ulrich Drepper <drepper@gmail.com>
31339
31340 * include/sys/cdefs.h: Define __attribute_alloc_size.
31341 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31342 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31343 * elf/pldd.c: Likewise.
31344 * iconv/iconv_charmap.c: Likewise.
31345 * iconv/iconvconfig.c: Likewise.
31346 * iconv/strtab.c: Likewise.
31347 * locale/programs/locale.c: Likewise.
31348 * locale/programs/localedef.h: Likewise.
31349 * locale/programs/simple-hash.c: Likewise.
31350 * nscd/nscd.h: Likewise.
31351 * nss/makedb.c: Likewise.
31352 * sysdeps/generic/ldconfig.h: Likewise.
31353 * locale/programs/localedef.c: Remove xmalloc prototype.
31354 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31355
20b38e03
PP
313562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31357
31358 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31359 appropriate.
31360
a0da5fe1
UD
313612012-01-08 Ulrich Drepper <drepper@gmail.com>
31362
1d5a644a 31363 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31364 * math/tst-CMPLX.c: New file.
1d5a644a 31365
8784a6db
UD
31366 * math/complex.h (CMPLXL): Fix typo.
31367
d9a216c0
UD
31368 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31369 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31370 GLIBC_2.16.
31371 * debug/tst-chk1.c: Add poll and ppoll tests.
31372 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31373 * include/sys/poll.h: Add hidden proto for ppoll.
31374 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31375 * sysdeps/mach/hurd/ppoll.c: Likewise.
31376 * io/ppoll.c: Likewise.
31377 * debug/poll_chk.c: New file.
31378 * debug/ppoll_chk.c: New file.
31379 * include/bits/poll2.h: New file.
31380 * io/bits/poll2.h: New file.
31381
ac097f5c
UD
31382 [BZ #1350]
31383 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31384
2119dcfa
UD
31385 * configure.in: static is always set to yes. Remove.
31386 * config.make.in: Don't set build-static.
31387 * Makeconfig: Remove use of build-static.
31388 * dlfcn/Makefile: Likewise.
31389 * elf/Makefile: Likewise.
31390 * math/Makefile: Likewise.
31391 * misc/Makefile: Likewise.
31392 * nptl/Makefile: Likewise.
31393 * sysdeps/mach/hurd/Makefile: Likewise.
31394
121766a9
UD
31395 * configure.in: PWD_P is not used anymore.
31396 * config.make.in: Remove PWD_P entry.
31397
51a1d39c 31398 * configure.in: Remove last remnants of RANLIB.
8720d066 31399 No need to check for signed size_t anymore.
215f4bdc
UD
31400 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31401 and IA-64.
3857022a 31402 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31403 * aclocal.m4: Likewise.
31404
d3ed7225
UD
31405 * wcsmbs/mbrtoc16.c: Implement using towc function.
31406 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31407 * wcsmbs/wcsmbsload.c: Likewise.
31408 * iconv/gconv_simple.c: Likewise.
31409 * iconv/gconv_int.h: Likewise.
31410 * iconv/gconv_builtin.h: Likewise.
31411 * iconv/iconv_prog.c: Remove CHAR16 handling.
31412
31413 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31414
31415 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31416
a0da5fe1
UD
31417 * configure.in: Remove --with-elf and --enable-bounded options.
31418 Dont set base_machine for ia64. More non-ELF conditions removed.
31419 Remove testing and setting of leading underscore information.
31420 * config.make.in (build-bounded): Set to no.
31421 * config.h.in: Remove NO_UNDERSCORES entry.
31422 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31423 them.
31424 * csu/start.c: Remove !NO_UNDERSCORE code.
31425 * locale/localeinfo.h: Likewise.
31426 * sysdeps/generic/machine-gmon.h: Likewise.
31427 * sysdeps/generic/sysdep.h: Likewise.
31428 * sysdeps/i386/sysdep.h: Likewise.
31429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31430 * sysdeps/mach/sysdep.h: Likewise.
31431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31432 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31433 * sysdeps/sh/sysdep.h: Likewise.
31434 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31435 * sysdeps/unix/i386/sysdep.S: Likewise.
31436 * sysdeps/unix/sparc/start.c: Likewise.
31437 * sysdeps/unix/sparc/sysdep.S: Likewise.
31438 * sysdeps/unix/sparc/sysdep.h: Likewise.
31439 * sysdeps/unix/start.c: Likewise.
31440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31441 * sysdeps/x86_64/sysdep.h: Likewise.
31442
df78418a
UD
314432012-01-07 Ulrich Drepper <drepper@gmail.com>
31444
a784e502
UD
31445 [BZ #13553]
31446 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31447 for non-gcc.
31448 * argp/argp-fmtstream.h: Use const instead __const.
31449 * argp/argp.h: Likewise.
31450 * assert/assert.h: Likewise.
31451 * bits/fenv.h: Likewise.
31452 * bits/sched.h: Likewise.
31453 * bits/sigset.h: Likewise.
31454 * bits/sigthread.h: Likewise.
31455 * catgets/nl_types.h: Likewise.
31456 * conform/data/pthread.h-data: Likewise.
31457 * crypt/crypt-private.h: Likewise.
31458 * crypt/crypt.h: Likewise.
31459 * crypt/crypt_util.c: Likewise.
31460 * ctype/ctype.h: Likewise.
31461 * debug/execinfo.h: Likewise.
31462 * debug/mbsnrtowcs_chk.c: Likewise.
31463 * debug/mbsrtowcs_chk.c: Likewise.
31464 * debug/wcsnrtombs_chk.c: Likewise.
31465 * debug/wcsrtombs_chk.c: Likewise.
31466 * debug/wcstombs_chk.c: Likewise.
31467 * dirent/dirent.h: Likewise.
31468 * dlfcn/dlfcn.h: Likewise.
31469 * elf/neededtest4.c: Likewise.
31470 * grp/grp.h: Likewise.
31471 * gshadow/gshadow.h: Likewise.
31472 * iconv/gconv.h: Likewise.
31473 * iconv/gconv_int.h: Likewise.
31474 * iconv/gconv_simple.c: Likewise.
31475 * iconv/iconv.h: Likewise.
31476 * iconv/loop.c: Likewise.
31477 * iconv/skeleton.c: Likewise.
31478 * include/aio.h: Likewise.
31479 * include/aliases.h: Likewise.
31480 * include/argz.h: Likewise.
31481 * include/arpa/inet.h: Likewise.
31482 * include/assert.h: Likewise.
31483 * include/dirent.h: Likewise.
31484 * include/dlfcn.h: Likewise.
31485 * include/execinfo.h: Likewise.
31486 * include/fcntl.h: Likewise.
31487 * include/fenv.h: Likewise.
31488 * include/glob.h: Likewise.
31489 * include/grp.h: Likewise.
31490 * include/libintl.h: Likewise.
31491 * include/mntent.h: Likewise.
31492 * include/netdb.h: Likewise.
31493 * include/pwd.h: Likewise.
31494 * include/rpc/netdb.h: Likewise.
31495 * include/sched.h: Likewise.
31496 * include/search.h: Likewise.
31497 * include/shadow.h: Likewise.
31498 * include/signal.h: Likewise.
31499 * include/stdio.h: Likewise.
31500 * include/stdlib.h: Likewise.
31501 * include/string.h: Likewise.
31502 * include/sys/socket.h: Likewise.
31503 * include/sys/stat.h: Likewise.
31504 * include/sys/statfs.h: Likewise.
31505 * include/sys/statvfs.h: Likewise.
31506 * include/sys/syslog.h: Likewise.
31507 * include/sys/time.h: Likewise.
31508 * include/sys/uio.h: Likewise.
31509 * include/time.h: Likewise.
31510 * include/unistd.h: Likewise.
31511 * include/utmp.h: Likewise.
31512 * include/wchar.h: Likewise.
31513 * include/wctype.h: Likewise.
31514 * inet/aliases.h: Likewise.
31515 * inet/arpa/inet.h: Likewise.
31516 * inet/netinet/ether.h: Likewise.
31517 * inet/netinet/in.h: Likewise.
31518 * intl/libintl.h: Likewise.
31519 * io/bits/fcntl2.h: Likewise.
31520 * io/fcntl.h: Likewise.
31521 * io/ftw.h: Likewise.
31522 * io/sys/poll.h: Likewise.
31523 * io/sys/stat.h: Likewise.
31524 * io/sys/statfs.h: Likewise.
31525 * io/sys/statvfs.h: Likewise.
31526 * io/utime.h: Likewise.
31527 * libio/bits/stdio.h: Likewise.
31528 * libio/bits/stdio2.h: Likewise.
31529 * libio/libio.h: Likewise.
31530 * libio/libioP.h: Likewise.
31531 * libio/stdio.h: Likewise.
31532 * locale/lc-ctype.c: Likewise.
31533 * locale/locale.h: Likewise.
31534 * login/utmp.h: Likewise.
31535 * malloc/arena.c: Likewise.
31536 * malloc/malloc.c: Likewise.
31537 * malloc/malloc.h: Likewise.
31538 * malloc/mcheck.c: Likewise.
31539 * malloc/mtrace.c: Likewise.
31540 * math/bits/mathcalls.h: Likewise.
31541 * math/fenv.h: Likewise.
31542 * math/math_private.h: Likewise.
31543 * misc/bits/error.h: Likewise.
31544 * misc/bits/syslog.h: Likewise.
31545 * misc/err.h: Likewise.
31546 * misc/error.h: Likewise.
31547 * misc/fstab.h: Likewise.
31548 * misc/mntent.h: Likewise.
31549 * misc/regexp.h: Likewise.
31550 * misc/search.h: Likewise.
31551 * misc/sgtty.h: Likewise.
31552 * misc/sys/mman.h: Likewise.
31553 * misc/sys/syslog.h: Likewise.
31554 * misc/sys/uio.h: Likewise.
31555 * misc/sys/xattr.h: Likewise.
31556 * misc/ttyent.h: Likewise.
31557 * nis/rpcsvc/ypclnt.h: Likewise.
31558 * nss/nss.h: Likewise.
31559 * posix/bits/unistd.h: Likewise.
31560 * posix/fnmatch.h: Likewise.
31561 * posix/glob.h: Likewise.
31562 * posix/sched.h: Likewise.
31563 * posix/spawn.h: Likewise.
31564 * posix/sys/wait.h: Likewise.
31565 * posix/unistd.h: Likewise.
31566 * posix/wordexp.h: Likewise.
31567 * pwd/pwd.h: Likewise.
31568 * resolv/netdb.h: Likewise.
31569 * resource/sys/resource.h: Likewise.
31570 * rt/aio.h: Likewise.
31571 * rt/bits/mqueue2.h: Likewise.
31572 * rt/mqueue.h: Likewise.
31573 * shadow/shadow.h: Likewise.
31574 * signal/signal.h: Likewise.
31575 * socket/send.c: Likewise.
31576 * socket/sendto.c: Likewise.
31577 * socket/sys/socket.h: Likewise.
31578 * stdio-common/printf.h: Likewise.
31579 * stdlib/bits/stdlib.h: Likewise.
31580 * stdlib/fmtmsg.h: Likewise.
31581 * stdlib/monetary.h: Likewise.
31582 * stdlib/stdlib.h: Likewise.
31583 * stdlib/ucontext.h: Likewise.
31584 * streams/stropts.h: Likewise.
31585 * string/argz.h: Likewise.
31586 * string/bits/string2.h: Likewise.
31587 * string/string.h: Likewise.
31588 * string/strings.h: Likewise.
31589 * sunrpc/rpc/auth.h: Likewise.
31590 * sunrpc/rpc/auth_des.h: Likewise.
31591 * sunrpc/rpc/clnt.h: Likewise.
31592 * sunrpc/rpc/netdb.h: Likewise.
31593 * sunrpc/rpc/pmap_clnt.h: Likewise.
31594 * sunrpc/rpc/xdr.h: Likewise.
31595 * sysdeps/generic/inttypes.h: Likewise.
31596 * sysdeps/generic/net/if.h: Likewise.
31597 * sysdeps/generic/sys/swap.h: Likewise.
31598 * sysdeps/gnu/net/if.h: Likewise.
31599 * sysdeps/gnu/utmpx.h: Likewise.
31600 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31601 * sysdeps/i386/i486/bits/string.h: Likewise.
31602 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31603 * sysdeps/s390/bits/string.h: Likewise.
31604 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31605 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31606 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31607 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31608 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31609 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31610 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31611 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31612 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31613 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31614 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31615 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31616 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31617 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31618 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31619 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31620 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31625 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31626 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31627 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31628 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31629 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31630 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31632 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31634 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31635 * sysvipc/sys/ipc.h: Likewise.
31636 * sysvipc/sys/msg.h: Likewise.
31637 * sysvipc/sys/sem.h: Likewise.
31638 * sysvipc/sys/shm.h: Likewise.
31639 * termios/termios.h: Likewise.
31640 * time/sys/time.h: Likewise.
31641 * time/time.h: Likewise.
31642 * wcsmbs/bits/wchar2.h: Likewise.
31643 * wcsmbs/uchar.h: Likewise.
31644 * wcsmbs/wchar.h: Likewise.
31645 * wctype/wctype.h: Likewise.
31646
0269750c
UD
31647 [BZ #13551]
31648 * Makeconfig: Remove all but ELF support including AIX support.
31649 * Makerules: Likewise.
31650 * config.h.in: Likewise.
31651 * config.make.in: Likewise.
31652 * configure: Likewise.
31653 * configure.in: Likewise.
31654 * csu/Makefile: Likewise.
31655 * csu/version.c: Likewise.
31656 * debug/Makefile: Likewise.
31657 * dlfcn/Makefile: Likewise.
31658 * elf/Makefile: Likewise.
31659 * extra-lib.mk: Likewise.
31660 * iconv/Makefile: Likewise.
31661 * include/libc-symbols.h: Likewise.
31662 * include/shlib-compat.h: Likewise.
31663 * resolv/Makefile: Likewise.
31664 * resolv/res_libc.c: Likewise.
31665 * rt/Makefile: Likewise.
31666 * sysdeps/i386/asm-syntax.h: Likewise.
31667 * sysdeps/i386/sysdep.h: Likewise.
31668 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31669 * sysdeps/mach/sysdep.h: Likewise.
31670 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31671 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31672 * sysdeps/s390/asm-syntax.h: Likewise.
31673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31675 * sysdeps/sh/sysdep.h: Likewise.
31676 * sysdeps/unix/sparc/sysdep.h: Likewise.
31677 * sysdeps/wordsize-32/divdi3.c: Likewise.
31678 * sysdeps/x86_64/sysdep.h: Likewise.
31679
00bbd29b
UD
31680 * argp/Versions: Remove _argp_unlock_xxx.
31681
31682 [BZ #13559]
31683 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31684 * abilist/libBrokenLocale.abilist: Likewise.
31685 * abilist/libanl.abilist: Likewise.
31686 * abilist/libc.abilist: Likewise.
31687 * abilist/libcrypt.abilist: Likewise.
31688 * abilist/libdl.abilist: Likewise.
31689 * abilist/libm.abilist: Likewise.
31690 * abilist/libnsl.abilist: Likewise.
31691 * abilist/libpthread.abilist: Likewise.
31692 * abilist/libresolv.abilist: Likewise.
31693 * abilist/librt.abilist: Likewise.
31694 * abilist/libthread_db.abilist: Likewise.
31695 * abilist/libutil.abilist: Likewise.
31696 * abilist/libnss_db.abilist: New file.
31697
31698 * scripts/abilist.awk: Add support for indirect functions.
31699
a2693a0e
UD
31700 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31701
3f05895f
UD
31702 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31703
ecb6fb48
UD
31704 * shlib-versions: Remove entries for ports architectures.
31705
664f8cb9
UD
31706 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31707 files in ports.
31708 * elf/stackguard-macros.h: Remove support for IA-64.
31709 * elf/tst-auditmod1.c: Likewise.
31710 * sysdeps/generic/ldsodefs.h: Likewise.
31711
7ae81d88
UD
31712 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31713 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31714 configure files.
31715
bdeba135
UD
31716 [BZ #13552]
31717 * configure.in: Remove --enable-omitfp support.
31718 * FAQ.in: Adjust.
31719 * config.make.in: Likewise.
31720 * Makeconfig: Likewise.
31721 * manual/install.texi: Likewise.
31722
d75a0a62
UD
31723 In case anyone cares, the IA-64 architecture could move to ports.
31724 * sysdeps/ia64/*: Removed.
31725 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31726 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31727
dcc9756b
UD
31728 [BZ #13555]
31729 * configure.in: Remove entries for unsupported architectures.
31730
d3761ebc 31731 [BZ #13533]
9954432e
UD
31732 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31733 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31734 routines.
31735 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31736 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31737 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31738 fall back to using wcrtomb.
31739 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31740 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31741 renaming.
31742 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31743 * wcsmbs/tst-c16c32-1.c: New file.
31744
31745 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31746 local variable.
31747
c3a87236
UD
31748 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31749
28926a1b
UD
31750 * elf/tst-unique3.cc: Add explicit declaration of gets.
31751 * elf/tst-unique3lib.cc: Likewise.
31752 * elf/tst-unique3lib2.cc: Likewise.
31753 * elf/tst-unique4.cc: Likewise.
31754
df78418a
UD
31755 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31756
8ecd6b2a
JM
317572012-01-06 Joseph Myers <joseph@codesourcery.com>
31758
31759 [BZ #13566]
31760 * assert/assert.h (static_assert): Don't define for C++.
31761 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31762 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31763
9f115170
UD
317642012-01-03 Ulrich Drepper <drepper@gmail.com>
31765
5e0d0300
UD
31766 * iconv/loop.c (single loop): Fix assertion in storing of
31767 remaining bytes.
31768
9f115170
UD
31769 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31770
81fb02b0
UD
317712012-01-01 Ulrich Drepper <drepper@gmail.com>
31772
31773 * posix/getconf.c: Update copyright year.
31774 * nss/getent.c: Likewise.
a316c1f6 31775 * nss/makedb.c: Likewise.
81fb02b0
UD
31776 * iconv/iconvconfig.c: Likewise.
31777 * iconv/iconv_prog.c: Likewise.
31778 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31779 * elf/pldd.c: Likewise.
31780 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31781 * catgets/gencat.c: Likewise.
31782 * csu/version.c: Likewise.
31783 * elf/ldd.bash.in: Likewise.
31784 * elf/sprof.c (print_version): Likewise.
31785 * locale/programs/locale.c: Likewise.
31786 * locale/programs/localedef.c: Likewise.
a316c1f6 31787 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31788 * nscd/nscd.c (print_version): Likewise.
31789 * debug/xtrace.sh: Likewise.
31790 * malloc/memusage.sh: Likewise.
31791 * malloc/mtrace.pl: Likewise.
31792 * debug/catchsegv.sh: Likewise.
31793
2ba92745
JJ
317942011-12-30 Jakub Jelinek <jakub@redhat.com>
31795
31796 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31797 pure attribute.
31798
dadebdae
UD
317992011-12-24 Ulrich Drepper <drepper@gmail.com>
31800
d3761ebc 31801 [BZ #13533]
db6af3eb
UD
31802 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31803 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31804 transformations.
31805 * iconv/gconv_int.h: Likewise.
31806 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31807 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31808 from libc for GLIBC_2.16.
31809 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31810 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31811 * wcsmbs/uchar.h: Really define mbstate_t.
31812 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31813 * wcsmbs/c16rtomb.c: New file.
31814 * wcsmbs/mbrtoc16.c: New file.
31815 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31816 for C/POSIX locale.
31817 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31818 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31819
dadebdae
UD
31820 * wcsmbs/wchar.h: Add missing __restrict.
31821
67371b56
UD
318222011-12-23 Ulrich Drepper <drepper@gmail.com>
31823
74033a25
UD
31824 [BZ #13532]
31825 * time/Makefile (routines): Add timespec_get.
31826 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31827 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31828 timespec for ISO C11.
31829 * time/timespec_get.c: New file.
31830 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31831 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31832
380d7e87
UD
31833 [BZ #13531]
31834 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31835 * stdlib/stdlib.h: Declare aligned_alloc.
31836 * Versions.def: Add GLIBC_2.16 for libc.
31837 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31838
4e9e7a35
UD
31839 [BZ 13527]
31840 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31841 ISO C11.
31842
380d7e87 31843 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31844 code.
31845
03a71829
UD
31846 [BZ #13528]
31847 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31848
839e283e
UD
31849 [BZ #13529]
31850 * assert/assert.h (static_assert): Define.
31851
ce5294e2 31852 * version.h: Update for 2.16 development version.
90fa7312 31853
8d44e150 31854 [BZ #13526]
d7809905
UD
31855 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31856 _ISOC11_SOURCE.
31857
c0da14cd
UD
31858 * version.h (RELEASE): Bump for 2.15 release.
31859 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31860
530a3249
MP
31861 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31862 Patch by Marek Polacek <mpolacek@redhat.com>.
31863
67371b56
UD
31864 * bits/byteswap.h: Protect long long constants with __extension__.
31865 * sysdeps/i386/bits/byteswap.h: Likewise.
31866 * sysdeps/ia64/bits/byteswap.h: Likewise.
31867 * sysdeps/s390/bits/byteswap.h: Likewise.
31868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31869
15db4de1
LD
318702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31871
31872 [BZ #13540]
bbe315ea
LD
31873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31874 destination buffer.
15db4de1
LD
31875 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31876
2b2596b1
MP
318772011-12-23 Marek Polacek <polacek@redhat.com>
31878
31879 * elf/dl-addr.c (determine_info): Add inline keyword.
31880 * elf/tst-auditmod4b.c (check_avx): Likewise.
31881 * elf/tst-auditmod6b.c (check_avx): Likewise.
31882 * elf/tst-auditmod6c.c (check_avx): Likewise.
31883 * elf/tst-auditmod7b.c (check_avx): Likewise.
31884
70c6c246
UD
318852011-12-23 Ulrich Drepper <drepper@gmail.com>
31886
31887 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31888 !__SSE_MATH__.
31889
c044cf14
LD
318902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31891
15db4de1 31892 [BZ #13540]
c044cf14
LD
31893 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31894 processing for last bytes.
31895
6b13d9d9
BH
318962011-08-06 Bruno Haible <bruno@clisp.org>
31897
d455f537
BH
31898 [BZ #13061]
31899 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31900 U+0385, not to U+1FEE.
31901
6b13d9d9
BH
31902 [BZ #13062]
31903 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31904 entry for U+00A5 U+0301.
31905
db910efd
UD
319062011-12-22 Ulrich Drepper <drepper@gmail.com>
31907
27deeafc
UD
31908 [BZ #13166]
31909 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31910 buffer for the output is too small.
31911
aed9d171
UD
31912 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31913 optimization.
31914
db910efd
UD
31915 [BZ #13185]
31916 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31917 SSE flags if possible.
31918
2bd779ae
LD
319192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31920
e7f9dac3 31921 [BZ #13540]
2bd779ae
LD
31922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31923 processing for last bytes.
31924
154bfc16
JM
319252011-12-22 Joseph Myers <joseph@codesourcery.com>
31926
31927 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31928 (syscall-list-default-options, syscall-list-default-condition)
31929 (syscall-list-includes): Define.
31930 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31931 list of ABIs and options and #if conditions for each ABI. Do not
31932 handle common syscalls between ABIs specially.
31933 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31934 Remove.
31935 (syscall-list-variants, syscall-list-32bit-options)
31936 (syscall-list-32bit-condition, syscall-list-64bit-options)
31937 (syscall-list-64bit-condition): Define.
31938 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31939 (syscall-list-variants, syscall-list-32bit-options)
31940 (syscall-list-32bit-condition, syscall-list-64bit-options)
31941 (syscall-list-64bit-condition): Define.
31942 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31943 Remove.
31944 (syscall-list-variants, syscall-list-32bit-options)
31945 (syscall-list-32bit-condition, syscall-list-64bit-options)
31946 (syscall-list-64bit-condition): Define.
31947 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31948 Remove.
31949 (syscall-list-variants, syscall-list-32bit-options)
31950 (syscall-list-32bit-condition, syscall-list-64bit-options)
31951 (syscall-list-64bit-condition): Define.
31952
21eaf3a5
UD
319532011-12-22 Ulrich Drepper <drepper@gmail.com>
31954
16c6f992
UD
31955 * locale/iso-639.def: Add brx entry.
31956
41043168
UD
31957 [BZ #13328]
31958 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31959 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31960
21eaf3a5
UD
31961 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31962 __feraiseexcept_renamed.
31963
e3a851a2
UD
319642011-12-21 Ulrich Drepper <drepper@gmail.com>
31965
4920765e
UD
31966 [BZ #13538]
31967 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31968 EPOLLET with unsigned values.
31969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31970 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31971
e3a851a2
UD
31972 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31973 to large cancellation.
31974 * math/s_cacoshf.c: Likewise.
31975 * math/s_cacoshl.c: Likewise.
31976
b27e24b8
RK
319772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31978
31979 [BZ #13305]
aebefeee 31980 [BZ #12786]
b27e24b8
RK
31981 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31982 * math/s_cacoshf.c: Likewise.
31983 * math/s_cacoshl.c: Likewise.
31984
ee190f67
UD
319852011-12-21 Ulrich Drepper <drepper@gmail.com>
31986
31987 [BZ #13439]
31988 * iconv/gconv.h: Define __GCONV_SWAP.
31989 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31990 * iconvdata/utf-16.c: Likewise.
31991 * iconvdata/utf-32.c: Likewise.
31992
707f25df
AS
319932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31994
31995 [BZ #13524]
31996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31997 numerator after shifting it by one limb.
31998
d2daaa1e
RÁE
319992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32000
32001 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32002 under [__USE_EXTERN_INLINES].
32003
a4647e72
UD
320042011-12-17 Ulrich Drepper <drepper@gmail.com>
32005
32006 [BZ #13446]
32007 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32008
f0b264f1
AZ
320092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32010
32011 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32012 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32013 optimized code.
32014 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32015 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32016 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32017 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32018 for strncasecmp/strncasecmp_l compilation.
32019 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32020 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32021
8ef4f244
MP
320222011-12-08 Marek Polacek <mpolacek@redhat.com>
32023
32024 [BZ #13484]
32025 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32026 of __asm__.
32027
97ac2654
UD
320282011-12-17 Ulrich Drepper <drepper@gmail.com>
32029
32030 [BZ #13506]
32031 * time/tzfile.c (__tzfile_read): Check values from file header.
32032
91d2a845
WS
320332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32034
32035 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32036 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32037 * powerpc/powerpc32/dl-start.S: Likewise.
32038 * powerpc/powerpc32/elf/start.S: Likewise.
32039 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32040 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32041 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32042 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32043 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32044 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32045 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32046 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32047 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32048 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32049 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32050 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32051 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32052 * powerpc/powerpc32/memset.S: Likewise.
32053 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32054 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32055 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32056 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32057 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32058 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32059 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32060 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32061 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32062 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32063 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32066
a1267ba1
AZ
320672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32068
32069 * math/libm-test.inc: Added more nearbyint tests.
32070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32071 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32073 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32074
ad8ac1bd
RL
320752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32076
32077 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32078 FD_CLOEXEC.
32079
1d3e4b61
UD
320802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32081
32082 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32083 Add wcscpy-ssse3 wcscpy-c.
32084 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32085 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32086 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32087 * sysdeps/x86_64/wcschr.S: New file.
32088 * sysdeps/x86_64/wcsrchr.S: New file.
32089 * string/test-strcmp.c: Remove checking of wcscmp function for
32090 wrong alignments.
32091 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32092 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32093 wcsrchr-sse2 wcsrchr-c.
32094 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32095 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32096 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32097 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32098 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32099 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32100 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32101 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32103 * wcsmbc/wcschr.c (WCSCHR): New macro.
32104
5b330a2d
UD
321052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32106
32107 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32108 * wcsmbs/test-wcsrchr.c: New file.
32109 * string/test-strrchr.c: Add wcsrchr support.
32110 (WIDE): New macro.
32111 * wcsmbs/test-wcscpy.c: New file.
32112 * string/test-strcpy.c: Add wcscpy support.
32113 (WIDE): New macro.
26428b7c 32114
f039c043
UD
321152011-12-10 Ulrich Drepper <drepper@gmail.com>
32116
32117 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32118 the inner loop.
32119
850fb039
AS
321202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32121
32122 [BZ #13472]
32123 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32124
4efbd5cb
UD
321252011-12-04 Ulrich Drepper <drepper@gmail.com>
32126
52ff5dd0 32127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32128 Minor optimizations.
52ff5dd0 32129
4efbd5cb
UD
32130 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32131 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32132 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32133
8a426e12
UD
321342011-12-03 Ulrich Drepper <drepper@gmail.com>
32135
aff2453d
UD
32136 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32137 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32138 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32139 for gcc to avoid warnings.
32140 * inet/Makefile (tests): Add tst-checks.
32141 * inet/tst-checks.c: New file.
32142
32143 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32144 warning.
32145
32146 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32147 __wmemcmp_sse2.
32148
32149 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32150 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32151
8a426e12
UD
32152 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32153
9bea3473
UD
321542011-12-02 Ulrich Drepper <drepper@gmail.com>
32155
3a965496
UD
32156 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32157 problem.
32158
9bea3473
UD
32159 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32160
f101631b
UD
321612011-11-29 Joseph Myers <joseph@codesourcery.com>
32162
32163 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32164 conditional on GCC version.
32165 (__arch_compare_and_exchange_val_8_acq)
32166 (__arch_compare_and_exchange_val_16_acq)
32167 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32168 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32169 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32170
a98275aa
UD
321712011-12-02 Joseph Myers <joseph@codesourcery.com>
32172
32173 * sysdeps/sh/backtrace.c: New file.
32174
d4cc29a2
AS
321752011-12-02 Andreas Schwab <schwab@redhat.com>
32176
32177 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32178 parenthesis.
32179
6257af2d
AS
321802011-12-01 Andreas Schwab <schwab@redhat.com>
32181
32182 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32183 falling back to utime.
32184
b5f44c1a
AS
321852011-11-30 Andreas Schwab <schwab@redhat.com>
32186
32187 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32188 expectations for float.
32189
f3a6cc0a
AS
321902011-11-29 Andreas Schwab <schwab@redhat.com>
32191
32192 * locale/weight.h (findidx): Add parameter len.
32193 * locale/weightwc.h (findidx): Likewise.
32194 * posix/fnmatch_loop.c (FCT): Adjust caller.
32195 * posix/regcomp.c (build_equiv_class): Likewise.
32196 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32197 * posix/regexec.c (check_node_accept_bytes): Likewise.
32198 * string/strcoll_l.c (STRCOLL): Likewise.
32199 * string/strxfrm_l.c (STRXFRM): Likewise.
32200
9d65ea3a
UD
322012011-11-17 Ulrich Drepper <drepper@gmail.com>
32202
32203 * Makefile.in: Remove CVSOPT handling.
32204 * configure.in: Remove use of AC_REVISION.
32205 * iconvdata/Makefile (distribute): No need to filter out CVS.
32206 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32207 handling.
32208
5583a086
AS
322092011-11-16 Andreas Schwab <schwab@redhat.com>
32210
32211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32212 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32213 [USE_AS_STRNCASECMP_L]: Likewise.
32214 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32215 NO_TLS_DIRECT_SEG_REFS.
32216 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32217 Fix argument offsets for non-PIC.
32218 [USE_AS_STRNCASECMP_L]: Likewise.
32219 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32220 NO_TLS_DIRECT_SEG_REFS.
32221
d62a8200
UD
322222011-11-15 Ulrich Drepper <drepper@gmail.com>
32223
9d65ea3a 32224 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32225 O_CLOEXEC.
32226 * locale/loadlocale.c (_nl_load_locale): Likewise.
32227
09f93bd3
AS
322282011-11-15 Andreas Schwab <schwab@redhat.com>
32229
446514f9
AS
32230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32231 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32233 (SYSCALL_GETTIME): Set errno on error.
32234
09f93bd3
AS
32235 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32236 count references to noai6ai_cached.
32237
312be3f9
UD
322382011-11-15 Ulrich Drepper <drepper@gmail.com>
32239
32240 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32241
32242 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32243 FD_CLOEXEC for /proc/self/maps.
32244
32245 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32246 FD_CLOEXEC for /proc/meminfo.
32247
32248 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32249 gai.conf.
32250
32251 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32252 FD_CLOEXEC for given file.
32253
32254 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32255
32256 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32257 FD_CLOEXEC for /etc/hosts.
32258 (_gethtent): Likewise.
32259
32260 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32261
32262 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32263 cancellation and set FD_CLOEXEC for /etc/netgroup.
32264
32265 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32266 reading /etc/publickey.
32267
32268 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32269 allow cancellation when reading /etc/group.
32270
32271 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32272 cancellation.
32273 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32274
32275 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32276 when using data file.
32277
32278 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32279
32280 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32281 (write_nis_obj): Use "c" and "e" in fopen.
32282
32283 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32284
32285 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32286
32287 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32288
32289 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32290
32291 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32292 locale.alias.
32293
32294 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32295
32296 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32297
32298 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32299
32300 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32301 file parsing and set FD_CLOEXEC.
32302
82af0fa8
UD
323032011-11-14 Ulrich Drepper <drepper@gmail.com>
32304
32305 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32306
a5fb313c
AS
323072011-11-14 Andreas Schwab <schwab@redhat.com>
32308
32309 * malloc/arena.c (arena_get2): Don't call reused_arena when
32310 _int_new_arena failed.
32311
6abf3465
UD
323122011-11-14 Ulrich Drepper <drepper@gmail.com>
32313
32314 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32315 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32317 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32320 to compile strcasecmp and strncasecmp.
32321 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32322 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32323
32324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32325
76e3966e
UD
323262011-11-13 Ulrich Drepper <drepper@gmail.com>
32327
32328 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32329 locale-defines.sym to gen-as-const-headers.
32330 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32331 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32333 to compile strcasecmp and strncasecmp.
32334 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32335 strcasecmp_l and strncasecmp_l.
32336 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32337 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32338 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32339 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32340 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32341 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32342 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32343 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32344 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32345 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32346 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32347
ab26144e
UD
323482011-11-12 Ulrich Drepper <drepper@gmail.com>
32349
7edb22ef
UD
32350 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32351 result of SYSDEP_GETTIME_CPU to retval.
32352 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32353 parameter list to macro. Remove trailing semicolon. Adjust users.
32354
9694fc44
UD
32355 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32356 variable.
32357
8ad89ef8
UD
32358 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32359 mantissa words.
32360 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32361
0c822ef9
UD
32362 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32363 from unused variable.
32364
874e0564
UD
32365 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32366 DWARF definitions.
32367 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32368 for assembling.
32369
3a2edc79
UD
32370 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32371 over namespaces.
32372
f3c2577f
UD
32373 * sunrpc/rpc_prot.c (rejected): Fix case value.
32374
294ce126
UD
32375 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32376 unsigned long long int to avoid warnings in shift.
32377
5e2b63c6
UD
32378 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32379 of use of trans.
32380 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32381 variable tmp.
32382
e7f4b08e
UD
32383 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32384 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32385 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32386
ab26144e
UD
32387 * nis/nis_table.c (nis_list): Use variable of correct type for
32388 result of __follow_path call.
32389
8a6d5255
AZ
323902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32391
32392 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32393 of math functions ceil, trunc, floor, round, and sqrt, when
32394 avaliable on the platform.
32395 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32396 name clash.
32397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32398 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32399 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32400
aaddc98c
MP
324012011-10-30 Marek Polacek <mpolacek@redhat.com>
32402
32403 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32405
95b7042b
RM
324062011-11-11 Roland McGrath <roland@hack.frob.com>
32407
32408 * include/unistd.h: Fix __readlink return type.
32409 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32410
57769839
UD
324112011-11-11 Ulrich Drepper <drepper@gmail.com>
32412
32413 * stdlib/ucontext.h: Undo last change for makecontext.
32414
edc5984d
AS
324152011-11-11 Andreas Schwab <schwab@redhat.com>
32416
98591e58
AS
32417 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32418
edc5984d
AS
32419 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32420 * setjmp/setjmp.h: Mark functions as non-leaf.
32421 * setjmp/bits/setjmp2.h: Likewise.
32422 * stdlib/ucontext.h: Likewise.
32423
77cdc054
AS
324242011-11-10 Andreas Schwab <schwab@redhat.com>
32425
32426 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32427 (reused_arena): Don't check arena limit.
32428 (arena_get2): Atomically check arena limit.
32429
fe72eebd
UD
324302011-11-08 Ulrich Drepper <drepper@gmail.com>
32431
5f078c32
UD
32432 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32433 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32434
fe72eebd
UD
32435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32436 instructions.
32437
ae1bc2fa
AS
324382011-11-07 Andreas Schwab <schwab@redhat.com>
32439
7583a88d
AS
32440 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32441 handler when locking.
32442
ae1bc2fa
AS
32443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32444 Fix size of allocated buffer.
32445
10fb0bfa
AS
324462011-11-04 Andreas Schwab <schwab@redhat.com>
32447
998832a4
AS
32448 [BZ #10103]
32449 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32450 declarations for long double functions.
32451 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32452
10fb0bfa
AS
32453 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32454
3d7ba52b
AS
324552011-11-03 Andreas Schwab <schwab@redhat.com>
32456
a9ae54a1
AS
32457 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32458 installed.
32459
3d7ba52b
AS
32460 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32461 is disabled.
32462
bc8db248
ST
324632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32464
32465 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32466
45b96dd6
AS
324672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32468
647776f6
AS
32469 * include/alloca.h (stackinfo_alloca_round): Define.
32470 (extend_alloca): Use it.
32471 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32472 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32473 here.
32474
d91a8b93
AS
32475 * scripts/check-local-headers.sh: Ignore libaudit.h.
32476
45b96dd6
AS
32477 * nscd/Makefile (extra-objs): Make recursively expanded.
32478
432d41ce
UD
324792011-11-01 Ulrich Drepper <drepper@gmail.com>
32480
34372fc6
UD
32481 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32483
fadb59f8
UD
32484 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32485 * posix/tst-rfc3484-2.c: Likewise.
32486 * posix/tst-rfc3484-3.c: Likewise.
32487
78239589
UD
32488 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32489 process_vm_writev.
32490 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32491 process_vm_writev.
32492 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32493 process_vm_writev from libc using GLIBC_2.15 version.
32494
432d41ce
UD
32495 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32496
02f9c6cf
PP
324972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32498
32499 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32500 stack usage.
32501
3a2c0242
UD
325022011-10-31 Ulrich Drepper <drepper@gmail.com>
32503
f4ec4833
UD
32504 [BZ #13367]
32505 * nss/getent.c (initgroups_keys): Show error message in case no group
32506 names are given.
32507
3a2c0242
UD
32508 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32509 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32510 __bump_nl_timestamp.
32511 * nscd/connections (nscd_init): When host database is served open
32512 netlink socket and request notification about configuration changes.
32513 (main_loop_poll): Track netlink file descriptor and bump timestamp
32514 in case data becomes available.
32515 (main_loop_epoll): Likewise.
32516 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32517 (database_pers_head): Add extra_data fileds.
32518 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32519 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32520 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32521 Adjust caller.
32522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32523 in6ai data, call __free_in6ai.
32524 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32525 Add -DHAVE_NETLINK.
32526 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32527 interface information. Reuse previous data if netlink timestamp
32528 is not changed.
32529 (__bump_nl_timestamp): New function.
32530 (__free_in6ai): New function.
32531
636064eb
UD
325322011-10-30 Ulrich Drepper <drepper@gmail.com>
32533
32534 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32535 close_not_cancel_no_status here.
32536 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32537
9beb2334
UD
325382011-10-29 Ulrich Drepper <drepper@gmail.com>
32539
6ef76f3b
UD
32540 [BZ #13276]
32541 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32542 return value.
32543
0ffc4f3e 32544 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32545 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32546 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32547
cb95113e
UD
325482011-07-03 Andreas Jaeger <aj@suse.de>
32549
32550 [BZ #10709]
32551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32552 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32553 * math/libm-test.inc (sin_test): Add test case.
32554
a1b560ff
UD
325552011-10-29 Ulrich Drepper <drepper@gmail.com>
32556
c9aaface
UD
32557 [BZ #13337]
32558 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32559 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32560
d272e7f1
UD
32561 * elf/chroot_canon.c (chroot_canon): Cleanups.
32562
1bc33071
UD
32563 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32564
1760874d
TJ
32565 [BZ #13335]
32566 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32567 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32568
51d91b18
UD
32569 * string/test-strchr.c: Make usable for strchrnul testing.
32570 * string/test-strchrnul.c: New file.
32571 * string/Makefile (strop-tests): Add strchrnul.
32572
a1b560ff 32573 * po/it.po: Update from translation team.
b611fb81 32574 * po/es.po: Likewise.
a1b560ff 32575
a5b81e1f
UD
325762011-10-28 Ulrich Drepper <drepper@gmail.com>
32577
fd52bc6d
UD
32578 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32579 the three constants needed as parameters. Drop the others.
32580 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32581 __m128i_strloadu_tolower.
52e4b9eb
UD
32582 Create and initialize variable zero and use it in all the places
32583 where _mm_setzero_si128 was used.
fd52bc6d 32584
a5b81e1f
UD
32585 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32586 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32587 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32588 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32589 anymore.
32590 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32591 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32592 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32593 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32594 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32595 __mpranred, __mptan.
32596 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32597 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32598 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32599 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32603 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32605
b4343346
AS
326062011-10-28 Andreas Schwab <schwab@redhat.com>
32607
0c92d8a8
AS
32608 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32609 redefine if SHARED.
32610 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32611
b4343346
AS
32612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32613 wide char related routines to wcsmbs subdir.
32614
3871f58f
AS
326152011-10-27 Andreas Schwab <schwab@redhat.com>
32616
32617 [BZ #13344]
32618 * misc/sys/cdefs.h (__THROWNL): Define.
32619 * posix/unistd.h: Use __THREADNL instead of __THREAD
32620 for memory synchronization functions.
32621
94d44d9f
RM
326222011-10-26 Roland McGrath <roland@hack.frob.com>
32623
21b64b15 32624 [BZ #13349]
94d44d9f
RM
32625 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32626 doesn't exist.
32627 * manual/stdio.texi (Obstack Streams): Node removed.
32628
f6ce9294
AS
326292011-10-26 Andreas Schwab <schwab@redhat.com>
32630
80479147
AS
32631 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32633 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32634
f6ce9294
AS
32635 * math/math_private.h (math_force_eval): Allow non-addressable
32636 arguments.
32637 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32638
618280a1
UD
326392011-10-25 Ulrich Drepper <drepper@gmail.com>
32640
e0016b11
UD
32641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32642 file is not needed.
32643
32644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32645 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32651 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32652 Add AVX variants.
32653 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32654 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32655 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32656 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32657 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32658 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32659 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32660 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32661 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32662 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32663 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32664 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32666 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32667 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32668 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32669 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32670 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32671 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32672
32673 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32674 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32675
618280a1
UD
32676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32677 place. Use VEX encoding when compiling for AVX.
32678
37822576
AS
326792011-10-25 Andreas Schwab <schwab@redhat.com>
32680
1f1e1947
AS
32681 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32682 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32683
37822576
AS
32684 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32685
31ea014d
UD
326862011-10-25 Ulrich Drepper <drepper@gmail.com>
32687
d7826aa1 32688 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32689 useless if() expression.
d7826aa1
UD
32690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32699 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32700 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32701 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32702 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32706 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32709
31ea014d
UD
32710 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32711
16437fec
AS
327122011-10-25 Andreas Schwab <schwab@redhat.com>
32713
32714 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32715 condition.
32716 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32717
31d3cc00
UD
327182011-10-25 Ulrich Drepper <drepper@gmail.com>
32719
32720 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32721 .text section. Avoid duplicate constants.
32722 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32734 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32737 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32739 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32744 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32745 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32746 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32747 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32748 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32749 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32750 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32751 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32752 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32764 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32765 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32767
58985aa9
UD
327682011-10-24 Ulrich Drepper <drepper@gmail.com>
32769
202c9deb
UD
32770 * sysdeps/x86_64/dla.h: Move to ...
32771 * sysdeps/x86_64/fpu/dla.h: ...here.
32772 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32773 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32774
af968f62
UD
32775 * config.make.in: Add have-mfma4 entry.
32776 * configure.in: Substitute libc_cv_cc_fma4.
32777 * math/Makefile (dbl-only-routines): Add sincostab.
32778 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32779 Use __sincostab not sincos.
32780 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32781 name is a macro.
32782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32786 using __copysign.
32787 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32788 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32789 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32790 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32791 and __inv.
32792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32793 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32794 __copysign.
32795 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32796 define aliases when function name is a macro.
32797 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32798 sysdeps/ieee754/dbl-64/sincos.tbl.
32799 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32800 fma4-enabled routines.
32801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32806 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32808 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32811 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32812 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32813 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32814 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32816 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32817 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32818 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32819 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32821 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32822 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32824 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32825 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32831
58985aa9
UD
32832 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32833 rename.
32834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32842
a201fbcf
AS
328432011-10-24 Andreas Schwab <schwab@redhat.com>
32844
32845 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32846
fc2ee42a
LD
328472011-10-23 Ulrich Drepper <drepper@gmail.com>
32848
bb3129bd
UD
32849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32850
0275fff8
UD
32851 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32852 prediction.
32853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32854
2fa2ae85
UD
32855 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32856 Remove unused variable magic_bits.
32857 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32858
fc2ee42a
LD
32859 * string/strnlen.c: Define and use STRNLEN macro.
32860 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32861 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32863 * wcsmbs/wcslen.c: Define and use WCSLEN.
32864 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32865 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32866 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32867 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32868 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32869 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32870 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32871
ce7dd29f
LD
328722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32873
32874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32875 strnlen-sse2-no-bsf.
32876 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32878 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32879 Add strnlen support.
32880 (USE_AS_STRNLEN): New macro.
32881 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32883 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32884 * sysdeps/x86_64/wcslen.S: New file.
32885
979c70a3
MZ
328862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32887
32888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32889 XMM-moves are used for copying on small sizes.
32890
2d09f82f
LD
328912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32892
32893 * wcsmbs/Makefile (strop-tests): Add wcschr.
32894 * wcsmbs/test-wcschr.c: New file.
32895 * string/test-strchr.c: Update.
32896 Add wcschr support.
32897 (WIDE): New macro.
32898
619fccca
LD
328992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32900
2d09f82f 32901 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32902 * wcsmbs/test-wcslen.c: New file.
32903 * string/test-strlen.c: Update.
32904 Add wcslen support.
32905 (WIDE): New macro.
32906
09f699ea
UD
329072011-10-23 Ulrich Drepper <drepper@gmail.com>
32908
32909 * po/it.po: Update from translation team.
32910
95584d3b
LD
329112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32912
32913 * sysdeps/x86_64/wcscmp.S: Update.
32914 Fix wrong comparison semantics.
32915 wcscmp shall use signed comparison not unsigned.
32916 Don't use substraction to avoid overflow bug.
32917 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32918 * wcsmbc/wcscmp.c: Likewise.
32919 * string/test-strcmp.c: Likewise.
32920 Add new tests to check cases with negative values.
32921
c8b3296b
UD
329222011-10-23 Ulrich Drepper <drepper@gmail.com>
32923
32924 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32925 * sysdeps/x86_64/dla.h: ...here. New file.
32926 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32935
246ad57a
AS
329362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32937
32938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32939 __ynl_finite aliases.
32940
a1a87169
UD
329412011-10-22 Ulrich Drepper <drepper@gmail.com>
32942
0d355eb7
UD
32943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32944
a1a87169
UD
32945 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32946 define DLA_FMA.
32947 [DLA_FMA] (EMULV): Use DLA_FMA.
32948 [DLA_FMA] (MUL12): Use EMULV.
32949 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32950 that are not needed.
32951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32958
ee2aafe0
AS
329592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32960
32961 * math/s_nan.c: Undef __nan.
32962 * math/s_nanf.c: Undef __nanf.
32963 * math/s_nanl.c: Undef __nanl.
32964 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32965 "math_private.h".
32966
bc62c2fb
UD
329672011-10-22 Ulrich Drepper <drepper@gmail.com>
32968
77425c63
UD
32969 * math/s_catan.c: Add branch predictions.
32970 * math/s_catanf.c: Likewise.
32971 * math/s_catanh.c: Likewise.
32972 * math/s_catanhf.c: Likewise.
32973 * math/s_catanhl.c: Likewise.
32974 * math/s_catanl.c: Likewise.
32975 * math/s_cexp.c: Likewise.
32976 * math/s_cexpf.c: Likewise.
32977 * math/s_cexpl.c: Likewise.
32978 * math/s_clog.c: Likewise.
32979 * math/s_clog10.c: Likewise.
32980 * math/s_clog10f.c: Likewise.
32981 * math/s_clog10l.c: Likewise.
32982 * math/s_clogf.c: Likewise.
32983 * math/s_clogl.c: Likewise.
32984 * math/s_csqrt.c: Likewise.
32985 * math/s_csqrtf.c: Likewise.
32986 * math/s_csqrtl.c: Likewise.
32987 * math/s_ctanf.c: Likewise.
32988 * math/s_ctanh.c: Likewise.
32989 * math/s_ctanhf.c: Likewise.
32990 * math/s_ctanhl.c: Likewise.
32991 * math/s_ctanl.c: Likewise.
32992
bc62c2fb
UD
32993 * math/math_private.h: Define __nan, __nanf, __nanl.
32994 * math/s_cacosh.c: Include <math_private.h>.
32995 * math/s_cacoshl.c: Likewise.
32996 * math/s_casinh.c: Likewise.
32997 * math/s_casinhf.c: Likewise.
32998 * math/s_casinhl.c: Likewise.
32999 * math/s_ccos.c: Rely entire on ccosh.
33000 * math/s_ccosf.c: Rely entire on ccoshf.
33001 * math/s_ccosl.c: Rely entirely on ccoshl.
33002 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33003 Remove tests for FE_INVALID.
33004 * math/s_ccoshf.c: Likewise.
33005 * math/s_ccoshl.c: Likewise.
33006 * math/s_csin.c: Likewise.
33007 * math/s_csinf.c: Likewise.
33008 * math/s_csinh.c Likewise.
33009 * math/s_csinhf.c: Likewise.
33010 * math/s_csinhl.c: Likewise.
33011 * math/s_csinl.c: Likewise.
33012 * math/s_ctan.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33014 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33015 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33016
8ec250a4
UD
330172011-10-21 Ulrich Drepper <drepper@gmail.com>
33018
c196fed8
UD
33019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33020 compilation problems.
33021
8ec250a4
UD
33022 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33023 __builtin_expect.
33024
8d4f46c6
UD
330252011-10-20 Ulrich Drepper <drepper@gmail.com>
33026
ed72b654
UD
33027 * sysdeps/i386/configure.in: Test for -mfma4 option.
33028 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33029 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33030 COMMON_CPUID_INDEX_80000001.
33031 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33032 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33033 use it if FMA3 is not supported.
33034 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33035
8d4f46c6
UD
33036 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33037 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33038
d45c60c2
AS
330392011-10-20 Andreas Schwab <schwab@redhat.com>
33040
33041 [BZ #12892]
33042 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33043 it would create a cycle with a link time dependency.
33044
d9a4d2ab
UD
330452011-10-19 Ulrich Drepper <drepper@gmail.com>
33046
855d1560
UD
33047 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33048 instruction.
33049 * string/Makefile (strop-tests): Add rawmemchr.
33050 * string/test-rawmemchr.c: New file.
33051
d9a4d2ab
UD
33052 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33054 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33055 when compiling str{,n}casecmp and when AVX is available. Hook up
33056 new optimized code in initializers.
33057
8f3b1ffe
AS
330582011-10-19 Andreas Schwab <schwab@redhat.com>
33059
33060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33061 __feraiseexcept instead of feraiseexcept.
33062
d38f1dba
UD
330632011-10-18 Ulrich Drepper <drepper@gmail.com>
33064
d9a8d0ab
UD
33065 * math/math_private.h: Define defaults for libc_fetestexcept and
33066 libc_feupdateenv.
33067 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33068 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33070 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33071 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33072 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33073 libc_fetestexcept and libc_feupdateenv.
33074
4855e3dd
UD
33075 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33076 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33077 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33078 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33079 libc_feholdexcept_setround.
33080
581d30e3
UD
33081 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33082 Add s_nearbyint-c and s_nearbyintf-c.
33083 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33084 nearbyintf inlines.
33085 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33086 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33087 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33088 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33089
d38f1dba
UD
33090 * math/math_private.h: Define defaults for libc_fegetround,
33091 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33092 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33093 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33094 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33095 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33096 standard functions.
33097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33098 Remove comments and hacks for old compiler versions.
33099 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33100 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33101 libc_feholdexceptl.
33102
caa6c9d8
AS
331032011-10-18 Andreas Schwab <schwab@redhat.com>
33104
33105 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33106 (__feraiseexcept_renamed): Add __NTH.
33107 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33108 namespace violations.
33109
97c066e6
UD
331102011-10-17 Ulrich Drepper <drepper@gmail.com>
33111
99ce7b04
UD
33112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33113
1004d182
UD
33114 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33115
228a984d
UD
33116 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33117 recently added interfaces.
33118 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33119
c8553a6a
UD
33120 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33121 about macro parameter expansion.
33122
ed22dcf6
UD
33123 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33124 __NO_MATH_INLINES is defined. Cleanups.
33125
33126 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33127 and __floorf is target has SSE4.1.
33128 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33129 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33130 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33131 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33132
b171c137
UD
33133 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33134 name.
33135 (floorf): Likewise.
33136
97c066e6
UD
33137 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33138
629f62ef
AS
331392011-10-17 Andreas Schwab <schwab@redhat.com>
33140
49a43d80
AS
33141 * misc/sys/cdefs.h: Fix last change.
33142
629f62ef
AS
33143 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33144 database lookup.
33145
e453f6cd
UD
331462011-10-16 Ulrich Drepper <drepper@gmail.com>
33147
aa78043a
UD
33148 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33149
ad0f5cad
UD
33150 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33158 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33160 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33161 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33162 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33163 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33164 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33165 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33166 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33167 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33168 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33169 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33170 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33171 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33172
33173 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33174 ceil, ceilf, floor, floorf.
33175
33176 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33177 Perform IRELATIVE relocations last.
33178
e453f6cd
UD
33179 * elf/do-rel.h: Add another parameter nrelative, replacing the
33180 local variable with the same name. Change name of the function
33181 to end in Rel or Rela (uppercase).
33182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33183 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33184 elf_dynamic_do_##reloc function.
33185
fd5bdc09
UD
331862011-10-15 Ulrich Drepper <drepper@gmail.com>
33187
79b195b5
UD
33188 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33189 is sufficient, at least on modern CPUs.
33190
d4a28569
UD
33191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33192
b61099b5
UD
33193 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33194 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33195
bcf01e6d
UD
33196 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33197 __expl_finite.
33198 * math/bits/math-finite.h: Add entries for exp.
33199 * math/e_expl.c: Add __*_finite alias.
33200 * sysdeps/i386/fpu/e_exp.S: Likewise.
33201 * sysdeps/i386/fpu/e_expf.S: Likewise.
33202 * sysdeps/i386/fpu/e_expl.c: Likewise.
33203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33204 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33207 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33208 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33209 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33210
ba1a0d59
UD
33211 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33212 is sufficient, at least on modern CPUs.
33213
fd5bdc09
UD
33214 * ctype/ctype-info.c (__ctype_init): Define.
33215 * include/ctype.h (__ctype_init): Declare.
33216 (__ctype_b_loc): The variable is always initialized.
33217 (__ctype_toupper_loc): Likewise.
33218 (__ctype_tolower_loc): Likewise.
33219 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33220 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33221
7872cfb0
AS
332222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33223
b468825a
AS
33224 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33225
7872cfb0
AS
33226 * configure.in: Also look in $cxxmachine/include for C++ system
33227 headers.
33228
be13f7bf
LD
332292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33230
33231 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33232 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33233 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33234 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33236 (USE_AS_WMEMCMP): New macro.
33237 Fixing indents.
33238 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33239 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33240 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33241 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33243 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33244 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33245 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33246 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33247 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33248 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33249 (USE_AS_WMEMCMP): New macro.
33250 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33251 * sysdeps/string/test-memcmp.c: Update.
33252 Fix simple_wmemcmp.
33253 Add new tests.
33254 * wcsmbs/wmemcmp.c: Update.
33255 (WMEMCMP): New macro.
33256 Fix overflow bug.
33257
556a2007
AJ
332582011-10-12 Andreas Jaeger <aj@suse.de>
33259
33260 [BZ #13268]
33261 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33262
538faaa7
UD
332632011-10-15 Ulrich Drepper <drepper@gmail.com>
33264
ab6737ff
UD
33265 * libio/iofwide.c (do_length): Avoid warning.
33266
538faaa7
UD
33267 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33268
396a21b1
UD
332692011-10-14 Ulrich Drepper <drepper@gmail.com>
33270
cdf2901f
UD
33271 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33272
38ad40ce
UD
33273 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33274 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33275 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33276 * sysdeps/i386/i686/fpu/e_log.S: New file.
33277 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33278 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33279
396a21b1
UD
33280 * ctype/ctype.h: Add support for inlined isXXX functions when
33281 compiling C++ code.
33282
6b1f68c9
AS
332832011-10-14 Andreas Schwab <schwab@redhat.com>
33284
349290c0
AS
33285 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33286
6b1f68c9
AS
33287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33288
f2282d42
RM
332892011-10-13 Roland McGrath <roland@hack.frob.com>
33290
33291 [BZ #13291]
33292 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33293
5298ffa8
AS
332942011-10-13 Andreas Schwab <schwab@redhat.com>
33295
714fad23
AS
33296 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33297 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33298 feraiseexcept.
33299
81dcc7fb
AS
33300 * sysdeps/x86_64/memrchr.S: Check for zero size.
33301
5298ffa8
AS
33302 * string/stratcliff.c: Add memrchr tests.
33303
951fbcec
LD
333042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33305
33306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33307 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33308 rawmemchr-sse2 rawmemchr-sse2-bsf.
33309 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33310 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33311 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33312 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33313 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33314 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33315 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33316 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33317 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33318 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33319 * string/memrchr.c (MEMRCHR): New macro.
33320
0ac5ae23
UD
333212011-10-12 Ulrich Drepper <drepper@gmail.com>
33322
33323 Add integration with gcc's -ffinite-math-only and optimize wrapper
33324 functions in libm.
33325 * Versions.def: Define GLIBC_2.15 version for libm.
33326 * math/Makefile (headers): Add bits/math-finite.h.
33327 * math/bits/math-finite.h: New file.
33328 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33329 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33330 * math/e_acoshl.c: Add __*_finite alias.
33331 * math/e_acosl.c: Likewise.
33332 * math/e_asinl.c: Likewise.
33333 * math/e_atan2l.c: Likewise.
33334 * math/e_atanhl.c: Likewise.
33335 * math/e_coshl.c: Likewise.
33336 * math/e_exp10.c: Likewise.
33337 * math/e_exp10f.c: Likewise.
33338 * math/e_exp10l.c: Likewise.
33339 * math/e_exp2l.c: Likewise.
33340 * math/e_fmodl.c: Likewise.
33341 * math/e_gammal_r.c: Likewise.
33342 * math/e_hypotl.c: Likewise.
33343 * math/e_j0l.c: Likewise.
33344 * math/e_j1l.c: Likewise.
33345 * math/e_jnl.c: Likewise.
33346 * math/e_lgammal_r.c: Likewise.
33347 * math/e_log10l.c: Likewise.
33348 * math/e_log2l.c: Likewise.
33349 * math/e_logl.c: Likewise.
33350 * math/e_powl.c: Likewise.
33351 * math/e_sinhl.c: Likewise.
33352 * math/e_sqrtl.c: Likewise.
33353 * math/e_scalb.c: Completely rewritten and optimized.
33354 * math/e_scalbf.c: Likewise.
33355 * math/e_scalbl.c: Likewise.
33356 * math/w_acos.c: Likewise.
33357 * math/w_acosf.c: Likewise.
33358 * math/w_acosl.c: Likewise.
33359 * math/w_acosh.c: Likewise.
33360 * math/w_acoshf.c: Likewise.
33361 * math/w_acoshl.c: Likewise.
33362 * math/w_asin.c: Likewise.
33363 * math/w_asinf.c: Likewise.
33364 * math/w_asinl.c: Likewise.
33365 * math/w_atan2.c: Likewise.
33366 * math/w_atan2f.c: Likewise.
33367 * math/w_atan2l.c: Likewise.
33368 * math/w_atanh.c: Likewise.
33369 * math/w_atanhf.c: Likewise.
33370 * math/w_atanhl.c: Likewise.
33371 * math/w_exp10.c: Likewise.
33372 * math/w_exp10f.c: Likewise.
33373 * math/w_exp10l.c: Likewise.
33374 * math/w_fmod.c: Likewise.
33375 * math/w_fmodf.c: Likewise.
33376 * math/w_fmodl.c: Likewise.
33377 * math/w_j0.c: Likewise.
33378 * math/w_j0f.c: Likewise.
33379 * math/w_j0l.c: Likewise.
33380 * math/w_j1.c: Likewise.
33381 * math/w_j1f.c: Likewise.
33382 * math/w_j1l.c: Likewise.
33383 * math/w_jn.c: Likewise.
33384 * math/w_jnf.c: Likewise.
33385 * math/w_log.c: Likewise.
33386 * math/w_logf.c: Likewise.
33387 * math/w_logl.c: Likewise.
33388 * math/w_log10.c: Likewise.
33389 * math/w_log10f.c: Likewise.
33390 * math/w_log10l.c: Likewise.
33391 * math/w_log2.c: Likewise.
33392 * math/w_log2f.c: Likewise.
33393 * math/w_log2l.c: Likewise.
33394 * math/w_pow.c: Likewise.
33395 * math/w_powf.c: Likewise.
33396 * math/w_powl.c: Likewise.
33397 * math/w_remainder.c: Likewise.
33398 * math/w_remainderf.c: Likewise.
33399 * math/w_remainderl.c: Likewise.
33400 * math/w_scalb.c: Likewise.
33401 * math/w_scalbf.c: Likewise.
33402 * math/w_scalbl.c: Likewise.
33403 * math/w_sqrt.c: Likewise.
33404 * math/w_sqrtf.c: Likewise.
33405 * math/w_sqrtl.c: Likewise.
33406 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33407 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33408 used.
33409 * math/math_private.h: Declare __kernel_standard_f.
33410 * math/w_cosh.c: Remove cruft and optimize a bit.
33411 * math/w_coshf.c: Likewise.
33412 * math/w_coshl.c: Likewise.
33413 * math/w_exp2.c: Likewise.
33414 * math/w_exp2f.c: Likewise.
33415 * math/w_exp2l.c: Likewise.
33416 * math/w_hypot.c: Likewise.
33417 * math/w_hypotf.c: Likewise.
33418 * math/w_hypotl.c: Likewise.
33419 * math/w_lgamma.c: Likewise.
33420 * math/w_lgamma_r.c: Likewise.
33421 * math/w_lgammaf.c: Likewise.
33422 * math/w_lgammaf_r.c: Likewise.
33423 * math/w_lgammal.c: Likewise.
33424 * math/w_lgammal_r.c: Likewise.
33425 * math/w_sinh.c: Likewise.
33426 * math/w_sinhf.c: Likewise.
33427 * math/w_sinhl.c: Likewise.
33428 * math/w_tgamma.c: Likewise.
33429 * math/w_tgammaf.c: Likewise.
33430 * math/w_tgammal.c: Likewise.
33431 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33433 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33434 Minor optimizations. Pretty printing. Remove cruft.
33435 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33436 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33439 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33440 * sysdeps/i386/fpu/e_asin.S: Likewise.
33441 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33442 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33443 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33444 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33445 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33447 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33448 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33449 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33450 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33451 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33452 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33453 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33454 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33455 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33456 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33457 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33458 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33459 * sysdeps/i386/fpu/e_log.S: Likewise.
33460 * sysdeps/i386/fpu/e_log10.S: Likewise.
33461 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33463 * sysdeps/i386/fpu/e_log2.S: Likewise.
33464 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33466 * sysdeps/i386/fpu/e_logf.S: Likewise.
33467 * sysdeps/i386/fpu/e_logl.S: Likewise.
33468 * sysdeps/i386/fpu/e_pow.S: Likewise.
33469 * sysdeps/i386/fpu/e_powf.S: Likewise.
33470 * sysdeps/i386/fpu/e_powl.S: Likewise.
33471 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33472 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33473 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33474 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33477 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33478 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33479 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33480 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33481 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33488 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33489 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33501 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33504 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33505 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33506 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33507 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33508 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33509 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33510 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33511 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33513 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33514 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33515 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33516 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33517 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33518 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33519 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33520 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33521 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33560 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33561 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33563 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33568 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33571 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33572 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33573 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33574 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33575 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33576 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33577 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33578 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33579 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33580 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33581 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33582 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33583 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33585 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33586 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33588 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33589 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33590 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33591 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33592 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33593 (__isnanf): Likewise.
33594 (__isinf_ns): Likewise.
33595 (__isinf_nsf): Likewise.
33596 (__finite): Likewise.
33597 (__finitef): Likewise.
33598 (__ieee754_sqrt): Define as macro.
33599 (__ieee754_sqrtf): Define as macro.
33600 (__ieee754_sqrtl): Define as macro.
33601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33602 inlined copy.
33603 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33604 __FINITE_MATH_ONLY__ consistent.
33605 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33606
12cc2fcd
AS
336072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33608
a843a204
AS
33609 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33610 of rawmemchr.
33611
12cc2fcd
AS
33612 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33613
c853acd5
UD
336142011-10-09 Ulrich Drepper <drepper@gmail.com>
33615
33616 * po/ja.po: Update from translation team.
33617
c658d255
RM
336182011-10-08 Roland McGrath <roland@hack.frob.com>
33619
110946e4
RM
33620 * locale/programs/locarchive.c (prepare_address_space): New function.
33621 (create_archive, enlarge_archive, open_archive): Use it.
33622
50604220
RM
33623 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33624 inside [SHARED], where it is used.
33625
c658d255
RM
33626 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33627
33628 * nss/getent.c (netgroup_keys): Remove unused variable.
33629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33630
6a621eb7
UD
336312011-10-08 Ulrich Drepper <drepper@gmail.com>
33632
7edb55ce
UD
33633 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33634 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33636 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33637 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33638 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33639 * math/Makefile (libm-calls): Add s_isinf_ns.
33640 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33641 * math/multc3.c: Likewise.
33642 * math/s_casin.c: Likewise.
33643 * math/s_casinf.c: Likewise.
33644 * math/s_casinl.c: Likewise.
33645 * math/s_ccos.c: Likewise.
33646 * math/s_ccosf.c: Likewise.
33647 * math/s_ccosl.c: Likewise.
33648 * math/s_ctan.c: Likewise.
33649 * math/s_ctanf.c: Likewise.
33650 * math/s_ctanh.c: Likewise.
33651 * math/s_ctanhf.c: Likewise.
33652 * math/s_ctanhl.c: Likewise.
33653 * math/s_ctanl.c: Likewise.
33654 * math/w_fmod.c: Likewise.
33655 * math/w_fmodf.c: Likewise.
33656 * math/w_fmodl.c: Likewise.
33657 * math/w_remainder.c: Likewise.
33658 * math/w_remainderf.c: Likewise.
33659 * math/w_remainderl.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33661 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33664 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33665 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33666 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33667 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33668
187da0ae
UD
33669 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33670 of the number.
33671 * stdio-common/printf_fphex.c: Likewise.
33672 * stdio-common/printf_size.c: Likewise.
33673
9277c064
UD
33674 * math/e_exp10.c: Include math_private.h using <...> not "...".
33675 * math/e_exp10f.c: Likewise.
33676 * math/e_exp10l.c: Likewise.
33677 * math/e_exp2l.c: Likewise.
33678 * math/e_j0l.c: Likewise.
33679 * math/e_j1l.c: Likewise.
33680 * math/e_jnl.c: Likewise.
33681 * math/e_lgammal_r.c: Likewise.
33682 * math/e_rem_pio2l.c: Likewise.
33683 * math/e_scalb.c: Likewise.
33684 * math/e_scalbf.c: Likewise.
33685 * math/e_scalbl.c: Likewise.
33686 * math/k_cosl.c: Likewise.
33687 * math/k_sinl.c: Likewise.
33688 * math/k_tanl.c: Likewise.
33689 * math/s_cacoshf.c: Likewise.
33690 * math/s_catan.c: Likewise.
33691 * math/s_catanf.c: Likewise.
33692 * math/s_catanh.c: Likewise.
33693 * math/s_catanhf.c: Likewise.
33694 * math/s_catanhl.c: Likewise.
33695 * math/s_catanl.c: Likewise.
33696 * math/s_ccosh.c: Likewise.
33697 * math/s_ccoshf.c: Likewise.
33698 * math/s_ccoshl.c: Likewise.
33699 * math/s_cexp.c: Likewise.
33700 * math/s_cexpf.c: Likewise.
33701 * math/s_cexpl.c: Likewise.
33702 * math/s_clog.c: Likewise.
33703 * math/s_clog10.c: Likewise.
33704 * math/s_clog10f.c: Likewise.
33705 * math/s_clog10l.c: Likewise.
33706 * math/s_clogf.c: Likewise.
33707 * math/s_clogl.c: Likewise.
33708 * math/s_csin.c: Likewise.
33709 * math/s_csinf.c: Likewise.
33710 * math/s_csinh.c: Likewise.
33711 * math/s_csinhf.c: Likewise.
33712 * math/s_csinhl.c: Likewise.
33713 * math/s_csinl.c: Likewise.
33714 * math/s_csqrt.c: Likewise.
33715 * math/s_csqrtf.c: Likewise.
33716 * math/s_csqrtl.c: Likewise.
33717 * math/s_ctan.c: Likewise.
33718 * math/s_ctanf.c: Likewise.
33719 * math/s_ctanh.c: Likewise.
33720 * math/s_ctanhf.c: Likewise.
33721 * math/s_ctanhl.c: Likewise.
33722 * math/s_ctanl.c: Likewise.
33723 * math/s_ldexp.c: Likewise.
33724 * math/s_ldexpf.c: Likewise.
33725 * math/s_ldexpl.c: Likewise.
33726 * math/s_significand.c: Likewise.
33727 * math/s_significandf.c: Likewise.
33728 * math/s_significandl.c: Likewise.
33729 * math/w_acos.c: Likewise.
33730 * math/w_acosf.c: Likewise.
33731 * math/w_acosh.c: Likewise.
33732 * math/w_acoshf.c: Likewise.
33733 * math/w_acoshl.c: Likewise.
33734 * math/w_acosl.c: Likewise.
33735 * math/w_asin.c: Likewise.
33736 * math/w_asinf.c: Likewise.
33737 * math/w_asinl.c: Likewise.
33738 * math/w_atan2.c: Likewise.
33739 * math/w_atan2f.c: Likewise.
33740 * math/w_atan2l.c: Likewise.
33741 * math/w_atanh.c: Likewise.
33742 * math/w_atanhf.c: Likewise.
33743 * math/w_atanhl.c: Likewise.
33744 * math/w_cosh.c: Likewise.
33745 * math/w_coshf.c: Likewise.
33746 * math/w_coshl.c: Likewise.
33747 * math/w_dremf.c: Likewise.
33748 * math/w_exp10.c: Likewise.
33749 * math/w_exp10f.c: Likewise.
33750 * math/w_exp10l.c: Likewise.
33751 * math/w_exp2.c: Likewise.
33752 * math/w_exp2f.c: Likewise.
33753 * math/w_fmod.c: Likewise.
33754 * math/w_fmodf.c: Likewise.
33755 * math/w_fmodl.c: Likewise.
33756 * math/w_hypot.c: Likewise.
33757 * math/w_hypotf.c: Likewise.
33758 * math/w_hypotl.c: Likewise.
33759 * math/w_j0.c: Likewise.
33760 * math/w_j0f.c: Likewise.
33761 * math/w_j0l.c: Likewise.
33762 * math/w_j1.c: Likewise.
33763 * math/w_j1f.c: Likewise.
33764 * math/w_j1l.c: Likewise.
33765 * math/w_jn.c: Likewise.
33766 * math/w_jnf.c: Likewise.
33767 * math/w_jnl.c: Likewise.
33768 * math/w_lgamma.c: Likewise.
33769 * math/w_lgamma_r.c: Likewise.
33770 * math/w_lgammaf.c: Likewise.
33771 * math/w_lgammaf_r.c: Likewise.
33772 * math/w_lgammal.c: Likewise.
33773 * math/w_lgammal_r.c: Likewise.
33774 * math/w_log.c: Likewise.
33775 * math/w_log10.c: Likewise.
33776 * math/w_log10f.c: Likewise.
33777 * math/w_log10l.c: Likewise.
33778 * math/w_log2.c: Likewise.
33779 * math/w_log2f.c: Likewise.
33780 * math/w_log2l.c: Likewise.
33781 * math/w_logf.c: Likewise.
33782 * math/w_logl.c: Likewise.
33783 * math/w_pow.c: Likewise.
33784 * math/w_powf.c: Likewise.
33785 * math/w_powl.c: Likewise.
33786 * math/w_remainder.c: Likewise.
33787 * math/w_remainderf.c: Likewise.
33788 * math/w_remainderl.c: Likewise.
33789 * math/w_scalb.c: Likewise.
33790 * math/w_scalbf.c: Likewise.
33791 * math/w_scalbl.c: Likewise.
33792 * math/w_sinh.c: Likewise.
33793 * math/w_sinhf.c: Likewise.
33794 * math/w_sinhl.c: Likewise.
33795 * math/w_sqrt.c: Likewise.
33796 * math/w_sqrtf.c: Likewise.
33797 * math/w_sqrtl.c: Likewise.
33798 * math/w_tgamma.c: Likewise.
33799 * math/w_tgammaf.c: Likewise.
33800 * math/w_tgammal.c: Likewise.
33801
6a621eb7
UD
33802 * po/ja.po: Update from translation team.
33803
bf582445
AJ
338042011-09-29 Andreas Jaeger <aj@suse.de>
33805
f9efbf3a
AJ
33806 [BZ #13179]
33807 * sunrpc/netname.c (netname2host): Fix logic.
33808
bf582445
AJ
33809 [BZ #6779]
33810 [BZ #6783]
33811 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33812 correctly.
33813 * math/w_remainder.c (__remainder): Likewise.
33814 * math/w_remainderf.c (__remainderf): Likewise.
33815 * math/libm-test.inc (remainder_test): Add test cases.
33816
48693bea
AK
338172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33818
33819 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33820 sdiv_qrnnd.
33821
42622229
LD
338222011-10-07 Ulrich Drepper <drepper@gmail.com>
33823
33824 * string/test-memcmp.c: Avoid unncessary #defines.
33825 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33826
093ecf92
LD
338272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33828
33829 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33830 Use new sse2 version for core i3 - i7 as it's faster
33831 than sse42 version.
33832 (bit_Prefer_PMINUB_for_stringop): New.
33833 * sysdeps/x86_64/rawmemchr.S: Update.
33834 Replace with faster SSE2 version.
33835 * sysdeps/x86_64/memrchr.S: New file.
33836 * sysdeps/x86_64/memchr.S: Update.
33837 Replace with faster SSE2 version.
33838
fde56e5c
MP
338392011-09-12 Marek Polacek <mpolacek@redhat.com>
33840
33841 * elf/dl-load.c (lose): Add cast to avoid warning.
33842
21fd49a9
UD
338432011-10-07 Ulrich Drepper <drepper@gmail.com>
33844
5a06e643
UD
33845 * po/ca.po: Update from translation team.
33846
684ae515
UD
33847 * inet/getnetgrent_r.c: Hook up nscd.
33848 * nscd/Makefile (routines): Add nscd_netgroup.
33849 (nscd-modules): Add netgroupcache.
33850 (CFLAGS-netgroupcache.c): Define.
33851 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33852 (cache_search): Add const to second parameter.
33853 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33854 INNETGR.
33855 (dbs): Add netgrdb entry.
33856 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33857 (verify_persistent_db): Handle netgrdb.
33858 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33859 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33860 GETFDNETGR.
33861 (netgroup_response_header): Define.
33862 (innetgroup_response_header): Define.
33863 (datahead): Add netgroup_response_header and innetgroup_response_header
33864 elements.
33865 * nscd/nscd.conf: Add entries for netgroup cache.
33866 * nscd/nscd.h (dbtype): Add netgrdb.
33867 (_PATH_NSCD_NETGROUP_DB): Define.
33868 (netgroup_iov_disabled): Declare.
33869 (xmalloc, xcalloc, xrealloc): Move declarations here.
33870 (cache_search): Adjust prototype.
33871 Add netgroup-related prototypes.
33872 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33873 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33874 (__nscd_innetgr): Declare.
33875 * nscd/selinux.c (perms): Use access_vector_t as element type and
33876 add netgroup-related initializers.
33877 * nscd/netgroupcache.c: New file.
33878 * nscd/nscd_netgroup.c: New file.
33879 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33880 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33881 For four parameters use innetgr.
33882 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33883 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33884 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33885 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33886
21fd49a9
UD
33887 * nscd/connections.c (register_traced_file): Don't register file
33888 for disabled databases.
33889
054c0457
UD
338902011-10-06 Ulrich Drepper <drepper@gmail.com>
33891
32b63198
UD
33892 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33893
054c0457
UD
33894 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33895 from tree and freeing node.
33896
64031225
JO
338972011-09-25 Jiri Olsa <jolsa@redhat.com>
33898
33899 * nss/nsswitch.c (__nss_database_lookup): Handle
33900 nss_parse_service_list out of memory case.
33901
0490345c
JO
339022011-09-15 Jiri Olsa <jolsa@redhat.com>
33903
33904 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33905 out of memory case.
33906
3a62d00d
AS
339072011-10-04 Andreas Schwab <schwab@redhat.com>
33908
33909 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33910 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33911 pass it down.
33912 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33913 elf_machine_rela, elf_machine_lazy_rel.
33914 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33915 (ELF_DYNAMIC_DO_REL): Likewise.
33916 (ELF_DYNAMIC_DO_RELA): Likewise.
33917 (ELF_DYNAMIC_RELOCATE): Likewise.
33918 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33919 to ELF_DYNAMIC_DO_REL.
33920 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33921 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33922 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33923 elf_machine_rela.
33924 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33925 skip_ifunc, don't call ifunc function if non-zero.
33926 (elf_machine_rela): Likewise.
33927 (elf_machine_lazy_rel): Likewise.
33928 (elf_machine_lazy_rela): Likewise.
33929 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33930 (elf_machine_lazy_rel): Likewise.
33931 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33932 Likewise.
33933 (elf_machine_lazy_rel): Likewise.
33934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33935 Likewise.
33936 (elf_machine_lazy_rel): Likewise.
33937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33938 (elf_machine_lazy_rel): Likewise.
33939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33940 (elf_machine_lazy_rel): Likewise.
33941 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33942 (elf_machine_lazy_rel): Likewise.
33943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33944 (elf_machine_lazy_rel): Likewise.
33945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33946 (elf_machine_lazy_rel): Likewise.
33947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33948 (elf_machine_lazy_rel): Likewise.
33949
68577918
UD
339502011-09-28 Ulrich Drepper <drepper@gmail.com>
33951
33952 * nss/nss_files/files-init.c (_nss_files_init): Use static
33953 initialization for all the *_traced_file variables.
33954
68822d74
AS
339552011-09-28 Andreas Schwab <schwab@redhat.com>
33956
33957 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33958
2056100b
RM
339592011-09-27 Roland McGrath <roland@hack.frob.com>
33960
33961 [BZ #13226]
33962 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33963
32c76b63
AS
339642011-09-27 Andreas Schwab <schwab@redhat.com>
33965
33966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33967 Reread the line before reparsing it.
33968
bf972c9d
AS
339692011-09-26 Andreas Schwab <schwab@redhat.com>
33970
33971 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33972
e057a1b5
JM
339732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33974 Maxim Kuvyrkov <maxim@codesourcery.com>
33975 Joseph Myers <joseph@codesourcery.com>
33976
33977 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33978 if needed for __stack_chk_guard.
33979
bc7e1c36
RM
339802011-09-19 Roland McGrath <roland@hack.frob.com>
33981
ecb1482f
RM
33982 * sysdeps/posix/spawni.c (script_execute): Always define it.
33983 It will be optimized away if unused.
33984 (maybe_script_execute): New function.
33985 (__spawni): Call it.
33986
bc7e1c36
RM
33987 * Makerules: Don't include tls.make.
33988 (config-tls): Always set to thread.
33989 * tls.make.c: File removed.
33990
1c3b002b
MF
339912011-09-19 Mike Frysinger <vapier@gentoo.org>
33992
33993 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33994 * config.make.in (CPPFLAGS-config): New substituted variable.
33995
2840865d
UD
339962011-09-15 Ulrich Drepper <drepper@gmail.com>
33997
88738eb6
UD
33998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33999
cbf645a6 34000 [BZ #13192]
2840865d
UD
34001 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34002 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34003
b402e91a
RM
340042011-09-15 Roland McGrath <roland@hack.frob.com>
34005
34006 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34007 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34009 (CALL_FAIL): Likewise.
34010 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34011 (CALL_FAIL): Macro removed.
34012 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34013
4c1a1f71
UD
340142011-09-15 Ulrich Drepper <drepper@gmail.com>
34015
34016 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34017 for __FINITE_MATH_ONLY__ == 1.
34018
edc121be
AS
340192011-09-15 Andreas Schwab <schwab@redhat.com>
34020
34021 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34022 __ieee754_sqrt instead of sqrt.
34023 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34024 __ieee754_sqrtf instead of sqrtf.
34025 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34026 __floorf instead of floorf.
34027 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34028 __floorf, __truncf instead of floorf, truncf.
34029
cd205654
UD
340302011-09-14 Ulrich Drepper <drepper@gmail.com>
34031
ee4d0315
UD
34032 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34033
cd205654
UD
34034 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34035 __extern_always_inline.
34036 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34037 32-bit.
34038
48b67d71
AS
340392011-09-14 Andreas Schwab <schwab@redhat.com>
34040
34041 * elf/rtld.c (dl_main): Also relocate in dependency order when
34042 doing symbol dependency testing.
34043
1ae12c75
AS
340442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34045
34046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34047 Always define `refsym'.
34048
995a80df
AS
340492011-09-13 Andreas Schwab <schwab@redhat.com>
34050
e529793b
AS
34051 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34052 (__FD_ELT): Renamed from __FDELT.
34053 * misc/bits/select2.h (__FD_ELT): Likewise.
34054 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34055 __FD_MASK instead of __FDELT, __FDMASK.
34056 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34057 Likewise.
34058 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34059 Likewise.
34060
52d4fef8
AS
34061 * elf/Makefile (gen-ldd): Fix pattern.
34062
995a80df
AS
34063 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34064 (init_tls): Likewise.
34065
8682f8b0
UD
340662011-09-12 Ulrich Drepper <drepper@gmail.com>
34067
34068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34069
de82006d
AS
340702011-09-12 Andreas Schwab <schwab@redhat.com>
34071
a7c8e6a1
AS
34072 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34073 `struct cmsghdr *' instead of `void *'.
34074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34075 Likewise.
34076
0f31fe77
AS
340772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34078
34079 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34080 if non-absolute.
34081 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34082 ldd_rewrite_script.
0f31fe77 34083
32b4c839
UD
340842011-09-11 Ulrich Drepper <drepper@gmail.com>
34085
83cd1420
UD
34086 * configure.in: Remove --with-tls option.
34087 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34088 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34089 out in case it is missing.
34090 * sysdeps/ia64/elf/configure.in: Likewise.
34091 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34092 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34093 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34094 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34095 * sysdeps/sh/elf/configure.in: Likewise.
34096 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34097 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34098 * sysdeps/x86_64/elf/configure.in: Likewise.
34099 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34100 * sysdeps/mach/hurd/tls.h: Likewise.
34101
633f745d
UD
34102 [BZ #13067]
34103 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34104
f318beb8
UD
34105 [BZ #13090]
34106 * configure.in: Fix use of AC_INIT.
34107
32b4c839
UD
34108 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34109
3ce1f295
UD
341102011-09-10 Ulrich Drepper <drepper@gmail.com>
34111
bb016596
UD
34112 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34113 __set_errno.
8e58439c
UD
34114 * malloc/hooks.c: Likewise.
34115
aebae053 34116 [BZ #11929]
02d46fc4
UD
34117 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34118 variables statically.
34119 (narenas): Initialize.
34120 (list_lock): Initialize.
bb016596
UD
34121 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34122 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34123 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34124 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34125 Add initializers to main_arena and mp_.
34126 (malloc_state): Remove pagesize member. Change all users to use
34127 GLRO(dl_pagesize).
34128
34129 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34130 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34131 is always initialized.
34132
22a89187
UD
34133 * malloc/malloc.c: Removed unused configurations and dead code.
34134 * malloc/arena.c: Likewise.
34135 * malloc/hooks.c: Likewise.
02d46fc4 34136 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34137
d063d164
UD
34138 * include/tls.h: Removed. USE___THREAD must always be defined.
34139 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34140 * elf/dl-libc.c: Likewise.
34141 * elf/dl-tsd.c: Likewise.
34142 * include/errno.h: Likewise.
34143 * include/netdb.h: Likewise.
34144 * include/resolv.h: Likewise.
34145 * inet/herrno-loc.c: Likewise.
34146 * inet/herrno.c: Likewise.
34147 * malloc/arena.c: Likewise.
34148 * malloc/hooks.c: Likewise.
34149 * malloc/malloc.c: Likewise.
34150 * resolv/res-state.c: Likewise.
34151 * resolv/res_libc.c: Likewise.
34152 * sysdeps/i386/dl-machine.h: Likewise.
34153 * sysdeps/ia64/dl-machine.h: Likewise.
34154 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34155 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34156 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34157 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34158 * sysdeps/sh/dl-machine.h: Likewise.
34159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34161 * sysdeps/unix/i386/sysdep.S: Likewise.
34162 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34163 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34165 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34167 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34168 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34172 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34173 * sysdeps/x86_64/dl-machine.h: Likewise.
34174 * tls.make.c: Likewise.
34175
3ce1f295
UD
34176 * configure.in: Remove --with-__thread option. Make tests for
34177 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34178 tls_model attribute fail if no support is available. Remove
34179 USE_IN_LIBIO.
34180 * Makeconfig: Adjust for dropped configure option. All features are
34181 now mandatory.
34182 * Makerules: Likewise.
34183 * Versions.def: Likewise.
34184 * argp/argp-fmtstream.c: Likewise.
34185 * argp/argp-fmtstream.h: Likewise.
34186 * argp/argp-help.c: Likewise.
34187 * assert/assert.c: Likewise.
34188 * config.h.in: Likewise.
34189 * config.make.in: Likewise.
34190 * configure: Likewise.
34191 * configure.in: Likewise.
34192 * csu/Versions: Likewise.
34193 * csu/init.c: Likewise.
34194 * elf/tst-audit2.c: Likewise.
34195 * elf/tst-tls10.c: Likewise.
34196 * elf/tst-tls10.h: Likewise.
34197 * elf/tst-tls11.c: Likewise.
34198 * elf/tst-tls12.c: Likewise.
34199 * elf/tst-tls14.c: Likewise.
34200 * elf/tst-tlsmod11.c: Likewise.
34201 * elf/tst-tlsmod12.c: Likewise.
34202 * elf/tst-tlsmod13.c: Likewise.
34203 * elf/tst-tlsmod13a.c: Likewise.
34204 * elf/tst-tlsmod14a.c: Likewise.
34205 * elf/tst-tlsmod15b.c: Likewise.
34206 * elf/tst-tlsmod16a.c: Likewise.
34207 * elf/tst-tlsmod16b.c: Likewise.
34208 * elf/tst-tlsmod7.c: Likewise.
34209 * elf/tst-tlsmod8.c: Likewise.
34210 * elf/tst-tlsmod9.c: Likewise.
34211 * gmon/gmon.c: Likewise.
34212 * grp/fgetgrent_r.c: Likewise.
34213 * grp/putgrent.c: Likewise.
34214 * hurd/fopenport.c: Likewise.
34215 * include/libc-symbols.h: Likewise.
34216 * include/tls.h: Likewise.
34217 * intl/gettextP.h: Likewise.
34218 * intl/loadinfo.h: Likewise.
34219 * locale/global-locale.c: Likewise.
34220 * locale/localeinfo.h: Likewise.
34221 * mach/devstream.c: Likewise.
34222 * malloc/arena.c: Likewise.
34223 * malloc/set-freeres.c: Likewise.
34224 * misc/err.c: Likewise.
34225 * misc/getttyent.c: Likewise.
34226 * misc/mntent_r.c: Likewise.
34227 * posix/getopt.c: Likewise.
34228 * posix/wordexp.c: Likewise.
34229 * pwd/fgetpwent_r.c: Likewise.
34230 * resolv/Versions: Likewise.
34231 * resolv/res_hconf.c: Likewise.
34232 * shadow/fgetspent_r.c: Likewise.
34233 * shadow/putspent.c: Likewise.
34234 * stdio-common/printf_fphex.c: Likewise.
34235 * stdio-common/tmpfile.c: Likewise.
34236 * stdlib/abort.c: Likewise.
34237 * stdlib/fmtmsg.c: Likewise.
34238 * sunrpc/auth_unix.c: Likewise.
34239 * sunrpc/clnt_perr.c: Likewise.
34240 * sunrpc/clnt_tcp.c: Likewise.
34241 * sunrpc/clnt_udp.c: Likewise.
34242 * sunrpc/clnt_unix.c: Likewise.
34243 * sunrpc/openchild.c: Likewise.
34244 * sunrpc/svc_simple.c: Likewise.
34245 * sunrpc/svc_tcp.c: Likewise.
34246 * sunrpc/svc_udp.c: Likewise.
34247 * sunrpc/svc_unix.c: Likewise.
34248 * sunrpc/xdr.c: Likewise.
34249 * sunrpc/xdr_array.c: Likewise.
34250 * sunrpc/xdr_rec.c: Likewise.
34251 * sunrpc/xdr_ref.c: Likewise.
34252 * sunrpc/xdr_stdio.c: Likewise.
34253
1248c1c4
PB
342542011-09-09 Ulrich Drepper <drepper@gmail.com>
34255
34256 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34257
342582011-07-03 Andreas Jaeger <aj@suse.de>
34259
34260 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34261 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34262 regenerate with gen-libm-tests.pl.
34263
342642010-05-12 Petr Baudis <pasky@suse.cz>
34265
34266 [BZ #11589]
34267 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34268 around j0() zero points by switching to j1().
34269 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34273
f22e1074
UD
342742011-09-09 Ulrich Drepper <drepper@gmail.com>
34275
f19009c1
UD
34276 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34277 instead of 0.
34278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34279 instead of 0.
f19009c1
UD
34280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34281 Patch in part by Pavel Roskin <proski@gnu.org>.
34282
3f8cc204
UD
34283 [BZ #13138]
34284 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34285 realloc.
34286 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34287 Free memory block if necessary.
34288
f22e1074
UD
34289 [BZ #12847]
34290 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34291 be NULL. Don't lock in this case.
34292
0a2349f9
RM
342932011-09-09 Roland McGrath <roland@hack.frob.com>
34294
34295 * elf/elf.h (ELFOSABI_GNU): New macro.
34296 (ELFOSABI_LINUX): Define to that.
34297
f3cdd467
DZ
342982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34299
34300 * string/strncat.c (strncat): Undef the symbol in case it has been
34301 defined in bits/string.h.
34302
74718d13
UD
343032011-09-09 Ulrich Drepper <drepper@gmail.com>
34304
633e9e0f
UD
34305 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34306
0a2349f9 34307 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34308 link map.
34309
f9924780
AJ
343102011-08-17 Andreas Jaeger <aj@suse.de>
34311
34312 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34313
7f5517aa
PP
343142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34315 Ian Lance Taylor <iant@google.com>
34316
34317 * math/libm-test.inc (lround_test): New testcase.
34318 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34319
762011fe
UD
343202011-09-08 Ulrich Drepper <drepper@gmail.com>
34321
92963737
UD
34322 * Makefile: Remove support for automatic cvs check-ins.
34323 * Makerules: Likewise.
34324 * config.make.in: Likewise.
34325 * configure.in: Likewise.
34326 * intl/Makefile: Likewise.
34327 * locale/Makefile: Likewise.
34328 * po/Makefile: Likewise.
34329 * posix/Makefile: Likewise.
34330 * sysdeps/gnu/Makefile: Likewise.
34331 * sysdeps/mach/hurd/Makefile: Likewise.
34332 * sysdeps/sparc/sparc32/Makefile: Likewise.
34333
b0727fd8
JS
34334 [BZ #13118]
34335 * posix/Makefile (bug-regex32-ENV): Define.
34336 Patch by John Stanley <jpsinthemix@verizon.net>.
34337
a0f33f99
UD
34338 * misc/Makefile (headers): Add bits/select2.h.
34339 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34340 * misc/bits/select2.h: New file.
34341 * include/bits/select2.h: New file.
34342 * debug/Makefile (routines): Add fdelt_chk.
34343 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34344 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34345 FD_ISSET.
34346 * debug/fdelt_chk.c: New file.
34347
762011fe
UD
34348 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34349 * wcsmbs/test-wmemcmp.c: Likewise.
34350 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34351 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34352
343532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34354
34355 * string/Makefile (strop-tests): Add memcmp.
34356 * string/test-wmemcmp.c: New file.
34357 * string/test-memcmp.c: Add wmemcmp support.
34358
7f513ec8
RM
343592011-09-08 Roland McGrath <roland@hack.frob.com>
34360
0442afb4
RM
34361 [BZ #13153]
34362 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34363 2011-07-19 change.
34364
7f513ec8
RM
34365 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34366 garbage value in a __mach_port_mod_refs call in the cases of the
34367 task-self and thread-self ports.
34368
a12b2239
ST
343692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34370
34371 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34372
610f9ab4
AS
343732011-09-08 Andreas Schwab <schwab@redhat.com>
34374
7f513ec8 34375 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34376
48882a1a
LD
343772011-09-07 Ulrich Drepper <drepper@gmail.com>
34378
b49865be
UD
34379 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34380
fdc86bc9
UD
34381 * elf/dl-libc.c (dlerror_run): Pass back error code from
34382 dl_catch_error.
34383
c966526a
UD
34384 [BZ #13123]
34385 * elf/dl-load.c (lose): Free l_origin if it is valid.
34386
48882a1a
LD
34387 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34388 names.
34389 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34390 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34392 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34393 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34394 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34395
77a2a8b4
AZ
343962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34397
34398 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34399 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34400 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34401 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34402 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34403 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34404 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34405 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34406 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34407 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34408
24f579d8
AM
344092011-08-15 Alan Modra <amodra@gmail.com>
34410
34411 [BZ #13092]
34412 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34413 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34414 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34415 ppc_mcount to static-only-routines.
34416 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34417 __mcount_internal.
34418 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34419 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34420
3d4837df
UD
344212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34422
34423 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34424 for finite and infinity parameters.
34425
22700377
WS
344262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34427
34428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34429 and add nop instructions for throughput optimization.
34430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34431
5025581e
WS
344322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34433
34434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34435 aligned copy for power7 with vector-scalar instructions.
34436 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34437
08a300c9
L
344382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34439
34440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34441 AVX check.
34442
59178ef9
AS
344432011-09-07 Andreas Schwab <schwab@redhat.com>
34444
34445 [BZ #13144]
34446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34447 last change.
34448
e38ba7ab
UD
344492011-09-07 Ulrich Drepper <drepper@gmail.com>
34450
34451 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34452 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34453 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34454 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34455 clock_gettime.
34456
d53a73ac
UD
344572011-09-06 Ulrich Drepper <drepper@gmail.com>
34458
fc8bffcc
UD
34459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34460 Forgot to demangle the pointer.
34461
ceaa0c5d
UD
34462 * sysdeps/i386/sysdep.h: Define atom_text_section.
34463 * sysdeps/x86_64/sysdep.h: Likewise.
34464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34465 section with atom_text_section.
34466 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34467 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34468 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34470 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34471
a77d3c17
UD
34472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34474 already be defined. Change to take two parameters and don't assign
34475 result to variable. Adjust all users.
34476 Define INTERNAL_GETTIME if not already defined.
34477 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34478 call.
34479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34480 HAVE_CLOCK_GETTIME_VSYSCALL.
34481 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34482
d53a73ac
UD
34483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34484 gettimeofday vsyscall, just use time.
34485
a8f84144
AS
344862011-09-06 Andreas Schwab <schwab@redhat.com>
34487
34488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34489 <errno.h>.
34490
ef606249
UD
344912011-09-06 Ulrich Drepper <drepper@gmail.com>
34492
34493 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34494 syscall on x86-64.
34495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34496 syscall.
34497 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34499 syscall if possible.
34500
6585cb60
UD
345012011-09-05 Ulrich Drepper <drepper@gmail.com>
34502
34503 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34504 e_ident. Don't pass to find_mapsXX.
34505 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34506
a5f524e4
LD
345072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34508
34509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34510 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34511 * sysdeps/x86_64/multiarch/strchr.S: Update.
34512 Check bit_slow_BSF bit.
34513 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34514 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34515 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34516
554881ef
UD
345172011-09-05 Ulrich Drepper <drepper@gmail.com>
34518
d96de963
UD
34519 [BZ #13134]
34520 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34521 before glibc 2.15.
34522 (tryshell): Define.
34523 (__spawni): Change last parameter to be flag. Test
34524 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34525 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34526 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34527 * posix/spawni.c: Likewise.
34528 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34529 * posix/spawnp.c: Likewise. Change normal version to use
34530 SPAWN_XFLAGS_USE_PATH.
34531 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34532 SPAWN_XFLAGS_TRY_SHELL.
34533
d48e5868
UD
34534 [BZ #13150]
34535 * posix/glob.h: Remove gcc 1.x support.
34536
554881ef
UD
34537 [BZ #13068]
34538 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34539
693fb948
LD
345402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34541
34542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34543 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34544 strrchr-sse2-bsf
34545 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34546 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34547 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34549 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34551
1b48c537
UD
345522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34553
49d42c37
UD
34554 * sysdeps/x86_64/wcscmp.S: New file.
34555
1b48c537
UD
34556 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34557 wcscmp-c wcscmp-sse2
34558 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34559 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34560 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34561 * wcsmbs/wcscmp.c: Allow renaming.
34562
15c95c5d
DM
345632011-09-05 David S. Miller <davem@davemloft.net>
34564
34565 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34566 stack slot, rather than the struct return pointer slot.
34567 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34568 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34570 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34571
2f0ad8f3
UD
345722011-09-05 Ulrich Drepper <drepper@gmail.com>
34573
d88ae418
UD
34574 * po/ja.po: Update from translation team.
34575
2f0ad8f3
UD
34576 [BZ #13144]
34577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34578 kernel in 64-bit binaries.
34579
5f4318d1
DM
345802011-09-01 David S. Miller <davem@davemloft.net>
34581
34582 * elf/elf.h (HWCAP_SPARC_*): Move to..
34583 * sysdeps/sparc/sysdep.h: this new file and add new values.
34584 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34585 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34586 _DL_HWCAP_COUNT to 24.
34587 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34588 entries.
34589 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34590 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34591 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34593 instead of magic constants.
34594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34595
3ba57516
DM
345962011-08-31 David S. Miller <davem@davemloft.net>
34597
34598 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34600 Reimplement to do errno handling inline.
34601 (SYSCALL_ERROR_HANDLER): New macro.
34602 (__SYSCALL_STRING): Do not do errno handling in asm.
34603 (__CLONE_SYSCALL_STRING): Delete.
34604 (__INTERNAL_SYSCALL_STRING): Delete.
34605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34606 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34607 (PSEUDO): Reimplement to do errno handling inline.
34608 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34609 (SYSCALL_ERROR_HANDLER): New macro.
34610 (__SYSCALL_STRING): Do not do errno handling in asm.
34611 (__CLONE_SYSCALL_STRING): Delete.
34612 (__INTERNAL_SYSCALL_STRING): Delete.
34613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34614 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34615 i386.
34616 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34617 (inline_syscall*): Add 'err' argument.
34618 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34619 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34620 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34621 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34622
34623 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34624 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34625
2bc17433
AS
346262011-08-30 Andreas Schwab <schwab@redhat.com>
34627
34628 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34629
fbeb5f4d
JO
346302011-08-29 Jiri Olsa <jolsa@redhat.com>
34631
34632 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34633 directive.
34634
ad69cc26
DM
346352011-08-24 David S. Miller <davem@davemloft.net>
34636
34637 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34638
39dd69df
AS
346392011-08-24 Andreas Schwab <schwab@redhat.com>
34640
34641 * elf/Makefile: Add rules to build and run unload8 test.
34642 * elf/unload8.c: New file.
34643 * elf/unload8mod1.c: New file.
34644 * elf/unload8mod1x.c: New file.
34645 * elf/unload8mod2.c: New file.
34646 * elf/unload8mod3.c: New file.
34647
34648 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34649 it wasn't used.
34650
2c0b250a
DM
346512011-08-23 David S. Miller <davem@davemloft.net>
34652
34653 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34654 subtract stack bias.
34655 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34656 %sp not %fp in calculations.
34657 (_JMPBUF_UNWINDS_ADJ): Likewise.
34658
22044b48
DM
34659 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34660 (aio_suspend): Call it to force an exception region around the
34661 AIO_MISC_WAIT() invocation.
34662
2cae4995
AS
346632011-08-23 Andreas Schwab <schwab@redhat.com>
34664
34665 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34666 backslash.
34667
873a772e
AJ
346682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34669
34670 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34671 protection macro.
34672 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34673 and <dl-machine.h>.
34674 (Elf64_FuncDesc): Remove.
34675
25ad0df1
DM
346762011-08-22 David S. Miller <davem@davemloft.net>
34677
34678 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34679 sigaltstack check, add missing cfi directives.
34680 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34681 missing cfi directives, and sigaltstack handling.
34682
e888bcbe
AS
346832011-08-16 Andreas Schwab <schwab@redhat.com>
34684
34685 [BZ #11724]
34686 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34687 object is seen twice.
34688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34689
34690 * elf/Makefile (distribute): Add tst-initorder2.c.
34691 (tests): Add tst-initorder2.
34692 (modules-names): Add tst-initorder2a tst-initorder2b
34693 tst-initorder2c tst-initorder2d. Add rules to build them.
34694 ($(objpfx)tst-initorder2.out): New rule.
34695 * elf/tst-initorder2.c: New file.
34696 * elf/tst-initorder2.exp: New file.
34697
87162f46
AS
346982011-08-22 Andreas Schwab <schwab@redhat.com>
34699
70538b7f
AS
34700 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34701
f55ffe58
AS
34702 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34703 dependencies back to end of function.
34704
87162f46
AS
34705 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34706 $(elfobjdir)/ld.so.
34707
91b392a4
UD
347082011-08-21 Ulrich Drepper <drepper@gmail.com>
34709
34710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34711 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34713 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34714 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34715 of __vdso_gettimeofday.
34716 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34717 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34718 attribute_hidden.
34719 (_libc_vdso_platform_setup): Remove initialization of
34720 __vdso_gettimeofday and __vdso_time.
34721
5c43483f
UD
347222011-08-20 Ulrich Drepper <drepper@gmail.com>
34723
775a77e7
UD
34724 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34725 and fgetc_unlocked.
34726 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34727 getc_unlocked.
89f447ed 34728
49c74ba9
UD
34729 * elf/dl-open.c (add_to_global): Report additions to the global scope
34730 for LD_DEBUG=scopes.
34731 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34732 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34733
5c43483f
UD
34734 [BZ #13114]
34735 * stdio-common/Makefile (tests): Add bug24.
34736 * stdio-common/bug24.c: New file.
34737
a101b025
AJ
347382011-08-19 Andreas Jaeger <aj@suse.de>
34739
34740 [BZ #13114]
34741 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34742 non-existant file when using close-on-exec mode.
34743
c88f1766
UD
347442011-08-20 Ulrich Drepper <drepper@gmail.com>
34745
0276a718
UD
34746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34747 the very first instruction.
34748
c88f1766
UD
34749 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34750 the CFI state in the end.
34751 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34752 inclusion of dl-trampoline.h.
34753 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34754
51ccffa0
AS
347552011-08-19 Andreas Schwab <schwab@redhat.com>
34756
94d7165f
AS
34757 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34758 expectations for long double.
34759
51ccffa0
AS
34760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34761 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34762
fd708658 347632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34764
34765 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34766 artificual limit depends upon the system page size.
34767
44f0a71e
UD
347682011-08-17 Ulrich Drepper <drepper@gmail.com>
34769
34770 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34771 * resolv/Makefile: Define CFLAGS-libresolv.
34772
8de79a24
AS
347732011-08-17 Andreas Schwab <schwab@redhat.com>
34774
34775 * nss/makedb.c (compute_tables): Make variables used in nested
34776 function static.
34777
27724598
UD
347782011-08-17 Ulrich Drepper <drepper@gmail.com>
34779
c5305d88
UD
34780 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34781 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34782 if buffer was too small.
34783
27724598
UD
34784 * elf/pldd.c (main): Attach to all threads in the process.
34785 Rewrite /proc handling to use *at functions.
34786
076fe015
UD
347872011-08-16 Ulrich Drepper <drepper@gmail.com>
34788
174baab3
UD
34789 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34790 specifies first scope to show.
34791 (dl_open_worker): Update callers. Move printing scope of new
34792 object to before the relocation.
44f0a71e 34793 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34794 * sysdeps/generic/ldsodefs.h: Update declaration.
34795
076fe015
UD
34796 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34797 string for the scope number.
34798
a60df2c3
UD
347992011-08-14 Ulrich Drepper <drepper@gmail.com>
34800
34801 * nscd/servicescache.c (cache_addserv): Make sure written is always
34802 initialized.
34803
5e4287d1
RM
348042011-08-14 Roland McGrath <roland@hack.frob.com>
34805
85ae0589
RM
34806 * sysdeps/i386/i486/bits/atomic.h
34807 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34808 statement expression, so as to suppress "set but not used" warning.
34809 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34810
69f63097
RM
34811 * string/strncat.c (STRNCAT): Use prototype definition.
34812
675456ef
RM
34813 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34814 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34815 -Iprograms here.
34816 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34817 (localedef-modules): Add localedef.
34818 (locale-modules): Add locale.
34819
5e4287d1
RM
34820 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34821 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34822 to avoid a warning.
34823
9c96ff23
DM
348242011-08-14 David S. Miller <davem@davemloft.net>
34825
34826 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34827 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34828
f9ddf089
UD
348292011-08-13 Ulrich Drepper <drepper@gmail.com>
34830
44f0a71e 34831 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34832 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34833 * elf/rtld.c (dl_main): Set l_name of vDSO.
34834 Call _dl_show_scope when DL_DEBUG_SCOPES.
34835 (process_dl_debug): Recognize scopes flag and also set it for all.
34836 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34837 Declare _dl_show_scope.
34838
1dc27704
UD
34839 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34840 (do_dlopen): Pass caller_dlopen to dl_open.
34841 (__libc_dlopen_mode): Initialize caller_dlopen.
34842
f9ddf089
UD
34843 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34844 of libc. Make tolower call locale-independent. Optimize a bit by
34845 using isdigit instead of isalnum.
34846 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34847
9ac533d3
UD
348482011-08-12 Ulrich Drepper <drepper@gmail.com>
34849
34850 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34851 was a dependency or dynamically loaded.
34852
89edf2e9
UD
348532011-08-11 Ulrich Drepper <drepper@gmail.com>
34854
8e999d29
UD
34855 * intl/l10nflist.c: Allow architecture-specific pop function.
34856 * sysdeps/x86_64/l10nflist.c: New file.
34857
89edf2e9
UD
34858 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34859 classification.
34860
14d96785
AS
348612011-08-10 Andreas Schwab <schwab@redhat.com>
34862
34863 * include/dirent.h: Add libc_hidden_proto for scandirat and
34864 scandirat64. Don't declare __scandirat64.
34865 * dirent/scandirat.c: Add libc_hidden_def.
34866 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34867 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34868
6761ac04
DM
348692011-08-10 David S. Miller <davem@davemloft.net>
34870
34871 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34872 enum.
34873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34875 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34876
c55fbd1e
UD
348772011-08-09 Ulrich Drepper <drepper@gmail.com>
34878
34879 * Versions.def [libc]: Add GLIBC_2.15.
34880 * dirent/Makefile (routines): Add scandirat and scandirat64.
34881 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34882 GLIBC_2.15.
34883 * dirent/dirent.h: Declare scandirat and scandirat64.
34884 * dirent/scandirat.c: New file.
34885 * dirent/scandirat64.c: New file.
34886 * sysdeps/wordsize-64/scandirat.c: New file.
34887 * sysdeps/wordsize-64/scandirat64.c: New file.
34888 * dirent/opendir.c: Define opendirat.
34889 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34890 using scandirat.
34891 * dirent/scandir64.c: Adjust for scandir.c change.
34892 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34893 __scandirat64, and __scandir_cancel_handler.
34894 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34895 additional parameter and use openat instead of open (outside of ld.so).
34896 Add new __opendir as wrapper around __opendirat.
34897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34898 here without requiring old scandirat implementation.
34899
879165f2
UD
349002011-08-08 Ulrich Drepper <drepper@gmail.com>
34901
34902 * dirent/scandir.c (cancel_handler): Renamed to
34903 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34904 defined. Adjust users.
34905 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34907
cb7e923b
UD
349082011-08-04 Ulrich Drepper <drepper@gmail.com>
34909
16292edd
UD
34910 * string/test-string.h (IMPL): Use __STRING to expand name and then
34911 stringify it.
34912
cb7e923b
UD
34913 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34914 of cleanups.
34915
cff82933
LD
349162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34917
34918 * string/Makefile: Update.
34919 (strop-tests): Append strncat.
34920 * string/test-wcscmp.c: New file.
34921 New comprehensive test for wcscmp.
34922 * string/test-strcmp.c: Update.
34923 (WIDE): New define.
34924
9be9bfcc
AS
349252011-07-22 Andreas Schwab <schwab@redhat.com>
34926
34927 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34928 line.
34929
2e96f1c7
AS
349302011-07-26 Andreas Schwab <schwab@redhat.com>
34931
34932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34933 encoding to ACE if AI_IDN.
34934
85188888
JJ
349352011-08-01 Jakub Jelinek <jakub@redhat.com>
34936
34937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34938 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34939
5fa16e9b
LD
349402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34941
34942 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34943 Fix overflow bug in strncat.
34944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34945
34946 * string/test-strncat.c: Update.
34947 Add new tests for checking overflow bugs.
34948
349492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34950
34951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34952 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34953 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34954 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34955 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34956 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34957 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34958 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34959 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34960
34961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34962 (USE_AS_STRCAT): Define.
34963 Add strcat and strncat support.
34964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34965
8c1a459f
AS
349662011-07-25 Andreas Schwab <schwab@redhat.com>
34967
34968 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34969 __n bigger than INT_MAX+1.
34970 (__strncmp_g): Likewise.
34971
bba33c28
UD
349722011-07-23 Ulrich Drepper <drepper@gmail.com>
34973
798be72d
UD
34974 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34975 * libio/stido.h: Likewise.
34976
8accd4dc
UD
34977 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34978 (AF_NFC): Define.
34979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34980 (AF_NFC): Define.
34981
cbff0d96
UD
34982 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34983 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34985 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34987
9191c04a
UD
34988 [BZ #13021]
34989 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34990 installed.
34991
bba33c28
UD
34992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34993 typo.
34994 (_dl_x86_64_save_sse): Likewise.
34995
90f139dd
UD
349962011-07-22 Ulrich Drepper <drepper@gmail.com>
34997
1aae088a
UD
34998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34999 OSXSAVE.
35000 (_dl_x86_64_save_sse): Likewise.
35001
8e2045f5
UD
35002 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35003
90f139dd
UD
35004 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35005
1d002f25
AS
350062011-07-21 Andreas Schwab <schwab@redhat.com>
35007
35008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35009 change.
35010 (_dl_x86_64_save_sse): Use correct AVX check.
35011
21137f89
UD
350122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35013
35014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35015 bug in strncpy/strncat.
35016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35017
a65c0b7a
UD
350182011-07-21 Ulrich Drepper <drepper@gmail.com>
35019
35020 * string/tester.c (test_strcat): Add tests for different alignments
35021 of source and destination.
35022 (test_strncat): Likewise.
35023
6986b98a
UD
350242011-07-20 Ulrich Drepper <drepper@gmail.com>
35025
90bb2039
UD
35026 [BZ #12852]
35027 * posix/glob.c (glob): Check passed in values before using them in
35028 expressions to avoid some overflows.
35029 (glob_in_dir): Likewise.
35030
5644ef54
UD
35031 [BZ #13007]
35032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35033 check for AVX enablement so that we don't crash with old kernels and
35034 new hardware.
35035 * elf/tst-audit4.c: Add same checks here.
35036 * elf/tst-audit6.c: Likewise.
35037
35038 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35039
bfc9dc9b
AS
350402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35041
35042 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35043
702e64bb
UD
350442011-07-20 Ulrich Drepper <drepper@gmail.com>
35045
35046 * po/cs.po: Update from translation team.
35047 * po/bg.po: Likewise.
35048
295e904f
MP
350492011-07-12 Marek Polacek <mpolacek@redhat.com>
35050
35051 * misc/sys/cdefs.h: Add support for const attribute.
35052 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35053 to gnu_dev_{major,minor,makedev} functions.
35054
3ff94596
MP
350552011-07-20 Marek Polacek <mpolacek@redhat.com>
35056
35057 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35058
28b59fca
AS
350592011-07-20 Andreas Schwab <schwab@redhat.com>
35060
35061 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35062 strlen results.
35063
19df733e
AK
350642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35065
35066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35067 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35068 register in order to avoid conflicts with the soft frame pointer
35069 being held in r11 when necessary.
35070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35071 (INTERNAL_VSYSCALL_NCS): Likewise.
35072
c8835729
MP
350732011-07-14 Marek Polacek <mpolacek@redhat.com>
35074
35075 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35076 * elf/dl-fini.c (_dl_fini): Adjust caller.
35077 * elf/dl-close.c (_dl_close_worker): Likewise.
35078 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35079
b902330c
MP
350802011-07-15 Marek Polacek <mpolacek@redhat.com>
35081
8991e135
MP
35082 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35083 "aux_cache->nlibs < 0".
35084
b902330c
MP
35085 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35086 in the reload-count case.
35087
99710781
LD
350882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35089
35090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35091 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35092 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35093 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35094 * sysdeps/x86_64/multiarch/strcat.S: New file.
35095 * sysdeps/x86_64/multiarch/strncat.S: New file.
35096 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35098 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35099 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35101 (USE_AS_STRCAT): Define.
35102 Add strcat and strncat support.
35103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35105 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35106 * string/strncat.c: Update.
35107 (USE_AS_STRNCAT): Define.
35108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35109 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35110 and i7.
35111 * sysdeps/x86_64/multiarch/init-arch.h
35112 (bit_Prefer_PMINUB_for_stringop): New.
35113 (index_Prefer_PMINUB_for_stringop): Likewise.
35114 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35115 bit_Prefer_PMINUB_for_stringop.
35116
7dc6bd90
UD
351172011-07-19 Ulrich Drepper <drepper@gmail.com>
35118
35119 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35120 buffer64.
35121 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35122 of casting of buffer.
35123 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35124 buffer32 and buffer64.
35125 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35126 writes instead of casting of buffer.
35127 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35128 buffer32.
35129 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35130 casting of buffer.
35131
e0e72284
AS
351322011-07-19 Andreas Schwab <schwab@redhat.com>
35133
35134 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35135
feb1eb0b
UD
351362011-07-19 Ulrich Drepper <drepper@gmail.com>
35137
35138 * nscd/nscd.c (termination_handler): Don't do anything for a database
35139 if it has not yet been initialized.
35140
298711ff
UD
351412011-07-18 Ulrich Drepper <drepper@gmail.com>
35142
35143 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35144
351452011-07-15 Marek Polacek <mpolacek@redhat.com>
35146
35147 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35148
f9d68389
UD
351492011-07-18 Ulrich Drepper <drepper@gmail.com>
35150
35151 * po/nl.po: Update from translation team.
35152 * po/sv.po: Likewise.
35153
db290cf5
RM
351542011-07-16 Roland McGrath <roland@hack.frob.com>
35155
35156 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35157 now disallowed by GCC.
5c550700 35158
fd5e21c7
RM
35159 * configure.in (use-default-link): Default to yes if a test -shared
35160 link meets our qualifications.
35161 * configure: Regenerated.
35162
5c550700
RM
35163 * config.make.in (output-format): New variable.
35164 * configure.in: Check for ld --print-output-format support.
35165 * configure: Regenerated.
35166 * Makerules ($(common-objpfx)format.lds)
35167 [$(output-format) != unknown]: Just use $(output-format),
35168 instead of the linker-script munging.
35169
9fa2c032
RM
351702011-07-14 Roland McGrath <roland@hack.frob.com>
35171
a6928d51
RM
35172 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35173 of $(common-objpfx)shlib.lds.
35174 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35175
661607b3
RM
35176 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35177 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35178
9fa2c032
RM
35179 * configure.in (-z relro check): Adjust test code to add a large
35180 writable data section after it.
35181 * configure: Regenerated.
35182
defe9061
RM
351832011-07-11 Roland McGrath <roland@hack.frob.com>
35184
35185 * configure.in (-z relro check): Fix test code to make the variable
35186 truly const.
35187 * configure: Regenerated.
35188
319b9ad4
UD
351892011-07-11 Ulrich Drepper <drepper@gmail.com>
35190
35191 * nscd/nscd.h (struct traced_file): Define.
35192 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35193 elements. Add traced_files.
35194 (inotify_fd): Declare.
35195 (register_traced_file): Declare.
35196 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35197 (inotify_fd): Export.
35198 (resolv_conf_descr): Remove.
35199 (nscd_init): Move inotify descriptor creation to main.
35200 Don't register files for notification here.
35201 (register_traced_file): New function.
35202 (invalidate_cache): Don't use reset_res to determine whether to call
35203 res_init, go through the list of registered files.
35204 (main_loop_poll): The inotify descriptors are now stored in the
35205 structures for the traced files.
35206 (main_loop_epoll): Likewise
35207 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35208 to __nss_disable_nscd.
35209 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35210 for a database anymore. Check the records for all the registered
35211 files instead.
35212 * nss/Makefile (libnss_files-routines): Add files-init.
35213 (libnss_db-routines): Add db-init.
35214 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35215 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35216 * nss/nss_db/db-init.c: New file.
35217 * nss/nss_files/files-init.c: New file.
35218 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35219 __nss_lookup_function.
35220 (__nss_lookup_function): Call nss_load_library.
35221 (nss_load_all_libraries): New function.
35222 (__nss_disable_nscd): Take parameter with callback function for files
35223 to register. Set is_nscd. Load all the DSOs for the NSS modules
35224 used for the cached services.
35225 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35226 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35227 options for features to all the files in nscd.
35228
35229 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35230
23bee3e8
RM
352312011-07-10 Roland McGrath <roland@hack.frob.com>
35232
35233 * csu/elf-init.c (__libc_csu_init): Comment typo.
35234
46a5b7f0
UD
352352011-07-09 Ulrich Drepper <drepper@gmail.com>
35236
35237 * po/pl.po: Update from translation team.
35238 * po/ja.po: Likewise.
35239 * po/ru.po: Likewise.
35240 * po/ko.po: Likewise.
35241 * po/fr.po: Likewise.
35242
d30cf5bb
RM
352432011-07-09 Roland McGrath <roland@hack.frob.com>
35244
113ddea4
RM
35245 * configure.in (.ctors/.dtors header and trailer check):
35246 Use an empirical test on a built program.
35247 * configure: Regenerated.
35248
574920b4
RM
35249 * configure.in (-z relro check): Use an empirical test on a built DSO.
35250 Detect, but do not require, on ia64.
35251 * configure: Regenerated.
35252
d30cf5bb
RM
35253 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35254 Update tests that use readelf to use $READELF instead.
35255 * configure: Regenerated.
35256
8538fdb3
UD
352572011-07-08 Ulrich Drepper <drepper@gmail.com>
35258
35259 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35260 if the result is not used.
35261
04d08991
AJ
352622011-07-05 Andreas Jaeger <aj@suse.de>
35263
35264 [BZ#9696]
35265 * stdlib/tst-strtod.c: Add testcase.
35266
de283087
AD
352672011-07-07 Ulrich Drepper <drepper@gmail.com>
35268
4e5f31c8 35269 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35270 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35271 The latter has a higher limit. Take additional parameter to pass to
35272 the new function.
35273 (__pathconf): Pass file to __statfs_link_max.
35274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35275 __statfs_link_max.
35276 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35277 __statfs_link_max.
35278
de283087
AD
35279 [BZ #12868]
35280 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35282 Handle Lustre.
35283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35284 (__statfs_filesize_max): Likewise.
35285 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35286
c75fa153
AJ
352872011-07-05 Andreas Jaeger <aj@suse.de>
35288
35289 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35290
1a544854
UD
352912011-07-06 Marek Polacek <mpolacek@redhat.com>
35292
35293 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35294 `status' variable.
35295 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35296 Likewise.
35297
6f0eec67
UD
352982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35299
35300 * Makefile (strop-tests): Add strncat.
35301 * string/test-strncat.c: New file.
35302
aae30307
UD
353032011-06-30 Marek Polacek <mpolacek@redhat.com>
35304
35305 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35306
c0cfb5eb
UD
353072011-06-21 Andreas Jaeger <aj@suse.de>
35308
35309 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35310 Copy rule from iconvdata/Makefile.
35311
01636b21
UD
353122011-07-06 Ulrich Drepper <drepper@gmail.com>
35313
35314 [BZ #12922]
35315 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35316 but no long options are defined, just return 'W'.
35317
9895c8bc
UD
353182011-06-22 Marek Polacek <mpolacek@redhat.com>
35319
35320 [BZ #9696]
35321 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35322
5d4cf042
UD
353232011-07-06 Ulrich Drepper <drepper@gmail.com>
35324
35325 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35326 netgroups to read.
960e5535 35327 (innetgr): Likewise.
5d4cf042 35328
751eb97e
RM
353292011-07-05 Roland McGrath <roland@hack.frob.com>
35330
35331 * config.make.in (install_root): Default to $(DESTDIR).
35332
f15f1e45
UD
353332011-07-05 Ulrich Drepper <drepper@gmail.com>
35334
35335 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35336
4e34ac6a
RM
353372011-07-02 Roland McGrath <roland@hack.frob.com>
35338
5e9b6af4
RM
35339 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35340
84f9ea0f
RM
35341 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35342 containing directory rather than embedding absolute directory names.
35343
ea5ee9f7
RM
35344 * scripts/check-local-headers.sh: Rewritten using awk.
35345 Match by word, not by line. Print error messages for matches.
35346 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35347
1b74661a
RM
35348 * Makerules [shlib-lds-flags empty]:
35349 ($(common-objpfx)libc_pic.opts): New target.
35350 ($(common-objpfx)libc_pic.os.clean): New target.
35351 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35352
35353 * config.make.in (OBJCOPY): New variable.
35354 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35355 * configure: Regenerated.
35356
f781ef40
RM
35357 * config.make.in (use-default-link): New variable.
35358 * configure.in (use_default_link): Grok --with-default-link to set it.
35359 * configure: Regenerated.
35360 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35361 (shlib-lds, shlib-lds-flags): Define to empty.
35362
2d4fa81e
RM
35363 * Makerules (shlib-lds): New variable.
35364 (shlib-lds-flags): New variable.
35365 (build-shlib, build-moduile, build-module-asneeded): Use it.
35366 ($(common-objpfx)libc.so): Use $(shlib-lds).
35367 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35368 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35369
31fffa6b
RM
35370 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35371 DT_FLAGS/DT_FLAGS_1 with zero flags.
35372
4e34ac6a
RM
35373 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35374 linker script munging.
35375
fcfc776b
UD
353762011-07-02 Ulrich Drepper <drepper@gmail.com>
35377
35378 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35379 as 128-bit value.
35380 * crypt/sha512.c (sha512_process_block): Perform total addition using
35381 128-bit if possible.
35382 (__sha512_finish_ctx): Likewise.
35383 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35384 as 64-bit value.
35385 * crypt/sha256.c (SWAP64): Define.
35386 (sha256_process_block): Perform total addition using 64-bit if
35387 possible.
35388 (__sha256_finish_ctx): Likewise.
35389
99231d9a
UD
353902011-07-01 Ulrich Drepper <drepper@gmail.com>
35391
35392 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35394 * nscd/hstcache.c (cache_addhst): Likewise.
35395 * nscd/grpcache.c (cache_addgr): Likewise.
35396 * nscd/aicache.c (addhstaiX): Likewise
35397 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35398
445b4a53
TK
353992011-07-01 Thorsten Kukuk <kukuk@suse.de>
35400
35401 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35403 * nscd/hstcache.c (cache_addhst): Likewise.
35404 * nscd/grpcache.c (cache_addgr): Likewise.
35405 * nscd/aicache.c (addhstaiX): Likewise
35406
6d4d8e8e
AS
354072011-07-01 Andreas Schwab <schwab@redhat.com>
35408
35409 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35410 domain only when needed.
35411
89f654c5
AS
354122011-06-30 Andreas Schwab <schwab@redhat.com>
35413
35414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35415 is always restored.
35416
cf3b23ff
UD
354172011-06-29 Ulrich Drepper <drepper@gmail.com>
35418
35419 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35420 are re-adding the entry.
35421 * nscd/servicescache.c (cache_addserv): Likewise.
35422
751626f9
AJ
354232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35424
35425 * sysdeps/generic/dl-irel.h: fix protection against multiple
35426 inclusions.
35427 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35428
9113ea1f
UD
354292011-06-28 Ulrich Drepper <drepper@gmail.com>
35430
5c0b8d90
UD
35431 [BZ #12935]
35432 * malloc/memusage.sh: Fix quoting in message.
35433 * debug/xtrace.sh: Likewise.
35434
9113ea1f
UD
35435 * configure.in: Remove support for --experimental-malloc option, make
35436 it the default.
35437 * config.make.in: Likewise.
35438 * malloc/Makefile: Likewise.
35439
a4172181
AS
354402011-06-27 Andreas Schwab <schwab@redhat.com>
35441
35442 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35443 two-byte characters.
35444
78a7eee7
RM
354452011-06-27 Roland McGrath <roland@hack.frob.com>
35446
62bede13
RM
35447 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35448 AC_CACHE_CHECK invocation.
35449 * configure: Regenerated.
35450
78a7eee7
RM
35451 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35452
5ce33a62
UD
354532011-06-27 Ulrich Drepper <drepper@gmail.com>
35454
034807a9
UD
35455 [BZ #12350]
35456 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35457 bit from old_res_options.
35458
4902da17
UD
35459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35460
5ce33a62
UD
35461 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35462 value type for setfct.
35463
c2344f56
L
354642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35465
35466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35467 __gettimeofday instead of gettimeofday.
35468
68468076
UD
354692011-06-26 Ulrich Drepper <drepper@gmail.com>
35470
35471 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35472
acb0d739
L
354732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35474
35475 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35476
35477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35478 info.
35479
8912479f
L
354802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35481
35482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35483 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35484 strcpy-sse2-unaligned strncpy-sse2-unaligned
35485 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35486 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35487 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35488 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35489 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35490 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35491 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35492 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35493 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35494 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35495 (STRCPY): Support SSE2 and SSSE3 versions.
35496
d5495a11
UD
354972011-06-24 Ulrich Drepper <drepper@gmail.com>
35498
35499 [BZ #12874]
35500 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35501 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35502 kernels which artificially limit size of requests.
35503
0b1cbaae
L
355042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35507 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35508 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35509 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35510 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35511 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35512 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35513 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35516 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35517 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35518 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35519 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35520 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35522 Enable unaligned load optimization for Intel Core i3, i5 and i7
35523 processors.
35524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35525 Define.
35526 (index_Fast_Unaligned_Load): Define.
35527 (HAS_FAST_UNALIGNED_LOAD): Define.
35528
07f494a0
MP
355292011-06-23 Marek Polacek <mpolacek@redhat.com>
35530
35531 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35532
fa3fc0fe
UD
355332011-06-22 Ulrich Drepper <drepper@gmail.com>
35534
35535 [BZ #12907]
35536 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35537 until it is clear that the information is realy needed.
35538 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35539
e12df166
AS
355402011-06-22 Andreas Schwab <schwab@redhat.com>
35541
35542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35543
852eb34d
UD
355442011-06-22 Ulrich Drepper <drepper@gmail.com>
35545
84e2a551
UD
35546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35547 /sys/devices/system/cpu/online if it is usable.
35548
852eb34d
UD
35549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35550 reading the information from the /proc filesystem to once a second.
35551
6e502e19
UD
355522011-06-21 Andreas Jaeger <aj@suse.de>
35553
35554 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35555 NULL after inclusion of kernel headers.
35556
75d39ff2
UD
355572011-06-21 Ulrich Drepper <drepper@gmail.com>
35558
51f9aa6a
UD
35559 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35560 calls to internal_setent.
35561
c0244a9d
UD
35562 [BZ #12885]
35563 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35564 addresses using gethostbyname4_r ignore IPv4 addresses.
35565
c5e3c2ae
UD
35566 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35567 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35568
75d39ff2
UD
35569 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35570
42675c6f
DM
355712011-06-20 David S. Miller <davem@davemloft.net>
35572
35573 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35574 inclusions.
35575 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35576
35577 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35578 (elf_irel): Use it.
35579 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35580 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35581 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35582 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35583 * sysdeps/x86_64/dl-irel.h: Likewise.
35584
35585 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35586 * elf/dl-sym.c: Likewise.
35587
57912a71
UD
355882011-06-15 Ulrich Drepper <drepper@gmail.com>
35589
35590 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35591 need to dereference resplen2.
35592
ee22793d
AS
355932011-06-14 Andreas Schwab <schwab@redhat.com>
35594
35595 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35596
a9e836b0
UD
355972011-06-15 Ulrich Drepper <drepper@gmail.com>
35598
77fb9117
UD
35599 * Makeconfig: Define vardbdir and inst_vardbdir.
35600 * nss/Makefile: Add rules to install db-Makefile.
35601
40c1b22c
UD
35602 * nss/nss_db/db-XXX.c: Cleanup.
35603
9f2da732
UD
35604 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35605 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35606 GLIBC_PRIVATE.
35607 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35608 * nss/makedb.c: Implement -g option to specify that value strings
35609 are generated and should not be added to table iterated over for
35610 get*ent calls.
35611 * nss/nss_db/db-initgroups.c: New file.
35612
82e9a1f7
UD
35613 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35614 interface.
35615
c41af17e
UD
35616 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35617 (internal_getgrouplist): Adjust to name change.
35618 Update use_initgroups_entry if this is not the first call.
35619 * nss/databases.def: Add initgroups entry.
35620
a9e836b0
UD
35621 * nss/makedb.c (compute_tables): Check result of multiple hash table
35622 sizes to minimize maximum chain length.
35623
2666d441
UD
356242011-06-14 Ulrich Drepper <drepper@gmail.com>
35625
35626 * Versions.def: Add entry for libnss_db.
35627 * shlib-versions: Likewise.
35628 * nss/Makefile: Add rules to build libnss_db.
35629 * nss/Versions: Add libnss_db information. Organize libnss_files
35630 entries better.
35631 * nss/db-Makefile: Add gshadow support. Change rules for the new
35632 makedb progra. Some minor improvements to generate smaller files.
35633 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35634 here from...
35635 * nss/makedb.c: ...here.
35636 Improve database format to be smaller and require less memory at
35637 runtime.
35638 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35639 db anymore.
35640 * nss/nss_db/db-netgrp.c: Likewise.
35641 * nss/nss_db/db-open.c: Likewise.
35642 * nss/nss_files/flies-XXX.x: Adjust comments.
35643 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35644 * nss/nss_files/files-grp.c: Likewise.
35645 * nss/nss_files/files-hosts.c: Likewise.
35646 * nss/nss_files/files-network.c: Likewise.
35647 * nss/nss_files/files-proto.c: Likewise.
35648 * nss/nss_files/files-pwd.c: Likewise.
35649 * nss/nss_files/files-rpc.c: Likewise.
35650 * nss/nss_files/files-service.c: Likewise.
35651 * nss/nss_files/files-sgrp.c: Likewise.
35652 * nss/nss_files/files-spwd.c: Likewise.
35653 * nss/nss_db/db-alias.c: Removed.
35654 * nss/nss_db/dummy-db.h: Removed.
35655
9ee76b5a
UD
356562011-06-02 Ulrich Drepper <drepper@gmail.com>
35657
35658 * nss/makedb.c: Rewritten to not use database library.
35659 * nss/Makefile: Update to build new makedb program.
35660
c71ca1f8
AJ
356612011-06-14 Andreas Jaeger <aj@suse.de>
35662
35663 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35664 memset declaration.
35665
3154bfb8
UD
356662011-06-10 Andreas Schwab <schwab@redhat.com>
35667
35668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35669 tmpbuf.
35670
b350afab
RM
356712011-06-10 Roland McGrath <roland@hack.frob.com>
35672
decd4e50
RM
35673 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35674 * elf/Makefile ($(objpfx)ld.so): Likewise.
35675
5615eaf2
RM
35676 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35677 Don't list ld.so twice in dependencies.
35678
35679 * posix/bug-regex31.c: Include <stdlib.h>.
35680
35681 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35682
35683 * nis/nss_compat/compat-spwd.c
35684 (getspent_next_nss_netgr): Remove unused variable.
35685 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35686
35687 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35688 nonmembers" output to use the right array.
35689
35690 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35691
35692 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35693
35694 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35695 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35696 * catgets/gencat.c (read_input_file): Likewise.
35697 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35698
35699 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35700 variable definition inside #if's controlling its use.
35701
35702 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35703
35704 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35705
35706 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35707
35708 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35709 unreachable code.
35710
35711 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35712
b68e08db
RM
35713 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35714 * configure: Regenerated.
35715
b350afab
RM
35716 * Makerules: Revert last change.
35717 * elf/Makefile: Likewise.
35718
28368601
RM
357192011-06-09 Roland McGrath <roland@hack.frob.com>
35720
35721 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35722 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35723 (reloc-link): Likewise.
35724
11988f8f
UD
357252011-06-09 Ulrich Drepper <drepper@gmail.com>
35726
35727 * elf/Makefile: Add rules to build pldd.
35728 * elf/pldd.c: New file.
35729 * elf/pldd-xx.c: New file.
35730
e80fab37
UD
357312011-06-07 Ulrich Drepper <drepper@gmail.com>
35732
35733 * version.h: Update for 2.15 development version.
35734
9b849836
DM
357352011-06-07 David S. Miller <davem@davemloft.net>
35736
35737 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35738 ifuncs.
35739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35740 elf_machine_lazy_rel): Likewise.
35741 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35743 elf_machine_lazy_rel): Likewise.
35744 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35745 dl_hwcap via passed in argument.
35746 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35747 Likewise.
35748
5a31b283
AK
357492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35750
35751 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35752
069e52f8
RM
357532011-06-06 Roland McGrath <roland@hack.frob.com>
35754
35755 [BZ #12849]
35756 * manual/fdl-1.1.texi: New file, verbatim from:
35757 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35758 * manual/lgpl-2.1.texi: New file, verbatim from:
35759 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35760 * manual/Makefile (licenses): New variable, list those new file names.
35761 (texis): Use it.
35762 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35763
35764 * manual/fdl.texi: File removed.
35765 * manual/lesser.texi: File removed.
35766 * manual/libc.texinfo (Copying, Documentation License):
35767 Use new @include file names, put @appendix directive before @include.
35768
f16846a5
JJ
357692011-06-04 Jakub Jelinek <jakub@redhat.com>
35770
35771 [BZ #12841]
35772 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35773 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35774 (mq_open): Add __NTH.
35775
3d29045b
L
357762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35777
35778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35779 Assume Intel Core i3/i5/i7 processor if AVX is available.
35780
8c297311
UD
357812011-05-31 Ulrich Drepper <drepper@gmail.com>
35782
35783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35784 typo.
35785
c8fc0c91
UD
357862011-05-31 Andreas Schwab <schwab@redhat.com>
35787
35788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35789 memory. Use alloca_account. Fix memory leak when retrying.
35790
5b27a807
UD
357912011-05-31 Ulrich Drepper <drepper@gmail.com>
35792
356f8bc6
UD
35793 * version.h (RELEASE): Bump for 2.14 release.
35794 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35795
5b27a807
UD
35796 * config.make.in (RANLIB): Remove entry.
35797
01f16ab0
UD
357982011-05-30 Ulrich Drepper <drepper@gmail.com>
35799
41fce8bd
UD
35800 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35801 (libc.pot): Work around missing support for .ksh extension in xgettext.
35802
4769ae77
UD
35803 [BZ #12684]
35804 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35805 if both request failed.
35806 (send_dg): In case of server errors clear resplen or *resplen2.
35807
6b1e7d19
UD
35808 [BZ #12454]
35809 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35810 when there are multiple maps.
35811 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35812 (_dl_fini): Remove test here.
35813
01f16ab0
UD
35814 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35815
b1ebd700
UD
358162011-05-29 Ulrich Drepper <drepper@gmail.com>
35817
7ae22829
UD
35818 [BZ #12350]
35819 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35820 bit from old_res_options.
35821 (gaih_inet): Likewise.
35822
553149f6 35823 [BZ #11099]
18a84741 35824 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35825 as signed.
35826
652ffab1
UD
35827 * resolv/res_init.c (res_setoptions): Make the code more compact.
35828
16985fd0
UD
35829 [BZ #11558]
35830 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35831 set RES_USEVC.
35832
0464f746
UD
35833 [BZ #11634]
35834 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35835
7d17596c
UD
35836 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35837
cf6bbbd7
UD
35838 [BZ #11781]
35839 * malloc/malloc.h: Declare malloc hook variables as volatile.
35840
13f1ab36
UD
35841 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35842 in last patch.
35843
b1ebd700
UD
35844 [BZ #11799]
35845 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35846 raise in the comment.
80e2212d
UD
35847 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35848 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35849 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35850
ce67228d
UD
358512011-05-28 Ulrich Drepper <drepper@gmail.com>
35852
8887a920
UD
35853 [BZ #12811]
35854 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35855 grow the buffers more if it already has to be sufficient.
35856 (build_wcs_upper_buffer): Likewise.
35857 * posix/regexec.c (check_matching): Likewise.
35858 (clean_state_log_if_needed): Likewise.
35859 (extend_buffers): Don't enlarge buffers beyond size of the input
35860 buffer.
35861 Patches mostly by Emil Wojak <emil@wojak.eu>.
35862 * posix/bug-regex32.c: New file.
35863 * posix/Makefile (tests): Add bug-regex32.
35864
4f031072
UD
35865 * locale/findlocale.c (_nl_find_locale): Return right away if
35866 _nl_explode_name failed.
35867 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35868
d0478f0c
UD
35869 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35870
de81b246
UD
35871 * debug/xtrace.sh: Unify messages.
35872 * malloc/memusage.sh: Likewise.
35873
c738465a
UD
35874 [BZ #12813]
35875 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35876 time symbol from vDSO. Substitute with vsyscall if not available.
35877 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35878 __vdso_time.
35879
f1f929d7
UD
35880 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35881 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35882 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35883 Add sendmmsg and internal_sendmmsg.
35884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35885 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35887
ce67228d
UD
35888 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35889 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35890 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35891
e57420c6
UD
358922011-05-27 Ulrich Drepper <drepper@gmail.com>
35893
a8509ca5
UD
35894 [BZ #12813]
35895 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35896 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35897 available.
35898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35899 __vdso_getcpu.
35900
e57420c6
UD
35901 [BZ #12814]
35902 * iconvdata/Makefile (tests): Add bug-iconv9.
35903 * iconvdata/bug-iconv9.c: New file.
35904
4d07db15
AS
359052011-05-27 Andreas Schwab <schwab@redhat.com>
35906
35907 [BZ #12814]
35908 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35909
ea486f69
JJ
359102011-05-25 Jakub Jelinek <jakub@redhat.com>
35911
35912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35913 (struct user_regs_struct): Change intcs field back to cs.
35914
6f038433
UD
359152011-05-25 Ulrich Drepper <drepper@gmail.com>
35916
35917 * po/ja.po: Update from translation team.
35918
67f86a25
UD
359192011-05-23 Ulrich Drepper <drepper@gmail.com>
35920
35921 [BZ #12795]
35922 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35923 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35924
def7fbd6
AS
359252011-05-20 Andreas Schwab <schwab@redhat.com>
35926
35927 * stdlib/longlong.h: Update from GCC.
35928
f50ef8f1
AS
359292011-05-23 Andreas Schwab <schwab@redhat.com>
35930
35931 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35932 parameter name.
35933 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35934 Add parameter name.
35935 (__sysconf): Pass it down.
35936
de7ce8f1
UD
359372011-05-22 Ulrich Drepper <drepper@gmail.com>
35938
f2962a71
UD
35939 [BZ #12671]
35940 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35941 some situations.
35942 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35943 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35944 add in in __libc_use_alloca calls. Adjust callers.
35945 (glob): Use malloc in some situations.
35946
de7ce8f1
UD
35947 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35948 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35949 pltexit.
35950
aec84f53
UD
359512011-05-21 Ulrich Drepper <drepper@gmail.com>
35952
05bb4a68
UD
35953 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35954 and CLOCK_BOOTTIME_ALARM.
35955
7ea72f99
UD
35956 [BZ #12782]
35957 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35958 is returned.
35959
7e4afad5
UD
35960 * string/_strerror.c (__strerror_r): Print negative errors as signed
35961 numbers.
35962
8e211fec
UD
35963 [BZ #12777]
35964 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35965 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35966 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35967
f7d82dc9
UD
35968 * configure.in: Fix typo in redirection and correct removal of test
35969 files in two cases.
35970
cc9e536d
UD
35971 [BZ #12788]
35972 * locale/setlocale.c (new_composite_name): Fix test to check for
35973 identical name of all categories.
35974
aec84f53
UD
35975 [BZ #12792]
35976 * libio/filedoalloc.c (local_isatty): New function.
35977 (_IO_file_doallocate): Use local_isatty.
35978 * stdio-common/perror.c (perror): In case a new stream is used
35979 forward the stream error.
35980 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35981 error flag.
35982
78e64fdc
RT
359832011-05-20 Ulrich Drepper <drepper@gmail.com>
35984
34a9094f
UD
35985 [BZ #11869]
35986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35987 alloca.
35988 * include/alloca.h (extend_alloca_account): Define.
35989
78e64fdc
RT
35990 [BZ #11857]
35991 * posix/regex.h: Fix comments with documentation of user-accessible
35992 fields after compilation and describe correct free'ing of pattern
35993 after re_compile_pattern.
35994 Patch by Reuben Thomas <rrt@sc3d.org>.
35995
457bddfc
RA
359962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35997
35998 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35999 and -mno-altivec to prevent the compiler from using Altivec and/or
36000 VSX instructions when the corresponding registers are not available.
36001
a4527b51
AS
360022011-05-19 Andreas Schwab <schwab@redhat.com>
36003
36004 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36005
ed690b2f
UD
360062011-05-19 Ulrich Drepper <drepper@gmail.com>
36007
36008 * libio/freopen.c (freopen): Use __dup2, not dup2.
36009 * libio/freopen64.c (freopen64): Likewise.
36010
8db73634
L
360112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 [BZ #12775]
36014 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36015 * math/Makefile (tests): Add test-powl.
36016 (CFLAGS-test-powl.c): Define.
36017 * math/test-powl.c: New file.
36018
0a197a9d
L
360192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36020
36021 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36022
ee30c380
UD
360232011-05-17 Ulrich Drepper <drepper@gmail.com>
36024
36025 [BZ #11837]
36026 * iconvdata/gb18030.c: Update to GB18020-2005.
36027
6ce75379
UD
360282011-05-16 Ulrich Drepper <drepper@gmail.com>
36029
a4b89fd8
AR
36030 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36031 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36032 Patch by Aharon Robbins <arnold@skeeve.com>.
36033
ea389b12
UD
36034 [BZ #11892]
36035 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36036 on the stack.
36037
68a3f91f
UD
36038 [BZ #11895]
36039 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36040 through underflows.
36041
15cc7dd1
UD
36042 [BZ #12766]
36043 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36044 point to strings before performing equality test for error_one_per_line
36045 mode.
36046
f3799213
UD
36047 [BZ #11697]
36048 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36049
d79a9c94
UD
36050 [BZ #11820]
36051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36052 (struct user_fpregs_struct): Avoid __uint*_t types.
36053
56e5eb46
UD
36054 [BZ #6420]
36055 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36056 symbol info. Use it instead of calling _dl_addr locally.
36057 (lock_and_info): New function.
36058 (tr_freehook): Call lock_and_info and pass symbol info as additional
36059 parameter to tr_where.
36060 (tr_mallochook): Likewise.
36061 (tr_reallochook): Likewise.
36062 (tr_memalignhook): Likewise.
36063
6ce75379
UD
36064 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36065 used and couldn't be at all thread-safe.
36066
f8a3b5bf
UD
360672011-05-15 Ulrich Drepper <drepper@gmail.com>
36068
94b7cc37
UD
36069 * libio/freopen.c (freopen): Don't close old file descriptor
36070 before the new one is opened. Instead dup the new file descriptor
36071 to the old one after the new stream is created.
36072 * libio/freopen64.c (freopen64): Likewise.
36073 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36074 * libio/fileops.c (_IO_new_file_close_it): Handle new
36075 _IO_FLAGS2_NOCLOSE flag.
36076 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36077 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36078 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36079 _IO_FLAGS2_NOCLOSE flag.
36080 * include/unistd.h: Add hidden_proto for dup3.
36081 Define __have_dup3.
36082 * io/dup3.c: Define hidden symbol.
36083 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36084
bd25564e
UD
36085 [BZ #7101]
36086 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36087 when an incomplete long option is used.
36088 * posix/tst-getopt_long1.c: New file.
36089 * posix/Makefile (tests): Add tst-getopt_long1.
36090
c84cfef4
UD
36091 [BZ #10138]
36092 * scripts/config.guess: Update from autoconf-2.68.
36093 * scripts/config.sub: Likewise.
36094
3b85df27
UD
36095 [BZ #10157]
36096 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36097 tests into ...
36098 (has_cpuclock): ...this. New function.
36099 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36100 macro here based on has_cpuclock code.
36101
15a856b1
UD
36102 [BZ #10149]
36103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36104 First byte (not low byte) is now always NUL.
36105 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36106
05f399e6
UD
36107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36108 Use non-cancelable interfaces.
36109
10a52685 36110 [BZ #9809]
94ecc67d
UD
36111 * locale/iso-639.def: Add entry for Sorani.
36112
f8a3b5bf
UD
36113 [BZ #11901]
36114 * include/stdlib.h: Move include protection to the right place.
36115 Define abort_msg_s. Declare __abort_msg with it.
36116 * stdlib/abort.c (__abort_msg): Adjust type.
36117 * assert/assert.c (__assert_fail_base): New function. Majority
36118 of code from __assert_fail. Allocate memory for __abort_msg with
36119 mmap.
36120 (__assert_fail): Now call __assert_fail_base.
36121 * assert/assert-perr.c: Remove bulk of implementation. Use
36122 __assert_fail_base.
36123 * include/assert.hL Declare __assert_fail_base.
36124 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36125 mmap.
36126 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36127
1af4e298
UD
361282011-05-14 Ulrich Drepper <drepper@gmail.com>
36129
f8a3b5bf 36130 [BZ #11952]
d26dfc60
MG
36131 [BZ #12453]
36132 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36133 until all modules are registered in the DTV.
36134 * elf/Makefile: Add rules to build and run tst-tls19.
36135 * elf/tst-tls19.c: New file.
36136 * elf/tst-tls19mod1.c: New file.
36137 * elf/tst-tls19mod2.c: New file.
36138 * elf/tst-tls19mod3.c: New file.
36139 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36140
2fc54d6f
UD
36141 [BZ #12083]
36142 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36143 correctly.
36144
98d76b46
UD
36145 [BZ #12601]
36146 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36147 two-byte sequence errors.
36148 * iconvdata/Makefile (tests): Add bug-iconv8.
36149 * iconvdata/bug-iconv8.c: New file.
36150
da3c19ef
UD
36151 [BZ #12626]
36152 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36153 buf2 definition.
36154
ca408c15
UD
36155 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36156
d6f67f7d
UD
36157 [BZ #12432]
36158 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36159 (dummy_getcfa): New function.
36160 (init): Get _Unwind_GetCFA address, use dummy if not found.
36161 (backtrace_helper): In recursion check, also check whether CFA changes.
36162 (__backtrace): Completely initialize arg.
36163
1af4e298 36164 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36165 storing incomplete byte sequence in state object. Avoid testing for
36166 guaranteed too small input if we know there is enough data available.
1af4e298 36167
da62f81b
AS
361682011-05-11 Andreas Schwab <schwab@redhat.com>
36169
36170 * Makeconfig (+link-pie): Indent.
36171 * Rules (binaries-pie): Define if $(have-fpie) and
36172 $(build-shared).
36173 (binaries-shared): Also filter out $(binaries-pie).
36174 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36175 * nscd/Makefile (others-pie): Add nscd.
36176 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36177 ($(objpfx)nscd): Remove command override.
36178 * login/Makefile (others-pie): Add pt_chown.
36179 ($(objpfx)pt_chown): Remove command override.
36180 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36181 remove command overrides.
36182
fcabc0f8
UD
361832011-05-13 Ulrich Drepper <drepper@gmail.com>
36184
20030ae6
UD
36185 * libio/tst_putwc.c: Fix error messages.
36186
fcabc0f8
UD
36187 [BZ #12724]
36188 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36189 currently writing and seek to current position when not.
36190 * libio/Makefile (tests): Add bug-fclose1.
36191 * libio/bug-fclose1.c: New file.
36192
320a5dc0
PB
361932011-05-12 Ulrich Drepper <drepper@gmail.com>
36194
36195 [BZ #12511]
36196 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36197 don't set DF_1_NODELETE here.
36198 (do_lookup_x): When entering new entry test for copy relocation
36199 and if necessary set DF_1_NODELETE flag.
36200 * elf/tst-unique4.cc: New file.
36201 * elf/tst-unique4.h: New file.
36202 * elf/tst-unique4lib.cc: New file.
36203 * elf/Makefile: Add rules to build and run tst-unique4.
36204 Patch by Piotr Bury <pbury@goahead.com>.
36205
22836f52
UD
362062011-05-11 Ulrich Drepper <drepper@gmail.com>
36207
f574184a
UD
36208 [BZ #12052]
36209 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36210
e1fb097f
UD
36211 [BZ #12625]
36212 * misc/mntent_r.c (addmntent): Flush the stream after the output
36213
22836f52
UD
36214 [BZ #12393]
36215 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36216 (is_trusted_path_normalize): Skip initial colon. Append slash
36217 to empty buffer. Duplicate is_trusted_path code but allow
36218 constructed patch to be prefix.
36219 (is_dst): Allow $ORIGIN followed by /.
36220 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36221 Correct testing of result of is_trusted_path_normalize
36222 (decompose_rpath): Fix warning.
36223
7b3b0b2a
UD
362242011-05-10 Ulrich Drepper <drepper@gmail.com>
36225
36226 [BZ #11257]
36227 * grp/initgroups.c (internal_getgrouplist): When we found the service
36228 list through the initgroups entry in nsswitch.conf do not always
36229 continue on a successful lookup. Don't always use the
eac80ce2 36230 __nss_group_database value if it is set.
7b3b0b2a
UD
36231 * nss/nsswitch.conf (initgroups): Change action for successful db
36232 lookup to continue for compatibility.
36233
2a81eaa5
UD
362342011-05-09 Ulrich Drepper <drepper@gmail.com>
36235
be97a69e
UD
36236 [BZ #11532]
36237 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36238 and CP774 modules.
36239 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36240 and CP774 modules.
36241 * iconvdata/tst-tables.sh: Likewise.
36242 * iconvdata/cp770.c: New file.
36243 * iconvdata/cp771.c: New file.
36244 * iconvdata/cp772.c: New file.
36245 * iconvdata/cp773.c: New file.
36246 * iconvdata/cp774.c: New file.
36247 * iconvdata/testdata/CP770: New file.
36248 * iconvdata/testdata/CP770..UTF8: New file.
36249 * iconvdata/testdata/CP771: New file.
36250 * iconvdata/testdata/CP771..UTF8: New file.
36251 * iconvdata/testdata/CP772: New file.
36252 * iconvdata/testdata/CP772..UTF8: New file.
36253 * iconvdata/testdata/CP773: New file.
36254 * iconvdata/testdata/CP773..UTF8: New file.
36255 * iconvdata/testdata/CP774: New file.
36256 * iconvdata/testdata/CP774..UTF8: New file.
36257
36258 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36259 END CHARMAP line.
36260 * iconvdata/gen-8bit-gap.sh: Likewise.
36261 * iconvdata/gen-8bit.sh: Likewise.
36262
c1e9e399
UD
36263 * locale/iso-639.def: Add ary entry.
36264
24c55fb3 36265 [BZ #11258]
96b4b1b0
UD
36266 * locale/C-translit.h.in: Add U20A1 transliteration.
36267
bdc2f971
KB
36268 [BZ #12178]
36269 * locale/iso-639.def: Add wae entry.
36270 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36271
2952b117
UD
36272 [BZ #12545]
36273 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36274 for n.
36275
2a81eaa5
UD
36276 [BZ #12711]
36277 * locale/C-translit.h.in: Add entry for U20B9.
36278 Patch by pravin.d.s@gmail.com.
36279
28377d1b
UD
362802011-05-08 Ulrich Drepper <drepper@gmail.com>
36281
7fb90fb8
UD
36282 [BZ #12713]
36283 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36284 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36285 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36286 in rtld. Use *stat64.
7fb90fb8 36287 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36288 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36289 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36290 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36291 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36292 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36293 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36294 __fstatat64 macros.
7fb90fb8
UD
36295 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36296 * dirent/rewinddir.c: Add libc_hidden_def.
36297 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36298 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36299
28377d1b
UD
36300 * include/dirent.h (__alloc_dir): Add flags parameter.
36301 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36302 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36303 __alloc_dir.
36304 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36305 from fdopendir if O_CLOEXEC is already set.
36306
66bdbaa4
AM
363072011-03-15 Alan Modra <amodra@gmail.com>
36308
36309 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36310 l_tls_firstbyte_offset non-zero. Save padding offset in
36311 l_tls_firstbyte_offset for later use.
36312 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36313 freeing static tls block.
36314
95721191
JN
363152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36316
36317 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36318 where #ifdef was intended. The intent is to prevent ARG_MAX from
36319 being defined by the kernel headers.
36320
f87dfb1f
UD
363212011-05-07 Ulrich Drepper <drepper@gmail.com>
36322
36323 [BZ #12734]
36324 * resolv/resolv.h: Define RES_NOTLDQUERY.
36325 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36326 no-tld-query and set RES_NOTLDQUERY.
36327 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36328 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36329 modern BIND to search name as TLD unless forbidden.
36330
47c3cd7a
UD
363312011-05-07 Petr Baudis <pasky@suse.cz>
36332 Ulrich Drepper <drepper@gmail.com>
36333
36334 [BZ #12393]
36335 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36336 (is_trusted_path): ...to here.
c1e9ea35 36337 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36338 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36339 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36340
8a35c912
PP
363412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36342
36343 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36344 __BEGIN/__END_DECLS.
36345
acd41f47
UD
363462011-05-06 Ulrich Drepper <drepper@gmail.com>
36347
36348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36349 NSS_STATUS_NOTFOUND if no record was found.
36350
597df647
AS
363512011-05-05 Andreas Schwab <schwab@redhat.com>
36352
36353 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36354 (headers-not-in-tirpc): Remove rpc/netdb.h
36355 * resolv/netdb.h: Revert last change.
36356
b9af1301
PP
363572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36358
36359 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36360 circular dependency between libgcc.a and libc.a.
36361
4e34d5f5
AS
363622011-05-05 Andreas Schwab <schwab@redhat.com>
36363
36364 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36365 * nis/Makefile: Don't install rpcsvc/*.
36366 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36367 instead of <rpc/types.h>.
36368 (MAXHOSTNAMELEN): Define.
36369
00ee369c
AS
363702011-05-03 Andreas Schwab <schwab@redhat.com>
36371
36372 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36373
0b592a30
MB
363742011-04-28 Maciej Babinski <mbabinski@google.com>
36375
36376 [BZ #12714]
36377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36378 gethostbyname4_r when IPv6 results are possible.
36379
6e04cbbe
UD
363802011-05-02 Ulrich Drepper <drepper@gmail.com>
36381
36382 [BZ #12723]
36383 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36384 _PC_PIPE_BUF handling.
36385
e4ecafe0
BH
363862011-04-30 Bruno Haible <bruno@clisp.org>
36387
36388 [BZ #12717]
36389 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36390 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36391 to 'int'.
36392 * inet/getnameinfo.c (getnameinfo): Likewise.
36393
125ee683
UD
363942011-04-29 Ulrich Drepper <drepper@gmail.com>
36395
36396 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36397 to groups setting in database lookup.
36398 * nss/nsswitch.conf: Add initgroups entry.
36399
b722481a
EB
364002011-04-22 Ulrich Drepper <drepper@gmail.com>
36401
36402 [BZ #12685]
36403 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36404 mode string.
36405 Patch by Eric Blake <eblake@redhat.com>.
36406
4df46dbd
L
364072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36408
36409 * sunrpc/Makefile (need-export-routines): Add svc_run.
36410 (routines): Remove svc_run.
36411 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36412 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36413 * sunrpc/svc_run.c (svc_run): Likewise.
36414 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36415
e84142d2
UD
364162011-04-21 Ulrich Drepper <drepper@gmail.com>
36417
36418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36419 problem in reallocation in last patch.
36420
877175d8
UD
364212011-04-20 Ulrich Drepper <drepper@gmail.com>
36422
36423 * sunrpc/Makefile: Move inclusion of Rules.
36424
ab8eed78
UD
364252011-04-19 Ulrich Drepper <drepper@gmail.com>
36426
36427 * nss/nss_files/files-initgroups.c: New file.
36428 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36429 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36430 _nss_files_initgroups_dyn.
36431
e3d8f584
RS
364322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36433
36434 * elf/elf.h (R_ARM_IRELATIVE): Define.
36435
af190f45
UD
364362011-04-19 Ulrich Drepper <drepper@gmail.com>
36437
36438 * po/ru.po: Update from translation team.
36439
53cf59ef
UD
364402011-04-17 Ulrich Drepper <drepper@gmail.com>
36441
36442 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36443 dependencies.
36444
4c559bcd
MF
364452011-02-06 Mike Frysinger <vapier@gentoo.org>
36446
36447 [BZ #12653]
36448 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36449 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36450 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36453
4420675c
AS
364542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36455
36456 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36457 differing bytes.
36458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36461
75ea32ab
UD
364622011-04-17 Ulrich Drepper <drepper@gmail.com>
36463
36464 [BZ #12420]
36465 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36466 storing it.
36467 * stdlib/bug-getcontext.c: New file.
36468 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36469
27390476
AK
364702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36471
36472 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36473 instructions into .machine "z9-109".
36474 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36475 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36476
10442705
AK
364772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36478
36479 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36480 between environment variables and auxiliary vector.
36481
7b57bfe5
UD
364822011-04-16 Ulrich Drepper <drepper@gmail.com>
36483
36484 * Makefile: Add rules to build linkobj/libc.so.
36485 * include/libc-symbols.h: Define libc_hidden_nolink.
36486 * include/rpc/auth.h: Mark functions which are to be hidden.
36487 * include/rpc/auth_des.h: Likewise.
36488 * include/rpc/auth_unix.h: Likewise.
36489 * include/rpc/clnt.h: Likewise.
36490 * include/rpc/des_crypt.h: Likewise.
36491 * include/rpc/key_prot.h: Likewise.
36492 * include/rpc/pmap_clnt.h: Likewise.
36493 * include/rpc/pmap_prot.h: Likewise.
36494 * include/rpc/pmap_rmt.h: Likewise.
36495 * include/rpc/rpc_msg.h: Likewise.
36496 * include/rpc/svc.h: Likewise.
36497 * include/rpc/svc_auth.h: Likewise.
36498 * include/rpc/xdr.h: Likewise.
36499 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36500 * nss/Makefile: Likewise.
36501 * sunrpc/Makefile: Don't install headers. Build library with normal
36502 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36503 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36504 for the compat linking library. Remove use of INTDEF/INTUSE.
36505 * sunrpc/auth_none.c: Likewise.
36506 * sunrpc/auth_unix.c: Likewise.
36507 * sunrpc/authdes_prot.c: Likewise.
36508 * sunrpc/authuxprot.c: Likewise.
36509 * sunrpc/clnt_gen.c: Likewise.
36510 * sunrpc/clnt_perr.c: Likewise.
36511 * sunrpc/clnt_raw.c: Likewise.
36512 * sunrpc/clnt_simp.c: Likewise.
36513 * sunrpc/clnt_tcp.c: Likewise.
36514 * sunrpc/clnt_udp.c: Likewise.
36515 * sunrpc/clnt_unix.c: Likewise.
36516 * sunrpc/des_crypt.c: Likewise.
36517 * sunrpc/des_soft.c: Likewise.
36518 * sunrpc/get_myaddr.c: Likewise.
36519 * sunrpc/key_call.c: Likewise.
36520 * sunrpc/key_prot.c: Likewise.
36521 * sunrpc/netname.c: Likewise.
36522 * sunrpc/pm_getmaps.c: Likewise.
36523 * sunrpc/pm_getport.c: Likewise.
36524 * sunrpc/pmap_clnt.c: Likewise.
36525 * sunrpc/pmap_prot.c: Likewise.
36526 * sunrpc/pmap_prot2.c: Likewise.
36527 * sunrpc/pmap_rmt.c: Likewise.
36528 * sunrpc/publickey.c: Likewise.
36529 * sunrpc/rpc_cmsg.c: Likewise.
36530 * sunrpc/rpc_common.c: Likewise.
36531 * sunrpc/rpc_dtable.c: Likewise.
36532 * sunrpc/rpc_prot.c: Likewise.
36533 * sunrpc/rpc_thread.c: Likewise.
36534 * sunrpc/rtime.c: Likewise.
36535 * sunrpc/svc.c: Likewise.
36536 * sunrpc/svc_auth.c: Likewise.
36537 * sunrpc/svc_authux.c: Likewise.
36538 * sunrpc/svc_raw.c: Likewise.
36539 * sunrpc/svc_run.c: Likewise.
36540 * sunrpc/svc_simple.c: Likewise.
36541 * sunrpc/svc_tcp.c: Likewise.
36542 * sunrpc/svc_udp.c: Likewise.
36543 * sunrpc/svc_unix.c: Likewise.
36544 * sunrpc/svcauth_des.c: Likewise.
36545 * sunrpc/xcrypt.c: Likewise.
36546 * sunrpc/xdr.c: Likewise.
36547 * sunrpc/xdr_array.c: Likewise.
36548 * sunrpc/xdr_float.c: Likewise.
36549 * sunrpc/xdr_intXX_t.c: Likewise.
36550 * sunrpc/xdr_mem.c: Likewise.
36551 * sunrpc/xdr_rec.c: Likewise.
36552 * sunrpc/xdr_ref.c: Likewise.
36553 * sunrpc/xdr_sizeof.c: Likewise.
36554 * sunrpc/xdr_stdio.c: Likewise.
36555
e6c61494
UD
365562011-04-10 Ulrich Drepper <drepper@gmail.com>
36557
36558 [BZ #12650]
36559 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36560 * sysdeps/ia64/dl-tls.h: Likewise.
36561 * sysdeps/powerpc/dl-tls.h: Likewise.
36562 * sysdeps/s390/dl-tls.h: Likewise.
36563 * sysdeps/sh/dl-tls.h: Likewise.
36564 * sysdeps/sparc/dl-tls.h: Likewise.
36565 * sysdeps/x86_64/dl-tls.h: Likewise.
36566 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36567
34fe483e
AS
365682011-03-14 Andreas Schwab <schwab@redhat.com>
36569
36570 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36571 rpath element also skip the following colon.
36572 (expand_dynamic_string_token): Add is_path parameter and pass
36573 down to DL_DST_REQUIRED and _dl_dst_substitute.
36574 (decompose_rpath): Call expand_dynamic_string_token with
36575 non-zero is_path. Ignore empty rpaths.
36576 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36577 with zero is_path.
36578
f12a32e6
AS
365792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36580
36581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36582 Make cancelable.
36583
38a7d692
UD
365842011-04-09 Ulrich Drepper <drepper@gmail.com>
36585
36586 [BZ #12655]
36587 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36588 Patch by Filipe David Manana <fdmanana@apache.org>.
36589
e451d22b
AS
365902011-04-07 Andreas Schwab <schwab@redhat.com>
36591
36592 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36593 Maintain aligned stack.
36594 (CHECK_RSP): Remove unused macro.
36595
dedc7c7b
UD
365962011-04-03 Ulrich Drepper <drepper@gmail.com>
36597
36598 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36600
94521213
UD
366012011-04-02 Ulrich Drepper <drepper@gmail.com>
36602
36603 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36604
8cb700c0 36605 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36606
0354e355
L
366072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36608
36609 [BZ #12518]
36610 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36611 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36612 * sysdeps/x86_64/memmove.c: New file.
36613 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36614 (memcpy): Renamed to ...
36615 (__new_memcpy): This.
36616 (memcpy): Provide GLIBC_2_14 memcpy.
36617 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36618 (memcpy): Provide GLIBC_2_2_5 memcpy.
36619
8593482f
UD
366202011-04-01 Ulrich Drepper <drepper@gmail.com>
36621
36622 [BZ #12631]
36623 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36624
81a5726b
AS
366252011-03-30 Andreas Schwab <schwab@redhat.com>
36626
36627 * misc/syncfs.c: New file.
36628 * misc/Makefile (routines): Add syncfs.
36629 * posix/unistd.h: Declare syncfs.
36630 * sysdeps/unix/syscalls.list: Add syncfs.
36631
00e5419f
AS
366322011-04-01 Andreas Schwab <schwab@redhat.com>
36633
36634 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36635 open_by_handle_at.
36636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36637 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36641 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36643
748876bf
UD
366442011-04-01 Ulrich Drepper <drepper@gmail.com>
36645
658e451d
UD
36646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36648 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36653
748876bf
UD
36654 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36655 sync_file_range.c with -fexceptions.
36656 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36657 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36658 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36659 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36660 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36661 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36663 sync_file_range as cancellation point
36664 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36665 now a wrapper around __call_sync_file_range with cancellation handling.
36666 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36667 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36668 function name to __call_sync_file_range.
36669 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36670 Add call_sync_file_range.
748876bf 36671
6e63d5e1
AS
366722011-04-01 Andreas Schwab <schwab@redhat.com>
36673
36674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36675 bits/timex.h.
6e63d5e1 36676
46998f74
UD
366772011-04-01 Ulrich Drepper <drepper@gmail.com>
36678
4c1423ed
UD
36679 * iconv/iconv.h: Fix typo in comment.
36680 * io/fcntl.h: Likewise.
36681 * libio/stdio.h: Likewise.
36682 * posix/spawn.h: Likewise.
36683 * posix/unistd.h: Likewise.
36684 * stdlib/stdlib.h: Likewise.
36685 * time/time.h: Likewise.
36686 * wcsmbs/wchar.h: Likewise.
36687
158648c0
UD
36688 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36689 open_by_handle): Add.
36690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36691 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36692 Augment a few comments.
36693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36698 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36699 open_by_handle.
36700
46998f74
UD
36701 * io/fcntl.h (AT_EMPTY_PATH): Define.
36702
83fe108b
UD
367032011-03-30 Ulrich Drepper <drepper@gmail.com>
36704
36705 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36706 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36707 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36708 to...
36709 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36710 * Versions.def: Add GLIBC_2.14.
36711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36712 Export.
83fe108b 36713
bb242059
UD
367142011-03-22 Ulrich Drepper <drepper@gmail.com>
36715
36716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36717 round counter.
36718 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36719
c97a1282
L
367202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36721
36722 [BZ #12597]
36723 * string/test-strncmp.c (do_page_test): New function.
36724 (check2): Likewise.
36725 (test_main): Call check2.
36726 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36727
2a115601
UD
367282011-03-20 Ulrich Drepper <drepper@gmail.com>
36729
36730 [BZ #12587]
36731 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36732 Handle cache information in CPU leaf 4.
36733 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36734
8126d904
UD
367352011-03-18 Ulrich Drepper <drepper@gmail.com>
36736
042c49c6 36737 [BZ #12583]
8126d904
UD
36738 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36739 character representation.
36740 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36741
ccfe366e
RA
367422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36743
36744 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36745 END(__isnan) to END(__isnanf) to match function entry point/label
36746 EALIGN(__isnanf,...).
36747
c6e13027
JJ
367482011-03-10 Jakub Jelinek <jakub@redhat.com>
36749
36750 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36751
33f85a3f
UD
367522011-03-10 Ulrich Drepper <drepper@gmail.com>
36753
028478fa
UD
36754 [BZ #12510]
36755 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36756 copy from the symbol referenced in the relocation to initialize the
36757 used variable.
36758 Patch by Piotr Bury <pbury@goahead.com>.
36759 * elf/Makefile: Add rules to build and tst-unique3.
36760 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36761 * elf/tst-unique3.cc: New file.
36762 * elf/tst-unique3.h: New file.
36763 * elf/tst-unique3lib.cc: New file.
36764 * elf/tst-unique3lib2.cc: New file.
36765
33f85a3f
UD
36766 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36767
03592fc7
MF
367682011-03-10 Mike Frysinger <vapier@gentoo.org>
36769
36770 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36771 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36772 to _start.
03592fc7 36773
6a5ee102
UD
367742011-03-06 Ulrich Drepper <drepper@gmail.com>
36775
36776 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36777 to-be-loaded object along a path to loader is ld.so.
36778
7e4ba49c
HJ
367792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36780 Ulrich Drepper <drepper@gmail.com>
36781
36782 * sysdeps/x86_64/memset.S: After aligning destination, code
36783 branches to different locations depending on the value of
36784 misalignment, when multiarch is enabled. Fix this.
36785
367862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36787
36788 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36789 Set _x86_64_preferred_memory_instruction for AMD processsors.
36790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36791 Set bit_Prefer_SSE_for_memop for AMD processors.
36792
13a804de
UD
367932011-03-04 Ulrich Drepper <drepper@gmail.com>
36794
36795 * libio/fmemopen.c (fmemopen): Optimize a bit.
36796
9d25c392
AS
367972011-03-03 Andreas Schwab <schwab@redhat.com>
36798
36799 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36800
a5543c6a
RM
368012011-03-03 Roland McGrath <roland@redhat.com>
36802
36803 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36804
012d35f7
DM
368052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36806
7e4ba49c 36807 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36808 __bzero_ultra1 instead of __memset_ultra1.
36809
4bff6e01
AS
368102011-02-23 Andreas Schwab <schwab@redhat.com>
36811 Ulrich Drepper <drepper@gmail.com>
36812
36813 [BZ #12509]
36814 * include/link.h (struct link_map): Add l_orig_initfini.
36815 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36816 returning unsuccessfully.
36817 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36818 close of a file loaded at startup, restore the original l_initfini
36819 list.
36820 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36821 list, store the pointer.
36822 * elf/Makefile ($(objpfx)noload-mem): New rule.
36823 (noload-ENV): Define.
36824 (tests): Add $(objpfx)noload-mem.
36825 * elf/noload.c: Include <memcheck.h>.
36826 (main): Call mtrace. Close all opened handles.
36827
f2092faf
AS
368282011-02-17 Andreas Schwab <schwab@redhat.com>
36829
36830 [BZ #12454]
36831 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36832 dependencies are missing.
36833
6c8a2e88
ST
368342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36835
f2092faf 36836 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36837 Hurd needs munmap.
36838 * sysdeps/mach/hurd/ifreq.h: New file.
36839
84a42118
PB
368402011-01-27 Petr Baudis <pasky@suse.cz>
36841 Ulrich Drepper <drepper@gmail.com>
36842
071f805e 36843 [BZ 12445]#
84a42118
PB
36844 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36845 to extend_alloca().
36846 * stdio-common/bug23.c: New file.
36847 * stdio-common/Makefile (tests): Add bug23.
36848
e23fe25b
AS
368492010-09-28 Andreas Schwab <schwab@redhat.com>
36850 Ulrich Drepper <drepper@gmail.com>
36851
36852 [BZ #12489]
36853 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36854 before performing relro protection. At old place add assertion
36855 to make sure nothing changed.
36856
d3f02e10
NS
368572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36858 Glauber de Oliveira Costa <glommer@gmail.com>
36859
36860 * elf/elf.h: Add new ARM TLS relocs.
36861
d55fd7a5
RA
368622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36863
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36865 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36866 cast from r3.
36867 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36868 'tests' variable.
36869 * sysdeps/wordsize-64/tst-writev.c: New file.
36870
2206397e
RA
368712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36872
36873 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36874 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36875 insns in _dl_start to prevent a TOC reference before relocs are
36876 resolved.
36877
e9433893
UD
368782011-02-15 Ulrich Drepper <drepper@gmail.com>
36879
36880 [BZ #12469]
36881 * Makeconfig: Remove RANLIB definition.
36882 * Makerules: Don't use RANLIB.
36883 * aclocal.m4: Remove ranlib test.
36884 * configure.in: No need to check for ranlib.
36885 * elf/rtld-Rules: Don't use RANLIB.
36886
f75286c6
ST
368872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36888
8e31c82d
ST
36889 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36890 protection macro.
36891 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36892 inclusion protection macro.
36893
f75286c6
ST
36894 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36895 SIGRTMIN and SIGRTMAX and print information in that case only when
36896 SIGRTMIN is defined.
36897
c1d0e639
JJ
368982011-02-11 Jakub Jelinek <jakub@redhat.com>
36899
36900 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36901 arginfo fn returning -1.
36902
36903 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36904 and thousands string is zero terminated.
36905
edf9294e
AS
369062011-02-03 Andreas Schwab <schwab@redhat.com>
36907
36908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36909 sysdeps/unix/sysv/linux/bits/socket.h.
36910
2b7e92df
ST
369112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36912
edf9294e
AS
36913 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36914 (__CPU_COUNT): Remove old macros.
36915 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36916 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36917 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36918 (__sched_cpualloc, __sched_cpufree): Add declarations.
36919
a4c7ea7b
UD
369202011-02-05 Ulrich Drepper <drepper@gmail.com>
36921
36922 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36923 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36924 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36925 (readdhstai): Return value of addhstaiX call.
36926 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36927 (addgrbyX): Return value returned by cache_addgr.
36928 (readdgrbyname): Return value returned by addgrbyX.
36929 (readdgrbygid): Likewise.
36930 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36931 (addpwbyX): Return value returned by cache_addpw.
36932 (readdpwbyname): Return value returned by addhstbyX.
36933 (readdpwbyuid): Likewise.
36934 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36935 (addservbyX): Return value returned by cache_addserv.
36936 (readdservbyname): Return value returned by addservbyX:
36937 (readdservbyport): Likewise.
36938 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36939 (addhstbyX): Return value returned by cache_addhst.
36940 (readdhstbyname): Return value returned by addhstbyX.
36941 (readdhstbyaddr): Likewise.
36942 (readdhstbynamev6): Likewise.
36943 (readdhstbyaddrv6): Likewise.
36944 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36945 (readdinitgroups): Return value returned by addinitgroupsX.
36946 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36947 (prune_cache): Keep track of timeout value of re-added entries.
36948 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36949 * nscd/nscd.h: Adjust prototypes of readd* functions.
36950
a0bf67cc
RM
369512011-02-04 Roland McGrath <roland@redhat.com>
36952
36953 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36954 (nis_stats): Likewise.
36955 * nis/nis_modify.c (nis_modify): Likewise.
36956 * nis/nis_remove.c (nis_remove): Likewise.
36957 * nis/nis_add.c (nis_add): Likewise.
36958
36959 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36960
36961 * posix/fnmatch_loop.c: Add some consts.
36962
36963 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36964
435b95eb
L
369652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36966
36967 [BZ #12460]
36968 * config.make.in (config-cflags-novzeroupper): Define.
36969 * configure.in: Substitute libc_cv_cc_novzeroupper.
36970 * elf/Makefile (AVX-CFLAGS): Define.
36971 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36972 (CFLAGS-tst-auditmod4a.c): Likewise.
36973 (CFLAGS-tst-auditmod4b.c): Likewise.
36974 (CFLAGS-tst-auditmod6b.c): Likewise.
36975 (CFLAGS-tst-auditmod6c.c): Likewise.
36976 (CFLAGS-tst-auditmod7b.c): Likewise.
36977 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36978
8517b15e
UD
369792011-02-02 Ulrich Drepper <drepper@gmail.com>
36980
36981 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36982 function to the callback.
36983 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36984
10a656fe
AS
369852011-02-02 Andreas Schwab <schwab@redhat.com>
36986
36987 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36988 of errno.
36989
968dad0a
UD
369902011-01-19 Ulrich Drepper <drepper@gmail.com>
36991
9f94d2ea 36992 [BZ #11724]
968dad0a
UD
36993 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36994 of constructors.
36995 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36996 of destructors.
36997 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36998
36999 [BZ #11724]
37000 * elf/Makefile: Add rules to build and run new test.
37001 * elf/tst-initorder.c: New file.
37002 * elf/tst-initorder.exp: New file.
37003 * elf/tst-initordera1.c: New file.
37004 * elf/tst-initordera2.c: New file.
37005 * elf/tst-initordera3.c: New file.
37006 * elf/tst-initordera4.c: New file.
37007 * elf/tst-initorderb1.c: New file.
37008 * elf/tst-initorderb2.c: New file.
37009 * elf/tst-order-a1.c: New file.
37010 * elf/tst-order-a2.c: New file.
37011 * elf/tst-order-a3.c: New file.
37012 * elf/tst-order-a4.c: New file.
37013 * elf/tst-order-b1.c: New file.
37014 * elf/tst-order-b2.c: New file.
37015 * elf/tst-order-main.c: New file.
37016 New test case by George Gensure <werkt0@gmail.com>.
37017
86e92359
UD
370182010-10-01 Andreas Schwab <schwab@redhat.com>
37019
37020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37021 decoding ACE if AI_CANONIDN.
37022
5d5732b0
UD
370232011-01-18 Ulrich Drepper <drepper@gmail.com>
37024
37025 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37026
a77e8cbc
UD
370272011-01-17 Ulrich Drepper <drepper@gmail.com>
37028
6392473f
UD
37029 * version.h (RELEASE): Bump for 2.13 release.
37030 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37031
620a0529
UD
37032 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37033
18ba70a5
UD
37034 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37035 MADV_NOHUGEPAGE.
32465c3e
UD
37036 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37038 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37041 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37042
c0dafcf1
UD
37043 * posix/getconf.c: Update copyright year.
37044 * catgets/gencat.c: Likewise.
37045 * csu/version.c: Likewise.
37046 * debug/catchsegv.sh: Likewise.
37047 * debug/xtrace.sh: Likewise.
37048 * elf/ldconfig.c: Likewise.
37049 * elf/ldd.bash.in: Likewise.
37050 * elf/sprof.c (print_version): Likewise.
37051 * iconv/iconv_prog.c: Likewise.
37052 * iconv/iconvconfig.c: Likewise.
37053 * locale/programs/locale.c: Likewise.
37054 * locale/programs/localedef.c: Likewise.
37055 * malloc/memusage.sh: Likewise.
37056 * malloc/mtrace.pl: Likewise.
37057 * nscd/nscd.c (print_version): Likewise.
37058 * nss/getent.c: Likewise.
37059
a77e8cbc
UD
37060 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37061 PF_CAIF, and PF_ALG.
37062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37063
77e8bddf
AS
370642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37065
1f20b93a
AS
37066 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37067 (modules-names): Use them.
37068 (ifunc-test-modules, ifunc-pie-tests): Define.
37069 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37070 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37071 (test-extras): Likewise.
37072 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37073 $(compile-command.c).
37074 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37075 (all-built-dso): Define.
37076 (check-textrel.out, check-execstack.out): Depend on it.
37077
77e8bddf
AS
37078 * configure.in: Don't override --enable-multi-arch.
37079
bc425b33
UD
370802011-01-15 Ulrich Drepper <drepper@gmail.com>
37081
37082 [BZ #6812]
37083 * nscd/hstcache.c (tryagain): Define.
37084 (cache_addhst): Return tryagain not notfound for temporary errors.
37085 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37086 failed.
37087
794c3ad3
UD
370882011-01-14 Ulrich Drepper <drepper@gmail.com>
37089
70181fdd
UD
37090 [BZ #10563]
37091 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37092 to make the syscall.
37093 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37094
794c3ad3
UD
37095 [BZ #12378]
37096 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37097 and fall back to matching as normal character if the string ends before
37098 the matching ']' is found. This is what POSIX requires.
37099 * posix/testfnm.c: Adjust test result.
37100 * posix/globtest.sh: Adjust test result. Add new test.
37101 * posix/tst-fnmatch.input: Likewise.
37102 * posix/tst-fnmatch2.c: Add new test.
37103
68dc9497
AS
371042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37105
37106 * elf/Makefile (check-execstack): Revert last change. Depend on
37107 check-execstack.h.
37108 (check-execstack.h): New target.
37109 (generated): Add check-execstack.h.
37110 * elf/check-execstack.c: Include "check-execstack.h".
37111 (main): Revert last change.
37112 (handle_file): Return zero if GNU_STACK is absent and
37113 DEFAULT_STACK_PERMS doesn't include PF_X.
37114
451f001b
UD
371152011-01-13 Ulrich Drepper <drepper@gmail.com>
37116
cfa28e56
UD
37117 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37118 in child fails because the descriptor is already closed.
8cf8ce17
UD
37119 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37120 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37121 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37122
1086d70d
UD
37123 [BZ #12397]
37124 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37125 syscall.
37126
451f001b
UD
37127 [BZ #10484]
37128 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37129 temporary buffer used to handle multi lookups locally.
a85b5cb4 37130 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37131
08769175
UD
371322011-01-12 Ulrich Drepper <drepper@gmail.com>
37133
37134 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37135 loader is ld.so.
37136
5e49c52e
UD
371372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37138
37139 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37140 alignment for SSE2.
37141
60522a5f
UD
371422011-01-12 Ulrich Drepper <drepper@gmail.com>
37143
37144 [BZ #12394]
37145 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37146 characters. When rounding increased number of integer digits recompute
37147 number of groups.
37148 * stdio-common/tst-grouping.c: New file.
37149 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37150
f257bbd7
UD
371512011-01-09 Ulrich Drepper <drepper@gmail.com>
37152
37153 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37154 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37155
37156 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37157 void.
37158 * bits/select.h: Likewise.
37159
fa9c15cb
UD
371602011-01-08 Ulrich Drepper <drepper@gmail.com>
37161
37162 * po/ja.po: Update from translation team.
37163
16c2895f
DM
371642011-01-04 David S. Miller <davem@sunset.davemloft.net>
37165
37166 [BZ #11155]
37167 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37168 implementation just like for lxstat, fxstatat, et al.
37169
2543fef2
JM
371702010-12-27 Jim Meyering <meyering@redhat.com>
37171
37172 [BZ #12348]
37173 * posix/regexec.c (build_trtable): Return failure indication upon
37174 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37175
98727dbe
UD
371762010-12-25 Ulrich Drepper <drepper@gmail.com>
37177
5bd6dc5c
UD
37178 [BZ #12201]
37179 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37180 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37181 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37182 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37183
97983464
UD
37184 [BZ #12207]
37185 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37186
98727dbe
UD
37187 [BZ #12204]
37188 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37189 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37190
4a531bb0
L
371912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37192
37193 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37194 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37195 script has SORT_BY_INIT_PRIORITY.
37196 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37197 NO_CTORS_DTORS_SECTIONS is defined.
37198 * elf/soinit.c: Likewise.
37199 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37200 NO_CTORS_DTORS_SECTIONS is defined.
37201 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37202 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37203 * sysdeps/sh/init-first.c: Likewise.
37204 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37205
07eb4b71
UD
372062010-12-24 Ulrich Drepper <drepper@gmail.com>
37207
37208 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37209 always use the slow path.
37210
30950a5f
RA
372112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37212
37213 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37214 similar rule which adds the sysdep directories to the header search in
37215 order to pick up the correct platform stackinfo.h.
37216 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37217 perform test if it is, otherwise return successfully without testing.
37218 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37219 DEFAULT_STACK_PERMS define in stackinfo.h.
37220 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37221 defined in stackinfo.h.
37222 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37223 DEFAULT_STACK_PERMS defined in stackinfo.h.
37224 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37225 * sysdeps/ia64/stackinfo.h: Likewise.
37226 * sysdeps/s390/stackinfo.h: Likewise.
37227 * sysdeps/sh/stackinfo.h: Likewise.
37228 * sysdeps/sparc/stackinfo.h: Likewise.
37229 * sysdeps/x86_64/stackinfo.h: Likewise.
37230 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37231 PF_X for powerpc64. Retain PF_X for powerpc32.
37232
db753e2c
UD
372332010-12-19 Ulrich Drepper <drepper@gmail.com>
37234
14b697f7
UD
37235 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37236 accurately.
db753e2c
UD
37237 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37238 GETDENTS_64BIT_ALIGNED.
37239
28300719
UD
372402010-12-14 Ulrich Drepper <dreper@gmail.com>
37241
14b697f7 37242 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37243
4f197237
AS
372442010-12-10 Andreas Schwab <schwab@redhat.com>
37245
dbb0472f
AS
37246 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37247 _GNU_SOURCE.
37248
4f197237
AS
37249 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37250 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37251 Remove __restrict.
37252 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37253 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37254
fb88ac72
UD
372552010-12-09 Ulrich Drepper <drepper@gmail.com>
37256
37257 [BZ #11655]
37258 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37259 are initialized.
37260
42acbb92
JJ
372612010-12-09 Jakub Jelinek <jakub@redhat.com>
37262
37263 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37264
c038d98d
UD
372652010-12-03 Ulrich Drepper <drepper@gmail.com>
37266
37267 * po/it.po: Update from translation team.
37268
3a4a2499
L
372692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37270
37271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37272 unused codes.
37273
1e24cf6e
UD
372742010-11-30 Ulrich Drepper <drepper@gmail.com>
37275
37276 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37277
a7690819
AS
372782010-11-24 Andreas Schwab <schwab@redhat.com>
37279
37280 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37281 specially.
37282 (gaih_getanswer_slice): Likewise.
37283
3bf8d1b1
JJ
372842010-10-20 Jakub Jelinek <jakub@redhat.com>
37285
37286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37287
6db52fbb
PB
372882010-05-31 Petr Baudis <pasky@suse.cz>
37289
37290 [BZ #11149]
37291 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37292 silently even in the chroot mode.
37293
eaca7569
UD
372942010-11-22 Ulrich Drepper <drepper@gmail.com>
37295
37296 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37297 last patch a bit. Pretty printing
37298
3056dcdb
UD
372992010-05-31 Petr Baudis <pasky@suse.cz>
37300
37301 [BZ #10085]
37302 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37303 initialization of skip_initgroups_dyn.
37304
cf7c9078
UD
373052010-11-19 Ulrich Drepper <drepper@gmail.com>
37306
37307 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37309
a1fb5e3e
UD
373102010-11-16 Ulrich Drepper <drepper@gmail.com>
37311
37312 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37313
3540d66b
AS
373142010-11-11 Andreas Schwab <schwab@redhat.com>
37315
37316 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37317 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37318 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37319 ($(objpfx)tst-fnmatch-mem): New rule.
37320 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37321 * posix/tst-fnmatch.c (main): Call mtrace.
37322
13b69574
L
373232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37324
37325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37326 Support Intel processor model 6 and model 0x2c.
37327
da93d214
LM
373282010-11-10 Luis Machado <luisgpm@br.ibm.com>
37329
37330 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37331 signed comparison.
37332
8ca52c6e
L
373332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37334
37335 [BZ #12205]
37336 * string/test-strncasecmp.c (check_result): New function.
37337 (do_one_test): Use it.
37338 (check1): New function.
37339 (test_main): Use it.
37340 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37341 Support strcasecmp and strncasecmp.
37342
69da074d
UD
373432010-11-08 Ulrich Drepper <drepper@gmail.com>
37344
37345 [BZ #12194]
37346 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37348
ff02d528
L
373492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37350
37351 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37352 IFUNC support.
37353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37354 memset-x86-64.
37355 * sysdeps/x86_64/multiarch/bzero.S: New file.
37356 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37357 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37358 * sysdeps/x86_64/multiarch/memset.S: New file.
37359 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37361 Set bit_Prefer_SSE_for_memop for Intel processors.
37362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37363 Define.
37364 (index_Prefer_SSE_for_memop): Define.
37365 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37366
344d0b54
LM
373672010-11-04 Luis Machado <luisgpm@br.ibm.com>
37368
37369 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37371
c0dde15b
UD
373722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37373
37374 [BZ #12191]
37375 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37376 (__x86_64_raw_data_cache_size_half): Likewise.
37377 (__x86_64_raw_shared_cache_size): Likewise.
37378 (__x86_64_raw_shared_cache_size_half): Likewise.
37379
37380 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37381 (__x86_64_raw_data_cache_size_half): Likewise.
37382 (__x86_64_raw_shared_cache_size): Likewise.
37383 (__x86_64_raw_shared_cache_size_half): Likewise.
37384 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37385 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37386 and __x86_64_raw_shared_cache_size_half. Round
37387 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37388 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37389 to multiple of 256 bytes.
37390
0e516e0e
MS
373912010-11-03 Ulrich Drepper <drepper@gmail.com>
37392
37393 [BZ #12167]
37394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37395 of inacessible symlinks. Verify result of symlink before returning it.
37396 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37397 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37398
0e012e87
ER
373992010-10-28 Erich Ritz <erichritz@gmail.com>
37400
37401 * math/math.h (isinf): Fix typo in comment.
37402
de0ff7bc
UD
374032010-11-01 Ulrich Drepper <drepper@gmail.com>
37404
37405 * po/da.po: Update from translation team.
37406
fa41c84d
UD
374072010-10-26 Ulrich Drepper <drepper@gmail.com>
37408
37409 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37410 is added to the list.
37411
f0967738
AK
374122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37413 Ulrich Drepper <drepper@gmail.com>
37414
37415 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37416 the global list here. Move code to...
37417 (_dl_add_to_namespace_list): ...here. New function.
37418 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37419 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37420 * elf/dl-load.c (lose): Don't remove the element from the list.
37421 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37422 (_dl_map_object): Likewise.
37423
374242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37425
37426 [BZ #12159]
37427 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37428 into all bytes of SSE register.
37429 Patch by Richard Li <richardpku@gmail.com>.
37430
f0967738 374312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37432
37433 [BZ #12140]
37434 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37435 perturbing.
37436
d0b9e94f
MB
374372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37438
37439 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37440 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37441 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37442 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37444 submachine.
37445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37446
8e9f92e9
AS
374472010-10-22 Andreas Schwab <schwab@redhat.com>
37448
37449 * include/dlfcn.h (__RTLD_SECURE): Define.
37450 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37451 mode & __RTLD_SECURE instead.
37452 (open_path): Rename preloaded parameter to secure.
37453 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37454 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37455 * elf/dl-deps.c (openaux): Likewise.
37456 * elf/rtld.c (struct map_args): Remove is_preloaded.
37457 (map_doit): Don't use it.
37458 (dl_main): Likewise.
37459 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37460 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37461
bc96fbda
AS
374622010-09-09 Andreas Schwab <schwab@redhat.com>
37463
37464 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37465 (sysd-rules-targets): Remove duplicates.
37466 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37467 rtld-%.$o dependency.
37468
22cd1c9b
AS
374692010-10-18 Andreas Schwab <schwab@redhat.com>
37470
37471 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37472 _dl_map_object do it.
37473
18edac48
UD
374742010-10-19 Ulrich Drepper <drepper@gmail.com>
37475
37476 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37477 fast fma builtins, define the macros in the C99 standard.
37478 (FP_FAST_FMAF): Likewise.
37479 (FP_FAST_FMAL): Likewise.
37480 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37481
37482 * bits/mathdef.h: Update copyright year.
37483 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37484
d2050124
MM
374852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37486
37487 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37488 builtins, define the macros in the C99 standard.
37489 (FP_FAST_FMAF): Likewise.
37490 (FP_FAST_FMAL): Likewise.
37491 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37492 multiply/add.
37493 (FP_FAST_FMAF): Likewise.
37494
475facd1
JJ
374952010-10-15 Jakub Jelinek <jakub@redhat.com>
37496
37497 [BZ #3268]
37498 * math/libm-test.inc (fma_test): Some new testcases.
37499 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37500 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37501 y and infinite z. Do multiplication by C already in long double.
37502 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37504 y and infinite z. Do bitwise or of inexact bit into u.d.
37505 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37506 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37507 * sysdeps/i386/fpu/s_fma.S: Removed.
37508 * sysdeps/i386/fpu/s_fmal.S: Removed.
37509
7c08a05c
JJ
375102010-10-16 Jakub Jelinek <jakub@redhat.com>
37511
37512 [BZ #3268]
37513 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37515 computation is not scheduled after fetestexcept. Fix value
37516 of minimum denormal long double.
37517
f3f7372d
JJ
375182010-10-14 Jakub Jelinek <jakub@redhat.com>
37519
37520 [BZ #3268]
37521 * math/libm-test.inc (fma_test): Add some more tests.
37522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37523 correctly.
37524
14d43591
AS
375252010-10-15 Andreas Schwab <schwab@redhat.com>
37526
37527 * scripts/data/localplt-s390-linux-gnu.data: New file.
37528 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37529
5e908464
JJ
375302010-10-13 Jakub Jelinek <jakub@redhat.com>
37531
37532 [BZ #3268]
37533 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37534 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37535 instead of dbl-64.
37536 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37537 inlines.
37538 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37540 if one of x and y is very large and the other is subnormal.
37541 * sysdeps/s390/fpu/s_fmaf.c: New file.
37542 * sysdeps/s390/fpu/s_fma.c: New file.
37543 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37544 * sysdeps/powerpc/fpu/s_fma.S: New file.
37545 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37546 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37547 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37548
375492010-10-12 Jakub Jelinek <jakub@redhat.com>
37550
37551 [BZ #3268]
37552 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37553 fma tests.
37554 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37555 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37556 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37557 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37558 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37559 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37560 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37561
b833d51f
UD
375622010-10-12 Ulrich Drepper <drepper@redhat.com>
37563
37564 [BZ #12078]
37565 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37566 * posix/bug-regex31.input: Add test case.
37567
1751705d
UD
375682010-10-11 Ulrich Drepper <drepper@gmail.com>
37569
e9b9cbf5
UD
37570 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37571 * posix/bug-regex31.input: New file.
37572
37573 [BZ #12078]
37574 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37575 (parse_sub_exp): Fix last change, use postorder.
37576
ef06edbe
UD
37577 * posix/bug-regex31.c: New file.
37578 * posix/Makefile: Add rules to build and run bug-regex31.
37579
a129c80d
UD
37580 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37581
37582 [BZ #12078]
37583 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37584
b76b818e
UD
37585 [BZ #12108]
37586 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37587 to have entries in sys_siglist.
37588
1751705d
UD
37589 [BZ #12093]
37590 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37591 be NULL.
37592
9ff8d36f
JJ
375932010-10-07 Jakub Jelinek <jakub@redhat.com>
37594
37595 [BZ #3268]
37596 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37597 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37598 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37599 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37600 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37601 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37602 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37603 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37604 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37605 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37606 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37607 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37608 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37609 * math/ftestexcept.c (fetestexcept): Likewise.
37610 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37611 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37612 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37613 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37614 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37615 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37616 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37617
af325969
UD
376182010-10-11 Ulrich Drepper <drepper@gmail.com>
37619
c579b202 37620 [BZ #12107]
af325969
UD
37621 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37622 newline.
37623
67a67b95
UD
376242010-10-06 Ulrich Drepper <drepper@gmail.com>
37625
37626 * string/bug-strstr1.c: New file.
37627 * string/Makefile: Add rules to build and run bug-strstr1.
37628
5fb308bc
EB
376292010-10-05 Eric Blake <eblake@redhat.com>
37630
37631 [BZ #12092]
37632 * string/str-two-way.h (two_way_long_needle): Always clear memory
37633 when skipping input due to the shift table.
37634
45db99c7
UD
376352010-10-03 Ulrich Drepper <drepper@gmail.com>
37636
3b111893
UD
37637 [BZ #12005]
37638 * malloc/mcheck.c: Handle large requests.
37639
45db99c7
UD
37640 [BZ #12077]
37641 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37642 for strncmp and strncasecmp.
37643 * string/stratcliff.c: Add tests for strcmp and strncmp.
37644 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37645
cf7a1eb8
NI
376462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37647
37648 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37649 __set_fpscr.
37650
6484ba5e
AJ
376512010-09-30 Andreas Jaeger <aj@suse.de>
37652
37653 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37654 (CGROUP_SUPER_MAGIC): Define.
37655 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37656 Handle btrfs and cgroup file systems.
37657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37658 Likewise.
37659
91c42559
LM
376602010-09-27 Luis Machado <luisgpm@br.ibm.com>
37661
37662 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37663 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37664
87a97932
AK
376652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37666
37667 [BZ #12067]
37668 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37669 trying to locate the ELF header.
37670
c21cc9bc
AS
376712010-09-27 Andreas Schwab <schwab@redhat.com>
37672
37673 [BZ #11611]
37674 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37675 Mask out sign-bit copies when constructing f_fsid.
37676
315970f6
PB
376772010-09-24 Petr Baudis <pasky@suse.cz>
37678
37679 * debug/stack_chk_fail_local.c: Add missing licence exception.
37680 * debug/warning-nop.c: Likewise.
37681
1ac7a2c7
JM
376822010-09-15 Joseph Myers <joseph@codesourcery.com>
37683
37684 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37685 implementing getdents64 using getdents syscall, set d_type if
37686 __ASSUME_GETDENTS32_D_TYPE.
37687
56801c50
AS
376882010-09-16 Andreas Schwab <schwab@redhat.com>
37689
37690 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37691 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37692
dda51327
UD
376932010-09-21 Ulrich Drepper <drepper@redhat.com>
37694
37695 [BZ #12037]
37696 * posix/unistd.h: Undo change of feature selection for ftruncate from
37697 2010-01-11.
37698
8ffcee4a
UD
376992010-09-20 Ulrich Drepper <drepper@redhat.com>
37700
a545ecd9 37701 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37702 detection.
37703
e24f0a8b
AS
377042010-09-20 Andreas Schwab <schwab@redhat.com>
37705
37706 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37707 fanotify_mark.
37708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37709
7291c56f
AS
377102010-09-14 Andreas Schwab <schwab@redhat.com>
37711
37712 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37713 variables after CHECK_SP call.
37714 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37715
bc5fb037
AS
377162010-09-13 Andreas Schwab <schwab@redhat.com>
37717 Ulrich Drepper <drepper@redhat.com>
37718
37719 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37720 re-relocationg ld.so.
37721 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37722 _dl_init_paths call.
37723 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37724 here anymore.
37725
e66e7419
UD
377262010-09-14 Ulrich Drepper <drepper@redhat.com>
37727
37728 * resolv/res_init.c (__res_vinit): Count the default server we added.
37729
c044aa75
CLT
377302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37731 Ulrich Drepper <drepper@redhat.com>
37732
37733 [BZ #11968]
37734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37735 (____longjmp_chk): Use %ebx for saving value across system call.
37736 Add unwind info.
37737
32cf4069
AS
377382010-09-06 Andreas Schwab <schwab@redhat.com>
37739
37740 * manual/Makefile: Don't mix pattern rules with normal rules.
37741
817328ee
AS
377422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37743
37744 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37745 operation.
37746 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37747 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37748 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37749 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37751 Likewise.
37752
29fddf61
UD
377532010-09-04 Ulrich Drepper <drepper@redhat.com>
37754
37755 [BZ #11979]
37756 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37757 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37758
0959ffc9
UD
377592010-09-02 Ulrich Drepper <drepper@redhat.com>
37760
37761 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37762 * sysdeps/x86_64/addmul_1.S: Likewise.
37763 * sysdeps/x86_64/lshift.S: Likewise.
37764 * sysdeps/x86_64/mul_1.S: Likewise.
37765 * sysdeps/x86_64/rshift.S: Likewise.
37766 * sysdeps/x86_64/sub_n.S: Likewise.
37767 * sysdeps/x86_64/submul_1.S: Likewise.
37768
ece29840
ST
377692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37770
0959ffc9
UD
37771 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37772 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37773 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37774 * bits/sched.h [__need_schedparam]
ece29840 37775 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37776 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37777 (__defined_schedparam): Define to 1.
ece29840
ST
37778 (__sched_param): New structure, identical to sched_param.
37779 (__need_schedparam): Undefine.
37780
e53a31fe
MF
377812010-08-31 Mike Frysinger <vapier@gentoo.org>
37782
fdc0c10d
MF
37783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37784 (epoll_create1): Declare.
37785
e53a31fe
MF
37786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37787
a726d796
AS
377882010-08-31 Andreas Schwab <schwab@redhat.com>
37789
37790 [BZ #7066]
37791 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37792 shifting retval into place.
37793
2f3e3dc7
UD
377942010-09-01 Ulrich Drepper <drepper@redhat.com>
37795
f2933da9
UD
37796 * nis/rpcsvc/nis.h: Update copyright notice.
37797 * nis/rpcsvc/nis.x: Likewise.
37798 * nis/rpcsvc/nis_callback.h: Likewise.
37799 * nis/rpcsvc/nis_callback.x: Likewise.
37800 * nis/rpcsvc/nis_object.x: Likewise.
37801 * nis/rpcsvc/nis_tags.h: Likewise.
37802 * nis/rpcsvc/yp.h: Likewise.
37803 * nis/rpcsvc/yp.x: Likewise.
37804 * nis/rpcsvc/ypupd.h: Likewise.
37805 * nis/yp_xdr.c: Likewise.
37806 * nis/ypupdate_xdr.c: Likewise.
37807
2f3e3dc7
UD
37808 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37809 mainly the body of pmap_getport. Add parameters to specify timeouts.
37810 (pmap_getport): Use __libc_rpc_getport.
37811 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37812 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37813 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37814
f3dcc2f9
AS
378152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37816
37817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37818 fanotify_mark.
37819
6d34eb5b
RM
378202010-08-27 Roland McGrath <roland@redhat.com>
37821
37822 * sysdeps/i386/i686/multiarch/Makefile
37823 (CFLAGS-varshift.c): New variable.
37824
9ea3de11
UD
378252010-08-27 Ulrich Drepper <drepper@redhat.com>
37826
c96d23fc
UD
37827 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37828 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37829
9ea3de11
UD
37830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37831
37832 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37833
623aac7f
L
378342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37835
37836 * sysdeps/x86_64/strlen.S: Unroll the loop.
37837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37838 strlen-sse2 strlen-sse2-bsf.
37839 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37840 __strlen_no_bsf if bit_Slow_BSF is set.
37841 (__strlen_sse42): Removed.
37842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37843 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37844
8b2b7715
RM
378452010-08-25 Roland McGrath <roland@redhat.com>
37846
37847 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37848 * sysdeps/x86_64/multiarch/varshift.c: New file.
37849 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37850 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37851 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37852 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37853
e73015f2
L
378542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37855
37856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37857 strlen-sse2 strlen-sse2-bsf.
37858 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37859 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37860 (__strlen_sse2): Removed.
37861 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37864 bit_Slow_BSF for Atom.
37865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37866 (index_Slow_BSF): Define.
37867 (HAS_SLOW_BSF): Define.
37868
df24a73e
UD
378692010-08-25 Ulrich Drepper <drepper@redhat.com>
37870
37871 [BZ #10851]
37872 * resolv/res_init.c (__res_vinit): When no server address at all
37873 is given default to loopback.
37874
f2ac4868
RM
378752010-08-24 Roland McGrath <roland@redhat.com>
37876
09055553
RM
37877 * configure.in: Remove config-name.h generation.
37878 * configure: Regenerated.
37879 * config-name.in: File removed.
37880 * scripts/config-uname.sh: New file.
37881 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37882 ($(objdir)config-name.h): New target.
37883
f2ac4868
RM
37884 * sunrpc/rpc_parse.h: Avoid nested comment.
37885
73f27d5e
RH
378862010-08-24 Richard Henderson <rth@redhat.com>
37887 Ulrich Drepper <drepper@redhat.com>
37888 H.J. Lu <hongjiu.lu@intel.com>
37889
37890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37892 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37893 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37894 _mm_alignr_epi8 with _mm_loadu_si128.
37895 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37896 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37897 (__m128i_shift_right): Removed.
37898 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37899 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37900 * sysdeps/x86_64/multiarch/varshift.h: New file.
37901 * sysdeps/x86_64/multiarch/varshift.S: New file.
37902
84b9230c
MF
379032010-08-21 Mike Frysinger <vapier@gentoo.org>
37904
37905 * configure.in: Move assembler checks to before sysdep dir checking.
37906
9bbd0ddc
PB
379072010-08-20 Petr Baudis <pasky@suse.cz>
37908
37909 * LICENSES: Sync the sunrpc license.
37910
9da4bb31
UD
379112010-08-19 Ulrich Drepper <drepper@redhat.com>
37912
a7ab6ec8
UD
37913 * sunrpc/auth_des.c: Update copyright notice once again.
37914 * sunrpc/auth_none.c: Likewise.
37915 * sunrpc/auth_unix.c: Likewise.
37916 * sunrpc/authdes_prot.c: Likewise.
37917 * sunrpc/authuxprot.c: Likewise.
37918 * sunrpc/bindrsvprt.c: Likewise.
37919 * sunrpc/clnt_gen.c: Likewise.
37920 * sunrpc/clnt_perr.c: Likewise.
37921 * sunrpc/clnt_raw.c: Likewise.
37922 * sunrpc/clnt_simp.c: Likewise.
37923 * sunrpc/clnt_tcp.c: Likewise.
37924 * sunrpc/clnt_udp.c: Likewise.
37925 * sunrpc/clnt_unix.c: Likewise.
37926 * sunrpc/des_crypt.c: Likewise.
37927 * sunrpc/des_soft.c: Likewise.
37928 * sunrpc/get_myaddr.c: Likewise.
37929 * sunrpc/getrpcport.c: Likewise.
37930 * sunrpc/key_call.c: Likewise.
37931 * sunrpc/key_prot.c: Likewise.
37932 * sunrpc/openchild.c: Likewise.
37933 * sunrpc/pm_getmaps.c: Likewise.
37934 * sunrpc/pm_getport.c: Likewise.
37935 * sunrpc/pmap_clnt.c: Likewise.
37936 * sunrpc/pmap_prot.c: Likewise.
37937 * sunrpc/pmap_prot2.c: Likewise.
37938 * sunrpc/pmap_rmt.c: Likewise.
37939 * sunrpc/rpc/auth.h: Likewise.
37940 * sunrpc/rpc/auth_unix.h: Likewise.
37941 * sunrpc/rpc/clnt.h: Likewise.
37942 * sunrpc/rpc/des_crypt.h: Likewise.
37943 * sunrpc/rpc/key_prot.h: Likewise.
37944 * sunrpc/rpc/netdb.h: Likewise.
37945 * sunrpc/rpc/pmap_clnt.h: Likewise.
37946 * sunrpc/rpc/pmap_prot.h: Likewise.
37947 * sunrpc/rpc/pmap_rmt.h: Likewise.
37948 * sunrpc/rpc/rpc.h: Likewise.
37949 * sunrpc/rpc/rpc_des.h: Likewise.
37950 * sunrpc/rpc/rpc_msg.h: Likewise.
37951 * sunrpc/rpc/svc.h: Likewise.
37952 * sunrpc/rpc/svc_auth.h: Likewise.
37953 * sunrpc/rpc/types.h: Likewise.
37954 * sunrpc/rpc/xdr.h: Likewise.
37955 * sunrpc/rpc_clntout.c: Likewise.
37956 * sunrpc/rpc_cmsg.c: Likewise.
37957 * sunrpc/rpc_common.c: Likewise.
37958 * sunrpc/rpc_cout.c: Likewise.
37959 * sunrpc/rpc_dtable.c: Likewise.
37960 * sunrpc/rpc_hout.c: Likewise.
37961 * sunrpc/rpc_main.c: Likewise.
37962 * sunrpc/rpc_parse.c: Likewise.
37963 * sunrpc/rpc_parse.h: Likewise.
37964 * sunrpc/rpc_prot.c: Likewise.
37965 * sunrpc/rpc_sample.c: Likewise.
37966 * sunrpc/rpc_scan.c: Likewise.
37967 * sunrpc/rpc_scan.h: Likewise.
37968 * sunrpc/rpc_svcout.c: Likewise.
37969 * sunrpc/rpc_tblout.c: Likewise.
37970 * sunrpc/rpc_util.c: Likewise.
37971 * sunrpc/rpc_util.h: Likewise.
37972 * sunrpc/rpcinfo.c: Likewise.
37973 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37974 * sunrpc/rpcsvc/key_prot.x: Likewise.
37975 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37976 * sunrpc/rpcsvc/mount.x: Likewise.
37977 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37978 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37979 * sunrpc/rpcsvc/rex.x: Likewise.
37980 * sunrpc/rpcsvc/rstat.x: Likewise.
37981 * sunrpc/rpcsvc/rusers.x: Likewise.
37982 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37983 * sunrpc/rpcsvc/spray.x: Likewise.
37984 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37985 * sunrpc/rtime.c: Likewise.
37986 * sunrpc/svc.c: Likewise.
37987 * sunrpc/svc_auth.c: Likewise.
37988 * sunrpc/svc_authux.c: Likewise.
37989 * sunrpc/svc_raw.c: Likewise.
37990 * sunrpc/svc_run.c: Likewise.
37991 * sunrpc/svc_simple.c: Likewise.
37992 * sunrpc/svc_tcp.c: Likewise.
37993 * sunrpc/svc_udp.c: Likewise.
37994 * sunrpc/svc_unix.c: Likewise.
37995 * sunrpc/svcauth_des.c: Likewise.
37996 * sunrpc/xcrypt.c: Likewise.
37997 * sunrpc/xdr.c: Likewise.
37998 * sunrpc/xdr_array.c: Likewise.
37999 * sunrpc/xdr_float.c: Likewise.
38000 * sunrpc/xdr_mem.c: Likewise.
38001 * sunrpc/xdr_rec.c: Likewise.
38002 * sunrpc/xdr_ref.c: Likewise.
38003 * sunrpc/xdr_sizeof.c: Likewise.
38004 * sunrpc/xdr_stdio.c: Likewise.
38005
9da4bb31
UD
38006 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38007 handling.
38008
bdaa77bc
AS
380092010-08-19 Andreas Schwab <schwab@redhat.com>
38010
38011 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38012
fe2f79db
LM
380132010-08-19 Luis Machado <luisgpm@br.ibm.com>
38014
38015 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38017 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38018 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38020 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38021 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38022 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38023 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38024 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38025 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38026 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38027 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38028 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38029
b9b42ee0
AB
380302010-07-26 Anton Blanchard <anton@samba.org>
38031
38032 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38033 * malloc/arena.c (heap_trim): Likewise.
38034
1c06ba31
UD
380352010-08-16 Ulrich Drepper <drepper@redhat.com>
38036
38037 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38038 here. Not...
38039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38040 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38041
f8392f40
L
380422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38043
38044 * sysdeps/i386/elf/Makefile: New file.
38045
3162f12e
AS
380462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38047
38048 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38049 from fanotify_init.
38050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38052
28c90b2c
UD
380532010-08-15 Ulrich Drepper <drepper@redhat.com>
38054
38055 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38056 of strncasecmp_l.
1feccb6c 38057 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38058
ca6bb004
UD
380592010-08-14 Ulrich Drepper <drepper@redhat.com>
38060
e9f82e0d
UD
38061 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38062 strncase_l-nonascii.
38063 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38064 Add strncase_l-ssse3.
38065 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38066 * sysdeps/x86_64/strcmp.S: Likewise.
38067 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38068 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38069 * sysdeps/x86_64/strncase.S: New file.
38070 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38071 * sysdeps/x86_64/strncase_l.S: New file.
38072 * string/Makefile (strop-tests): Add strncasecmp.
38073 * string/test-strncasecmp.c: New file.
38074
38075 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38076 warning.
38077
ca6bb004
UD
38078 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38079 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38080
052fa7b3
AS
380812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38082
38083 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38084
962dba78
UD
380852010-08-12 Ulrich Drepper <drepper@redhat.com>
38086
38087 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38089 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38090
bebff237
AM
380912010-05-01 Alan Modra <amodra@gmail.com>
38092
38093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38094 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38095 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38096 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38097 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38098 tidying. Don't tail-call __sigjmp_save for static lib.
38099 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38100 save location.
38101 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38102 (CALL_MCOUNT): Add eh info, and nop after bl.
38103 (TAIL_CALL_SYSCALL_ERROR): New macro.
38104 (PSEUDO_RET): Use it.
38105 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38106 Correct save location of integer regs and cr.
38107 (_dl_profile_resolve): Correct cr save location. Delete nops
38108 after bl when SHARED. Reduce cfi size a little by better
38109 placement of cfi directives.
38110 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38111 make a stack frame. Instead use parm save area as a temp.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38113 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38115 Don't make a stack frame for parent, use parm save area.
38116 Increase child stack frame to 112 bytes. Don't save unused reg,
38117 and adjust reg usage. Set up cfi on error recovery and
38118 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38120 (__makecontext): Add dummy nop after jump to exit.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38122 Use correct parm save area and cr save, reduce stack frame.
38123 Correct cfi for possible PSEUDO_RET frame setup.
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38125 Branch to local label emitted by PSEUDO_RET rather than
38126 __syscall_error.
38127
02637374
AS
381282010-08-12 Andreas Schwab <schwab@redhat.com>
38129
38130 [BZ #11904]
38131 * locale/programs/locale.c (print_assignment): New function.
38132 (show_locale_vars): Use it.
38133
c3e2f19b
UD
381342010-08-11 Ulrich Drepper <drepper@redhat.com>
38135
3cdaa6ad
UD
38136 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38137 field.
38138 (struct statfs64): Likewise.
38139 (_STATFS_F_FLAGS): Define.
38140 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38141 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38142 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38143 (ST_VALID): Define locally.
38144 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38145 __statvfs_getflags, use the provided value.
38146 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38147 __ASSUME_STATFS_F_FLAGS.
38148
754f7da3
UD
38149 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38150
10b3bedc
UD
38151 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38152 Add sys/fanotify.h.
38153 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38154 fanotify_mask for GLIBC_2.13.
38155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38156 fanotify_init and fanotify_mark.
38157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38158 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38159
c08fb0d7
UD
38160 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38161 Add prlimit.
38162 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38163 prlimit64 for GLIBC_2.13.
38164 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38165 prlimit64.
38166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38167 syscall.
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38170 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38173 add prlimit alias.
38174 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38175
15bac72b
UD
38176 [BZ #11903]
38177 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38178 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38179
c3e2f19b
UD
38180 * nss/Makefile: Add rules to build and run tst-nss-test1.
38181 * shlib-versions: Add entry for libnss_test1.
38182 * nss/nss_test1.c: New file.
38183 * nss/tst-nss-test1.c: New file.
38184
38185 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38186 (__nss_configure_lookup): Set appropriate entry in
38187 __nss_configure_lookup to true.
38188 * nss/nsswitch.h: Define enum with indeces of databases in
38189 databases and __nss_database_custom arrays. Declare
38190 __nss_database_custom.
38191 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38192 to avoid using nscd when custom rules are installed.
38193 * nss/getXXbyYY_r.c: Likewise.
38194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38195
38196 * nss/nss_files/files-parse.c: Whitespace fixes.
38197
f15ce4d8
UD
381982010-08-09 Ulrich Drepper <drepper@redhat.com>
38199
38200 [BZ #11883]
38201 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38202 * posix/fnmatch_loop.c: Likewise.
38203
d22e4cc9
AK
382042010-07-17 Andi Kleen <ak@linux.intel.com>
38205
38206 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38207 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38208 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38209 * Versions.def [GLIBC_2.13]: Add.
38210
805bc17d
UD
382112010-08-06 Ulrich Drepper <drepper@redhat.com>
38212
38213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38214 Also fail if tpwd after pwuid call is NULL.
38215
5a42321d
ST
382162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38217
38218 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38219 when converting to ms.
38220
fd3ebeda
ST
382212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38222
38223 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38224 EOPNOTSUPP errors with ENOTTY.
38225 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38226 EOPNOTSUPP errors with ENOTTY.
38227
73507d3a
UD
382282010-07-31 Ulrich Drepper <drepper@redhat.com>
38229
38230 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38231 Add strcasecmp_l-ssse3.
38232 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38233 strcasecmp.
38234 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38235 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38236 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38237
fe36dd02
UD
382382010-07-30 Ulrich Drepper <drepper@redhat.com>
38239
66f6765a
UD
38240 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38241
42e08a54
UD
38242 * string/Makefile (strop-tests): Add strcasecmp.
38243 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38244 strcasecmp_l-nonascii.
38245 (gen-as-const-headers): Add locale-defines.sym.
38246 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38247 * sysdeps/x86_64/strcasecmp.S: New file.
38248 * sysdeps/x86_64/strcasecmp_l.S: New file.
38249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38250 * sysdeps/x86_64/locale-defines.sym: New file.
38251 * string/test-strcasecmp.c: New file.
38252
fe36dd02
UD
38253 * string/test-strcasestr.c: Test both ends of the range of characters.
38254 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38255
48cbc0d6
RM
382562010-07-29 Roland McGrath <roland@redhat.com>
38257
76e6d6bc 38258 [BZ #11856]
48cbc0d6
RM
38259 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38260
880113d9
UD
382612010-07-27 Ulrich Drepper <drepper@redhat.com>
38262
38263 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38264 for ld.so.
38265
deb9cabb
AS
382662010-07-27 Andreas Schwab <schwab@redhat.com>
38267
38268 * manual/memory.texi (Malloc Tunable Parameters): Document
38269 M_PERTURB.
38270
1c7570ff
RM
382712010-07-26 Roland McGrath <roland@redhat.com>
38272
38273 [BZ #11840]
38274 * configure.in (-fgnu89-inline check): Set and substitute
38275 gnu89_inline, not libc_cv_gnu89_inline.
38276 * configure: Regenerated.
38277 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38278
24fb0f88
UD
382792010-07-26 Ulrich Drepper <drepper@redhat.com>
38280
38281 * string/test-strnlen.c: New file.
38282 * string/Makefile (strop-tests): Add strnlen.
38283 * string/tester.c (test_strnlen): Add a few more test cases.
38284 * string/tst-strlen.c: Better error reporting.
38285
38286 * sysdeps/x86_64/strnlen.S: New file.
38287
8e96b93a
UD
382882010-07-24 Ulrich Drepper <drepper@redhat.com>
38289
38290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38291 lower-latency instructions.
38292
dbc676d4
UD
382932010-07-23 Ulrich Drepper <drepper@redhat.com>
38294
38295 * string/test-strcasestr.c: New file.
38296 * string/test-strstr.c: New file.
38297 * string/Makefile (strop-tests): Add strstr and strcasestr.
38298 * string/str-two-way.h: Don't undefine MAX.
38299 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38300
f6a31e0e
AS
383012010-07-21 Andreas Schwab <schwab@redhat.com>
38302
38303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38304 strcasestr-nonascii.
38305 (CFLAGS-strcasestr-nonascii.c): Define.
38306 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38308 Remove unused attribute.
38309
5dbc3b6c
RM
383102010-07-20 Roland McGrath <roland@redhat.com>
38311
38312 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38313 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38314 ld.so.cache was broken. With it, there is no way to disable dsocaps
38315 like LD_HWCAP_MASK can disable hwcaps.
38316
23d101d8
EPM
383172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38318
38319 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38320
cc9f2e47
UD
383212010-07-16 Ulrich Drepper <drepper@redhat.com>
38322
38323 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38324 call in strcasestr.
38325 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38326 __strcasestr_sse42_nonascii.
38327 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38328 strcasestr-nonascii.c.
38329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38330
77c1b069
LM
383312010-06-15 Luis Machado <luisgpm@br.ibm.com>
38332
38333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38334 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38337
440566c3
UD
383382010-07-09 Ulrich Drepper <drepper@redhat.com>
38339
38340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38341 fcntl.
38342
5be9d05d
AS
383432010-07-06 Andreas Schwab <schwab@redhat.com>
38344
c30b7ee2 38345 [BZ #11577]
5be9d05d
AS
38346 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38347 dl_signal_cerror.
38348
8a492a67
UD
383492010-07-06 Ulrich Drepper <drepper@redhat.com>
38350
38351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38352 _PC_PIPE_BUF using F_GETPIPE_SZ.
38353
713df3d5
RM
383542010-07-05 Roland McGrath <roland@redhat.com>
38355
38356 * manual/arith.texi (Rounding Functions): Fix rint description
38357 implicit in round description.
38358
702e8f14
UD
383592010-07-02 Ulrich Drepper <drepper@redhat.com>
38360
38361 * elf/Makefile: Fix linking for a few tests to make recent linker
38362 happy.
38363
52ed8be9
AS
383642010-06-30 Andreas Schwab <schwab@redhat.com>
38365
38366 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38367 $(common-objpfx)libc_nonshared.a.
38368
f47c9a11
LM
383692010-06-21 Luis Machado <luisgpm@br.ibm.com>
38370
38371 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38372 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38373 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38374 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38375 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38376 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38377 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38378 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38393 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38394 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38395 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38396 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38397 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38398 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38399 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38400 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38401 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38402 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38403 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38404 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38419
6fb8cbcb
L
384202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38421
38422 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38423 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38424 * string/memmove.c (memmove): Renamed to ...
38425 (MEMMOVE): ...this. Default to memmove.
38426 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38427 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38428 (END_CHK): Define.
38429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38430 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38431 mempcpy-ssse3-back memmove-ssse3-back.
38432 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38433 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38435 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38436 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38437 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38438 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38439 * sysdeps/x86_64/multiarch/memmove.c: New file.
38440 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38441 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38442 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38443 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38444 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38446 Define.
38447 (index_Fast_Copy_Backward): Define.
38448 (HAS_ARCH_FEATURE): Define.
38449 (HAS_FAST_REP_STRING): Define.
38450 (HAS_FAST_COPY_BACKWARD): Define.
38451
4e733bac 384522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38453
38454 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38455 Restore proper fallback handling.
38456
63c4ed22
UD
384572010-06-19 Ulrich Drepper <drepper@redhat.com>
38458
ac2b484c
UD
38459 [BZ #11701]
38460 * posix/group_member.c (__group_member): Correct checking loop.
38461
63c4ed22
UD
38462 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38463 OOM in getpwuid_r correctly. Return error number when the caller
38464 should return, otherwise -1.
38465 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38466 call returning > 0 value.
38467 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38468
765ade4b
AS
384692010-06-07 Andreas Schwab <schwab@redhat.com>
38470
38471 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38472 libc_nonshared.a from targets in modules-names.
38473
80da2e09
KS
384742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38475
38476 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38477 requires it.
38478
158db122
LM
384792010-06-10 Luis Machado <luisgpm@br.ibm.com>
38480
38481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38485
caa78cf8
AS
384862010-06-02 Andreas Schwab <schwab@redhat.com>
38487
38488 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38489
b2ef2c01
UD
384902010-06-14 Ulrich Drepper <drepper@redhat.com>
38491
38492 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38493 and F_GETPIPE_SZ.
38494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38500
fbd643b6
RM
385012010-06-14 Roland McGrath <roland@redhat.com>
38502
38503 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38504
f32f2869
JJ
385052010-06-07 Jakub Jelinek <jakub@redhat.com>
38506
38507 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38508 __REDIRECT followed by __THROW.
38509 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38510 * posix/getopt.h (getopt): Likewise.
38511
2a50c078
EPM
385122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38513
38514 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38515 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38516 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38517 in AT_FLAGS.
38518 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38519 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38520
eb5ad2eb
LM
385212010-05-28 Luis Machado <luisgpm@br.ibm.com>
38522
38523 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38524
3c88fe1e
L
385252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38526
38527 [BZ #11640]
38528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38529 Properly check family and model.
38530
d2f73151
TY
385312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38532
38533 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38534
ebd2e13d
LM
385352010-05-24 Luis Machado <luisgpm@br.ibm.com>
38536
38537 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38538
b32b8b45
UD
385392010-05-21 Ulrich Drepper <drepper@redhat.com>
38540
38541 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38542 symbol reference.
38543
9acbe24d
AS
385442010-05-19 Andreas Schwab <schwab@redhat.com>
38545
38546 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38547 symbol reference.
38548
f0ccf6ea
AS
385492010-05-21 Andreas Schwab <schwab@redhat.com>
38550
3d04ff3a
AS
38551 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38552 and internal_recvmmsg.
38553 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38554 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38555 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38556 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38557
f0ccf6ea
AS
38558 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38559 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38560 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38561
5b08ac57
AS
385622010-05-20 Andreas Schwab <schwab@redhat.com>
38563
38564 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38565
4828935d
LM
385662010-05-17 Luis Machado <luisgpm@br.ibm.com>
38567
38568 POWER7 optimizations.
38569 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38570 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38571
373d545e
UD
385722010-05-19 Ulrich Drepper <drepper@redhat.com>
38573
38574 * version.h: Update for 2.13 development version.
38575
21a2b1ae
AS
385762010-05-12 Andrew Stubbs <ams@codesourcery.com>
38577
38578 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38579 exceptions. Return 0.
38580
3f7dcb2b
RM
385812010-05-07 Roland McGrath <roland@redhat.com>
38582
38583 * elf/ldconfig.c (main): Add a const.
38584
5f24d53a 385852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38586
a160f8d8
UD
38587 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38588 (args_options): Add no-idn option.
38589 (ahosts_keys_int): Add idn_flags to ai_flags.
38590 (parse_option): Handle 'i' option to clear idn_flags.
38591
5f24d53a
UD
38592 * malloc/malloc.c (_int_free): Possible race in the most recently
38593 added check. Only act on the data if no current modification
38594 happened.
265bb1ce
UD
38595
38596See ChangeLog.17 for earlier changes.