]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Restore ucontext ABI for soft-float sh4.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0bad441c
KK
12014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2
3 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4 __SH4A__ instead of __SH_FPU_ANY__.
5
7007c661
KK
62014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7
8 * sysdeps/sh/fpu_control.h: New file.
9 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15 * sysdeps/sh/sys/ucontext.h: Remove.
16 * sysdeps/sh/sys: Remove directory.
17
0f0c35e4
AK
182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19
20 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21 s390/sys/ucontext.h.
22 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24
4959e284
L
252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26
27 [BZ #15605]
28 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
29
d98720e0
AZ
302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31
32 [BZ#16431]
33 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34 Adjust the vDSO correctly for internal calls.
35 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36
91cbd0bc
AM
372014-01-20 Allan McRae <allan@archlinux.org>
38
39 * po/ca.po: Update Catalan translation from translation project.
40
7a02cfad
MF
412014-01-16 Mike Frysinger <vapier@gentoo.org>
42
43 * sysdeps/s390/sotruss-lib.c: New file.
44
736c304a
AZ
452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46
47 [BZ#16430]
6e077ee5 48 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
49 (__GI___gettimeofday): Alias for a different internal symbol to avoid
50 local calls issues by not having a PLT stub required for IFUNC calls.
51 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52
94d0cea0
JM
532014-01-16 Joseph Myers <joseph@codesourcery.com>
54
55 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56 * math/test-fpucw-static.c: Likewise.
57
980cb518
SP
582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 [BZ #16453]
61 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
62
2393fc01
AZ
632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64
65 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
66 implementation for powerpc.
67
d359bcc2
OB
682014-01-15 Ondřej Bílka <neleai@seznam.cz>
69
70 [BZ #14782]
71 * sysdeps/posix/system.c (__libc_system): Do not enable
72 asynchronous cancellation.
73
7beb48cb
AK
742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75
76 [BZ #16427]
77 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
78 handling only for numbers special also in the IEEE case.
79
c20d5bf5
AK
802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81
82 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
83
e83bd4ee
AM
842014-01-11 Allan McRae <allan@archlinux.org>
85
76d0ea69
AM
86 * po/bg.po: Update Bulgarian translation from translation project.
87
e83bd4ee
AM
88 * po/de.po: Update German translation from translation project.
89
bc2ba20a
RM
902014-01-10 Roland McGrath <roland@hack.frob.com>
91
92 * sysdeps/generic/gcc-compat.h: New file.
93
649ecea2
SP
942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
95
96 * benchtests/asin-inputs: Correct slow inputs.
97 * benchtests/acos-inputs: Likewise.
98
1b19c006
AM
992014-01-10 Allan McRae <allan@archlinux.org>
100
a46dab08
AM
101 * po:sv.po: Update Swedish translation from translation project.
102
421df74a
AM
103 * po/vi.po: Update Vietnamese translation from translation project.
104
d61c51a7
AM
105 * po/eo.po: Update Esperanto translation from translation project.
106
0339a319
AM
107 * po/cs.po: Update Czech translation from translation project.
108
94ad3e99
AM
109 * po/nl.po: Update Dutch translation from translation project.
110
e349ca71
AM
111 * po/pl.po: Update Polish translation from translation project.
112
ddf930c1
AM
113 * po/ru.po: Update Russian translation from translation project.
114
1b19c006
AM
115 * po/uk.po: Update Ukrainian translation from translation project.
116
9f236c49
BM
1172014-01-08 Brooks Moses <bmoses@google.com>
118
119 * elf/dl-load.c: Fix comment typo.
120
cd6701cf
CD
1212014-01-08 Carlos O'Donell <carlos@redhat.com>
122
123 * po/header.pot: Rename to...
124 * po/pot.header: ... this.
125 * po/Makefile: Use pot.header.
126
66671c84
YK
1272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
128 Maxim Kuvyrkov <maxim@kugelworks.com>
129
130 [BZ #16394]
cd6701cf
CD
131 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
132 SRC and DEST against LEN.
66671c84 133
38f34581
AZ
1342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135
136 [BZ #16414]
137 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
138 implementation.
139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
140
1412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
142
143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
144
4c327f2a
JM
1452014-01-08 Joseph Myers <joseph@codesourcery.com>
146
147 [BZ #16408]
148 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
149 for large positive arguments.
150
b821f414
JM
1512014-01-07 Joseph Myers <joseph@codesourcery.com>
152
1f0f2067
JM
153 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
154
a5a326f6
JM
155 * math/auto-libm-test-in: Mark various tests with
156 xfail-rounding:ldbl-128ibm.
157 * math/auto-libm-test-out: Regenerated.
158
b821f414
JM
159 [BZ #16407]
160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
161 Increase overflow threshold.
162
94c8a4bc
OB
1632014-01-07 Ondřej Bílka <neleai@seznam.cz>
164
165 [BZ #14286]
166 * stdio-common/vfprintf.c: Check for integer overflow.
167
87ded0c3
AK
1682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
169
170 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
171 the first argument and return value of __tls_get_addr_internal.
172
c5eebdd0
AK
1732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
174
175 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
176 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
177
05d138ef
AK
1782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
179
180 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
181 * sysdeps/s390/rtld-global-offsets.sym: New file.
182 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
183 GLIBC_2.19 symbol.
184 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
186 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
187 ... this.
188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
189 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
190 ... this.
191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
192 Regenerate.
193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
194 Regenerate.
195 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
196 halfs of GPRs for high_gprs contexts.
197 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
198 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
199 field.
200 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
201 uc_flags field.
202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
203 64 bit versions:
204 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
205 for high GPRs (uc_high_gprs) and for future extensions
206 (__reserved).
207 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
208 for future extensions (__reserved).
209 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
210 64 bit versions:
211 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
212 SC_HIGHGPRS offset definition.
213 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
214 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
215
93a45ff1
AK
2162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
217
218 * Versions.def: Add GLIBC_2.19 for libpthread.
219 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
220 siglongjmp for libpthread with GLIBC_2.19 symver.
221 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
222 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
223 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
224 * sysdeps/s390/__longjmp.c: New file.
225 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
226 * sysdeps/s390/longjmp.c: New file.
227 * sysdeps/s390/setjmp.S: New file.
228 * sysdeps/s390/sigjmp.S: New file.
229 * sysdeps/s390/v1-longjmp.c: New file.
230 * sysdeps/s390/v1-setjmp.h: New file.
231 * sysdeps/s390/v1-sigjmp.c: New file.
232 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
233 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
234 GLIBC_2.19 version.
235 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
236 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
237 versioned symbols for ____longjmp_chk.
238 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
239 Likewise.
240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
241 Regenerate.
242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
243 Regenerate.
244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
245 Regenerate.
246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
247 Regenerate.
248 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
249 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
250 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
251 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
252 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
253 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
254 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
255 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
256 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
257 * sysdeps/s390/rtld-__longjmp.c: New file.
258 * sysdeps/s390/rtld-setjmp.S: New file.
259
eb3fc44b
JM
2602014-01-06 Joseph Myers <joseph@codesourcery.com>
261
262 [BZ #16400]
263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
264 Return -__logl (x) for small positive arguments without evaluating
265 a polynomial.
266
9341dde4
MF
2672014-01-06 Mike Frysinger <vapier@gentoo.org>
268
269 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
270 Rename to ...
271 (__ptrace_peeksiginfo_args): ... this.
272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
275
4cff0293
AM
2762014-01-06 Allan McRae <allan@archlinux.org>
277
278 * inet/netinet/in.h: Fix typo in comment.
279
75595dcf
AJ
2802014-01-05 Andreas Jaeger <aj@suse.de>
281
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283
79c1e109
AM
2842014-01-05 Allan McRae <allan@archlinux.org>
285
dd804818
AM
286 * po/libc.pot: Regenerated.
287
79c1e109
AM
288 * malloc/memusagestat.c: Fix gettext call formatting.
289
0c813d1f
SK
2902014-01-04 Sami Kerola <kerolasa@iki.fi>
291
292 * nscd/nscd.c: Improve usage() output.
293
20f4a8d9
MF
2942014-01-04 Mike Frysinger <vapier@gentoo.org>
295
296 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
297 * sysdeps/unix/sysv/linux/configure: Regenerated.
298 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
299 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
300
22562bb2
JM
3012014-01-03 Joseph Myers <joseph@codesourcery.com>
302
303 [BZ #16390]
304 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
305 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
306
d7ad2d9b
AZ
3072014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
310 extra tokens at end of #undef directive.
311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
312 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
313 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
314
7f507ee1
AH
3152014-01-03 Andrew Hunter <ahh@google.com>
316
0da43124 317 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
318 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
319 atomic_compare_and_exchange_bool_acq
320 (_dl_allocate_static_tls): Block signals.
321 * elf/dl-tls.c (allocate_and_init): Return void.
322 (_dl_update_slotinfo): Block signals, use atomic update.
323
7dd009d8
JM
3242014-01-03 Joseph Myers <joseph@codesourcery.com>
325
24db925a
JM
326 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
327
7dd009d8
JM
328 * math/auto-libm-test-in: Mark various tests with
329 xfail-rounding:ldbl-128ibm.
330 * math/auto-libm-test-out: Regenerated.
331
396e3ecf
JM
3322014-01-02 Joseph Myers <joseph@codesourcery.com>
333
819e5d50
JM
334 [BZ #16386]
335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
336 numbers with subnormal high part when calculating exponent.
337
90b6a1e5
JM
338 [BZ #16385]
339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
340 fabs.
341
396e3ecf
JM
342 [BZ #16384]
343 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
344 M_LN2l.
345 (__ieee754_acoshl): Use __log1pl not __log1p.
346
6c8dbf00
OB
3472013-01-02 Ondřej Bílka <neleai@seznam.cz>
348
349 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
350 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
351 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
352 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
353 Convert to GNU style.
354 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
355 mem2mem_check, mem2chunk_check, top_check, realloc_check,
356 memalign_check, __malloc_set_state): Likewise.
357 * malloc/mallocbug.c (main): Likewise.
358 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
359 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
360 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
361 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
362 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
363 * malloc/malloc.h: Likewise.
364 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
365 memalignhook, reallochook, mabort): Likewise.
366 * malloc/mcheck.h: Likewise.
367 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
368 mmap64, mremap, munmap, dest): Likewise.
369 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
370 * malloc/morecore.c (__default_morecore): Likewise.
371 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
372 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
373 _obstack_allocated_p, obstack_free, _obstack_memory_used,
374 print_and_abort): Likewise.
375 * malloc/obstack.h: Likewise.
376 * malloc/set-freeres.c (__libc_freeres): Likewise.
377 * malloc/tst-mallocstate.c (main): Likewise.
378 * malloc/tst-mtrace.c (main): Likewise.
379 * malloc/tst-realloc.c (do_test): Likewise.
380
d4124212
SP
3812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
382
9a3c6a6f
SP
383 [BZ #16366]
384 * nscd/netgroupcache.c (do_notfound): New function.
385 (addgetnetgrentX): Use it.
386
d4124212
SP
387 [BZ # 16365]
388 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
389 NSS_STATUS_NOTFOUND.
390
97b9a009
JM
3912014-01-01 Joseph Myers <joseph@codesourcery.com>
392
393 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
395
d4697bc9
AM
3962014-01-01 Allan McRae <allan@archlinux.org>
397
ddb3687f
AM
398 * scripts/update-copyrights: Update configure input file suffix.
399
88726d48
AM
400 * NEWS: Update copyright year.
401 * catgets/gencat.c: Likewise.
402 * csu/version.c: Likewise.
403 * debug/catchsegv.sh: Likewise.
404 * debug/pcprofiledump.c: Likewise.
405 * debug/xtrace.sh: Likewise.
406 * elf/ldconfig.c: Likewise.
407 * elf/ldd.bash.in: Likewise.
408 * elf/pldd.c: Likewise.
409 * elf/sotruss.ksh: Likewise.
410 * elf/sprof.c: Likewise.
411 * iconv/iconv_prog.c: Likewise.
412 * iconv/iconvconfig.c: Likewise.
413 * locale/programs/locale.c: Likewise.
414 * locale/programs/localedef.c: Likewise.
415 * login/programs/pt_chown.c: Likewise.
416 * malloc/memusage.sh: Likewise.
417 * malloc/memusagestat.c: Likewise.
418 * malloc/mtrace.pl: Likewise.
419 * manual/libc.texinfo: Likewise.
420 * nscd/nscd.c: Likewise.
421 * nss/getent.c: Likewise.
422 * nss/makedb.c: Likewise.
423 * posix/getconf.c: Likewise.
424 * scripts/test-installation.pl: Likewise.
425
d4697bc9
AM
426 * All files with FSF copyright notices: Update copyright dates
427 using scripts/update-copyrights.
428 * intl/plural.c: Regenerated.
429 * locale/programs/charmap-kw.h: Likewise.
430 * locale/programs/locfile-kw.h: Likewise.
431
c8590f9d
MF
4322013-12-31 Mike Frysinger <vapier@gentoo.org>
433
434 * sysdeps/unix/sysv/linux/configure: Regenerated.
435 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
436 the linux/fanotify.h header.
437 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
438 HAVE_LINUX_FANOTIFY_H is defined.
439
b19221b9
SP
4402013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
441
dd1d85e5
SP
442 * benchtests/cos-inputs: New inputs.
443 * benchtests/sin-inputs: Likewise.
444
1acbb90f
SP
445 * benchtests/atan-inputs: New inputs. Fix name of multiple
446 precision fallback inputs.
447
4c012ed3
SP
448 * benchtests/atanh-inputs: New inputs.
449 * benchtests/tanh-inputs: Likewise.
450
eff98324
SP
451 * benchtests/acosh-inputs: New inputs.
452 * benchtests/asinh-inputs: Likewise.
453
ce641152
SP
454 * benchtests/cosh-inputs: New inputs.
455 * benchtests/sinh-inputs: Likewise.
456
b19221b9
SP
457 * benchtests/acos-inputs: Add more inputs.
458 * benchtests/asin-inputs: Likewise.
459
030a4976 4602013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 461
030a4976 462 [BZ #16375]
9dcc8f11
VS
463 * manual/arith.texi: Fix spelling.
464 * manual/charset.texi: Likewise.
465 * manual/errno.texi: Likewise.
466 * manual/filesys.texi: Likewise.
467 * manual/lang.texi: Likewise.
468 * manual/llio.texi: Likewise.
469 * manual/locale.texi: Likewise.
470 * manual/message.texi: Likewise.
471 * manual/resource.texi: Likewise.
472 * manual/search.texi: Likewise.
473 * manual/setjmp.texi: Likewise.
474 * manual/stdio.texi: Likewise.
475 * manual/string.texi: Likewise.
476 * manual/sysinfo.texi: Likewise.
477 * manual/time.texi: Likewise.
478
11520a57
CD
4792013-12-27 Carlos O'Donell <carlos@redhat.com>
480
481 * po/sl.po: New file.
482
471103ae
MF
4832013-12-27 Mike Frysinger <vapier@gentoo.org>
484
485 * .gitignore: Add core/.gdbinit/.gdb_history.
486
6c9642ed
AM
4872013-12-27 Allan McRae <allan@archlinux.org>
488
489 [BZ #16369]
490 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
491 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
492
3f637079
BM
4932013-12-24 Brooks Moses <bmoses@google.com>
494
495 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
496 all compilers that claim C++98 compliance, not just GCC.
497 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
498 Likewise.
499
abc26e99
MK
5002013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
501
502 * NEWS: Restore accidentally deleted bug-fix entries.
503
362b47fe
MK
5042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
505 Ondřej Bílka <neleai@seznam.cz>
506
507 [BZ #15073]
508 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 509 have_lock.
362b47fe 510
b9bcbbcb
OB
5112013-12-23 Ondřej Bílka <neleai@seznam.cz>
512
513 [BZ #12986]
514 * manual/stdio.texi (String Input Conversions): Clarify that character
515 classes are not supported.
516
fb55fcd2
AZ
5172013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
518
519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
520
ef7344f0
JM
5212013-12-22 Joseph Myers <joseph@codesourcery.com>
522
4f40e4b3
JM
523 [BZ #16337]
524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
525 Calculate results for small negative arguments directly rather
526 than using reflection formula with special underflow handling.
527
ef7344f0
JM
528 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
529 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
530 sysdeps/unix/bsd/bsd4.4/syscalls.list.
531 (fchflags): Likewise.
532 (revoke): Likewise.
533 (setlogin): Likewise.
534 (sigaltstack): Likewise.
535 (wait4): Likewise.
536 (sigblock): Remove.
537 (sigsetmask): Likewise.
538 (wait3): Likewise.
539 (waitpid): Likewise.
540 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
541 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
542 file.
543 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
544 * sysdeps/unix/bsd/Makefile: ... here.
545 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
546 * sysdeps/unix/bsd/Versions: ... here.
547 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
548 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
549 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
550 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
551 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
552 * sysdeps/unix/bsd/sigblock.c: ... here.
553 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
554 * sysdeps/unix/bsd/sigsetmask.c: ... here.
555 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
556 * sysdeps/unix/bsd/sigvec.c: ... here.
557 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
558 * sysdeps/unix/bsd/tcdrain.c: ... here.
559 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
560 * sysdeps/unix/bsd/tcgetattr.c: ... here.
561 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
562 * sysdeps/unix/bsd/tcsetattr.c: ... here.
563 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
564 * sysdeps/unix/bsd/wait.c: ... here.
565 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
566 * sysdeps/unix/bsd/wait3.c: ... here.
567 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
568 * sysdeps/unix/bsd/waitpid.c: ... here.
569
5b0626b9
JM
5702013-12-21 Joseph Myers <joseph@codesourcery.com>
571
572 [BZ #16356]
573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
574 round-to-nearest for [!USE_AS_EXPM1L].
575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
576 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
577 more tests of exp and exp10. Expect some exp10 tests to miss
578 exceptions or fail in directed rounding modes.
579 * math/auto-libm-test-out: Regenerated.
580 * math/libm-test.inc (exp10_tonearest_test_data): New array.
581 (exp10_test_tonearest): New function.
582 (exp10_towardzero_test_data): New array.
583 (exp10_test_towardzero): New function.
584 (exp10_downward_test_data): New array.
585 (exp10_test_downward): New function.
586 (exp10_upward_test_data): New array.
587 (exp10_test_upward): New function.
588 (main): Call the new functions.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591
7fda5682
JM
5922013-12-20 Joseph Myers <joseph@codesourcery.com>
593
31e3a405
JM
594 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
595 asinh, atan, atan2, atanh, cbrt, cos and cosh.
596 * math/auto-libm-test-out: Regenerated.
597 * math/libm-test.inc (acosh_test_data): Add more tests.
598 (atanh_test_data): Likewise.
599 (ceil_test_data): Likewise.
600 (copysign_test_data): Likewise.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
85bff96a
JM
604 * timezone/checktab.awk: Update from tzcode 2013i.
605 * timezone/private.h: Likewise.
606 * timezone/scheck.c: Likewise.
607 * timezone/tzfile.h: Likewise.
608 * timezone/tzselect.ksh: Likewise.
609 * timezone/zdump.c: Likewise.
610 * timezone/zic.c: Likewise.
611
b7867a3b
JM
612 * math/auto-libm-test-in: Add tests of cpow.
613 * math/auto-libm-test-out: Regenerated.
614 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
615 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
616 mpc_cc_c.
617 (func_calc_desc): Add mpc_cc_c union field.
618 (test_functions): Add cpow.
619 (special_fill_2pi): New function.
620 (special_real_inputs): Add 2pi.
621 (calc_generic_results): Handle mpc_cc_c.
622 * sysdeps/i386/fpu/libm-test-ulps: Update.
623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
624
7fda5682
JM
625 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
626 csqrt, ctan and ctanh.
627 * math/auto-libm-test-out: Regenerated.
628 * math/libm-test.inc (TEST_COND_x86_64): New macro.
629 (TEST_COND_x86): Likewise.
630 (ccos_test_data): Use AUTO_TESTS_c_c.
631 (ccosh_test_data): Likewise.
632 (cexp_test_data): Likewise.
633 (clog_test_data): Likewise.
634 (csqrt_test_data): Likewise.
635 (ctan_test_data): Likewise.
636 (ctan_tonearest_test_data): Likewise.
637 (ctan_towardzero_test_data): Likewise.
638 (ctan_downward_test_data): Likewise.
639 (ctan_upward_test_data): Likewise.
640 (ctanh_test_data): Likewise.
641 (ctanh_tonearest_test_data): Likewise.
642 (ctanh_towardzero_test_data): Likewise.
643 (ctanh_downward_test_data): Likewise.
644 (ctanh_upward_test_data): Likewise.
645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
646 mpc_c_c.
647 (func_calc_desc): Add mpc_c_c union field.
648 (FUNC_mpc_c_c): New macro.
649 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
650 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
651 ctanh.
652 (special_fill_min_subnorm_p120): New function.
653 (special_real_inputs): Add min_subnorm_p120.
654 (calc_generic_results): Handle mpc_c_c.
655 * sysdeps/i386/fpu/libm-test-ulps: Update.
656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
657
5ff8d60e
SP
6582013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
659
392dd2de
SP
660 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
661 do_sin_slow): New functions.
662 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
663 cslow2, csloww1, csloww2): Use the new functions.
664
84ba214c
SP
665 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
666 Use M to change sign of result instead of X. Assume X is
667 positive.
668 (csloww1): Likewise.
669 (__sin): Adjust.
670 (__cos): Adjust.
671
975195e4
SP
672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
673 arguments A and DA.
674 (__sin): Adjust.
675 (__cos): Likewise.
676
5ff8d60e
SP
677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
678 (__cos): Likewise.
679 (sloww1): Don't adjust sign of DX.
680 (csloww1): Likewise.
681 (sloww2): Use X directly and don't adjust sign of DX.
682 (csloww2): Likewise.
683
eb983568
JM
6842013-12-19 Joseph Myers <joseph@codesourcery.com>
685
64a17f1a
JM
686 * math/auto-libm-test-in: Add tests of cabs and carg.
687 * math/auto-libm-test-out: Regenerated.
688 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
689 (carg_test_data): Likewise.
690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
691 mpc_c_f.
692 (func_calc_desc): Add mpc_c_f union field.
693 (test_functions): Add cabs and carg.
694 (calc_generic_results): Handle mpc_c_f.
695
eb983568
JM
696 * sysdeps/powerpc/powerpc32/libgcc-compat.S
697 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
698 as a macro and a compat symbol.
699 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
700 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
701 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
702 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
703 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
705 not use .hidden.
706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
707 Likewise.
708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
709 Likewise.
710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
711 Likewise.
712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
713 Likewise.
714 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
715 Likewise.
716 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
717 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
718 from GLIBC_2.3.2.
719
6eeb678a
AZ
7202013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
721
722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
723
063b2acb
PP
7242013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
725
726 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
727 (__signal_safe_memalign, __signal_safe_free): Use it.
728 (__signal_safe_realloc): Likewise.
729
6f6fc482
JM
7302013-12-19 Joseph Myers <joseph@codesourcery.com>
731
21fea2e2
JM
732 * manual/texinfo.tex: Update to version 2013-11-26.10 with
733 trailing whitespace removed.
734 * scripts/config.guess: Update to version 2013-11-29.
735 * scripts/config.sub: Update to version 2013-10-01.
736
6f6fc482
JM
737 * math/auto-libm-test-in: Add tests of sincos.
738 * math/auto-libm-test-out: Regenerated.
739 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
740 * math/gen-auto-libm-tests.c (func_calc_method): Add value
741 mpfr_f_11.
742 (func_calc_desc): Add mpfr_f_11 union field.
743 (test_functions): Add sincos.
744 (calc_generic_results): Handle mpfr_f_11.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
747
83f5c32d
AS
7482013-12-19 Andreas Schwab <schwab@suse.de>
749
750 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
751 CALL_MCOUNT.
752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
754 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
755
c688b419
JM
7562013-12-19 Joseph Myers <joseph@codesourcery.com>
757
335ee092
JM
758 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
759 * sysdeps/i386/fpu/libm-test-ulps: Update.
760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
761
f88acd39
JM
762 [BZ #16293]
763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
764 round-to-nearest mode when using frndint.
765 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
766 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
768 Likewise.
769 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
770 sinh test to fail.
771 * math/auto-libm-test-out: Regenerated.
772 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
773 (TEST_COND_x86): Likewise.
774 (expm1_tonearest_test_data): New array.
775 (expm1_test_tonearest): New function.
776 (expm1_towardzero_test_data): New array.
777 (expm1_test_towardzero): New function.
778 (expm1_downward_test_data): New array.
779 (expm1_test_downward): New function.
780 (expm1_upward_test_data): New array.
781 (expm1_test_upward): New function.
782 (main): Run the new test functions.
783 * sysdeps/i386/fpu/libm-test-ulps: Update.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
785
c688b419
JM
786 * include/features.h: Update comment documenting feature test
787 macros. Mention _DEFAULT_SOURCE in comment.
788 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
789 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
790 _BSD_SOURCE and _SVID_SOURCE.
791 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
792 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
793 !_SVID_SOURCE]: Likewise.
794 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
795 (__USE_POSIX_IMPLICITLY): Define.
796 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
797 (_POSIX_SOURCE): Undefine and redefine.
798 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
799 (_POSIX_C_SOURCE): Likewise.
800 * manual/creature.texi (_DEFAULT_SOURCE): Document.
801 (Feature Test Macros): Update documentation of default features.
802
9f6e964c
RS
8032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
804
805 * benchtests/Makefile: Add bench-strtok.
806 * benchtests/bench-strtok.c: New file: strtok benchtest.
807
ee0a148a
AM
8082013-12-19 Allan McRae <allan@archlinux.org>
809
810 * manual/install.texi: Suppress menu for plain text output.
811 * INSTALL: Regenerated.
812
1f33d36a
PP
8132013-12-18 Andrew Hunter <ahh@google.com>
814
815 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
816 (__signal_safe_malloc, __signal_safe_free): Likewise.
817 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
818 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
819 (__signal_safe_memalign, __signal_safe_malloc): New function.
820 (__signal_safe_free, __signal_safe_realloc): Likewise.
821 (__signal_safe_calloc): Likewise.
822 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
823 functions.
824 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
825
35e8f7ab
PP
8262013-12-18 Andrew Hunter <ahh@google.com>
827
828 * elf/Versions (ld): Add _dl_clear_dtv.
829 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
830 * elf/dl-tls.c (_dl_clear_dtv): New function.
831 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
832
69a17d9d
PP
8332013-12-18 Andrew Hunter <ahh@google.com>
834
835 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
836 (_dl_unmask_signals): Likewise.
837 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
838 (_dl_unmask_all_signals): Likewise.
839 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
840 (_dl_unmask_all_signals): Likewise.
841 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
842 (_dl_unmask_signals): Likewise.
843
b9ab448f
BM
8442013-12-18 Brooks Moses <bmoses@google.com>
845
846 [BZ #15846]
847 * misc/getauxval.c: Include errno.h.
848 (__getauxval): Set errno to ENOENT if the requested type is not
849 found.
850 * misc/sys/auxv.h (getauxval): Document that it may set errno;
851 don't declare with __attribute_const__.
852 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
853 * manual/startup.texi: Document that getauxval sets errno.
854
23776487
JM
8552013-12-18 Joseph Myers <joseph@codesourcery.com>
856
f889953b
JM
857 * math/auto-libm-test-in: Add tests of jn and yn.
858 * math/auto-libm-test-out: Regenerated.
859 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
860 (yn_test_data): Likewise.
861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
862 mpfr_if_f.
863 (func_calc_desc): Add mpfr_if_f union field.
864 (FUNC_mpfr_if_f): New macro.
865 (test_functions): Add jn and yn.
866 (calc_generic_results): Assert type of second input for
867 mpfr_ff_f. Handle mpfr_if_f.
868 (output_for_one_input_case): Disable all checking for arguments
869 fitting floating-point types in case of an integer argument.
870 * sysdeps/i386/fpu/libm-test-ulps: Update.
871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
872
23776487
JM
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
874 Don't expect fegetround reference in libm.so.
875
cb756c6d
MS
8762013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
877
878 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
879 $(config-cflags-nofma).
880
2dec468f
JM
8812013-12-18 Joseph Myers <joseph@codesourcery.com>
882
5953eb3a
JM
883 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
884 * math/auto-libm-test-out: Regenerated.
885
2dec468f
JM
886 [BZ #16338]
887 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
888 to determine exponent and adjust argument to have exponent of -1.
889 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
890 log2.
891 * math/auto-libm-test-out: Regenerated.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894
4d84e6ad
OB
8952013-12-18 Ondřej Bílka <neleai@seznam.cz>
896
897 * manual/probes.texi: Remove cases when per-thread arenas are
898 disabled.
899
1818483b
AS
9002013-12-18 Andreas Schwab <schwab@suse.de>
901
902 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
903 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
904 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
905 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
906 * sysdeps/i386/i686/multiarch/Makefile: Update.
907 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
908
25de95bf
JM
9092013-12-17 Joseph Myers <joseph@codesourcery.com>
910
911 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
912 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
913
674762d9
PE
9142013-12-17 Paul Eggert <eggert@cs.ucla.edu>
915
0748546f
PE
916 Support TZ transition times < 00:00:00.
917 This is needed for version-3 tz-format files; it supports time
918 stamps past 2037 for America/Godthab (the only entry in the tz
919 database for which this change is relevant).
920 * manual/time.texi (TZ Variable): Document transition times
921 from -167:59:59 through -00:00:01.
922 * time/tzset.c (tz_rule): Time of day is now signed.
923 (__tzset_parse_tz): Parse negative time of day.
924
4480e934
PE
925 Document TZ transition times >= 25:00:00.
926 * manual/time.texi (TZ Variable): Document transition times from
927 25:00:00 through 167:59:59. These are already supported, and this
928 support will help with version-3 tz-format files.
929
69947401
PE
930 * manual/time.texi (TZ Variable): Modernize North America example
931 to reflect current (i.e., 2007-and-later) daylight saving rules.
932
674762d9
PE
933 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
934
7011c262
JM
9352013-12-17 Joseph Myers <joseph@codesourcery.com>
936
2fc6557e
JM
937 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
938 * sysdeps/unix/bsd/bits/stat.h: Likewise.
939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
941 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
942 * sysdeps/unix/bsd/bsdstat.h: Likewise.
943 * sysdeps/unix/bsd/clock.c: Likewise.
944 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
945 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
946 * sysdeps/unix/bsd/init-posix.c: Likewise.
947 * sysdeps/unix/bsd/poll.c: Likewise.
948 * sysdeps/unix/bsd/ptsname.c: Likewise.
949 * sysdeps/unix/bsd/seekdir.c: Likewise.
950 * sysdeps/unix/bsd/setegid.c: Likewise.
951 * sysdeps/unix/bsd/seteuid.c: Likewise.
952 * sysdeps/unix/bsd/setgid.c: Likewise.
953 * sysdeps/unix/bsd/setrgid.c: Likewise.
954 * sysdeps/unix/bsd/setruid.c: Likewise.
955 * sysdeps/unix/bsd/setsid.c: Likewise.
956 * sysdeps/unix/bsd/setuid.c: Likewise.
957 * sysdeps/unix/bsd/sigaction.c: Likewise.
958 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
959 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
960 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
961 * sysdeps/unix/bsd/telldir.c: Likewise.
962 * sysdeps/unix/bsd/times.c: Likewise.
963 * sysdeps/unix/bsd/usleep.c: Likewise.
964
029c7b25
JM
965 * misc/Makefile (install-lib): Remove libbsd-compat.a.
966 ($(objpfx)libbsd-compat.a): Remove rule.
967
7011c262
JM
968 * include/features.h (__FAVOR_BSD): Do not define.
969 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
970 features conflicting with POSIX.
971 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
972 (_BSD_SOURCE): Remove description of not being a subset of other
973 feature test macros.
974 * manual/job.texi (getpgrp): Do not document BSD version.
975 (getpgid): Do not document by reference to BSD getpgrp.
976 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
977 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
978 * signal/signal.h [__FAVOR_BSD]: Likewise.
979 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
980 instead of making contents conditional on [__FAVOR_BSD].
981 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
982
affb6f78
AZ
9832013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
986
c88769dd
JM
9872013-12-17 Joseph Myers <joseph@codesourcery.com>
988
6432a540
JM
989 [BZ #16314]
990 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
991 values below 2**-450, not 2**-500.
992 * math/auto-libm-test-in: Don't allow spurious underflow from
993 hypot.
994 * math/auto-libm-test-out: Regenerated.
995
c88769dd
JM
996 [BZ #16316]
997 [BZ #16330]
998 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
999 values of ha and hb and sort them after adjusting subnormal
1000 arguments.
1001 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1002 Likewise.
1003 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1004 values of ea and eb and sort them after adjusting subnormal
1005 arguments.
1006 * math/auto-libm-test-in: Do not expect some hypot tests of
1007 subnormals to fail. Add more hypot tests.
1008 * math/auto-libm-test-out: Regenerated.
1009
29618f6b
KK
10102013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1011
1012 [BZ #13304]
1013 * sysdeps/sh/s_fma.c: New file.
1014 * sysdeps/sh/s_fmaf.c: New file.
1015 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1016 version.
1017 * sysdeps/sh/Implies: Add sh/soft-fp.
1018
eacfdfbf
RM
10192013-12-16 Roland McGrath <roland@hack.frob.com>
1020
1021 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1022 level of indirection to members `objname', `errstring', `malloced'.
1023 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1024 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1025 it as the __longjmp argument (just pass 1 instead).
1026 (_dl_catch_error): Initialize C with argument pointers and address of
1027 volatile local ERRCODE rather than copying values out of C at return.
1028
ff362e5b
JM
10292013-12-16 Joseph Myers <joseph@codesourcery.com>
1030
1031 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1032 * math/auto-libm-test-out: Regenerated.
1033 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1034 (hypot_test_data): Likewise.
1035 (pow_test_data): Likewise.
1036 (pow_tonearest_test_data): Likewise.
1037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1038 mpfr_ff_f.
1039 (func_calc_desc): Add mpfr_ff_f union field.
1040 (FUNC_mpfr_ff_f): New macro.
1041 (test_functions): Add atan2, hypot and pow.
1042 (special_fill_min): New function.
1043 (special_fill_minus_min): Likewise.
1044 (special_fill_min_subnorm): Likewise.
1045 (special_fill_minus_min_subnorm): Likewise.
1046 (special_real_inputs): Add min, -min, min_subnorm and
1047 -min_subnorm.
1048 (calc_generic_results): Handle mpfr_ff_f.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1051
5764c27f
WN
10522013-12-16 Will Newton <will.newton@linaro.org>
1053
1054 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1055 (Aligned Memory Blocks): Add documentation for aligned_alloc
1056 and suggest it as an alternative to posix_memalign.
1057 (Hooks for Malloc): Document __memalign_hook is also called
1058 for aligned_alloc. (Summary of Malloc): Add summary for
1059 aligned alloc. Document __memalign_hook is also called
1060 for aligned_alloc.
1061
0a096e44
WN
10622013-12-16 Will Newton <will.newton@linaro.org>
1063
1064 * manual/memory.texi (Malloc Examples): Clarify default
1065 alignment documentation. Suggest posix_memalign rather
1066 than memalign or valloc.
1067 (Aligned Memory Blocks): Remove suggestion to use memalign
1068 or valloc. Remove obsolete comment about BSD.
1069 Document memalign errno values and mark the function obsolete.
1070 Document posix_memalign returned error codes. Mark valloc
1071 as obsolete. (Hooks for Malloc): __memalign_hook is also
1072 called for posix_memalign and valloc.
1073 (Summary of Malloc): Add posix_memalign to function summary.
1074 __memalign_hook is also called for posix_memalign and valloc.
1075
8d561986
SP
10762013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1079 TAYLOR_SIN.
1080 (__sin): Adjust.
1081 (__cos): Likewise.
1082 (sloww): Use mynumber union. Expand ternary operator into
1083 if-else statements.
1084 (cslow): use mynumber union.
1085
73616a74
AM
10862013-12-16 Allan McRae <allan@archlinux.org>
1087
9e8ac24b
AM
1088 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1089 * configure: Regenerated.
1090
6f8e37eb
AM
1091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1092
8894bad3
AM
1093 [BZ #14120]
1094 * configure.ac: Added --enable-maintainer-mode. Check for
1095 autoconf when enabled.
1096 * configure: Regenerated.
1097
73616a74
AM
1098 * nscd/nscd.service: New file.
1099 * nscd/nscd.tmpfiles: New file.
1100
584b18eb
OB
11012013-12-14 Ondřej Bílka <neleai@seznam.cz>
1102
1103 [BZ #12100]
1104 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1105 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1106 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1107 (strstr): Add __strstr_sse2_unaligned ifunc.
1108 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1109 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1110 (strcasestr): Remove __strcasestr_sse42 ifunc.
1111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1114
8a5c7897
KK
11152013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1116
1117 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1118 * sysdeps/sh/bits/fenv.h: ... here.
1119 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1120
fd712ef3
AZ
11212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1124
42fcb46c
AZ
11252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1128 hypotf multiarch implementations.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1132 multiarch hypot for PPC64.
1133 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1136 multiarch hypotf for PPC64.
1137
83efded4
AZ
11382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1141 modff multiarch implementations.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1145 multiarch modf for PPC64.
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1149 multiarch modff for PPC64.
1150
43e246d2
AZ
11512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1154 and logl multiarch implementations.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1158 multiarch logb for PPC64.
1159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1162 multiarch logb for PPC64.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1166 multiarch logb for PPC64.
1167
8fdad123
AZ
11682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1169
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1171 isinff multiarch implementation.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1173 file.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1176 multiarch isinf for PPC64.
1177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1178 file.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1180 multiarch isinff for PPC64.
1181
1481d706
AZ
11822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183
1184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1185 finitef multiarch implementation.
1186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1187 file.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1190 multiarch finite for PPC64.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1192 file.
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1194 multiarch finitef for PPC64.
1195
5ccd5fc8
AZ
11962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1199 lrint multiarch implementation.
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1201 file.
1202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1204 multiarch llrint for PPC64.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1206 multiarch lrint for PPC64.
1207
2568f3fa
AZ
12082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1211 copysignf multiarch implementation.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1213 file.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1215 file.
1216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1217 multiarch copysign for PPC64.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1219 multiarch copysignf for PPC64.
1220
1cb341fd
AZ
12212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1224 multiarch implementation.
1225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1226 file.
1227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1228 file.
1229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1230 file.
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1232 file.
1233 multiarch llround for PPC64.
1234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1235 multiarch trunc for PPC64.
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1237 multiarch truncf for PPC64.
1238
59a3e194
AZ
12392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1242 multiarch implementation.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1244 file.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1246 file.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1248 file.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1250 file.
1251 multiarch llround for PPC64.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1253 multiarch round for PPC64.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1255 multiarch roundf for PPC64.
1256
357fd3b4
AZ
12572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1260 multiarch implementation.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1262 file.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1264 file.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1266 file.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1268 file.
1269 multiarch llround for PPC64.
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1271 multiarch floor for PPC64.
1272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1273 multiarch floorf for PPC64.
1274
96770f12
AZ
12752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1278 multiarch implementation.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1280 file.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1282 file.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1284 file.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1286 file.
1287 multiarch llround for PPC64.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1289 multiarch ceil for PPC64.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1291 multiarch ceilf for PPC64.
1292
c3627f6e
AZ
12932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1296 multiarch implementation.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1298 file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1300 file.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1302 file.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1304 multiarch llround for PPC64.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1306 multiarch lround for PPC64.
1307
b2284ad7
AZ
13082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1311 multiarch implementation.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1315 file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1319 multiarch isnan for PPC64.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1321 multiarch isnanf for PPC64.
1322
69bbc63d
AZ
13232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1326 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1327 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1328 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1329 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1331
c24517c9
AZ
13322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1333
1334 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1338
a52374e8
AZ
13392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1340
1341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1342 multiarch implementations.
1343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1344 (__libc_ifunc_impl_list): Likewise.
1345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1346 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1347 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1348 multiarch stpcpy for PPC64.
1349
7f5ec113
AZ
13502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1353 multiarch implementations.
1354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1355 (__libc_ifunc_impl_list): Likewise.
1356 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1357 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1358 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1359 multiarch strcpy for PPC64.
1360
e28bcd42
AZ
13612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362
1363 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1364 redefine function name.
1365 (_wordcopy_fwd_dest_aligned): Likewise.
1366 (_wordcopy_bwd_aligned): Likewise.
1367 (_wordcopy_bwd_dest_aligned): Likewise.
1368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1369 multiarch implementations.
1370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1371 (__libc_ifunc_impl_list): Likewise.
1372 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1373 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1374 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1375 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1376 multiarch wcscpy for PPC64.
1377
92cacfce
AZ
13782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379
1380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1381 multiarch implementations.
1382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1383 (__libc_ifunc_impl_list): Likewise.
1384 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1385 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1386 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1387 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1388 multiarch wcscpy for PPC64.
1389
7b714620
AZ
13902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391
1392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1393 multiarch implementations.
1394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1395 (__libc_ifunc_impl_list): Likewise.
1396 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1397 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1398 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1399 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1400 multiarch wcsrchr for PPC64.
1401
16fd2ae3
AZ
14022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1403
1404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1405 multiarch implementations.
1406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1407 (__libc_ifunc_impl_list): Likewise.
1408 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1409 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1410 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1411 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1412 multiarch wcschr for PPC64.
1413
9ee2969b
AZ
14142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415
1416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1417 multiarch implementations.
1418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1419 (__libc_ifunc_impl_list): Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1421 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1422 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1423 multiarch strchrnul for PPC64.
1424
372dc060
AZ
14252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426
1427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1428 implementations.
1429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1430 (__libc_ifunc_impl_list): Likewise.
1431 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1432 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1433 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1434 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1435 strchr for PPC64.
1436
24c2c3b9
AZ
14372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438
1439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1440 implementations.
1441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1442 (__libc_ifunc_impl_list): Likewise.
1443 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1444 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1446 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1447 strncmp for PPC64.
1448
1c92d9a0
AZ
14492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
1451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1452 multiarch implementations.
1453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Likewise.
1455 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1456 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1457 strncasecmp for PPC64.
1458 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1459 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1460 multiarch strncasecmp_l for PPC64.
1461
17de3ee3
AZ
14622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463
1464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1465 multiarch implementations.
1466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1467 (__libc_ifunc_impl_list): Likewise.
1468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1470 multiarch strcasecmp for PPC64.
1471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1472 file.
1473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1474 multiarch strcasecmp_l for PPC64.
1475
62982bf9
AZ
14762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477
1478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1479 implementations.
1480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1481 (__libc_ifunc_impl_list): Likewise.
1482 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1483 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1484 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1485 strnlen for PPC64.
1486
a65f4904
AZ
14872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1490 implementations.
1491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1492 (__libc_ifunc_impl_list): Likewise.
1493 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1494 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1495 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1496 strlen for PPC64.
1497
1fd005ad
AZ
14982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
1500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1501 implementations.
1502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1503 (__libc_ifunc_impl_list): Likewise.
1504 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1506 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1507 rawmemrchr for PPC64.
1508
cd05ba91
AZ
15092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1510
1511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1512 implementation.
1513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1514 (__libc_ifunc_impl_list): Likewise.
1515 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1516 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1517 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1518 memrchr for PPC64.
1519
870f8676
AZ
15202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521
1522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1523 implementation.
1524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1525 (__libc_ifunc_impl_list): Likewise.
1526 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1529 memchr for PPC64.
1530
f00be62b
AZ
15312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1534 implementation.
1535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1536 (__libc_ifunc_impl_list): Likewise.
1537 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1538 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1539 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1540 mempcpy for PPC64.
1541
8a29a3d0
AZ
15422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1545 avoid cretion of __bzero symbol.
1546 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1547 Likewise.
1548 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1549 Likewise.
1550 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1551 Likewise.
1552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1553 multiarch implementations.
1554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1555 (__libc_ifunc_impl_list): Likewise.
1556 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1557 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1558 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1559 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1560 bzero for PPC32.
1561 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1562 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1563 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1564 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1565 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1566 memset for PPC64.
1567 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1568
07253fcf
AZ
15692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1573 implementations.
1574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1575 (__libc_ifunc_impl_list): Likewise.
1576 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1578 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1579 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1580 memcmp for PPC64.
1581
b5beafbc
AZ
15822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583
1584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1585 multiarch for POWER/PPC64.
1586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1587 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1588 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1590 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1594 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1595 memcpy for PPC64.
1596
5e6a4d4b
AZ
15972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1600 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1601 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1602 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1603 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1604 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1605 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1606 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1607 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1608 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1609 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1610 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1611 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1612 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1613 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1621
ddfab6dc
KK
16222013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1623
1624 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1625
19b5525e
SP
16262013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
1628 * benchtests/Makefile (bench): Add exp2 and log2.
1629 (LDLIBS-bench-exp2): Add -lm.
1630 (LDLIBS-bench-log2): Likewise.
1631 * benchtests/exp2-inputs: New inputs file.
1632 * benchtests/log2-inputs: New inputs file.
1633 * benchtests/log-inputs: Add new inputs.
1634 * benchtests/tan-inputs: Likewise.
1635
196f7f5d
SP
16362013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1637
7a74607f
SP
1638 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1639 definition...
1640 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1641 csloww1, csloww2): ... from here.
1642
196f7f5d
SP
1643 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1644 instead of structures.
1645 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1646 (POLYNOMIAL): Likewise.
1647 (TAYLOR_SLOW): Likewise.
1648 (__sin): Likewise.
1649 (__cos): Likewise.
1650 (slow1): Likewise.
1651 (slow2): Likewise.
1652 (sloww): Likewise.
1653 (sloww1); Likewise.
1654 (sloww2): Likewise.
1655 (bsloww1): Likewise.
1656 (bsloww2): Likewise.
1657 (cslow2): Likewise.
1658 (csloww): Likewise.
1659 (csloww1): Likewise.
1660 (csloww2): Likewise.
1661
0dfa665c
OB
16622013-12-10 Ondřej Bílka <neleai@seznam.cz>
1663
1664 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1665 (__malloc_assert, __libc_realloc, __libc_calloc,
1666 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1667 memcpy and memset.
1668 * malloc/hooks.c (realloc_check): Likewise.
1669
5782a80f
OB
16702013-12-10 Ondřej Bílka <neleai@seznam.cz>
1671
1672 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1673 * malloc/arena.c: Remove PER_THREAD conditional.
1674 [!PER_THREAD]: Remove code.
1675 (ptmalloc_unlock_all2): Likewise.
1676 (ptmalloc_init): Likewise.
1677 (_int_new_arena): Likewise.
1678 (arena_get2): Likewise.
1679 * malloc/hooks.c (__malloc_get_state): Likewise.
1680 (__malloc_set_state): Likewise.
1681 * malloc/malloc.c: Likewise.
1682 (struct malloc_state): Likewise.
1683 (struct malloc_par): Likewise.
1684 (__libc_realloc): Likewise.
1685 (__libc_mallopt): Likewise.
1686
aeb95445
AZ
16872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688
1689 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1690
e8349efd
OB
16912013-12-09 Ondřej Bílka <neleai@seznam.cz>
1692
1693 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1694 macro to a function. Check for zero perturb_byte.
1695 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1696
f3eeb3fc
OB
16972013-12-09 Ondřej Bílka <neleai@seznam.cz>
1698
1699 * malloc/malloc.c: (force_reg): Remove.
1700 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1701 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1702 force_reg by atomic_forced_read.
1703 * malloc/arena.c (ptmalloc_init): Likewise.
1704 * malloc/hooks.c (top_check): Likewise.
1705
be2f9009
AZ
17062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707
1708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1709
e7b914bd
MT
17102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1711
1712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1713
9f0be4f8
JM
17142013-12-08 Joseph Myers <joseph@codesourcery.com>
1715
1716 * math/auto-libm-test-in: Add tests of lgamma.
1717 * math/auto-libm-test-out: Regenerated.
1718 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1719 (M_LOG_2_SQRT_PIl): Likewise.
1720 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1722 mpfr_f_f1.
1723 (func_calc_desc): Add mpfr_f_f1 union field.
1724 (ARGS1): New macro.
1725 (ARGS2): Likewise.
1726 (ARGS3): Likewise.
1727 (ARGS4): Likewise.
1728 (RET1): Likewise.
1729 (RET2): Likewise.
1730 (CALC): Likewise.
1731 (FUNC): Likewise.
1732 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1733 (test_functions): Add lgamma.
1734 (calc_generic_results): Handle mpfr_f_f1.
1735 * sysdeps/i386/fpu/libm-test-ulps: Update.
1736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1737
24eeafdb
AZ
17382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1741 __mpn_add_n for PowerPC64/POWER7.
1742 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1743 __mpn_sub_n for PowerPC64/POWER7.
1744
4a2c0fd4
AZ
17452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1748 __mpn_addmul_1 for PowerPC64.
1749 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1750 __mpn_submul_1 for PowerPC64.
1751 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1752 for PowerPC64.
1753 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1754 for PowerPC64.
1755
4b5b548c
FS
17562013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1757
1758 [BZ #15089]
1759 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1760
0a3ac0aa
AZ
17612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762
1763 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1764
ccdc8438
AZ
17652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
1767 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1768 add multiarch folders.
1769 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1770 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1771 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1772 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1773 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1774 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1775 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1776 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1777 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1778 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1779 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1786
2e973d99
AZ
17872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1790 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1792 New file.
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1794 New file.
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1796 multiarch __ieee754_hypot for PowerPC32.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1798 New file.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1800 New file.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1802 multiarch __ieee754_hypotf for PowerPC32.
1803
2d9470b2
AZ
18042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
1806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1807 long_double_symbol only if __logbl is defined.
1808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1809 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1811 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1813 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1815 path for implementation.
1816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1819 logb, and logbl multiarch implementations for PowerPC32.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1821 file.
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1823 file.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1825 multiarch logb for PowerPC32.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1827 file.
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1829 file.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1831 multiarch logbf for PowerPC32.
1832 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1834 file.
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1836 multiarch logbl implementation for PowerPC32.
1837
5212ffce
AZ
18382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1841 and modff multiarch implementations.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1843 New file.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1845 New file.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1847 multiarch modf for PowerPC32.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1849 New file.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1851 New file.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1853 multiarch modff for PowerPC32.
1854
79dccf31
AZ
18552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856
1857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1858 and lrintf multiarch implementations.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1860 New file.
1861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1862 New file.
1863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1864 multiarch lrint for PowerPC32.
1865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1866 file: multiarch lrintf for PowerPC32.
1867
deb66480
AZ
18682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1871 and lroundf multiarch implementations.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1873 New file.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1875 New file.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1877 New file.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1879 multiarch lround for PowerPC32.
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1881 file: multiarch lroundf for PowerPC32.
1882
264b036b
AZ
18832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1886 copysign and copysignf multiarch implementations.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1888 New file.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1890 New file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1892 file: multiarch copysign for PowerPC32.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1894 file: multiarch copysignf for PowerPC32.
1895
d47db6c9
AZ
18962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1897
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1899 and truncf multiarch implementations.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1901 New file.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1903 file.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1905 multiarch trunc for PowerPC32.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1907 New file.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1909 New file.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1911 multiarch truncf for PowerPC32.
1912
ddb60b5a
AZ
19132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1916 and roundf multiarch implementations.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1918 New file.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1920 file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1922 multiarch round for PowerPC32.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1924 New file.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1926 New file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1928 multiarch roundf for PowerPC32.
1929
bedcf49b
AZ
19302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1933 and floorf multiarch implementations.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1935 New file.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1939 multiarch floor for PowerPC32.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1941 New file.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1943 New file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1945 multiarch floorf for PowerPC32.
1946
35ae5b40
AZ
19472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1950 and ceilf multiarch implementations.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1952 New file.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1954 file.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1956 multiarch ceil for PowerPC32.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1958 New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1960 file.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1962 multiarch ceilf for PowerPC32.
1963
ae1a4cd9
AZ
19642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1967 is defined.
1968 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1969 FINITEF is defined.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1971 and finitef multiarch implementations.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1973 New file.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1975 file.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1977 multiarch finite for PowerPC32.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1979 New file.
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1981 file: multiarch finitef for PowerPC32.
1982
64fffd65
AZ
19832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1986 and isinff multiarch implementations.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1988 file.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1990 file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1992 multiarch isinf for PowerPC32.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1994 New file.
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1996 multiarch isinff for PowerPC32.
1997
8e4e7ba2
AZ
19982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999
2000 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2001 alias when __isnan is defined.
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2003 and isnanf multiarch implementations.
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2005 file.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2007 file.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2009 file.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2011 file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2013 multiarch isnan for PowerPC32.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2015 New file.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2017 New file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2019 multiarch isnanf for PowerPC32.
2020
ddba588e
AZ
20212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2024 and sqrtf multiarch implementations.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2026 file.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2028 file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2030 multiarch sqrt for PowerPC32.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2032 file.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2034 file.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2036 multiarch sqrtf for PowerPC32.
2037
0f96a2f0
AZ
20382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2041 and llroundf multiarch implementations.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2043 New file.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2045 New file.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2049 file: multiarch llround for PowerPC32.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2051 file: multiarch llroundf for PowerPC32.
2052
c9b5d79e
AZ
20532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2056 multiarch PowerPC32 fpu implementations.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2058 New file.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2060 New file.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2062 multiarch llrint for PowerPC32.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2064 New file.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2066 New file.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2068 file.
2069
9cbb3aab
AZ
20702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2073
ea5a72f8
AZ
20742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2077 file.
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2079 file.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2081 file.
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2083 multiarch wordcopy for PPC32.
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2085 wordcopy objects.
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2087 (__libc_ifunc_impl_list): Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2089 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2091 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2092 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2093 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2094
93be09e7
AZ
20952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2096
2097 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2099 file.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2101 file.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2103 file.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2105 multiarch wcscpy for PPC32.
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2107 multiarch objects.
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2109 (__libc_ifunc_impl_list): Likewise.
2110 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2111 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2112 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2113 sysdeps/powerpc/power6/wcscpy.c.
2114
bb04e529
AZ
21152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116
2117 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2119 file.
2120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2121 file.
2122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2123 file.
2124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2125 multiarch wcsrchr for PPC32.
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2127 multiarch objects.
2128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2129 (__libc_ifunc_impl_list): Likewise.
2130 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2131 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2132 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2133 sysdeps/powerpc/power6/wcsrchr.c.
2134
05b5cd1c
AZ
21352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2138 file.
2139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2140 file.
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2143 multiarch wcschr for PPc32.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2145 multiarch objects.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2147 (__libc_ifunc_impl_list): Likewise.
2148 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2149 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2150 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2151 sysdeps/powerpc/power6/wcschr.c.
2152
ba964147
AZ
21532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2154
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2157 file.
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2159 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2160 file: multiarch strchr for PPC32.
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2162 multiarch objects.
2163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2164 (__libc_ifunc_impl_list): Likewise.
2165
31c81aaa
AZ
21662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167
2168 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2169 name.
2170 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2171 file.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2173 file.
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2175 multiarch strchrnul for PPC32.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2177 multiarch objects.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2179 (__libc_ifunc_impl_list): Likewise.
2180
0d0607d9
AZ
21812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2184 file.
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2186 multiarch strncasecmp for PPC32.
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2188 file.
2189 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2190 multiarch strncasecmp_l for PPC32.
2191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2192 strncasecmp multiarch objects.
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2194 (__libc_ifunc_impl_list): Likewise.
2195
4dfd5c86
AZ
21962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2197
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2199 file.
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2201 multiarch strncasecmp for PPC32.
2202 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2203 New file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2205 multiarch strcasecmp_l for PPC32.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2207 multiarch objects.
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2209 (__libc_ifunc_impl_list): Likewise.
2210
a19e01a3
AZ
22112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2214 file.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2216 file.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2218 multiarch strncmp for PPC32.
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2220 multiarch objects.
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2222 (__libc_ifunc_impl_list): Likewise.
2223
ae9cf7a2
AZ
22242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2225
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2227 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2228 file.
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2232 multiarch objects.
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2234 (__libc_ifunc_impl_list): Likewise.
2235
3148bb7d
AZ
22362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2237
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2239 file.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2241 file.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2244 multiarch objects.
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2246 (__libc_ifunc_impl_list): Likewise.
2247
7af8b946
AZ
22482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2251 file.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2253 file.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2255 multiarch rawmemchr for PPC32.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2257 multiarch objects.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2259 (__libc_ifunc_impl_list): Likewise.
2260
03a6aa6a
AZ
22612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2264 file.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2266 file.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2268 file: memrchr multiarch for PPC32.
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2270 multiarch objects.
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2272 (__libc_ifunc_impl_list): Likewise.
2273
1c62e6d9
AZ
22742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275
2276 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2278 file.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2281 multiarch memchr for PPC32.
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2283 multiarch objects.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2285 (__libc_ifunc_impl_list): Likewise.
2286
87da8bdb
AZ
22872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288
2289 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2291 file.
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2293 file.
2294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2295 file: multiarch mempcpy for PPC32.
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2297 multiarch objects.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2299 (__libc_ifunc_impl_list): Likewise.
2300
20ed4714
AZ
23012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2302
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2307 multiarch bzero for PPC32.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2309 file.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2311 file.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2313 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2314 file: multiarch memset for PPC32.
2315 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2317 memset multiarch objects.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2319 (__libc_ifunc_impl_list): Likewise.
2320
ab3e3a46
AZ
23212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2324 file.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2327 memcmp for PPC32.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2330 multiarch objects.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2332 (__libc_ifunc_impl_list): Likewise.
2333
930de6f0
AZ
23342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2339 file.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2341 file.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2343 file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2345 multiarch memcpy for PPC32.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2347 multiarch objects.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2349 (__libc_ifunc_impl_list): Likewise.
2350
4c628e00
AZ
23512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2354 support multiarch for POWER/PPC32.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2356 Likewise.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2359 Implies file to make multiarch folder appers before the fpu and
2360 default folder for power4 configuration.
2361
f4479220
SP
23622013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2363
2364 * scripts/bench.pl: Append volatile keyword to type.
2365
8517800f
KK
23662013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2367
2368 * sysdeps/sh/sotruss-lib.c: New file.
2369 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2370
180138f1
AZ
23712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2372
2373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2374
bbf37bdc
JM
23752013-12-05 Joseph Myers <joseph@codesourcery.com>
2376
e47cc4e0
JM
2377 [BZ #6810]
2378 * math/w_tgamma.c: Include <errno.h>.
2379 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2380 * math/w_tgammaf.c: Include <errno.h>.
2381 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2382 * math/w_tgammal.c: Include <errno.h>.
2383 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2384 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2385 underflow. Add more tgamma tests.
2386 * math/auto-libm-test-out: Regenerated.
2387 * sysdeps/i386/fpu/libm-test-ulps: Update.
2388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2389
bbf37bdc
JM
2390 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2391 sin, sinh, tan, tanh, tgamma, y0 and y1.
2392 * math/auto-libm-test-out: Regenerated.
2393 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2394 (TEST_COND_x86): Likewise.
2395 (M_E2l): Remove macro.
2396 (M_E3l): Likewise.
2397 (M_2_SQRT_PIl): Likewise.
2398 (M_SQRT_PIl): Likewise.
2399 (M_1_DIV_El): Likewise.
2400 (log_test_data): Use AUTO_TESTS_f_f.
2401 (log10_test_data): Likewise.
2402 (log1p_test_data): Likewise.
2403 (log2_test_data): Likewise.
2404 (sin_test_data): Likewise.
2405 (sin_tonearest_test_data): Likewise.
2406 (sin_towardzero_test_data): Likewise.
2407 (sin_downward_test_data): Likewise.
2408 (sin_upward_test_data): Likewise.
2409 (sinh_test_data): Likewise.
2410 (sinh_tonearest_test_data): Likewise.
2411 (sinh_towardzero_test_data): Likewise.
2412 (sinh_downward_test_data): Likewise.
2413 (sinh_upward_test_data): Likewise.
2414 (tan_test_data): Likewise.
2415 (tan_tonearest_test_data): Likewise.
2416 (tan_towardzero_test_data): Likewise.
2417 (tan_downward_test_data): Likewise.
2418 (tan_upward_test_data): Likewise.
2419 (tanh_test_data): Likewise.
2420 (tgamma_test_data): Likewise.
2421 (y0_test_data): Likewise.
2422 (y1_test_data): Likewise.
2423 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2424 (special_real_inputs): Add pi/4.
2425 * sysdeps/i386/fpu/libm-test-ulps: Update.
2426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2427
eb5ad6b9
AZ
24282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2429
2430 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2431 "longjmp_target" static probes.
2432 (__longjmp): Rename to __longjmp_symbol.
2433 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2435 on which longjmp to generate.
2436 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2438 probe.
2439 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2440 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2441 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2443 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2444 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2446 __longjmp_symbol based on which __longjmp to generate.
2447 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2448 probe.
2449 (setjmp): Rename to setjmp_symbol.
2450 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2451 (_setjmp): Rename to _setjmp_symbol.
2452 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2453 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2454 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2455 which setjmp to generate.
2456 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2457 "longjmp_target" static probes.
2458
d136c6dc
SP
24592013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
9298ecba
SP
2461 * benchtests/README: Add note about output arguments.
2462 * benchtests/bench-sincos.c: Remove file.
2463 * benchtests/sincos-inputs: New file.
2464 * scripts/bench.pl: Identify output arguments and define
2465 static variables for them.
2466
232983e9
SP
2467 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2468
d136c6dc
SP
2469 [BZ #15941]
2470 * Makefile (INSTALL): Add install-plain.texi as the primary
2471 dependency.
2472 * manual/install-plain.texi: New file.
2473 * manual/install.texi: Include node directive only for
2474 non-plaintext output.
2475
699ff837
JM
24762013-12-04 Joseph Myers <joseph@codesourcery.com>
2477
ab07cea8
JM
2478 * stdlib/longlong.h: Update from GCC.
2479
699ff837
JM
2480 [BZ #6807]
2481 [BZ #15901]
2482 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2483 * math/w_j0f.c (y0f): Likewise.
2484 * math/w_j0l.c (__y0l): Likewise.
2485 * math/w_j1.c (y1): Likewise.
2486 * math/w_j1f.c (y1f): Likewise.
2487 * math/w_j1l.c (__y1l): Likewise
2488 * math/w_jn.c (yn): Likewise.
2489 * math/w_jnf.c (ynf): Likewise.
2490 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2491 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2492 value for Bessel function domain errors outside _SVID_ mode.
2493 Adjust sign of return value for yn (negative integer, 0).
2494 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2495 by zero in return for negative x and set sign appropriately for
2496 negative n.
2497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2498 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2499 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2500 expectations in error cases.
2501 (y1_test_data): Likewise.
2502 (yn_test_data): Likewise.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505
5b118558
UW
25062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2507
2508 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2509 "64" to "64-v1". Add "64-v2".
2510 (abi-64-options): Rename to ...
2511 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2512 (abi-64-condition): Rename to ...
2513 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2514 (abi-64-ld-soname): Rename to ...
2515 (abi-64-v1-ld-soname): ... this.
2516 (abi-64-v2-options): Define.
2517 (abi-64-v2-condition): Likewise.
2518 (abi-64-v2-ld-soname): Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2520 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2524
61cd8fe4
UW
25252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2526 Alan Modra <amodra@gmail.com>
2527
2528 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2529 New versions for use with the ELFv2 ABI.
2530 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2531 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2532 declaration.
2533 (struct La_ppc64v2_retval): Likewise.
2534 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2535 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2536 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2537 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2538 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2540 Do not save or restore CR.
2541 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2542 (_dl_profile_resolve): Do no save or restore CR. Support extended
2543 return values for ELFv2 ABI. Fix location of FPR return registers.
2544 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2545 updated values for _CALL_ELF == 2.
2546 (La_regs, La_retval, int_retval): Likewise.
2547
8b8a692c
UW
25482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2549
2550 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2551 (FRAME_MIN_SIZE_PARM): Likewise.
2552 (FRAME_BACKCHAIN): Likewise.
2553 (FRAME_CR_SAVE): Likewise.
2554 (FRAME_LR_SAVE): Likewise.
2555 (FRAME_TOC_SAVE): Likewise.
2556 (FRAME_PARM_SAVE): Likewise.
2557 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2558 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2559 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2560 (call_mcount_parm_offset): New macro.
2561 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2562 (PROF): Use symbolic stack frame offsets.
2563 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2564 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2565 Redefine in terms of FRAME_MIN_SIZE.
2566 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2567 (_dl_profile_resolve): Likewise. Update comment.
2568 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2569 symbols stack frame offsets.
2570 (__sigsetjmp): Likewise.
2571 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2572 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2573 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2574 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2575
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2577 (FRAME_BACKCHAIN): Remove.
2578 (FRAME_CR_SAVE): Likewise.
2579 (FRAME_LR_SAVE): Likewise.
2580 (FRAME_COMPILER_DW): Likewise.
2581 (FRAME_LINKER_DW): Likewise.
2582 (FRAME_TOC_SAVE): Likewise.
2583 (FRAME_PARM_SAVE): Likewise.
2584 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2585 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2586 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2588 (CHECK_SP): Use symbolic stack frame offsets.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2590 zone" instead of caller's parameter save area for temp storage.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2592 Likewise. Also, use symbolic stack frame offsets.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2594 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2595 our own stack frame instead of the caller's.
2596 (__socket): Use symbolic stack frame offsets.
2597
122b66de
UW
25982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2599 Alan Modra <amodra@gmail.com>
2600
2601 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2602 Define.
2603 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2604 PPC64_LOCAL_ENTRY_OFFSET): Define.
2605 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2606 New function.
2607 (elf_machine_fixup_plt): Call it.
2608 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2609 reloc arguments.
2610 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2612 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2613 r2 before calling target.
2614
696caf1d
UW
26152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2616 Alan Modra <amodra@gmail.com>
2617
2618 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2619 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2620 versions of macros to support ELFv2 ABI.
2621 (LOCALENTRY): New macro.
2622 (ENTRY, EALIGN): Use it.
2623 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2624 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2625 fall through into ENTRY entry point.
2626 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2627 Only define if _CALL_ELF != 2.
2628
2629 (elf_machine_matches_host): Verify ABI version matches.
2630 (RTLD_START): Use LOCALENTRY.
2631 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2632 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2633 (PLT_ENTRY_WORDS): New macro.
2634 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2635 (elf_machine_runtime_setup): Support ELFv2 ABI.
2636 (elf_machine_fixup_plt): Likewise.
2637 (elf_machine_plt_conflict): Likewise.
2638 (resolve_ifunc): Likewise.
2639 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2643 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2645 (makecontext): Support ELFv2 ABI.
2646 * elf/elf.h (EF_PPC64_ABI): Define.
2647
d31beafa
UW
26482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2649
2650 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2651 New assembler macro.
2652 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2653 [ASSEMBLER] (ENTRY): ... but instead here ...
2654 [ASSEMBLER] (EALIGN): ... and here.
2655 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2656 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2657 [!ASSEMBLER] (ENTRY_2): Use it.
2658 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2659 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2660 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2661 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2662 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2664 Use PPC64_LOAD_FUNCPTR.
2665
b525166b
UW
26662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2667
2668 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2669
7ec07d9a
AM
26702013-12-04 Alan Modra <amodra@gmail.com>
2671
2672 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2673 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2674 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2675 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2676
2677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2678 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2679 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2680 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2681 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2682 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2683
5162e7dd
UW
26842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2685
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2687 (__makecontext): Fix incorrect CFI when backtracing out of
2688 context created via makecontext.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2690 (__setcontext): Fix incorrect CFI during switch to new context.
2691 (__novec_setcontext): Likewise.
2692
19e3372b
OB
26932013-12-04 Ondřej Bílka <neleai@seznam.cz>
2694
2695 [BZ #4772]
2696 * time/strptime_l.c (__strptime_internal): Allow modifiers
2697 in strptime.
2698 * time/tst-strptime.c (day_tests): Add testcase.
2699
2700
ecaf142d
SP
27012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
2703 * scripts/bench.pl: Skip over blank lines.
2704
fbf964ae
PE
27052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2706
2707 [BZ #926]
2708 * manual/time.texi (Calendar Time): Clarify what timezone functions
2709 use.
2710
fa60a674
AZ
27112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2712
2713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2714
d674f0ef
OB
27152013-12-04 Ondřej Bílka <neleai@seznam.cz>
2716
2717 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2718 implementation.
2719 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2720 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2721 * debug/memset_chk.c (__memset_chk): Likewise.
2722 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2723 * debug/strncpy_chk.c: Likewise.
2724
17dea188
JM
27252013-12-03 Joseph Myers <joseph@codesourcery.com>
2726
749008ff
JM
2727 [BZ #15268]
2728 [BZ #15425]
2729 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2730 (__ieee754_exp): For possibly underflowing results, check size of
2731 result and force underflow exception if required.
2732 * math/auto-libm-test-in: Add more tests of exp.
2733 * math/auto-libm-test-out: Regenerated.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2736
17dea188
JM
2737 [BZ #16283]
2738 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2739 * math/w_exp2f.c (__exp2f): Likewise.
2740 * math/w_exp2l.c (__exp2l): Likewise.
2741 * math/auto-libm-test-in: Do not allow missing errno on exp2
2742 underflow.
2743 * math/auto-libm-test-out: Regenerated.
2744
b20de2c3
OB
27452013-12-03 Ondřej Bílka <neleai@seznam.cz>
2746
2747 [BZ #16274]
2748 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2749 handle filename validation.
2750 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2751 (do_open): Delete.
2752
d8e2dbe3
JM
27532013-12-03 Joseph Myers <joseph@codesourcery.com>
2754
34e16df5
JM
2755 [BZ #6786]
2756 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2757 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2758 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2759 <float.h>.
2760 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2762 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2764 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2766 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2767 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2768 Add more erfc tests.
2769 * math/auto-libm-test-out: Regenerated.
2770 * sysdeps/i386/fpu/libm-test-ulps: Update.
2771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772
d8e2dbe3
JM
2773 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2774 exp2, expm1, j0 and j1.
2775 * math/auto-libm-test-out: Regenerated.
2776 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2777 (erfc_test_data): Likewise.
2778 (exp_test_data): Likewise.
2779 (exp_tonearest_test_data): Likewise.
2780 (exp_towardzero_test_data): Likewise.
2781 (exp_downward_test_data): Likewise.
2782 (exp_upward_test_data): Likewise.
2783 (exp10_test_data): Likewise.
2784 (exp2_test_data): Likewise.
2785 (expm1_test_data): Likewise.
2786 (j0_test_data): Likewise.
2787 (j1_test_data): Likewise.
2788 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2789 (input_flag_type): Add flag_xfail_rounding.
2790 (input_flags): Add xfail-rounding.
2791 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2792 (output_for_one_input_case): Handle flag_xfail_rounding.
2793 * sysdeps/i386/fpu/libm-test-ulps: Update.
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2795
18d14251
AJ
27962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2797
3d2e6075 2798 [BZ #16289]
18d14251
AJ
2799 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2800 division by 0.
2801
520d437b
SP
28022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2803
2804 [BZ #16195]
2805 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2806 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2807 (STAP_PROBE0): New macro.
2808 (STAP_PROBE1): Likewise.
2809 (STAP_PROBE2): Likewise.
2810 (STAP_PROBE3): Likewise.
2811 (STAP_PROBE4): Likewise.
2812
416e0145
OB
28132013-12-02 Ondřej Bílka <neleai@seznam.cz>
2814
2815 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2816
9d17796a
SE
28172013-12-02 Steve Ellcey <sellcey@mips.com>
2818
2819 * benchtests/Makefile (bench): Add sqrt.
2820 (LDLIBS-bench-sqrt): New.
2821 * benchtests/sqrt-input: New.
2822
f524d6a8
PS
28232013-12-02 Pavel Simerda <psimerda@redhat.com>
2824
639a0ef8
PS
2825 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2826 (GAIH_EAI): Likewise.
2827 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2828 (gaih_inet): Likewise.
2829 (getaddrinfo): Don't use GAIH_EAI.
2830
f524d6a8
PS
2831 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2832 (struct gaih): Remove definition.
2833
df3aedaf
SP
28342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2835
2836 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2837 Use HERRNOP directly.
2838
1ab19dec
AZ
28392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2840
b42ad38d 2841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2842
176b0c79
JM
28432013-11-30 Joseph Myers <joseph@codesourcery.com>
2844
2845 * math/gen-auto-libm-tests.c (test_functions): Add more
2846 single-argument functions.
2847 (special_fill_pi_2): New function.
2848 (special_fill_minus_pi_2): Likewise.
2849 (special_fill_pi_6): Likewise.
2850 (special_fill_minus_pi_6): Likewise.
2851 (special_fill_pi_3): Likewise.
2852 (special_fill_2pi_3): Likewise.
2853 (special_fill_e): Likewise.
2854 (special_fill_1_e): Likewise.
2855 (special_fill_e_minus_1): Likewise.
2856 (special_real_inputs): Add more special inputs.
2857 (output_for_one_input_case): Do not require ERANGE on underflow to
2858 zero if round-to-nearest result does not underflow to zero, unless
2859 exact results required.
2860 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2861 atan, atanh, cbrt, cos and cosh.
2862 * math/auto-libm-test-out: Regenerated.
2863 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2864 (acos_tonearest_test_data): Likewise.
2865 (acos_towardzero_test_data): Likewise.
2866 (acos_downward_test_data): Likewise.
2867 (acos_upward_test_data): Likewise.
2868 (acosh_test_data): Likewise.
2869 (asin_test_data): Likewise.
2870 (asin_tonearest_test_data): Likewise.
2871 (asin_towardzero_test_data): Likewise.
2872 (asin_upward_test_data): Likewise.
2873 (asinh_test_data): Likewise.
2874 (atan_test_data): Likewise.
2875 (atanh_test_data): Likewise.
2876 (cbrt_test_data): Likewise.
2877 (cos_test_data): Likewise.
2878 (cos_tonearest_test_data): Likewise.
2879 (cos_towardzero_test_data): Likewise.
2880 (cos_downward_test_data): Likewise.
2881 (cos_upward_test_data): Likewise.
2882 (cosh_test_data): Likewise.
2883 (cosh_tonearest_test_data): Likewise.
2884 (cosh_towardzero_test_data): Likewise.
2885 (cosh_downward_test_data): Likewise.
2886 (cosh_upward_test_data): Likewise.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889
ffb536d0
JM
28902013-11-29 Joseph Myers <joseph@codesourcery.com>
2891
2a77a467
JM
2892 [BZ #6787]
2893 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2894 * math/w_exp10f.c (__exp10f): Likewise.
2895 * math/w_exp10l.c (__exp10l): Likewise.
2896 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2897 errno settings in existing tests.
2898
ea3bc4e8
JM
2899 [BZ #14032]
2900 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2901 precision control set to double precision.
2902 * sysdeps/i386/fpu/w_sqrt.c: New file.
2903 * math/auto-libm-test-in: Add more tests.
2904 * math/auto-libm-test-out: Update.
2905
0712c9d8
JM
2906 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2907 (sqrt_test_tonearest): New function.
2908 (sqrt_towardzero_test_data): New variable.
2909 (sqrt_test_towardzero): New function.
2910 (sqrt_downward_test_data): New variable.
2911 (sqrt_test_downward): New function.
2912 (sqrt_upward_test_data): New variable.
2913 (sqrt_test_upward): New function.
2914 (main): Call the new functions.
2915
ffb536d0
JM
2916 * math/gen-auto-libm-tests.c: New file.
2917 * math/auto-libm-test-in: Likewise.
2918 * math/auto-libm-test-out: New generated file.
2919 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2920 variables.
2921 (%beautify): Add generated representations of zero.
2922 (top level): Set $auto_input and call parse_auto_input.
2923 (beautify): Remove trailing "f" from hex float constants.
2924 (parse_args): Handle XFAIL_TEST.
2925 (convert_condition): New function.
2926 (or_value): Likewise.
2927 (or_cond_value): Likewise.
2928 (generate_testfile): Handle AUTO_TESTS_* lines.
2929 (parse_auto_input): New function.
2930 * math/libm-test.inc (XFAIL_TEST): New macro.
2931 (ERRNO_UNCHANGED): Update value.
2932 (ERRNO_EDOM): Likewise.
2933 (ERRNO_ERANGE): Likewise.
2934 (IGNORE_RESULT): Likewise.
2935 (TEST_COND_flt_32): New macro.
2936 (TEST_COND_dbl_64): Likewise.
2937 (TEST_COND_ldbl_96_intel): Likewise.
2938 (TEST_COND_ldbl_96_m68k): Likewise.
2939 (TEST_COND_ldbl_128): Likewise.
2940 (TEST_COND_ldbl_128ibm): Likewise.
2941 (TEST_COND_long32): Likewise.
2942 (TEST_COND_long64): Likewise.
2943 (TEST_COND_before_rounding): Likewise.
2944 (TEST_COND_after_rounding): Likewise.
2945 (enable_test): Handle XFAIL_TEST flag.
2946 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2947 with finite results.
2948 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2949 auto-libm-test-out.
2950
acd98a8e
AK
29512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2953
2954 [BZ #16214]
2955 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2956 __tls_get_addr_internal instead of __tls_get_offset in order to
2957 avoid GOT pointer dependency. Make rtld export
2958 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2959 __tls_get_addr since we are a __tls_get_offset platform.
2960 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2961 GOT pointer being set up before.
2962 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2963
3c1c46a6
JM
29642013-11-28 Joseph Myers <joseph@codesourcery.com>
2965
7475aef5
JM
2966 * manual/math.texi (Errors in Math Functions): Document accuracy
2967 goals.
2968
8bca7cd8
JM
2969 [BZ #15004]
2970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2985 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2986
91a1f3fe
JM
2987 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2988 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2989 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2990 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2991 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2992 Likewise.
2993 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2994 Likewise.
2995 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2996 Likewise.
2997 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2998 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2999 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3000 atomic-feupdateenv and flt-rounds.
3001 * sysdeps/powerpc/nofpu/Versions (libc): Add
3002 __atomic_feholdexcept, __atomic_feclearexcept,
3003 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3005 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3006 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3007 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3008 here.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3010 Update.
3011
c5df7609
JM
3012 * manual/arith.texi (FP Exceptions): Document that exceptions may
3013 not be raised when matherr is used.
3014 (Math Error Reporting): Document overflow in directed rounding
3015 modes. Document that errno may not be set when finite values are
3016 returned on overflow. Document intent to set errno on underflow
3017 only for underflow to zero.
3018
3c1c46a6
JM
3019 [BZ #16271]
3020 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3021 round-to-nearest then adjust result for other rounding modes.
3022 * include/fenv.h (fegetround): Use libm_hidden_proto.
3023 * math/fegetround.c (fegetround): Use libm_hidden_def.
3024 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3025 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3026 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3028 Likewise.
3029 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3031 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3032 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3033
5a4c6d53
SP
30342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 [BZ #16077]
3037 * nss/Versions (libnss_files): Add
3038 _nss_files_gethostbyname3_r.
3039 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3040 New function.
3041 (HOST_DB_LOOKUP): Remove macro.
3042 (_nss_files_gethostbyname_r): Implement function without the
3043 HOST_DB_LOOKUP macro.
3044 (_nss_files_gethostbyname2_r): Likewise.
3045
897b98ba
OB
30462013-11-28 Ondřej Bílka <neleai@seznam.cz>
3047
3048 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3049
6f476861
UB
30502013-11-26 Uros Bizjak <ubizjak@gmail.com>
3051
3052 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3053 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3054 warning.
3055
bd12ab55
AZ
30562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3057
3058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3059 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3060 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3061 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3062 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3063 __fe_nomask_env_priv and attribute_hidden.
3064 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3065 (libc_feupdateenv_test_ppc): Likewise.
3066 (libc_feresetround_ppc): Likewise.
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3068 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3069 compat_symbol macro.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3071 (__fe_nomask_env): Likewise.
3072 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3073
52bb6543
OB
30742013-11-26 Ondřej Bílka <neleai@seznam.cz>
3075
3076 * string/Makefile: Remove ifunc tests.
3077 * string/test-string.h: Define TEST_IFUNC.
3078 * string/test-bcopy-ifunc.c: Remove.
3079 * string/test-bzero-ifunc.c: Likewise.
3080 * string/test-memccpy-ifunc.c: Likewise.
3081 * string/test-memchr-ifunc.c: Likewise.
3082 * string/test-memcmp-ifunc.c: Likewise.
3083 * string/test-memcpy-ifunc.c: Likewise.
3084 * string/test-memmem-ifunc.c: Likewise.
3085 * string/test-memmove-ifunc.c: Likewise.
3086 * string/test-mempcpy-ifunc.c: Likewise.
3087 * string/test-memrchr-ifunc.c: Likewise.
3088 * string/test-memset-ifunc.c: Likewise.
3089 * string/test-rawmemchr-ifunc.c: Likewise.
3090 * string/test-stpcpy-ifunc.c: Likewise.
3091 * string/test-stpncpy-ifunc.c: Likewise.
3092 * string/test-strcasecmp-ifunc.c: Likewise.
3093 * string/test-strcasestr-ifunc.c: Likewise.
3094 * string/test-strcat-ifunc.c: Likewise.
3095 * string/test-strchr-ifunc.c: Likewise.
3096 * string/test-strchrnul-ifunc.c: Likewise.
3097 * string/test-strcmp-ifunc.c: Likewise.
3098 * string/test-strcpy-ifunc.c: Likewise.
3099 * string/test-strcspn-ifunc.c: Likewise.
3100 * string/test-strlen-ifunc.c: Likewise.
3101 * string/test-strncasecmp-ifunc.c: Likewise.
3102 * string/test-strncat-ifunc.c: Likewise.
3103 * string/test-strncmp-ifunc.c: Likewise.
3104 * string/test-strncpy-ifunc.c: Likewise.
3105 * string/test-strnlen-ifunc.c: Likewise.
3106 * string/test-strpbrk-ifunc.c: Likewise.
3107 * string/test-strrchr-ifunc.c: Likewise.
3108 * string/test-strspn-ifunc.c: Likewise.
3109 * string/test-strstr-ifunc.c: Likewise.
3110
ab260039 31112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3112
3113 * benchtests/Makefile: Remove ifunc tests.
3114 * benchtests/bench-string.h: Define TEST_IFUNC.
3115 * benchtests/bench-bcopy-ifunc.c: Remove.
3116 * benchtests/bench-bzero-ifunc.c: Likewise.
3117 * benchtests/bench-memccpy-ifunc.c: Likewise.
3118 * benchtests/bench-memchr-ifunc.c: Likewise.
3119 * benchtests/bench-memcmp-ifunc.c: Likewise.
3120 * benchtests/bench-memcpy-ifunc.c: Likewise.
3121 * benchtests/bench-memmem-ifunc.c: Likewise.
3122 * benchtests/bench-memmove-ifunc.c: Likewise.
3123 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3124 * benchtests/bench-memrchr-ifunc.c: Likewise.
3125 * benchtests/bench-memset-ifunc.c: Likewise.
3126 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3127 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3128 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3129 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3130 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3131 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3132 * benchtests/bench-strcat-ifunc.c: Likewise.
3133 * benchtests/bench-strchr-ifunc.c: Likewise.
3134 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3135 * benchtests/bench-strcmp-ifunc.c: Likewise.
3136 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3137 * benchtests/bench-strcpy-ifunc.c: Likewise.
3138 * benchtests/bench-strcspn-ifunc.c: Likewise.
3139 * benchtests/bench-strlen-ifunc.c: Likewise.
3140 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3141 * benchtests/bench-strncat-ifunc.c: Likewise.
3142 * benchtests/bench-strncmp-ifunc.c: Likewise.
3143 * benchtests/bench-strncpy-ifunc.c: Likewise.
3144 * benchtests/bench-strnlen-ifunc.c: Likewise.
3145 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3146 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3147 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3148 * benchtests/bench-strspn-ifunc.c: Likewise.
3149 * benchtests/bench-strstr-ifunc.c: Likewise.
3150
31512013-11-26 Ondřej Bílka <neleai@seznam.cz>
3152
ab260039
OB
3153 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3154
d1d9eaf4 31552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3156
d1d9eaf4
OB
3157 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3158 * rt/aio.h: Likewise.
3159 * sysdeps/gnu/bits/utmp.h: Likewise.
3160 * sysdeps/gnu/bits/utmpx.h: Likewise.
3161 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3162 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3163 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3164 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3165 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3166 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3167 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3168 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3169 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3170 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3171 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3172 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3173 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3175 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3176 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3177 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3178 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3179 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3180 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3181 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3182 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3183 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3184 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3185 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3187 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3188 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3189 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3192 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3195 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3196 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3198 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3199 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3200 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3201 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3202 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3203
a7624ed9
CD
32042013-11-25 Carlos O'Donell <carlos@redhat.com>
3205
3206 [BZ #16245]
3207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3208 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3209
63cfe52b
JM
32102013-11-25 Joseph Myers <joseph@codesourcery.com>
3211
3212 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3214 Likewise.
3215
41e8926a
AZ
32162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3217
3218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3219 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3220 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3221 (__fesetround): Remove define.
3222 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3223 rounding and exceptions handling.
3224 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3225 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3226 (__fe_nomask_env): Likewise.
3227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3228 __fegetround instead of fegetround.
3229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3231
6851bd4d
RM
32322013-11-21 Roland McGrath <roland@hack.frob.com>
3233
070906ff
RM
3234 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3235 it's there.
3236
6851bd4d
RM
3237 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3238
84ae135d
MI
32392013-11-21 Meador Inge <meadori@codesourcery.com>
3240
3241 [BZ #11157]
3242 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3243 (encrypt_r): Likewise.
3244 * malloc/obstack.h (obstack_free): Likewise.
3245 * posix/unistd.h (encrypt): Likewise.
3246
daf75146
GM
32472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3248
3249 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3250 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3251 DL_CALL_DT_FINI() that call the functions directly.
3252 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3253 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3254 * elf/dl-fini.c: Likewise.
3255
10ad46bc
OB
32562013-11-20 Ondřej Bílka <neleai@seznam.cz>
3257
3258 * malloc/hooks.c (memalign_check): Add alignment rounding.
3259 * malloc/malloc.c (_mid_memalign): New function.
3260 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3261 Implement by calling _mid_memalign.
3262 * manual/probes.texi (Memory Allocation Probes): Remove
3263 memory_valloc_retry and memory_pvalloc_retry.
3264
f3fd2628
SP
32652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
4712799f
SP
3267 * locale/programs/locarchive.c (open_archive): Add const
3268 qualifier to ARCHIVEFNAME and copy default fname to
3269 DEFAULT_FNAME.
3270
0417b20f
SP
3271 [BZ #15601]
3272 * libio/tst-widetext.input: Rename Oriya to Odia.
3273 * locale/iso-639.def: Likewise.
3274
f3fd2628
SP
3275 * manual/probes.texi (Mathematical Function Probes): Add
3276 documentation for sin, cos, asin and acos probes.
3277 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3278 (__sin32): Add slowasin probe.
3279 (__cos32): Add slowacos probe.
3280 (__mpsin): Add slowsin probe.
3281 (__mpcos): Add slowcos probe.
3282
73c1ce4f
JM
32832013-11-19 Joseph Myers <joseph@codesourcery.com>
3284
3285 [BZ #15483]
3286 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3287 thread-local __sim_exceptions_thread and global
3288 __sim_exceptions_global.
3289 (__sim_disabled_exceptions): Change to thread-local
3290 __sim_disabled_exceptions_thread and global
3291 __sim_disabled_exceptions_global.
3292 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3293 and global __sim_round_mode_global.
3294 (__simulate_exceptions): Use thread-local floating-point state and
3295 set global state from it as needed.
3296 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3297 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3298 __sim_round_mode_thread.
3299 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3300 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3301 and global __sim_exceptions_global.
3302 (__sim_disabled_exceptions): Change to thread-local
3303 __sim_disabled_exceptions_thread and global
3304 __sim_disabled_exceptions_global.
3305 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3306 and global __sim_round_mode_global.
3307 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3308 (SIM_SET_GLOBAL): Likewise.
3309 * sysdeps/powerpc/soft-fp/sfp-machine.h
3310 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3311 __sim_round_mode_thread.
3312 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3313 __sim_disabled_exceptions_thread.
3314 (__sim_exceptions): Change to __sim_exceptions_thread.
3315 (__sim_disabled_exceptions): Change to
3316 __sim_disabled_exceptions_thread.
3317 (__sim_round_mode): Change to __sim_round_mode_thread.
3318 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3319 thread-local floating-point state and set global state from it as
3320 needed.
3321 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3322 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3323 (__sim_disabled_exceptions): Remove extern declaration.
3324 (feenableexcept): Use thread-local floating-point state and set
3325 global state from it as needed.
3326 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3327 extern declaration.
3328 (__sim_disabled_exceptions): Likewise.
3329 (__sim_round_mode): Likewise.
3330 (__fegetenv): Use thread-local floating-point state.
3331 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3332 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3333 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3334 floating-point state and set global state from it as needed.
3335 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3336 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3337 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3338 Likewise.
3339 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3340 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3341 Likewise.
3342 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3343 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3344 Use __sim_round_mode_thread.
3345 * math/test-fenv-tls.c: New file.
3346 * math/Makefile (tests): Add test-fenv-tls.
3347 ($(objpfx)test-fenv-tls): Depend on
3348 $(common-objpfx)nptl/libpthread.so.
3349
b5449b12
AS
33502013-11-19 Andreas Schwab <schwab@suse.de>
3351
3352 * locale/programs/locale.c (show_info): Decode wordarray elements.
3353 * locale/categories.def (LC_MONETARY): Add element for
3354 _NL_MONETARY_CRNCYSTR.
3355 * locale/C-monetary.c (conversion_rate): New variable.
3356 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3357 element.
3358
e186536b
CM
33592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3360
3361 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3362 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3363
5c349950
PP
33642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3365
3366 * elf/Makefile (tst-auxv): New test.
3367 * elf/tst-auxv.c: New
3368 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3369
699df45b
JM
33702013-11-18 Joseph Myers <joseph@codesourcery.com>
3371
3372 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3373 (hidden_proto): Caller changed.
3374 (hidden_tls_proto): New macro.
3375 (libc_hidden_tls_proto): Likewise.
3376 (rtld_hidden_tls_proto): Likewise.
3377 (libm_hidden_tls_proto): Likewise.
3378 (libresolv_hidden_tls_proto): Likewise.
3379 (librt_hidden_tls_proto): Likewise.
3380 (libdl_hidden_tls_proto): Likewise.
3381 (libnss_files_hidden_tls_proto): Likewise.
3382 (libnsl_hidden_tls_proto): Likewise.
3383 (libnss_nisplus_hidden_tls_proto): Likewise.
3384 (libutil_hidden_tls_proto): Likewise.
3385
b7589107
OB
33862013-11-18 Ondřej Bílka <neleai@seznam.cz>
3387
3388 [BZ #10253]
3389 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3390 (decompose_rpath): Defer expansion to fillin_rpath.
3391 (_dl_init_paths): Pass linkmap to fillin_rpath.
3392
250c23bd
RS
33932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3394
3395 * benchtests/Makefile: Add strsep.
3396 * benchtests/bench-strsep.c: New file: strsep benchtest.
3397 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3398
a7931fcf
AS
33992013-11-18 Andreas Schwab <schwab@suse.de>
3400
3401 * locale/programs/locale.c (show_info) [case byte]: Check for
3402 '\377' instead of '\177'.
3403 * locale/C-monetary.c (not_available): Always use "\377".
3404 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3405 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3406 detect unavailable sign_posn locale elements.
3407 * locale/localeconv.c (__localeconv): For grouping and
3408 mon_grouping handle "\177" and "\377" like no grouping.
3409 (INT_ELEM): New macro. Use it to set all numeric members.
3410 * locale/programs/ld-monetary.c (monetary_read)
3411 <tok_mon_grouping>: Normalize single -1 to the empty string.
3412 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3413 Likewise.
3414
728dab0e
OB
34152013-11-07 Ondřej Bílka <neleai@seznam.cz>
3416
3417 [BZ #16055]
3418 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3419 when we match (nil).
3420 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3421
66294491
JM
34222013-11-16 Joseph Myers <joseph@codesourcery.com>
3423
ce665817
JM
3424 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3425 (NO_TEST_INLINE): Update value.
3426 (ERRNO_UNCHANGED): Likewise.
3427 (ERRNO_EDOM): Likewise.
3428 (ERRNO_ERANGE): Likewise.
3429 (IGNORE_RESULT): Likewise.
3430 (check_float_internal): Check signs of NaN results if
3431 TEST_NAN_SIGN used.
3432 (check_complex): Pass TEST_NAN_SIGN flag through to second
3433 check_float_internal call.
3434 (copysign_test_data): Add tests with quiet NaNs as second
3435 argument. Use TEST_NAN_SIGN.
3436 (fabs_test_data): Add test of negative quiet NaN argument. Use
3437 TEST_NAN_SIGN.
3438 (signbit_test_data): Add tests of quiet NaN argument.
3439 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3440
ee1466a9
JM
3441 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3442 $ignore_result.
3443 (parse_args): Handle function results specified as IGNORE.
3444 * math/libm-test.inc (IGNORE_RESULT): New macro.
3445 (check_float_internal): Do not check numerical result if flag
3446 IGNORE_RESULT set.
3447 (check_complex): Pass through IGNORE_RESULT to second
3448 check_float_internal call.
3449 (check_int): Do not check numerical result if flag IGNORE_RESULT
3450 set.
3451 (check_long): Likewise.
3452 (check_bool): Likewise.
3453 (check_longlong): Likewise.
3454 (lrint_test_data): Add tests of infinite and NaN arguments.
3455 (lrint_tonearest_test_data): Likewise.
3456 (lrint_towardzero_test_data): Likewise.
3457 (lrint_downward_test_data): Likewise.
3458 (lrint_upward_test_data): Likewise.
3459 (llrint_test_data): Likewise.
3460 (llrint_tonearest_test_data): Likewise.
3461 (llrint_towardzero_test_data): Likewise.
3462 (llrint_downward_test_data): Likewise.
3463 (llrint_upward_test_data): Likewise.
3464 (lround_test_data): Likewise.
3465 (llround_test_data): Likewise.
3466
14407b7e
JM
3467 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3468 (ERRNO_UNCHANGED): Update value.
3469 (ERRNO_EDOM): Likewise.
3470 (ERRNO_ERANGE): Likewise.
3471 (NO_TEST_INLINE_FLOAT): New macro.
3472 (NO_TEST_INLINE_DOUBLE): Likewise.
3473 (enable_test): New function.
3474 (RUN_TEST_f_f): Check enable_test before running test.
3475 (RUN_TEST_2_f): Likewise.
3476 (RUN_TEST_fff_f): Likewise.
3477 (RUN_TEST_c_f): Likewise.
3478 (RUN_TEST_f_f1): Likewise.
3479 (RUN_TEST_fF_f1): Likewise.
3480 (RUN_TEST_fI_f1): Likewise.
3481 (RUN_TEST_ffI_f1): Likewise.
3482 (RUN_TEST_c_c): Likewise.
3483 (RUN_TEST_cc_c): Likewise.
3484 (RUN_TEST_f_i): Likewise.
3485 (RUN_TEST_f_i_tg): Likewise.
3486 (RUN_TEST_ff_i_tg): Likewise.
3487 (RUN_TEST_f_b): Likewise.
3488 (RUN_TEST_f_b_tg): Likewise.
3489 (RUN_TEST_f_l): Likewise.
3490 (RUN_TEST_f_L): Likewise.
3491 (RUN_TEST_fFF_11): Likewise.
3492 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3493 conditionals.
3494 (cosh_test_data): Likewise.
3495 (exp_test_data): Likewise.
3496 (expm1_test_data): Likewise.
3497 (hypot_test_data): Likewise.
3498 (pow_test_data): Likewise.
3499 (sinh_test_data): Likewise.
3500 (tanh_test_data): Likewise.
3501 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3502 flags argument.
3503
ca07f197
JM
3504 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3505 tests with quiet NaN input and output.
3506 (acosh_test_data): Likewise.
3507 (asin_test_data): Likewise.
3508 (asinh_test_data): Likewise.
3509 (atan_test_data): Likewise.
3510 (atanh_test_data): Likewise.
3511 (atan2_test_data): Likewise.
3512 (cbrt_test_data): Likewise.
3513 (cos_test_data): Likewise.
3514 (cosh_test_data): Likewise.
3515 (erf_test_data): Likewise.
3516 (erfc_test_data): Likewise.
3517 (exp_test_data): Likewise.
3518 (exp10_test_data): Likewise.
3519 (exp2_test_data): Likewise.
3520 (expm1_test_data): Likewise.
3521 (hypot_test_data): Likewise.
3522 (j0_test_data): Likewise.
3523 (j1_test_data): Likewise.
3524 (jn_test_data): Likewise.
3525 (lgamma_test_data): Likewise.
3526 (log_test_data): Likewise.
3527 (log10_test_data): Likewise.
3528 (log1p_test_data): Likewise.
3529 (log2_test_data): Likewise.
3530 (pow_test_data): Likewise.
3531 (scalb_test_data): Likewise.
3532 (sin_test_data): Likewise.
3533 (sincos_test_data): Likewise.
3534 (sinh_test_data): Likewise.
3535 (tan_test_data): Likewise.
3536 (tanh_test_data): Likewise.
3537 (tgamma_test_data): Likewise.
3538 (y0_test_data): Likewise.
3539 (y1_test_data): Likewise.
3540 (yn_test_data): Likewise.
3541
66294491
JM
3542 [BZ #16167]
3543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3544 argument being NaN and avoid computations with second argument in
3545 that case.
3546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3549
1820b143
CL
35502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3551
3552 * locale/iso-639.def: Add Chitwani Tharu (the).
3553
714bd261
AS
35542013-11-14 Andreas Schwab <schwab@suse.de>
3555
3556 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3557 word instead of empty string.
3558
7ab44563
AZ
35592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3562 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3564 (__fe_nomask_env): Likewise.
3565
e8470ea2
SE
35662013-11-13 Steve Ellcey <sellcey@mips.com>
3567
3568 * benchtests/bench-timing.h: Include time.h.
3569
17c1d9f0
L
35702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 [BZ #15997]
3573 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3574 to 3.4.0 for x32.
3575 * sysdeps/unix/sysv/linux/configure: Regenerated.
3576
9310c284
JM
35772013-11-13 Joseph Myers <joseph@codesourcery.com>
3578
3579 [BZ #16151]
3580 * stdlib/strtod_l.c (round_and_return): Do not consider
3581 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3582 exponent one less than half the least subnormal exponent.
3583 * stdlib/test-strtod-round-data: Add more tests.
3584 * stdlib/tst-strtod-round.c (tests): Regenerated.
3585
7a2ad8cf
AZ
35862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3587
3588 [BZ #14143]
3589 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3590 (__fe_mask_env): Likewise.
3591 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3592 libm_hidden_proto and add function prototype.
3593 (__fe_mask_env): Add function prototype.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3595 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3597 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3599 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3600
50727aa7
MS
36012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3602
b2f386c1 3603 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3604 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3605
a615be46
MS
36062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3607
3608 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3609 of htab_find_slot().
3610
7ddace62
DM
36112013-11-11 David S. Miller <davem@davemloft.net>
3612
3613 [BZ #16150]
3614 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3615 symbol in the non-vis3 case in static builds.
3616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3617 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3618 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3620
9182aa67
JK
36212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3622
3623 [BZ #387]
3624 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3625 it is empty.
3626
450a2e2d
AZ
36272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3628
b2f386c1
SP
3629 * benchtests/Makefile: Add bench-strtod.
3630 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3631
8ec3f656
AS
36322013-11-11 Andreas Schwab <schwab@suse.de>
3633
3634 [BZ #16153]
3635 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3636 terminating NUL in key length.
3637
76a9b998
AZ
36382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
3640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3641 Add artificial ODP entry for vDSO symbol for PPC64.
3642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3643 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3644
e4368156
OB
36452013-11-07 Ondřej Bílka <neleai@seznam.cz>
3646
3647 [BZ #15374]
3648 * nss/getent.c (services_keys): Recognize services starting with digit.
3649
8d6bb57c
DM
36502013-11-06 David S. Miller <davem@davemloft.net>
3651
3652 [BZ #15985]
3653 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3654 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3655
e256c421
WN
36562013-11-06 Will Newton <will.newton@linaro.org>
3657
3658 * manual/memory.texi (Malloc Examples): Remove register
3659 keyword from examples.
3660
f6e12daa 36612013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3662
f6e12daa 3663 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3664
9d880655
AS
36652013-11-04 Joseph Myers <joseph@codesourcery.com>
3666
3667 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3668 depending on [__GCC_IEC_559 > 0].
3669 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3670 depending on [__GCC_IEC_559_COMPLEX > 0].
3671
ae129d3c
CL
36722013-11-03 Chris Leonard <cjl@sugarlabs.org>
3673
3674 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3675 to iso-639.def.
3676
4a15c2a4 36772013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3678
3679 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3680
8b35e35d
OB
36812013-11-01 Ondřej Bílka <neleai@seznam.cz>
3682
3683 [BZ #16112]
3684 * malloc/malloc (malloc_info): Do not handle first bin as
3685 special case.
3686
1d70fd6c
CL
36872013-11-01 Chris Leonard <cjl@sugarlabs.org>
3688
3689 * locale/iso-639.def: Add Central Nahuatl (nhn).
3690
8c5c2600
BH
36912013-11-01 Bruno Haible <bruno@clisp.org>
3692
3693 [BZ #7003]
3694 * manual/math.texi (BSD Random): Specify range upper bound as
3695 in POSIX.
3696
da5579c2
CL
36972013-10-31 Chris Leonard <cjl@sugarlabs.org>
3698
3699 * locale/iso-639.def: Add Meadow Mari (mhr).
3700
5d30d853
OB
37012013-10-31 Ondřej Bílka <neleai@seznam.cz>
3702
3703 [BZ #14752], [BZ #15763]
3704 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3705 Validate name.
3706 * rt/tst_shm.c: Add test for escaping directory.
3707
a4966c61
AS
37082013-10-31 Andreas Schwab <schwab@suse.de>
3709
8a43e768 3710 [BZ #15917]
a4966c61
AS
3711 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3712 followed by 'x' as part of digit sequence.
3713 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3714
28d708c4
MAP
37152013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3716
3717 [BZ #16037]
3718 * configure.ac: allow GNU Make 4.0 and greater.
3719 * configure: Regenerated.
3720
a56ee40b
WN
37212013-10-30 Will Newton <will.newton@linaro.org>
3722
3723 [BZ #16038]
3724 * malloc/hooks.c (memalign_check): Limit alignment to the
3725 maximum representable power of two.
3726 * malloc/malloc.c (__libc_memalign): Likewise.
3727 * malloc/tst-memalign.c (do_test): Add test for very
3728 large alignment values.
3729 * malloc/tst-posix_memalign.c (do_test): Likewise.
3730
c6e4925d
OB
37312013-10-30 Ondřej Bílka <neleai@seznam.cz>
3732
3733 [BZ #11087]
3734 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3735 (munmap_chunk): Likewise.
3736 (mremap_chunk): Likewise.
3737
37382013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3739
8a43e768 3740 [BZ #15799]
bbea82f7
OB
3741 * stdlib/div.c (div): Remove obsolete code.
3742 * stdlib/ldiv.c (ldiv): Likewise.
3743 * stdlib/lldiv.c (lldiv): Likewise.
3744
977f4b31
SP
37452013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3746
3747 [BZ #16071]
3748 * nss/nss_files/files-XXX.c (get_contents_ret): New
3749 enumerator.
3750 (get_contents): New function.
3751 (internal_getent): Use it. Expand size of LINEBUFLEN.
3752
cb8a6dbd
MF
37532013-10-30 Mike Frysinger <vapier@gentoo.org>
3754
3755 * configure.in: Moved to ...
3756 * configure.ac: ... here. Change reference to configure.in
3757 to configure.ac.
3758 * sysdeps/arm/preconfigure.ac: ... here.
3759 configure.in to configure.ac.
3760 * sysdeps/gnu/configure.in: Moved to ...
3761 * sysdeps/gnu/configure.ac: ... here.
3762 * sysdeps/i386/configure.in: Moved to ...
3763 * sysdeps/i386/configure.ac: ... here.
3764 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3765 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3766 * sysdeps/mach/configure.in: Moved to ...
3767 * sysdeps/mach/configure.ac: ... here.
3768 * sysdeps/mach/hurd/configure.in: Moved to ...
3769 * sysdeps/mach/hurd/configure.ac: ... here.
3770 * sysdeps/powerpc/configure.in: Moved to ...
3771 * sysdeps/powerpc/configure.ac: ... here.
3772 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3773 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3774 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3775 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3776 * sysdeps/s390/s390-32/configure.in: Moved to ...
3777 * sysdeps/s390/s390-32/configure.ac: ... here.
3778 * sysdeps/s390/s390-64/configure.in: Moved to ...
3779 * sysdeps/s390/s390-64/configure.ac: ... here.
3780 * sysdeps/sh/configure.in: Moved to ...
3781 * sysdeps/sh/configure.ac: ... here.
3782 * sysdeps/sparc/configure.in: Moved to ...
3783 * sysdeps/sparc/configure.ac: ... here.
3784 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3785 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3786 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3787 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3788 * sysdeps/x86_64/configure.in: Moved to ...
3789 * sysdeps/x86_64/configure.ac: ... here.
3790 * sysdeps/x86_64/preconfigure.in: Moved to ...
3791 * sysdeps/x86_64/preconfigure.ac: ... here.
3792 * aclocal.m4: Change reference to configure.in to configure.ac.
3793 * config.h.in: Likewise.
3794 * manual/install.texi: Likewise.
3795 * manual/maint.texi: Likewise.
3796 * Makefile: Likewise.
3797 * malloc/Makefile: Likewise.
3798 * nscd/Makefile: Likewise.
3799 * Makeconfig: Change reference to configure.in and
3800 preconfigure.in to configure.ac and preconfigure.ac
3801 respectively.
3802 * INSTALL: Regenerated.
3803 * configure: Likewise.
3804 * sysdeps/gnu/configure: Likewise.
3805 * sysdeps/i386/configure: Likewise.
3806 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3807 * sysdeps/mach/configure: Likewise.
3808 * sysdeps/mach/hurd/configure: Likewise.
3809 * sysdeps/powerpc/configure: Likewise.
3810 * sysdeps/powerpc/powerpc32/configure: Likewise.
3811 * sysdeps/powerpc/powerpc64/configure: Likewise.
3812 * sysdeps/s390/s390-32/configure: Likewise.
3813 * sysdeps/s390/s390-64/configure: Likewise.
3814 * sysdeps/sh/configure: Likewise.
3815 * sysdeps/sparc/configure: Likewise.
3816 * sysdeps/unix/sysv/linux/configure: Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3818 * sysdeps/x86_64/configure: Likewise.
3819 * sysdeps/x86_64/preconfigure: Likewise.
3820
36a4953a
AS
38212013-10-29 Andreas Schwab <schwab@suse.de>
3822
3823 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3824
c79a1204
SP
38252013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3826
dfa1b402
SP
3827 * benchtests/pow-inputs: Add new inputs.
3828
54f73d9c
SP
3829 * benchtests/exp-inputs: Add new inputs.
3830
c79a1204
SP
3831 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3832 conditional check for return value.
3833 (__cos32): Likewise.
3834
67beb545 38352013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3836
3837 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3838 to provide a boost for large inputs with word alignment.
3839 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3840 implementation based on optimized PPC64 strcpy.
3841 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3842 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3843 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3844 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3845
151659f6
OB
38462013-10-25 Ondřej Bílka <neleai@seznam.cz>
3847
482a077e 3848 [BZ #2801]
151659f6
OB
3849 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3850
10b0f26b
OB
38512013-10-25 Ondřej Bílka <neleai@seznam.cz>
3852
3853 [BZ #14876]
3854 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3855 * time/tst-strptime.c (day_tests): Add testcase.
3856
ca42d35e
OB
38572013-10-25 Ondřej Bílka <neleai@seznam.cz>
3858
482a077e 3859 [BZ #14029]
ca42d35e
OB
3860 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3861
52e6d801
FB
38622013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3863
3864 [BZ #16074]
3865 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3866 MAP_FAILED on error.
3867
7cbcdb36
SP
38682013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3869
3870 [BZ #16072]
3871 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3872 heap for large requests.
3873
894f3f10
AM
38742013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3875
3876 [BZ #9954]
3877 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3878 result if the result has no associated interface.
3879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3880 interface for all 127.X.Y.Z addresses.
3881
b85545a6
CL
38822013-10-24 Chris Leonard <cjl@sugarlabs.org>
3883
3884 * locale/iso-639.def: Add Ligurian (lij)
3885
d1f23d46
OB
38862013-10-21 Ondřej Bílka <neleai@seznam.cz>
3887
3888 [BZ #15825]
3889 * sunrpc/rpc_main.c: Document rpcgen -5.
3890
4db5b08f
MS
38912013-10-19 Michael Stahl <mstahl@redhat.com>
3892
3893 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3894
a471e96a
OB
38952013-10-19 Ondřej Bílka <neleai@seznam.cz>
3896
d1f23d46 3897 [BZ #10278]
a471e96a
OB
3898 * posix/glob.c: Match only directories when trailing slash is present.
3899 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3900 (main): Add testcase.
3901
45c30c61
OB
39022013-10-19 Ondřej Bílka <neleai@seznam.cz>
3903
3904 [BZ #15670]
3905 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3906
484c12fb
CD
39072013-10-18 Carlos O'Donell <carlos@redhat.com>
3908
3d7dc513
CD
3909 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3910 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3911 AUTH_DES and cindex for FIPS 140-2.
3912 (DES Encryption): Add cindex FIPS 46-3.
3913
484c12fb
CD
3914 * locale/locarchive.h (struct locarhandle): Add fname.
3915 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3916 if an optional argument was specified to --list-archive,
3917 otherwise NULL.
3918 * locale/programs/locarchive.c (show_archive_content): Take new
3919 argument fname and pass it via ah.fname to open_archive.
3920 * locale/programs/localedef.h: Update decl.
3921 (open_archive): If AH->fname is non-null, open that file
3922 rather than the default file name, and don't ignore ENOENT.
3923 (create_archive): Set AH.fname to NULL.
3924 (delete_locales_from_archive): Likewise.
3925 (add_locales_to_archive): Likewise.
3926 * locale/programs/locfile.c (write_all_categories): Likewise.
3927
3c8325fb
JM
39282013-10-18 Joseph Myers <joseph@codesourcery.com>
3929 Aldy Hernandez <aldyh@redhat.com>
3930
3931 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3932 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3933 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3934 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3935 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3939 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3942 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3943 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3944 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3946 Likewise.
3947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3948 Likewise.
3949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3950 Likewise.
3951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3952 Likewise.
3953 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3954 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3955 Likewise.
3956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3957 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3958 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3959 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3960 Likewise.
3961 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3962 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3963 * sysdeps/powerpc/preconfigure: Likewise.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3965 Likewise.
3966 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3967 Replace contents of file by #include of <fenv_libc.h>.
3968 * sysdeps/powerpc/soft-fp/sfp-machine.h
3969 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3970 and <sys/prctl.h>.
3971 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3984 Allow copysignl PLT reference to be missing.
3985
5abe0682
RS
39862013-10-18 Richard Sandiford <richard@codesourcery.com>
3987 Joseph Myers <joseph@codesourcery.com
3988
3989 [BZ #15948]
3990 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3991 single character.
3992 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3993
c7738d08
SP
39942013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
3996 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3997 * elf/tst-tls1.c: Likewise.
3998 * elf/tst-tls10.h: Likewise.
3999 * elf/tst-tls14.c: Likewise.
4000 * elf/tst-tls2.c: Likewise.
4001 * elf/tst-tls3.c: Likewise.
4002 * elf/tst-tls4.c: Likewise.
4003 * elf/tst-tls5.c: Likewise.
4004 * elf/tst-tls6.c: Likewise.
4005 * elf/tst-tls7.c: Likewise.
4006 * elf/tst-tls8.c: Likewise.
4007 * elf/tst-tls9.c: Likewise.
4008 * elf/tst-tlsmod1.c: Likewise.
4009 * elf/tst-tlsmod13.c: Likewise.
4010 * elf/tst-tlsmod13a.c: Likewise.
4011 * elf/tst-tlsmod14a.c: Likewise.
4012 * elf/tst-tlsmod16a.c: Likewise.
4013 * elf/tst-tlsmod16b.c: Likewise.
4014 * elf/tst-tlsmod2.c: Likewise.
4015 * elf/tst-tlsmod3.c: Likewise.
4016 * elf/tst-tlsmod4.c: Likewise.
4017 * elf/tst-tlsmod5.c: Likewise.
4018 * elf/tst-tlsmod6.c: Likewise.
4019
0bfcf2c7
OB
40202013-10-18 Ondřej Bílka <neleai@seznam.cz>
4021
4022 [BZ #12486]
4023 * malloc/malloc.c: remove checks for statistics.
4024
264aad1e
OB
40252013-10-17 Ondřej Bílka <neleai@seznam.cz>
4026
4027 [BZ #15277]
4028 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4029 * inet/tst-network.c: Add testcase.
4030
b957ced8
AS
40312013-10-17 Andreas Schwab <schwab@suse.de>
4032
4033 [BZ #15218]
4034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4035 to determine canonical name.
4036
c5d5d574
OB
40372013-10-17 Ondřej Bílka <neleai@seznam.cz>
4038
4039 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4040 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4063 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4097
e5c2c2d0
JM
40982013-10-17 Joseph Myers <joseph@codesourcery.com>
4099
4100 [BZ #16041]
4101 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4102 make result into a quiet NaN.
4103
51ca9e29
JM
41042013-10-16 Joseph Myers <joseph@codesourcery.com>
4105
4106 * soft-fp/adddf3.c: Fix horizontal whitespace.
4107 * soft-fp/addsf3.c: Likewise.
4108 * soft-fp/addtf3.c: Likewise.
4109 * soft-fp/divdf3.c: Likewise.
4110 * soft-fp/divsf3.c: Likewise.
4111 * soft-fp/divtf3.c: Likewise.
4112 * soft-fp/double.h: Likewise.
4113 * soft-fp/eqdf2.c: Likewise.
4114 * soft-fp/eqsf2.c: Likewise.
4115 * soft-fp/eqtf2.c: Likewise.
4116 * soft-fp/extenddftf2.c: Likewise.
4117 * soft-fp/extended.h: Likewise.
4118 * soft-fp/extendsfdf2.c: Likewise.
4119 * soft-fp/extendsftf2.c: Likewise.
4120 * soft-fp/extendxftf2.c: Likewise.
4121 * soft-fp/fixdfdi.c: Likewise.
4122 * soft-fp/fixdfsi.c: Likewise.
4123 * soft-fp/fixdfti.c: Likewise.
4124 * soft-fp/fixsfdi.c: Likewise.
4125 * soft-fp/fixsfsi.c: Likewise.
4126 * soft-fp/fixsfti.c: Likewise.
4127 * soft-fp/fixtfdi.c: Likewise.
4128 * soft-fp/fixtfsi.c: Likewise.
4129 * soft-fp/fixtfti.c: Likewise.
4130 * soft-fp/fixunsdfdi.c: Likewise.
4131 * soft-fp/fixunsdfsi.c: Likewise.
4132 * soft-fp/fixunsdfti.c: Likewise.
4133 * soft-fp/fixunssfdi.c: Likewise.
4134 * soft-fp/fixunssfsi.c: Likewise.
4135 * soft-fp/fixunssfti.c: Likewise.
4136 * soft-fp/fixunstfdi.c: Likewise.
4137 * soft-fp/fixunstfsi.c: Likewise.
4138 * soft-fp/fixunstfti.c: Likewise.
4139 * soft-fp/floatdidf.c: Likewise.
4140 * soft-fp/floatdisf.c: Likewise.
4141 * soft-fp/floatditf.c: Likewise.
4142 * soft-fp/floatsidf.c: Likewise.
4143 * soft-fp/floatsisf.c: Likewise.
4144 * soft-fp/floatsitf.c: Likewise.
4145 * soft-fp/floattidf.c: Likewise.
4146 * soft-fp/floattisf.c: Likewise.
4147 * soft-fp/floattitf.c: Likewise.
4148 * soft-fp/floatundidf.c: Likewise.
4149 * soft-fp/floatundisf.c: Likewise.
4150 * soft-fp/floatunditf.c: Likewise.
4151 * soft-fp/floatunsidf.c: Likewise.
4152 * soft-fp/floatunsisf.c: Likewise.
4153 * soft-fp/floatunsitf.c: Likewise.
4154 * soft-fp/floatuntidf.c: Likewise.
4155 * soft-fp/floatuntisf.c: Likewise.
4156 * soft-fp/floatuntitf.c: Likewise.
4157 * soft-fp/fmadf4.c: Likewise.
4158 * soft-fp/fmasf4.c: Likewise.
4159 * soft-fp/fmatf4.c: Likewise.
4160 * soft-fp/gedf2.c: Likewise.
4161 * soft-fp/gesf2.c: Likewise.
4162 * soft-fp/getf2.c: Likewise.
4163 * soft-fp/ledf2.c: Likewise.
4164 * soft-fp/lesf2.c: Likewise.
4165 * soft-fp/letf2.c: Likewise.
4166 * soft-fp/muldf3.c: Likewise.
4167 * soft-fp/mulsf3.c: Likewise.
4168 * soft-fp/multf3.c: Likewise.
4169 * soft-fp/negdf2.c: Likewise.
4170 * soft-fp/negsf2.c: Likewise.
4171 * soft-fp/negtf2.c: Likewise.
4172 * soft-fp/op-1.h: Likewise.
4173 * soft-fp/op-2.h: Likewise.
4174 * soft-fp/op-4.h: Likewise.
4175 * soft-fp/op-8.h: Likewise.
4176 * soft-fp/op-common.h: Likewise.
4177 * soft-fp/quad.h: Likewise.
4178 * soft-fp/single.h: Likewise.
4179 * soft-fp/soft-fp.h: Likewise.
4180 * soft-fp/sqrtdf2.c: Likewise.
4181 * soft-fp/sqrtsf2.c: Likewise.
4182 * soft-fp/sqrttf2.c: Likewise.
4183 * soft-fp/subdf3.c: Likewise.
4184 * soft-fp/subsf3.c: Likewise.
4185 * soft-fp/subtf3.c: Likewise.
4186 * soft-fp/truncdfsf2.c: Likewise.
4187 * soft-fp/trunctfdf2.c: Likewise.
4188 * soft-fp/trunctfsf2.c: Likewise.
4189 * soft-fp/trunctfxf2.c: Likewise.
4190 * soft-fp/unorddf2.c: Likewise.
4191 * soft-fp/unordsf2.c: Likewise.
4192 * soft-fp/unordtf2.c: Likewise.
4193
9ebb0332
JM
41942013-10-15 Joseph Myers <joseph@codesourcery.com>
4195
4196 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4197 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4198
4b1a6d8b
OB
41992013-10-15 Ondřej Bílka <neleai@seznam.cz>
4200
4201 * elf/dl-libc.c: Clear initfini list after freeing.
4202
1e145589
JM
42032013-10-14 Joseph Myers <joseph@codesourcery.com>
4204
4205 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4206 * soft-fp/addsf3.c: Likewise.
4207 * soft-fp/addtf3.c: Likewise.
4208 * soft-fp/divdf3.c: Likewise.
4209 * soft-fp/divsf3.c: Likewise.
4210 * soft-fp/divtf3.c: Likewise.
4211 * soft-fp/double.h: Likewise.
4212 * soft-fp/eqdf2.c: Likewise.
4213 * soft-fp/eqsf2.c: Likewise.
4214 * soft-fp/eqtf2.c: Likewise.
4215 * soft-fp/extenddftf2.c: Likewise.
4216 * soft-fp/extended.h: Likewise.
4217 * soft-fp/extendsfdf2.c: Likewise.
4218 * soft-fp/extendsftf2.c: Likewise.
4219 * soft-fp/extendxftf2.c: Likewise.
4220 * soft-fp/fixdfdi.c: Likewise.
4221 * soft-fp/fixdfsi.c: Likewise.
4222 * soft-fp/fixdfti.c: Likewise.
4223 * soft-fp/fixsfdi.c: Likewise.
4224 * soft-fp/fixsfsi.c: Likewise.
4225 * soft-fp/fixsfti.c: Likewise.
4226 * soft-fp/fixtfdi.c: Likewise.
4227 * soft-fp/fixtfsi.c: Likewise.
4228 * soft-fp/fixtfti.c: Likewise.
4229 * soft-fp/fixunsdfdi.c: Likewise.
4230 * soft-fp/fixunsdfsi.c: Likewise.
4231 * soft-fp/fixunsdfti.c: Likewise.
4232 * soft-fp/fixunssfdi.c: Likewise.
4233 * soft-fp/fixunssfsi.c: Likewise.
4234 * soft-fp/fixunssfti.c: Likewise.
4235 * soft-fp/fixunstfdi.c: Likewise.
4236 * soft-fp/fixunstfsi.c: Likewise.
4237 * soft-fp/fixunstfti.c: Likewise.
4238 * soft-fp/floatdidf.c: Likewise.
4239 * soft-fp/floatdisf.c: Likewise.
4240 * soft-fp/floatditf.c: Likewise.
4241 * soft-fp/floatsidf.c: Likewise.
4242 * soft-fp/floatsisf.c: Likewise.
4243 * soft-fp/floatsitf.c: Likewise.
4244 * soft-fp/floattidf.c: Likewise.
4245 * soft-fp/floattisf.c: Likewise.
4246 * soft-fp/floattitf.c: Likewise.
4247 * soft-fp/floatundidf.c: Likewise.
4248 * soft-fp/floatundisf.c: Likewise.
4249 * soft-fp/floatunsidf.c: Likewise.
4250 * soft-fp/floatunsisf.c: Likewise.
4251 * soft-fp/floatuntidf.c: Likewise.
4252 * soft-fp/floatuntisf.c: Likewise.
4253 * soft-fp/floatuntitf.c: Likewise.
4254 * soft-fp/fmadf4.c: Likewise.
4255 * soft-fp/fmasf4.c: Likewise.
4256 * soft-fp/fmatf4.c: Likewise.
4257 * soft-fp/gedf2.c: Likewise.
4258 * soft-fp/gesf2.c: Likewise.
4259 * soft-fp/getf2.c: Likewise.
4260 * soft-fp/ledf2.c: Likewise.
4261 * soft-fp/lesf2.c: Likewise.
4262 * soft-fp/letf2.c: Likewise.
4263 * soft-fp/muldf3.c: Likewise.
4264 * soft-fp/mulsf3.c: Likewise.
4265 * soft-fp/multf3.c: Likewise.
4266 * soft-fp/negdf2.c: Likewise.
4267 * soft-fp/negsf2.c: Likewise.
4268 * soft-fp/negtf2.c: Likewise.
4269 * soft-fp/op-1.h: Likewise.
4270 * soft-fp/op-2.h: Likewise.
4271 * soft-fp/op-4.h: Likewise.
4272 * soft-fp/op-8.h: Likewise.
4273 * soft-fp/op-common.h: Likewise.
4274 * soft-fp/quad.h: Likewise.
4275 * soft-fp/single.h: Likewise.
4276 * soft-fp/soft-fp.h: Likewise.
4277 * soft-fp/sqrtdf2.c: Likewise.
4278 * soft-fp/sqrtsf2.c: Likewise.
4279 * soft-fp/sqrttf2.c: Likewise.
4280 * soft-fp/subdf3.c: Likewise.
4281 * soft-fp/subsf3.c: Likewise.
4282 * soft-fp/subtf3.c: Likewise.
4283 * soft-fp/truncdfsf2.c: Likewise.
4284 * soft-fp/trunctfdf2.c: Likewise.
4285 * soft-fp/trunctfsf2.c: Likewise.
4286 * soft-fp/trunctfxf2.c: Likewise.
4287 * soft-fp/unorddf2.c: Likewise.
4288 * soft-fp/unordsf2.c: Likewise.
4289 * soft-fp/unordtf2.c: Likewise.
4290
17c48a60
OB
42912013-10-14 Ondřej Bílka <neleai@seznam.cz>
4292
4293 [BZ #15672]
4294 * misc/error.c (error_tail): Fix possible buffer overflow.
4295
cabba934
OB
42962013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4297
4298 [BZ #13028]
4299 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4300 address.
4301
94bf958a
PM
43022013-10-14 P. J. McDermott <pj@pehjota.net>
4303
4304 [BZ #832]
4305 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4306 testing pipefail option.
4307
71b4dea7
JM
43082013-10-12 Joseph Myers <joseph@codesourcery.com>
4309
4310 * soft-fp/double.h: Indent preprocessor directives inside #if.
4311 * soft-fp/extended.h: Likewise.
4312 * soft-fp/op-2.h: Likewise.
4313 * soft-fp/op-4.h: Likewise.
4314 * soft-fp/op-common.h: Likewise.
4315 * soft-fp/quad.h: Likewise.
4316 * soft-fp/single.h: Likewise.
4317 * soft-fp/soft-fp.h: Likewise.
4318
55602758
YC
43192013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4320
4321 * iconv/iconv_prog.c: Fix typos.
4322 * stdio-common/psiginfo-data.h: Likewise.
4323
9cd83302
RT
43242013-10-12 Reuben Thomas <rrt@sc3d.org>
4325
4326 [BZ #15764]
4327 * locale/setlocale.c: Fix typo.
4328
99fd9f47
JM
43292013-10-12 Joseph Myers <joseph@codesourcery.com>
4330
b7ea74f0
JM
4331 [BZ #16036]
4332 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4333 signaling NaN arguments.
4334 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4335 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4336
8a509447
JM
4337 [BZ #14910]
4338 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4339 unordered operands.
4340 * soft-fp/gesf2.c (__gesf2): Likewise.
4341 * soft-fp/getf2.c (__getf2): Likewise.
4342 * soft-fp/ledf2.c (__ledf2): Likewise.
4343 * soft-fp/lesf2.c (__lesf2): Likewise.
4344 * soft-fp/letf2.c (__letf2): Likewise.
4345
98998e9f
JM
4346 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4347 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4348 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4349 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4350 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4351 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4352 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4353 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4354 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4355 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4356 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4357 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4358 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4359 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4360 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4361 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4362 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4363 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4364 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4365 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4366 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4367 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4368 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4369 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4370 * soft-fp/floattidf.c (__floattidf): Likewise.
4371 * soft-fp/floattisf.c (__floattisf): Likewise.
4372 * soft-fp/floattitf.c (__floattitf): Likewise.
4373 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4374 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4375 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4376 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4377 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4378 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4379 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4380 * soft-fp/gesf2.c (__gesf2): Likewise.
4381 * soft-fp/getf2.c (__getf2): Likewise.
4382 * soft-fp/ledf2.c (__ledf2): Likewise.
4383 * soft-fp/lesf2.c (__lesf2): Likewise.
4384 * soft-fp/letf2.c (__letf2): Likewise.
4385
8edc4a11
JM
4386 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4387 Undefine and redefine.
4388 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4389 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4390 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4391 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4392 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4393 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4394 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4395 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4396 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4397 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4398 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4399 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4400 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4401 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4402 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4403
8399acaf
JM
4404 [BZ #16032]
4405 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4406 without decrementing exponent if mantissa >= that for the
4407 denominator, not >.
4408 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4409 denominator, not >. Decrement exponent in < case instead of
4410 incrementing in >= case.
4411 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4412 without decrementing exponent if mantissa >= that for the
4413 denominator, not >.
4414
99fd9f47
JM
4415 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4416 computing saturated result for unsigned overflow.
4417
10e1cf6b
SP
44182013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4419 Jeff Law <law@redhat.com>
4420
4421 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4422 (atan2Mp): Add systemtap probe marker.
4423 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4424 (__ieee754_log): Add systemtap probe marker.
4425 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4426 (atanMp): Add systemtap probe marker.
4427 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4428 (tanMp): Add systemtap probe marker.
4429 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4430 (__slowexp): Add systemtap probe marker.
4431 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4432 (__slowpow): Add systemtap probe marker.
4433 * manual/probes.texi: Document probes.
4434
3d110c7c
EB
44352013-10-11 Eric Biggers <ebiggers3@gmail.com>
4436
4437 [BZ #15362]
4438 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4439 written.
4440 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4441 written.
4442 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4443 written to buffer but not flushed.
4444 * libio/iofwrite_u.c: Likewise.
4445 * libio/iopadn.c: Return bytes returned even if EOF was
4446 encountered.
4447 * libio/iowpadn.c: Likewise.
4448 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4449 if _IO_padn does not write the whole buffer.
4450 [!COMPILE_WPRINTF] (PAD): Likewise.
4451
75b4202a
DM
44522013-10-10 David S. Miller <davem@davemloft.net>
4453
4454 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4455 directory block.
4456
6c6352e6
JM
44572013-10-10 Joseph Myers <joseph@codesourcery.com>
4458
33b853c3
JM
4459 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4460 instead of FSF address.
4461 * soft-fp/fixdfti.c: Likewise.
4462 * soft-fp/fixsfti.c: Likewise.
4463 * soft-fp/fixtfti.c: Likewise.
4464 * soft-fp/fixunsdfti.c: Likewise.
4465 * soft-fp/fixunssfti.c: Likewise.
4466 * soft-fp/fixunstfti.c: Likewise.
4467 * soft-fp/floattidf.c: Likewise.
4468 * soft-fp/floattisf.c: Likewise.
4469 * soft-fp/floattitf.c: Likewise.
4470 * soft-fp/floatuntidf.c: Likewise.
4471 * soft-fp/floatuntisf.c: Likewise.
4472 * soft-fp/floatuntitf.c: Likewise.
4473 * soft-fp/trunctfxf2.c: Likewise.
4474
6c6352e6
JM
4475 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4476 * soft-fp/fixdfti.c: Likewise.
4477 * soft-fp/fixsfti.c: Likewise.
4478 * soft-fp/fixtfti.c: Likewise.
4479 * soft-fp/fixunsdfti.c: Likewise.
4480 * soft-fp/fixunssfti.c: Likewise.
4481 * soft-fp/fixunstfti.c: Likewise.
4482 * soft-fp/floattidf.c: Likewise.
4483 * soft-fp/floattisf.c: Likewise.
4484 * soft-fp/floattitf.c: Likewise.
4485 * soft-fp/floatuntidf.c: Likewise.
4486 * soft-fp/floatuntisf.c: Likewise.
4487 * soft-fp/floatuntitf.c: Likewise.
4488 * soft-fp/trunctfxf2.c: Likewise.
4489
3bf78b71
DM
44902013-10-10 David S. Miller <davem@davemloft.net>
4491
4492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4493
6f10289e
JM
44942013-10-10 Joseph Myers <joseph@codsourcery.com>
4495
bd878fc0
JM
4496 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4497 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4498 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4499 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4500 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4501 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4502 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4503
6f10289e
JM
4504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4505 for NaNs before doing comparisons on argument.
4506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4507 Likewise.
4508
321e2684
WN
45092013-10-10 Will Newton <will.newton@linaro.org>
4510
4511 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4512 passed to _int_memalign does not overflow.
4513
40fefba1
TR
45142013-10-10 Torvald Riegel <triegel@redhat.com>
4515
4516 * scripts/bench.pl: Add include-sources directive.
4517 * benchtests/README: Update documentation.
4518
2ae21ed2
JM
45192013-10-10 Joseph Myers <joseph@codesourcery.com>
4520
dcc2dd3f
JM
4521 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4522 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4523 instead of FP_INIT_ROUNDMODE.
4524 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4525 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4526
2ae21ed2
JM
4527 [BZ #16034]
4528 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4529 copy class of input value.
4530 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4531 not handle exceptions.
4532 * soft-fp/negsf2.c (__negsf2): Likewise.
4533 * soft-fp/negtf2.c (__negtf2): Likewise.
4534 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4535
cb8f9562
JM
45362013-10-09 Joseph Myers <joseph@codesourcery.com>
4537
4538 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4539 semicolon. From Linux kernel.
4540
5b60c59d
AB
45412013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4542
4543 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4544
b86835ca
YC
45452013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4546
4547 [BZ #156]
4548 * manual/socket.texi: Added statement about buffer
4549 for gethostbyname2_r.
4550
e7044ea7
OB
45512013-10-08 Ondřej Bílka <neleai@seznam.cz>
4552
4553 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4554 Use .p2align directive instead, throughout.
4555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4556 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4557 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4561 * sysdeps/x86_64/strchr.S: Likewise.
4562 * sysdeps/x86_64/strrchr.S: Likewise.
4563
09544cbc
SP
45642013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
88576635
SP
4566 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4567
e7b2d1dd
SP
4568 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4569
09544cbc
SP
4570 * sysdeps/generic/math_private.h (__mpsin1): Remove
4571 declaration.
4572 (__mpcos1): Likewise.
4573 (__mpsin): New argument __range_reduce.
4574 (__mpcos): Likewise.
4575 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4576 (slow): Use __mpsin and __mpcos.
4577 (slow1): Likewise.
4578 (slow2): Likewise.
4579 (sloww): Likewise.
4580 (sloww1): Likewise.
4581 (sloww2): Likewise.
4582 (bsloww): Likewise.
4583 (bsloww1): Likewise.
4584 (bsloww2): Likewise.
4585 (cslow2): Likewise.
4586 (csloww): Likewise.
4587 (csloww1): Likewise.
4588 (csloww2): Likewise.
4589 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4590 range_reduce. Merge in __mpsin1.
4591 (__mpcos): Likewise.
4592 (__mpsin1): Remove.
4593 (__mpcos1): Likewise.
4594
7602d070
JM
45952013-10-07 Joseph Myers <joseph@codesourcery.com>
4596
4597 * locale/loadlocale.c (_nl_intern_locale_data): Use
4598 LOCFILE_ALIGNED_P.
4599 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4600 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4601 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4602 obstack data is appropriately aligned.
4603 (obstack_int32_grow_fast): Likewise.
4604 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4605 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4606 (add_locale_uint32_array): Likewise.
4607
a357259b
SP
46082013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4609
4610 * benchtests/Makefile: Remove ARGLIST and RET variables.
4611 ($(objpfx)bench-%.c): Pass only function name to the script.
4612 * benchtests/README: Update documentation.
4613 * benchtests/acos-inputs: Add new directives.
4614 * benchtests/acosh-inputs: Likewise.
4615 * benchtests/asin-inputs: Likewise.
4616 * benchtests/asinh-inputs: Likewise.
4617 * benchtests/atan-inputs: Likewise.
4618 * benchtests/atanh-inputs: Likewise.
4619 * benchtests/cos-inputs: Likewise.
4620 * benchtests/cosh-inputs: Likewise.
4621 * benchtests/exp-inputs: Likewise.
4622 * benchtests/log-inputs: Likewise.
4623 * benchtests/pow-inputs: Likewise.
4624 * benchtests/rint-inputs: Likewise.
4625 * benchtests/sin-inputs: Likewise.
4626 * benchtests/sinh-inputs: Likewise.
4627 * benchtests/tan-inputs: Likewise.
4628 * benchtests/tanh-inputs: Likewise.
4629 * scripts/bench.pl: Add support for new directives.
4630
9ec1b13d
AM
46312013-10-07 Alan Modra <amodra@gmail.com>
4632
4633 * README: Fix careless merge.
4634
8b7d57cd
AM
46352013-10-05 Alan Modra <amodra@gmail.com>
4636
4637 * NEWS: Mention powerpc64le support and bugs fixed.
4638 * README: Both big-endian and little-endian powerpc64 supported.
4639
7b7bab13
ST
46402013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4641
4642 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4643 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4644 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4645 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4646
d39baad1
RA
46472013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4648
4649 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4650 match prototype.
4651
cd78f7e7
JM
46522013-10-04 Joseph Myers <joseph@codesourcery.com>
4653
29d73d86
JM
4654 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4655 Move -mhard-float appending from
4656 ports/sysdeps/powerpc/powerpc32/Makefile.
4657 [$(with-fp) = yes] (ASFLAGS): Likewise.
4658 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4659 * sysdeps/powerpc/nofpu: Move directory from
4660 ports/sysdeps/powerpc/nofpu.
4661 * sysdeps/powerpc/soft-fp: Move directory from
4662 ports/sysdeps/powerpc/soft-fp.
4663 * sysdeps/powerpc/powerpc32/405: Move directory from
4664 ports/sysdeps/powerpc/powerpc32/405.
4665 * sysdeps/powerpc/powerpc32/440: Move directory from
4666 ports/sysdeps/powerpc/powerpc32/440.
4667 * sysdeps/powerpc/powerpc32/464: Move directory from
4668 ports/sysdeps/powerpc/powerpc32/464.
4669 * sysdeps/powerpc/powerpc32/476: Move directory from
4670 ports/sysdeps/powerpc/powerpc32/476.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4681 * README: Update for powerpc-*-linux-gnu software floating point
4682 support in libc.
4683
e246b347
JM
4684 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4685 case to powerpc/powerpc32*.
4686 * sysdeps/unix/sysv/linux/configure: Regenerated.
4687
89c2003e
JM
4688 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4689 (_FPU_MASK_OM): Define as 0x04.
4690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4692 0x00c10080.
4693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4694 0x0000003c.
4695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4696
cd78f7e7
JM
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4699 getcontext_e500.
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4701 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4702 setcontext_e500.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4705 and setcontext_e500.
4706
c755294d
CL
47072013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4708
4709 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4710
e16d221c
SP
47112013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
4713 * manual/threads.texi (Default Thread Attributes): Fix typo.
4714
215c7d43
WN
47152013-10-04 Will Newton <will.newton@linaro.org>
4716
4717 * malloc/Makefile: Add tst-memalign.
4718 * malloc/tst-memalign.c: New file.
4719
27d0461b
WN
4720 * malloc/tst-posix_memalign.c: Add comments.
4721 (do_test): Add comments and call free on all potentially
4722 allocated pointers. Add space after cast.
4723
1bc92709
WN
4724 * malloc/tst-pvalloc.c: Add comments.
4725 (do_test): Add comments and call free on all potentially
4726 allocated pointers. Remove duplicate check for NULL pointer.
4727 Add space after cast.
4728
66a9be9d
WN
4729 * malloc/tst-valloc.c: Add comments.
4730 (do_test): Add comments and call free on all potentially
4731 allocated pointers. Remove duplicate check for NULL pointer.
4732 Add space after cast.
4733
4cb81307
AM
47342013-10-04 Alan Modra <amodra@gmail.com>
4735
4736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4737 Use stdint types in rather than __attribute__((mode())).
4738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4739
f8e3e9f3
AM
47402013-10-04 Alan Modra <amodra@gmail.com>
4741
4742 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4743 Correct handling of unaligned relocs for little-endian.
4744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4745
8f9ebb08
AM
47462013-10-04 Alan Modra <amodra@gmail.com>
4747
4748 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4749 * configure: Regenerate.
4750 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4751 * shlib-versions: Likewise.
4752
0edf96c2
AM
47532013-10-04 Alan Modra <amodra@gmail.com>
4754
4755 * string/tester.c (test_memrchr): Increment reported test cycle.
4756
e0f7a380
AM
47572013-10-04 Alan Modra <amodra@gmail.com>
4758
4759 * string/test-memcpy.c (do_one_test): When reporting errors, print
4760 string address and don't overrun end of string.
4761
466b0393
AM
47622013-10-04 Alan Modra <amodra@gmail.com>
4763
4764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4765 insrdi. Make better use of reg selection to speed exit slightly.
4766 Schedule entry path a little better. Remove useless "are we done"
4767 checks on entry to main loop. Handle wrapping around zero address.
4768 Correct main loop count. Handle single left-over word from main
4769 loop inline rather than by using loop_small. Remove extra word
4770 case in loop_small caused by wrong loop count. Add little-endian
4771 support.
4772 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4774 cache hint.
4775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4777 support. Avoid rlwimi.
4778 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4779
3be87c77
AM
47802013-10-04 Alan Modra <amodra@gmail.com>
4781
4782 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4783 insrdi. Formatting.
3be87c77
AM
4784 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4785 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4786 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4788 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4789 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4790
759cfef3
AM
47912013-10-04 Alan Modra <amodra@gmail.com>
4792
4793 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4797 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4798 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4802 use of regs. Use power7 mtocrf. Tidy function tails.
4803
fe6e95d7
AM
48042013-10-04 Alan Modra <amodra@gmail.com>
4805
4806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4807 Formatting. Consistently use rXXX register defines or rN defines.
4808 Use early exit labels that avoid restoring unused non-volatile regs.
4809 Make cr field use more consistent with rWORDn compares. Rename
4810 regs used as shift registers for unaligned loop, using rN defines
4811 for short lifetime/multiple use regs.
4812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4814 addi 1,1,64 to pop stack frame. Simplify return value code.
4815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4816
664318c3
AM
48172013-10-04 Alan Modra <amodra@gmail.com>
4818
4819 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4820 support. Correct typos, formatting. Optimize tail. Use insrdi
4821 rather than rlwimi.
4822 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4824 little-endian support. Correct typos.
4825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4826 rather than rlwimi.
4827 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4828 in loop and entry code to keep "and." results.
4829 (strchr): Add little-endian support. Comment. Move cntlzd
4830 earlier in tail.
4831 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4832
43b84013
AM
48332013-10-04 Alan Modra <amodra@gmail.com>
4834
4835 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4836 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4839
8a7413f9
AM
48402013-10-04 Alan Modra <amodra@gmail.com>
4841
4842 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4843 (rTMP): Define as r11.
4844 (strcmp): Add little-endian support. Optimise tail.
4845 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4846 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4851 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4852
33ee81de
AM
48532013-10-04 Alan Modra <amodra@gmail.com>
4854
4855 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4856 little-endian support. Remove unnecessary "are we done" tests.
4857 Handle "s" wrapping around zero and extremely large "size".
4858 Correct main loop count. Handle single left-over word from main
4859 loop inline rather than by using small_loop. Correct comments.
4860 Delete "zero" tail, use "end_max" instead.
4861 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4862
db9b4570
AM
48632013-10-04 Alan Modra <amodra@gmail.com>
4864
4865 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4866 support. Don't branch over align.
4867 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4868 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4869 support. Rearrange tmp reg use to suit. Comment.
4870 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4871
f7c399cf
AM
48722013-10-04 Alan Modra <amodra@gmail.com>
4873
4874 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4875
0b2c2ace
AM
48762013-10-04 Alan Modra <amodra@gmail.com>
4877
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4879 conditional form of branch and link when obtaining pc.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4881
02f04a6c
AM
48822013-10-04 Alan Modra <amodra@gmail.com>
4883
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4885 HIWORD/LOWORD.
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4888
9b874b2f
AM
48892013-10-04 Alan Modra <amodra@gmail.com>
4890
4891 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4892 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4899 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4900 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4901
be1e5d31
AB
49022013-10-04 Anton Blanchard <anton@au1.ibm.com>
4903 Alistair Popple <alistair@ozlabs.au.ibm.com>
4904 Alan Modra <amodra@gmail.com>
4905
4906 [BZ #15723]
4907 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4909 _dl_hwcap access for little-endian.
4910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4911 destroy vmx regs when saving unaligned.
4912 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4914 destroy vmx regs when saving unaligned.
4915
fef13a78
AM
49162013-10-04 Alan Modra <amodra@gmail.com>
4917
4918 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4919 Don't use a union to pack hi/low value.
4920
76a66d51
AB
49212013-10-04 Anton Blanchard <anton@au1.ibm.com>
4922
4923 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4924 for little-endian.
4925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4929 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4930
6a31fe7f
AM
49312013-10-04 Alan Modra <amodra@gmail.com>
4932
4933 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4934 constants to usual value for .cst8 section, and remove redundant
4935 high address load.
4936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4937 constant for 0x1p52. Load little-endian words of double from
4938 correct stack offsets.
4939
7b88401f
AM
49402013-10-04 Alan Modra <amodra@gmail.com>
4941
4942 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4943 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4944 words of double from correct stack offsets.
4945 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4946 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4947 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4952 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4957 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4958 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4959 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4961 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4962
9c008155
AM
49632013-10-04 Alan Modra <amodra@gmail.com>
4964
4965 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4966 64-bit int/double union.
4967 (_FPU_SETCW): Likewise.
4968 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4969 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4970
da13146d
AM
49712013-10-04 Alan Modra <amodra@gmail.com>
4972
4973 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4974 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4975
603e8410
AM
49762013-10-04 Alan Modra <amodra@gmail.com>
4977
4978 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4979 use vector int constants.
4980 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4981
4a28b3ca
AB
49822013-10-04 Anton Blanchard <anton@au1.ibm.com>
4983
4984 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4985 array with long long.
4986 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4987 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4988 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4989 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4990 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4991 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4992 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4993 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4994 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4995 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4996 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4997 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4998 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4999
2ca85d2b
AB
50002013-10-04 Anton Blanchard <anton@au1.ibm.com>
5001
5002 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5003 (__signbit): Likewise. Correct for little-endian.
5004 (__signbitl): Call __signbit.
5005 (lrint): Correct for little-endian.
5006 (lrintf): Call lrint.
5007
62a728ae
AM
50082013-10-04 Alan Modra <amodra@gmail.com>
5009
5010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5011 union 32-bit int array member with 64-bit int array.
5012 (t515, tm256): Double rather than long double.
5013 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5014
32c301df
AM
50152013-10-04 Alan Modra <amodra@gmail.com>
5016
5017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5018 Delete.
5019 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5021 version of math_ldbl.h.
5022
650ef4bd
AM
50232013-10-04 Alan Modra <amodra@gmail.com>
5024
5025 [BZ #15734], [BZ #15735]
5026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5027 all uses of ieee875 long double macros and unions. Simplify test
5028 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5029 ldbl_extract_mantissa value for ix,iy exponents. Properly
5030 normalize after ldbl_extract_mantissa, and don't add hidden bit
5031 already handled. Don't treat low word of ieee854 mantissa like
5032 low word of IBM long double and mask off bit when testing for
5033 zero.
5034 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5035 all uses of ieee875 long double macros and unions. Simplify tests
5036 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5037 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5038 two1022, instead use their values. Recognise that tests for large
5039 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5041 Rewrite all uses of ieee875 long double macros and unions. Simplify
5042 test for 0.0L and nan. Correct negation.
5043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5044 ieee875 long double macros and unions. Correct output for large
5045 magnitude x. Correct absolute value calculation.
5046 (__erfcl): Likewise.
5047 * math/libm-test.inc: Add tests for errors discovered in IBM long
5048 double versions of fmodl, remainderl, erfl and erfcl.
5049
765714ca
AM
50502013-10-04 Alan Modra <amodra@gmail.com>
5051
5052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5053 all uses of ieee854 long double macros and unions. Simplify tests
5054 for long doubles that are fully specified by the high double.
5055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5056 Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5058 Remove dead code too.
5059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5060 (__ieee754_ynl): Likewise.
5061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5064 Remove dead code too.
5065 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5069 Simplify.
5070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5071 Simplify.
5072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5075 Comment on variable precision.
5076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5078 Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5084
4ebd120c
AM
50852013-10-04 Alan Modra <amodra@gmail.com>
5086
5087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5089 all uses of ieee854 long double macros and unions.
5090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5096 Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5103 Simplify sign and nan test too.
5104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5108 Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5111 Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5118
1b6adf88
AM
51192013-10-04 Alan Modra <amodra@gmail.com>
5120
5121 * stdio-common/printf_size.c (__printf_size): Don't use
5122 union ieee854_long_double in fpnum union.
5123 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5124 signbit macro to retrieve sign from long double.
5125 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5126 retrieve sign from long double.
5127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5128 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5129 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5130 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5131 * math/test-misc.c (main): Don't use union ieee854_long_double.
5132
4cf69995
AM
51332013-10-04 Alan Modra <amodra@gmail.com>
5134
5135 [BZ #15680]
5136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5138 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5139 calculation. Remove unnecessary test for denormal exponent.
5140 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5141 Correct handling of denormals. Avoid undefined shift behaviour.
5142 Correct normalisation of low mantissa when low double is denormal.
5143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5144 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5145 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5146 Correct normalisation of low mantissa. Test for overflow of high
5147 mantissa and normalise.
5148 (ldbl_nearbyint): Use more readable constant for two52.
5149 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5150 (__mpn_construct_long_double): Fix test for overflow of high
5151 mantissa and correct normalisation. Avoid undefined shift.
5152
9605ca6c
AM
51532013-10-04 Alan Modra <amodra@gmail.com>
5154
5155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5156 (union ibm_extended_long_double): Define as an array of ieee754_double.
5157 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5158 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5159 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5168
975569d0
JM
51692013-10-03 Joseph Myers <joseph@codesourcery.com>
5170
d3d23756
JM
5171 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5172 page size instead of calling getpagesize.
5173
975569d0
JM
5174 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5175 (LOCFILE_ALIGN_MASK): Likewise.
5176 (LOCFILE_ALIGN_UP): Likewise.
5177 (LOCFILE_ALIGNED_P): Likewise.
5178 * locale/programs/ld-collate.c (collate_output): Use the new
5179 macros instead of __alignof__ (int32_t).
5180 * locale/weight.h (findidx): Likewise.
5181
b1fe1f2b
OB
51822013-10-03 Ondřej Bílka <neleai@seznam.cz>
5183
5184 [BZ #431]
5185 * manual/string.texi: Fix strncat and wcsncat.
5186
5f855e35
BM
51872013-10-03 Brooks Moses <bmoses@google.com>
5188
5189 [BZ #15915]
5190 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5191 * Makerules: ...here, and adjust associated comments.
5192
3cef6009
WN
51932013-10-02 Will Newton <will.newton@linaro.org>
5194
5195 * malloc/Makefile: Add tst-pvalloc.
5196 * malloc/tst-pvalloc.c: New file.
5197
7815420b
WN
51982013-10-02 Will Newton <will.newton@linaro.org>
5199
5200 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5201 improve test coverage.
5202
4868b204
WN
52032013-10-02 Will Newton <will.newton@linaro.org>
5204
5205 * malloc/Makefile: Add tst-posix_memalign.
5206 * malloc/tst-posix_memalign.c: New file.
5207
29c793b3
EB
52082013-10-01 Eric Blake <eblake@redhat.com>
5209
5210 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5211 Use __THROWNL rather than __THROW on static functions.
5212
fd967522
PM
52132013-09-30 Petr Machata <pmachata@redhat.com>
5214
5215 * elf/elf.h (R_AARCH64_ABS16): New macro.
5216 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5217 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5218 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5219 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5220 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5221 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5222 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5223 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5224 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5225 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5226 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5227 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5228 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5229 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5230 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5231 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5232 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5233 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5234 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5235 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5236 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5237 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5238 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5239 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5240 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5241 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5242 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5243 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5244 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5245 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5246 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5248 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5250 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5251 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5253 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5255 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5257 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5259 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5261 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5263 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5265 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5266 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5267 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5268 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5269 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5270 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5271 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5272 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5273 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5274 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5275 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5276 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5278 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5280 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5282 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5284 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5286 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5287 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5288 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5289 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5290 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5291 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5292 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5293 (R_AARCH64_TLSDESC_LDR): Likewise.
5294 (R_AARCH64_TLSDESC_ADD): Likewise.
5295 (R_AARCH64_TLSDESC_CALL): Likewise.
5296
b2179107
AS
52972013-09-30 Andreas Schwab <schwab@suse.de>
5298
5299 [BZ #15048]
5300 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5301 the nss database lookup.
5302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5304
47f28d0a
MF
53052013-09-28 Mike Frysinger <vapier@gentoo.org>
5306
5307 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5308
53092013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5310
5311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5312 ${Bash-specific parameter/pattern/string} parameter expansion.
5313 * sysdeps/unix/make-syscalls.sh: Likewise.
5314
f4518a17
KK
53152013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5316
5317 * sysdeps/sh/stackguard-macros.h: New file.
5318
dc1a95c7
OB
53192013-09-26 Ondřej Bílka <neleai@seznam.cz>
5320
5321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5323 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5324 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5326 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5327
5ebbff8f
AZ
53282013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5329
5330 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5331 Fix thread ID register.
5332
4fd2cf9f
JM
53332013-09-25 Joseph Myers <joseph@codesourcery.com>
5334
5335 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5336 [POSIX || UNIX98]: Require rather than permitting all symbols from
5337 <time.h>.
5338 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5339 element of struct sched_param.
5340 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5341 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5342 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5343 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5344 constant.
5345
12c22bc4
OL
53462013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5347
5348 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5349 argument calculation.
5350
a03d8ea7
JM
53512013-09-24 Joseph Myers <joseph@codesourcery.com>
5352
5353 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5354 Expect macro.
5355 [POSIX] (pthread_attr_t): Do not require type.
5356 [POSIX] (pthread_cond_t): Likewise.
5357 [POSIX] (pthread_condattr_t): Likewise.
5358 [POSIX] (pthread_key_t): Likewise.
5359 [POSIX] (pthread_mutex_t): Likewise.
5360 [POSIX] (pthread_mutexattr_t): Likewise.
5361 [POSIX] (pthread_once_t): Likewise.
5362 [POSIX] (pthread_t): Likewise.
5363 [POSIX-based standards] (pthread_atfork): Expect function.
5364
6055173a
JM
53652013-09-24 Joseph Myers <joseph@codesourcery.com>
5366 Richard Sandiford <richard@codesourcery.com>
5367
5368 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5369 (swap_endianness_p): New extern variable.
5370 (set_big_endian): New inline function.
5371 (maybe_swap_uint32): Likewise.
5372 (maybe_swap_uint32_array): Likewise.
5373 (maybe_swap_uint32_obstack): Likewise.
5374 * locale/programs/locfile.c: Include <stdbool.h>.
5375 (swap_endianness_p): New variable.
5376 (add_locale_uint32): Call maybe_swap_uint32.
5377 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5378 (write_locale_data): Call maybe_swap_uint32_array.
5379 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5380 maybe_swap_uint32.
5381 (obstack_int32_grow_fast): Likewise.
5382 (output_weightwc): Call maybe_swap_uint32_obstack.
5383 (collate_output): Likewise.
5384 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5385 (OPT_LITTLE_ENDIAN): Likewise.
5386 (options): Add --little-endian and --big-endian options.
5387 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5388 * locale/programs/locarchive.c: Include "locfile.h".
5389 (GET): New macro.
5390 (SET): Likewise.
5391 (INC): Likewise.
5392 (create_archive): Use the new macros to access fields of
5393 structures directly mapped from or written to locale archives.
5394 (oldlocrecentcmp): Likewise.
5395 (enlarge_archive): Likewise.
5396 (insert_name): Likewise.
5397 (add_alias): Likewise.
5398 (add_locale): Likewise.
5399 (delete_locales_from_archive): Likewise.
5400 (show_archive_content): Likewise.
5401 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5402 locale data.
5403
39bf0bb4
RM
54042013-09-24 Roland McGrath <roland@hack.frob.com>
5405
5406 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5407 http://www.gnu.org/doc/freemanuals.texi.
5408 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5409
f02eed10
WN
54102013-09-24 Will Newton <will.newton@linaro.org>
5411
5412 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5413 macro.
5414
a3a6c312
JM
54152013-09-23 Joseph Myers <joseph@codesourcery.com>
5416
5417 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5418 unsigned char.
5419
107375ac
MR
54202013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5421
5422 * manual/threads.texi (POSIX Threads): Fix a typo.
5423
141f3a77
SP
54242013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
303e567a
SP
5426 [BZ #14547]
5427 * string/tst-strcoll-overflow.c: New test case.
5428 * string/Makefile (xtests): Add tst-strcoll-overflow.
5429 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5430 cache if string sizes may cause integer overflow.
5431
141f3a77
SP
5432 [BZ #14547]
5433 * string/strcoll_l.c (coll_seq): New members rule, idx,
5434 save_idx and back_us.
5435 (get_next_seq_nocache): New function.
5436 (do_compare_nocache): New function.
5437 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5438 when malloc fails.
5439
c61b4d41
CD
54402013-09-23 Carlos O'Donell <carlos@redhat.com>
5441
0b1f8e35
CD
5442 [BZ #15754]
5443 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5444 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5445 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5446
c61b4d41
CD
5447 [BZ #15754]
5448 * elf/Makefile (tests): Add tst-ptrguard1.
5449 (tests-static): Add tst-ptrguard1-static.
5450 (tst-ptrguard1-ARGS): Define.
5451 (tst-ptrguard1-static-ARGS): Define.
5452 * elf/tst-ptrguard1.c: New file.
5453 * elf/tst-ptrguard1-static.c: New file.
5454 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5455 * sysdeps/i386/stackguard-macros.h: Likewise.
5456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5462
54632013-09-23 Hector Marco <hecmargi@upv.es>
5464 Ismael Ripoll <iripoll@disca.upv.es>
5465 Carlos O'Donell <carlos@redhat.com>
5466
5467 [BZ #15754]
5468 * sysdeps/generic/stackguard-macros.h: Define
5469 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5470 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5471 Define __pointer_chk_guard_local.
5472 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5473 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5474
f5f4e7b4
VV
54752013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5476
5477 [BZ #15859]
5478 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5479
5bb43a43
AS
54802013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5481
5482 * include/string.h (__ffs): Declare as hidden.
5483 * string/ffs.c (__ffs): Define as hidden.
5484 * sysdeps/i386/ffs.c (__ffs): Likewise.
5485 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5486 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5487 * sysdeps/s390/ffs.c (__ffs): Likewise.
5488 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5489
3ea5be54
AO
54902013-09-20 Alexandre Oliva <aoliva@redhat.com>
5491
ffb89e53
AO
5492 * NEWS: Mention malloc probes.
5493
322dea08
AO
5494 * malloc/arena.c (new_heap): New memory_heap_new probe.
5495 (grow_heap): New memory_heap_more probe.
5496 (shrink_heap): New memory_heap_less probe.
5497 (heap_trim): New memory_heap_free probe.
5498 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5499 (systrim): New memory_sbrk_less probe.
5500 * manual/probes.texi: Document them.
5501
655673f3
AO
5502 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5503 * manual/probes.texi: Document it.
5504
35fed6f1
AO
5505 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5506 (__libc_realloc): Add memory_realloc_retry probe.
5507 (__libc_memalign): Add memory_memalign_retry probe.
5508 (__libc_valloc): Add memory_valloc_retry probe.
5509 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5510 (__libc_calloc): Add memory_calloc_retry probe.
5511 * manual/probes.texi: Document them.
5512
6999d38c
AO
5513 * malloc/arena.c (get_free_list): Add probe
5514 memory_arena_reuse_free_list.
5515 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5516 and memory_arena_reuse.
5517 (arena_get2) [!PER_THREAD]: Likewise.
5518 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5519 memory_arena_reuse_realloc.
5520 * manual/probes.texi: Document them.
5521
0653427f
AO
5522 * malloc/malloc.c (__libc_free): Add
5523 memory_mallopt_free_dyn_thresholds probe.
5524 (__libc_mallopt): Add multiple memory_mallopt probes.
5525 * manual/probes.texi: Document them.
5526
3ea5be54
AO
5527 * malloc/malloc.c: Include stap-probe.h.
5528 (__libc_mallopt): Add memory_mallopt probe.
5529 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5530 * manual/probes.texi: New.
5531 * manual/Makefile (chapters): Add probes.
5532 * manual/threads.texi: Set next node.
5533
e35696c3 55342013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5535
e35696c3
CL
5536 [BZ #15963, #13985]
5537 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5538 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5539 Add `Chinese' to `nan' entry name.
5540
4aafb73c
SP
55412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
5543 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5544 (POLYNOMIAL): Likewise.
5545 (TAYLOR_SINCOS): Likewise.
5546 (TAYLOR_SLOW): Likewise.
5547 (__sin): Use TAYLOR_SINCOS.
5548 (__cos): Likewise.
5549 (slow): Use TAYLOR_SLOW.
5550 (sloww): Likewise.
5551 (bsloww): Likewise.
5552 (csloww): Likewise.
5553
d84f25c7
LD
55542013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5555
5556 * stdlib/strtod_l.c: Fix buffer overrun.
5557
5eea0404
SP
55582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
7849ff93
SP
5560 * benchtests/Makefile (bench): Add sincos.
5561 * benchtests/bench-sincos.c: New file.
5562
cfa3c886
SP
5563 * math/libm-test.inc (cos_test_data): New test inputs.
5564 (sin_test_data): Likewise.
5565
b348e1e3
SP
5566 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5567 macro.
5568 (__sin): Use it.
5569 (__cos): Likewise.
5570 (slow1): Likewise.
5571 (slow2): Likewise.
5572 (sloww1): Likewise.
5573 (sloww2): Likewise.
5574 (bsloww1): Likewise.
5575 (bsloww2): Likewise.
5576 (cslow2): Likewise.
5577 (csloww1): Likewise.
5578 (csloww2): Likewise.
5579
6cce25f8
SP
5580 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5581 function.
5582 (__sin): Use it.
5583 (__cos): Likewise.
5584
5eea0404
SP
5585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5586 gotos.
5587 (__cos): Likewise.
5588
9c21573c
MR
55892013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5590
5591 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5592 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5593 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5594 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5595 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5596 * elf/cache.c (print_entry): Handle the new cache flags.
5597
24d22e65
JM
55982013-09-18 Joseph Myers <joseph@codesourcery.com>
5599 Aldy Hernandez <aldyh@redhat.com>
5600
5601 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5602 Change condition to [_SOFT_FLOAT].
5603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5615 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5618 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5619 declaration.
5620
d13ef066
JM
56212013-09-18 Joseph Myers <joseph@codesourcery.com>
5622
2e071de0
JM
5623 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5624 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5625 (__longjmp): Use LOAD_GP to load saved GPRs.
5626 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5627 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5628 (__sigsetjmp): Use SAVE_GP to save GPRs.
5629
d13ef066
JM
5630 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5631 Do not append -msoft-float.
5632 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5633
97a0650b
SP
56342013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
5636 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5637
11ca09e9
JM
56382013-09-17 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #15966]
5641 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5642 (_FPU_GETCW): Use initial "__" on variable and field names but not
5643 on macro parameter name.
5644 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5645 parentheses around reference to macro parameter.
5646
08ffcf34
RS
56472013-09-13 Richard Sandiford <richard@codesourcery.com>
5648
5649 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5650 prototype.
5651 (ctype_startup): Use uint32_t in cast and sizeof for
5652 ctype->charnames.
5653
ae7080d3
JL
56542013-09-11 Jia Liu <proljc@gmail.com>
5655
5656 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5657 __daddr_t_defined.
5658 [__FreeBSD__]: Likewise.
5659
5905e7b3
OB
56602013-09-11 Ondřej Bílka <neleai@seznam.cz>
5661
5662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5663 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5664 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5665 (strchr): Remove __strchr_sse42 ifunc selection.
5666 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5667 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5668
b987c776
WN
56692013-09-11 Will Newton <will.newton@linaro.org>
5670
5671 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5672 parameter to RES. Remove hardcoded 1000 value.
5673 * benchtests/bench-skeleton.c (main): Pass RES parameter
5674 to TIMING_INIT and multiply result by 1000.
5675
ddf985af
AZ
56762013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5679
ffdd3181
AS
56802013-09-11 Andreas Schwab <schwab@suse.de>
5681
5682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5683 if not defined.
5684 (O_TMPFILE) [__USE_GNU]: Define.
5685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5686 Define.
5687
b73ed247
WN
56882013-09-11 Will Newton <will.newton@linaro.org>
5689
5690 [BZ #15857]
5691 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5692 does not overflow.
5693
55e17aad
WN
56942013-09-11 Will Newton <will.newton@linaro.org>
5695
5696 [BZ #15856]
5697 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5698 does not overflow.
5699
1159a193
WN
57002013-09-11 Will Newton <will.newton@linaro.org>
5701
5702 [BZ #15855]
5703 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5704 does not overflow.
5705
5905e7b3 57062013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5707
5708 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5709 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5713
cdfc721b
AM
57142013-09-10 Allan McRae <allan@archlinux.org>
5715
aa04af00
AM
5716 [BZ #15748]
5717 * manual/arith.texi (Parsing of Floats): Clarify
5718 cross-reference.
5719
cdfc721b
AM
5720 [BZ #15849]
5721 * manual/install.texi (Running make install): Mention
5722 --enable-pt-chown.
5723 * INSTALL: Regenerated.
5724
95e7cf29
MR
57252013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5726
5727 * csu/init-first.c (_init): Remove the !SHARED condition around
5728 FPU control word initialization.
5729 * elf/dl-support.c (_dl_fpu_control): New variable.
5730 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5731 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5732 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5733 * math/test-fpucw-static.c: New file.
5734 * math/test-fpucw-ieee.c: New file.
5735 * math/test-fpucw-ieee-static.c: New file.
5736 * math/Makefile (tests): Add `test-fpucw-ieee' and
5737 `$(tests-static)'.
5738 (tests-static): New variable.
5739 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5740 dependency to...
5741 [($(build-shared),yes)]
5742 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5743 ... this.
5744 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5745 New dependency.
5746
83e43bf0
AM
57472013-09-09 Allan McRae <allan@archlinux.org>
5748
a9f5ce09
AM
5749 [BZ #15939]
5750 * manual/string.texi (Collation Functions): Fix typo in
5751 strcoll example.
5752 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5753
34829bc2
AM
5754 [BZ #15893]
5755 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5756
3932737d
AM
5757 [BZ #15892]
5758 * libio/memstream.c (open_memstream): Fix memory leak.
5759 * libio/wmemstream.c (open_wmemstream): Likewise.
5760
83e43bf0
AM
5761 [BZ #15895]
5762 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5763
0c66b8e9
WN
57642013-09-09 Will Newton <will.newton@linaro.org>
5765
5766 * malloc/Makefile: Add tst-realloc to tests.
5767 * malloc/tst-realloc.c: New file.
5768
f6b00fd1
AM
57692013-09-09 Allan McRae <allan@archlinux.org>
5770
5771 [BZ #15844]
5772 * COPYING: Update from GNU website to fix FSF address.
5773 * COPYING.LIB: Likewise.
5774
eec55e16
DM
57752013-09-06 David S. Miller <davem@davemloft.net>
5776
5777 * po/zh_TW.po: Update Chinese (traditional) translation from
5778 translation project.
5779
1ecbb381
RS
57802013-09-06 Richard Sandiford <richard@codesourcery.com>
5781 Joseph Myers <joseph@codesourcery.com>
5782
5783 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5784 "localeinfo.h".
5785 (obstack_chunk_alloc): New macro.
5786 (obstack_chunk_free): Likewise.
5787 (record_offset): New function.
5788 (init_locale_data): Likewise.
5789 (align_locale_data): Likewise.
5790 (add_locale_empty): Likewise.
5791 (add_locale_raw_data): Likewise.
5792 (add_locale_raw_obstack): Likewise.
5793 (add_locale_string): Likewise.
5794 (add_locale_wstring): Likewise.
5795 (add_locale_uint32): Likewise.
5796 (add_locale_uint32_array): Likewise.
5797 (add_locale_char): Likewise.
5798 (start_locale_structure): Likewise.
5799 (end_locale_structure): Likewise.
5800 (start_locale_prelude): Likewise.
5801 (end_locale_prelude): Likewise.
5802 (write_locale_data): Take locale_file structure rather than an
5803 iovec.
5804 * locale/programs/locfile.h: Include "obstack.h".
5805 (struct locale_file): Change to store locale file contents instead
5806 of header.
5807 (init_locale_data): New prototype.
5808 (align_locale_data): Likewise.
5809 (add_locale_empty): Likewise.
5810 (add_locale_raw_data): Likewise.
5811 (add_locale_raw_obstack): Likewise.
5812 (add_locale_string): Likewise.
5813 (add_locale_wstring): Likewise.
5814 (add_locale_uint32): Likewise.
5815 (add_locale_uint32_array): Likewise.
5816 (add_locale_char): Likewise.
5817 (start_locale_structure): Likewise.
5818 (end_locale_structure): Likewise.
5819 (start_locale_prelude): Likewise.
5820 (end_locale_prelude): Likewise.
5821 (write_locale_data): Update prototype.
5822 * locale/programs/3level.h (struct TABLE): Remove result field.
5823 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5824 Use new locale_file interface.
5825 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5826 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5827 * locale/programs/ld-address.c (address_output): Use new
5828 locale_file interface.
5829 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5830 NO_ADD_LOCALE.
5831 (collate_finish): Don't call collseq_table_finalize.
5832 (collate_output): Use new locale_file interface.
5833 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5834 in file.
5835 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5836 (TABLE): Move defines earlier in file.
5837 (ELEMENT): Likewise.
5838 (DEFAULT): Likewise.
5839 (wctrans_table_add): Move macro and inline function earlier in
5840 file.
5841 (struct wctype_table): Move type earlier in file.
5842 (add_locale_wctype_table): New static prototype.
5843 (struct locale_ctype_t): Use logical types instead of struct iovec
5844 pointers for members.
5845 (ctype_output): Use new locale_file interface.
5846 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5847 new locale_file interface.
5848 (allocate_arrays): Update for use of new locale_file interface.
5849 * locale/programs/ld-identification.c (identification_output): Use
5850 new locale_file interface.
5851 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5852 * locale/programs/ld-messages.c (messages_output): Likewise.
5853 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5854 * locale/programs/ld-name.c (name_output): Likewise.
5855 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5856 * locale/programs/ld-paper.c (paper_output): Likewise.
5857 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5858 * locale/programs/ld-time.c (time_output): Likewise.
5859
e029e2e5
AZ
58602013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861
5862 * benchtests/Makefile: Add memrchr benchmark.
5863 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5864 benchmark as memrchr.
5865 * benchtests/bench-memrchr-ifunc.c: New file.
5866 * benchtests/bench-memrchr.c: New file.
5867
bbf6e8e4
WN
58682013-09-06 Will Newton <will.newton@linaro.org>
5869
5870 * benchtests/Makefile (string-bench): Add memcpy.
5871
6c82a2f8
CD
58722013-09-05 Carlos O'Donell <carlos@redhat.com>
5873 Cong Wang <amwang@redhat.com>
5874
e732c5f0 5875 [BZ #15850]
6c82a2f8
CD
5876 * sysdeps/unix/sysv/linux/bits/in.h
5877 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5878 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5879 before __USE_KERNEL_IPV6_DEFS uses.
5880 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5881 IPPROTO_BEETPH.
5882 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5883 sockaddr_in6, or ipv6_mreq.
5884
5430fc65
AZ
58852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886
5887 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5888 memory access for final bytes in some large inputs.
5889 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5890
4660856c
AZ
58912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892
5893 * string/test-memrchr.c: New file.
5894 * string/test-memrchr-ifunc.c: New file.
5895 * string/Makefile: Add new memrchr testcase.
5896
bb8ea713
MF
58972013-09-05 Mike Frysinger <vapier@gentoo.org>
5898
5899 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5900 fanotify_init returns EPERM.
5901
b92a20b5
JM
59022013-09-04 Joseph Myers <joseph@codesourcery.com>
5903
5904 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5905 errors.
5906 (top level): Treat second token from macro or constant entries for
5907 allowed headers as allowed.
5908 * include/complex.h: Condition internal declarations on
5909 [!_ISOMAC].
5910 * include/fenv.h: Condition include of <stdbool.h> and internal
5911 declarations on [!_ISOMAC].
7447ccd9
CL
5912
59132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5914
3e181dda 5915 [BZ #15923]
7447ccd9
CL
5916 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5917
3f2e46a4
JM
59182013-09-04 Joseph Myers <joseph@codesourcery.com>
5919
5920 * configure.in (--enable-versioning): Remove configure option.
5921 (libc_cv_asm_symver_directive): Remove configure test.
5922 (libc_cv_ld_version_script_option): Likewise.
5923 (VERSIONING): Remove variable and AC_SUBST.
5924 (DO_VERSIONING): Remove AC_DEFINE.
5925 * configure: Regenerated.
5926 * config.h.in (DO_VERSIONING): Remove macro.
5927 * Makerules [$(versioning) = yes]: Change conditionals to
5928 [$(build-shared) = yes].
5929 * config.make.in (versioning): Remove variable.
5930 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5931 [$(build-shared) = yes].
5932 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5933 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5934 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5935 [$(build-shared) = yes].
5936 * extra-lib.mk [$(versioning) = yes]: Likewise.
5937 * hurd/Makefile [$(versioning) = yes]: Likewise.
5938 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5939 [SHARED].
5940 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5941 [SHARED].
5942 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5943 [SHARED && !NO_HIDDEN].
5944 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5945 [SHARED].
5946 [SHARED && DO_VERSIONING]: Likewise..
5947 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5948 [$(build-shared) = yes].
5949 * manual/install.texi (--disable-versioning): Remove
5950 documentation.
5951 * INSTALL: Regenerated.
5952 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5953 to [SHARED].
5954 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5955 [$(build-shared) = yes].
5956 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5957 * sysdeps/i386/i686/multiarch/strstr-c.c
5958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5959 [SHARED && !NO_HIDDEN].
5960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5961 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5962 * sysdeps/powerpc/powerpc32/dl-machine.c
5963 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5964 * sysdeps/powerpc/powerpc32/sysdep.h
5965 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5966 to [SHARED && PIC && !NO_HIDDEN].
5967 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5968 conditional to [SHARED].
5969
44558701
WN
59702013-09-04 Will Newton <will.newton@linaro.org>
5971
5972 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5973 * benchtests/bench-string.h: Include bench-timing.h instead
5974 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5975 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5976 call to HP_TIMING_DIFF_INIT.
5977 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5978 instead of hp-timing.h macros.
5979 * benchtests/bench-memchr.c: Likewise.
5980 * benchtests/bench-memcmp.c: Likewise.
5981 * benchtests/bench-memcpy.c: Likewise.
5982 * benchtests/bench-memmem.c: Likewise.
5983 * benchtests/bench-memmove.c: Likewise.
5984 * benchtests/bench-memset.c: Likewise.
5985 * benchtests/bench-rawmemchr.c: Likewise.
5986 * benchtests/bench-strcasecmp.c: Likewise.
5987 * benchtests/bench-strcasestr.c: Likewise.
5988 * benchtests/bench-strcat.c: Likewise.
5989 * benchtests/bench-strchr.c: Likewise.
5990 * benchtests/bench-strcmp.c: Likewise.
5991 * benchtests/bench-strcpy.c: Likewise.
5992 * benchtests/bench-strcpy_chk.c: Likewise.
5993 * benchtests/bench-strlen.c: Likewise.
5994 * benchtests/bench-strncasecmp.c: Likewise.
5995 * benchtests/bench-strncat.c: Likewise.
5996 * benchtests/bench-strncmp.c: Likewise.
5997 * benchtests/bench-strncpy.c: Likewise.
5998 * benchtests/bench-strnlen.c: Likewise.
5999 * benchtests/bench-strpbrk.c: Likewise.
6000 * benchtests/bench-strrchr.c: Likewise.
6001 * benchtests/bench-strspn.c: Likewise.
6002 * benchtests/bench-strstr.c: Likewise.
6003
cae16d66
WN
60042013-09-04 Will Newton <will.newton@linaro.org>
6005
6006 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6007
ffa3cd7f
JM
60082013-09-03 Joseph Myers <joseph@codesourcery.com>
6009
6010 [BZ #15427]
6011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6012 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6013 * math/libm-test.inc (lgamma_test_data): Add more tests.
6014 * sysdeps/i386/fpu/libm-test-ulps: Update.
6015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6016
8f02859f
OB
60172013-09-03 Ondřej Bílka <neleai@seznam.cz>
6018
6019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6021 Add ifunc.
6022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6023 Add strcmp-sse2-unaligned
6024 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6025
18d43716
MF
60262013-09-02 Mike Frysinger <vapier@gentoo.org>
6027
6028 * Versions.def (libc): Add GLIBC_2.19.
6029
ac444012
MF
60302013-09-02 Mike Frysinger <vapier@gentoo.org>
6031
6032 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6033 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6034
b7835e32
JM
60352013-09-02 Joseph Myers <joseph@codesourcery.com>
6036
6037 [BZ #14155]
6038 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6039 intermediate calculations in recurrence.
6040 (__ieee754_ynf): Likewise.
6041 * math/libm-test.inc (jn_test_data): Do not allow spurious
6042 underflow exception. Add more tests.
6043 (yn_test_data): Add more tests.
6044 * sysdeps/i386/fpu/libm-test-ulps: Update.
6045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6046
8220f4f0
OB
60472013-09-02 Ondřej Bílka <neleai@seznam.cz>
6048
6049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6050
f24a6d08
OB
60512013-08-30 Ondřej Bílka <neleai@seznam.cz>
6052
6053 * csu/init-first.c: Fix then/than typos.
6054 * locale/programs/ld-collate.c: Likewise.
6055 * locale/programs/linereader.h: Likewise.
6056 * manual/charset.texi: Likewise.
6057 * manual/filesys.texi: Likewise.
6058 * manual/stdio.texi: Likewise.
6059 * manual/string.texi: Likewise.
6060 * stdlib/fmtmsg.c: Likewise.
6061 * sysdeps/i386/stpncpy.S: Likewise.
6062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6063 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6065 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6066
382466e0
OB
60672013-08-30 Ondřej Bílka <neleai@seznam.cz>
6068
6069 * elf/dl-open.c: Fix typos.
6070 * iconvdata/gbbig5.c: Likewise.
6071 * iconvdata/iso-2022-jp.c: Likewise.
6072 * iconv/gconv_int.h: Likewise.
6073 * iconv/loop.c: Likewise.
6074 * nis/rpcsvc/nis.h: Likewise.
6075 * resolv/ns_name.c: Likewise.
6076 * stdio-common/vfscanf.c: Likewise.
6077 * streams/stropts.h: Likewise.
6078 * sunrpc/rpc_thread.c: Likewise.
6079 * sysdeps/i386/strpbrk.S: Likewise.
6080 * sysdeps/ieee754/k_standard.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6083 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6084 * sysdeps/mach/hurd/profil.c: Likewise.
6085 * sysdeps/s390/dl-procinfo.h: Likewise.
6086 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6088 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6089 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6091
0186c6e9
OB
60922013-08-30 Ondřej Bílka <neleai@seznam.cz>
6093
6094 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6096
d4e16af1
OB
60972013-08-29 Ondřej Bílka <neleai@seznam.cz>
6098
6099 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6100 aix specific files.
6101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6104 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6105 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6106 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6107 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6109
88335980
TS
61102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6111 Roland McGrath <roland@hack.frob.com>
6112
6113 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6114 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6115
ed479b02
ST
61162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6117
6118 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6119 __executable_start symbol instead of _start.
6120
f1cc4c86
TS
61212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6122
d821f07c
TS
6123 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6124 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6125 Move macros to...
6126 * sysdeps/gnu/ldsodefs.h: ... this new file.
6127
c54290cf
TS
6128 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6129 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6130 instead of ELFOSABI_LINUX.
6131
0007fc9b 6132 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6133 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6134 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6135 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6136 Likewise.
6137 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6138 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6140 Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6142 (ibm_extended_long_double): Add ieee_nan member.
6143 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6144 (do_test): New function.
6145
f1cc4c86
TS
6146 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6147 TEST_TRUNC.
6148 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6149 functions, renamed from truncdfsf_test, trunctfsf_test,
6150 trunctfdf_test.
6151 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6152 functions.
6153 (do_test): Run all these.
6154
6f65e668
OB
61552013-08-29 Ondřej Bílka <neleai@seznam.cz>
6156
6157 * argp/argp-help.c: Fix typos.
6158 * argp/argp-parse.c: Likewise.
6159 * debug/backtracesyms.c: Likewise.
6160 * elf/elf.h: Likewise.
6161 * malloc/malloc.c: Likewise.
6162 * nis/nis_print.c: Likewise.
6163 * resolv/res_comp.c: Likewise.
6164 * stdlib/stdlib.h: Likewise.
6165 * sunrpc/clnt_tcp.c: Likewise.
6166 * sunrpc/clnt_udp.c: Likewise.
6167 * sunrpc/clnt_unix.c: Likewise.
6168 * sysdeps/unix/bsd/ptsname.c: Likewise.
6169 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6174 Likewise.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6176 Likewise.
6f65e668
OB
6177 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6178
3a309239
SP
61792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6180
6181 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6183
3b813b29
MF
61842013-08-27 Mike Frysinger <vapier@gentoo.org>
6185
6186 [BZ #15897]
6187 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6188 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6189 ($(objpfx)bug-dl-leaf): New rule.
6190 ($(objpfx)bug-dl-leaf.so): Likewise.
6191 ($(objpfx)bug-dl-leaf.out): Likewise.
6192 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6193 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6194 * dlfcn/bug-dl-leaf.c: New test.
6195 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6196 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6197 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6198 (dlclose): Likewise.
6199 (dlmopen): Likewise.
6200
8cc3269f
RM
62012013-08-27 Roland McGrath <roland@hack.frob.com>
6202
7f9d0034
RM
6203 * include/netdb.h [!_ISOMAC]:
6204 Don't include <tls.h>.
6205 (h_errno, __libc_h_errno): Move declaration and macros out of
6206 [_LIBC_REENTRANT].
6207
fb431262
RM
6208 * include/resolv.h [_RESOLV_H_]:
6209 Don't include <tls.h>.
6210 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6211 * resolv/res_libc.c: Don't include <tls.h>.
6212 (_res): Use __attribute__ ((nocommon)) in place of
6213 __attribute__ ((section (".bss"))).
6214
bd81123a
RM
6215 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6216 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6217
c4e42566
RM
6218 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6219
f890a59b
RM
6220 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6221 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6222
6223 * resolv/res_mkquery.c: Include <sys/time.h>.
6224
5d1f0a09
RM
6225 * inet/ifreq.c: Moved to ...
6226 * sysdeps/unix/ifreq.c: ... here.
6227 * inet/ifreq.c: New file, true stub version.
6228
6fcf28b3
RM
6229 * socket/sa_len.c: New file.
6230 * socket/Makefile (aux): Add it.
6231 * sysdeps/unix/sysv/linux/Makefile
6232 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6233 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6234 and #include <socket/sa_len.c>.
6235 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6236 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6237
e041fb8b
RM
6238 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6239 * bits/socket.h: ... here.
6240
8cc3269f
RM
6241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6242 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6243 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6244
5d228a43
AS
62452013-08-27 Andreas Schwab <schwab@suse.de>
6246
45b8accc
AS
6247 [BZ #15736]
6248 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6249 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6250 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6251 * string/test-strcasecmp.c (test_main): Run tests in several
6252 locales.
6253 * string/test-strncasecmp.c (test_main): Likewise.
6254
5d228a43
AS
6255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6256 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6257 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6259 (__strncasecmp_ssse3) [PIC]: Likewise.
6260
59d112a4
RM
62612013-08-26 Roland McGrath <roland@hack.frob.com>
6262
53234cc3
RM
6263 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6264
59d112a4
RM
6265 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6266 instead of explicitly declaring xdecrypt.
6267 * nis/nss_nis/nis-publickey.c: Likewise.
6268
595aba70
SP
62692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6270
6271 [BZ #15890]
6272 * nscd/aicache.c: Include res_hconf.h.
6273 (addhstaiX): Initialize res_hconf.
6274
ffabd393
AS
62752013-08-26 Andreas Schwab <schwab@suse.de>
6276
6277 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6278 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6279
e0a69f5c
SP
62802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
6282 * nscd/aicache.c (addhstaiX): Fix indentation.
6283
8c12f01d
MF
62842013-08-25 Mike Frysinger <vapier@gentoo.org>
6285
6286 * configure.ac: Quote $build_pt_chown test.
6287 * configure: Regenerated.
6288
8fe89494
JM
62892013-08-23 Joseph Myers <joseph@codesourcery.com>
6290
6291 [BZ #15532]
6292 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6293 * math/s_cexpf.c (__cexpf): Likewise.
6294 * math/s_cexpl.c (__cexpl): Likewise.
6295 * math/libm-test.inc (cexp_test_data): Correct expected return
6296 value for NaN + i0. Add another test.
6297
75b181d6
DM
62982013-08-22 David S. Miller <davem@davemloft.net>
6299
6300 * po/ca.po: Update Catalan translation from translation project.
936241e4 6301 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6302
acd06bb1
JM
63032013-08-21 Joseph Myers <joseph@codesourcery.com>
6304
6305 [BZ #15797]
6306 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6307 is infinite, not alongside NaN test.
6308 * math/s_fdimf.c (__fdimf): Likewise.
6309 * math/s_fdiml.c (__fdiml): Likewise.
6310 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6311 errno is unchanged.
6312
c0c3f78a
OB
63132013-08-21 Ondřej Bílka <neleai@seznam.cz>
6314
6315 * argp/argp-help.c: Fix typos.
6316 * crypt/speeds.c: Likewise.
6317 * csu/check_fds.c: Likewise.
6318 * elf/dl-load.c: Likewise.
6319 * elf/dl-open.c: Likewise.
6320 * elf/reldep3.c: Likewise.
6321 * elf/reldep.c: Likewise.
6322 * elf/sprof.c: Likewise.
6323 * iconv/iconv_charmap.c: Likewise.
6324 * iconv/skeleton.c: Likewise.
6325 * iconv/strtab.c: Likewise.
6326 * io/lockf64.c: Likewise.
6327 * libio/libioP.h: Likewise.
6328 * resolv/gai_notify.c: Likewise.
6329 * resolv/ns_name.c: Likewise.
6330 * resolv/ns_samedomain.c: Likewise.
6331 * resolv/res_send.c: Likewise.
6332 * stdlib/random.c: Likewise.
6333 * sunrpc/rpc/xdr.h: Likewise.
6334 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6338 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6342 * sysdeps/mach/hurd/check_fds.c: Likewise.
6343 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6345 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6347 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6349 * sysdeps/pthread/aio_notify.c: Likewise.
6350 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6351 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6353 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6354 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6355
46ed1038
LD
63562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6357
6358 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6359 version if bit_Slow_SSE4_2 is set.
6360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6362
d400dcac
AZ
63632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6364
6365 [BZ #15867]
6366 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6367 trampoline stack frame information.
6368 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6370 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6371 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6372 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6373 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6374 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6375 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6376 sa_flags value.
6377 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6378 interrupting a syscall and set with option SA_SIGINFO.
6379
42c8fdd8
JM
63802013-08-20 Joseph Myers <joseph@codesourcery.com>
6381
c980f2f4
JM
6382 [BZ #15531]
6383 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6384 argument is infinite.
6385 * math/s_cprojf.c (__cprojf): Likewise.
6386 * math/s_cprojl.c (__cprojl): Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6388 * math/libm-test.inc (cproj_test_data): Add more tests.
6389
0716c4fc
JM
6390 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6391
42c8fdd8
JM
6392 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6393 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6394 size. Use __ffs to determine corresponding shift.
6395
b31469d0
JM
63962013-08-20 Joseph Myers <joseph@codesourcery.com>
6397 Roland McGrath <roland@hack.frob.com>
6398
6399 * Makefile (INSTALL): Remove trailing blank lines from output of
6400 makeinfo.
6401
4e39af6e
AK
64022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6403
6404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6405 Align 32 bit compat elf_greg to 8 bytes.
6406
f315524e
AA
64072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6408
6409 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6410
1326ba1a
SP
64112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6412
6413 * string/strcoll_l.c (coll_seq): New structure.
6414 (get_next_seq_cached): New function.
6415 (get_next_seq): New function.
6416 (do_compare): New function.
6417 (STRCOLL): Use GNU style definition. Simplify implementation
6418 by using get_next_seq, get_next_seq_cached and do_compare.
6419
91ce4085
FW
64202013-08-16 Florian Weimer <fweimer@redhat.com>
6421
6422 [BZ #14699]
6423 CVE-2013-4237
6424 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6425 member.
6426 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6427 member.
6428 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6429 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6430 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6431 conditional.
6432 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6433 GETDENTS_64BIT_ALIGNED.
6434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6435 * manual/filesys.texi (Reading/Closing Directory): Document
6436 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6437 strongly.
6438 * manual/conf.texi (Limits for Files): Add portability note to
6439 NAME_MAX, PATH_MAX.
6440 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6441
ca0a6bc4
AS
64422013-08-13 Andreas Schwab <schwab@suse.de>
6443
6444 [BZ #15749]
6445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6446 of fabs.
6447 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6448 LDBL_MAX_EXP >= 16384]: Add tests for it.
6449
6c1fd795
DM
64502013-08-12 David S. Miller <davem@davemloft.net>
6451
6452 * version.h (RELEASE): Set to "development".
6453 (VERSION): Set to "2.18.90".
6454 * NEWS: Add 2.19 section.
6455
31ad488d
DM
64562013-08-03 David S. Miller <davem@davemloft.net>
6457
6458 * po/ko.po: Update Korean translation from translation project.
6459
db24e684
DM
64602013-08-01 David S. Miller <davem@davemloft.net>
6461
6462 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6463 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6464 Bilka.
6465
f723285b
DM
64662013-07-30 David S. Miller <davem@davemloft.net>
6467
6468 * po/fr.po: Update French translation from translation project.
6469
3cbc52db
DM
64702013-07-28 David S. Miller <davem@davemloft.net>
6471
30bbc0cc
DM
6472 * po/cs.po: Update Czech translation from translation project.
6473
3cbc52db
DM
6474 * po/sv.po: Update Swedish translation from translation project.
6475
d492e6d0
DM
64762013-07-27 David S. Miller <davem@davemloft.net>
6477
f1a7f492
DM
6478 * po/eo.po: Update Esperanto translation from translation project.
6479
90e62a4a
DM
6480 * po/vi.po: Update Vietnamese translation from translation project.
6481
d492e6d0
DM
6482 * po/de.po: Update German translation from translation project.
6483
d4baa62d
DM
64842013-07-26 David S. Miller <davem@davemloft.net>
6485
641aa7b4
DM
6486 * po/bg.po: Update Bulgarian translation from translation project.
6487
d4baa62d
DM
6488 * po/nl.po: Update Dutch translation from translation project.
6489 * po/pl.po: Update Polish translation from translation project.
6490 * po/ru.po: Update Russian translation from translation project.
6491
61a9dcb9
DM
64922013-07-24 David S. Miller <davem@davemloft.net>
6493
6494 * po/libc.pot: Update.
6495
7b1f8b58
AZ
64962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6499 variable page size.
6500 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6501 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6503
a8fc7a03
AK
65042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6505
6506 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6507
e4608715
CD
65082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6509 Andreas Schwab <schwab@suse.de>
6510 Roland McGrath <roland@hack.frob.com>
6511 Joseph Myers <joseph@codesourcery.com>
6512 Carlos O'Donell <carlos@redhat.com>
6513
6514 [BZ #15755]
6515 * config.h.in: Define HAVE_PT_CHOWN.
6516 * config.make.in (build-pt-chown): New variable.
6517 * configure.in (--enable-pt_chown): New configure option.
6518 * configure: Regenerate.
6519 * login/Makefile: Include Makeconfig. Build pt_chown only if
6520 build-pt-chown is enabled.
6521 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6522 pt_chown to fix pty ownership.
6523 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6524 CLOSE_ALL_FDS.
6525 * manual/install.texi (Configuring and compiling): Mention
6526 --enable-pt_chown. Add @findex for grantpt.
6527 * INSTALL: Regenerate.
6528
da2d62df
DM
65292013-07-20 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6532 difference between 32-bit and 64-bit.
6533
d7e06450
CD
65342013-07-15 Carlos O'Donell <carlos@redhat.com>
6535
6536 [BZ #15711]
6537 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6538 Avoid system header dependency with -ffreestanding.
6539 ($(objpfx)bits/syscall%d): Likewise.
6540
f959cfd7
DM
65412013-07-13 David S. Miller <davem@davemloft.net>
6542
6543 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6544 underflows from atanl/atan2l due to bug 15319.
6545 (casinh_test_data): Likewise.
6546
c61f8513
DM
65472013-07-07 David S. Miller <davem@davemloft.net>
6548
6549 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6550
72c90ed0
JA
65512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6552
6553 * sysdeps/i386/fpu/libm-test-ulps: Update.
6554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6555
52dfbe13
SP
65562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6557
6558 * configure.in (--enable-lock-elision): Fix message text.
6559 * INSTALL: Regenerate.
6560 * configure: Regenerate.
6561
3f169543
AZ
65622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563
6564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6565
521c6785
AJ
65662013-07-03 Andreas Jaeger <aj@suse.de>
6567
6568 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6569 define.
6570 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6571 (ptrace_peeksiginfo_args): Add.
6572 (__ptrace_peeksiginfo_flags): Add.
6573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6576
d2cc15cb
AM
65772013-07-03 Allan McRae <allan@archlinux.org>
6578
6579 * sysdeps/i386/fpu/libm-test-ulps: Update.
6580
3aaeeca7
DM
65812013-07-02 David S. Miller <davem@davemloft.net>
6582
6583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6584
5314ed1a
MT
65852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6586
6587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6588
67338156
JM
65892013-07-02 Joseph Myers <joseph@codesourcery.com>
6590
6591 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6593
1717da59
AK
65942013-07-02 Andi Kleen <ak@linux.intel.com>
6595
6596 * config.h.in (ENABLE_LOCK_ELISION): Add.
6597 * configure.in (--enable-lock-elision): Add option.
6598 * manual/install.texi: Document --enable lock elision.
6599 * configure: Regenerate
6600 * INSTALL: Regenerate.
6601
1c81621c
L
66022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6603
6604 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6605 SSE4.2 strcasecmp for libc.a.
6606 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6607
77f01ab5
JM
66082013-07-02 Joseph Myers <joseph@codesourcery.com>
6609
6610 [BZ #13304]
6611 * soft-fp/op-common.h (_FP_FMA): New macro.
6612 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6613 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6614 (_FP_MUL_MEAT_1_imm): ... here.
6615 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6616 (_FP_MUL_MEAT_1_wide): ... here.
6617 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6618 (_FP_MUL_MEAT_1_hard): ... here.
6619 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6620 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6621 (_FP_MUL_MEAT_2_wide): ... here.
6622 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6623 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6624 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6625 (_FP_MUL_MEAT_2_gmp): ... here.
6626 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6627 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6628 (_FP_MUL_MEAT_4_wide): ... here.
6629 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6630 (_FP_MUL_MEAT_4_gmp): ... here.
6631 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6632 (_FP_WFRACBITS_DW_S): Likewise.
6633 (_FP_WFRACXBITS_DW_S): Likewise.
6634 (_FP_HIGHBIT_DW_S): Likewise.
6635 (FP_FMA_S): Likewise.
6636 (_FP_FRAC_HIGH_DW_S): Likewise.
6637 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6638 (_FP_WFRACBITS_DW_D): Likewise.
6639 (_FP_WFRACXBITS_DW_D): Likewise.
6640 (_FP_HIGHBIT_DW_D): Likewise.
6641 (FP_FMA_D): Likewise.
6642 (_FP_FRAC_HIGH_DW_D): Likewise.
6643 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6644 (_FP_WFRACBITS_DW_E): Likewise.
6645 (_FP_WFRACXBITS_DW_E): Likewise.
6646 (_FP_HIGHBIT_DW_E): Likewise.
6647 (FP_FMA_E): Likewise.
6648 (_FP_FRAC_HIGH_DW_E): Likewise.
6649 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6650 (_FP_WFRACBITS_DW_Q): Likewise.
6651 (_FP_WFRACXBITS_DW_Q): Likewise.
6652 (_FP_HIGHBIT_DW_Q): Likewise.
6653 (FP_FMA_Q): Likewise.
6654 (_FP_FRAC_HIGH_DW_Q): Likewise.
6655 * soft-fp/fmasf4.c: New file.
6656 * soft-fp/fmadf4.c: Likewise.
6657 * soft-fp/fmatf4.c: Likewise.
6658
6308fd9a
LD
66592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6660
6661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6662 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6663 Silvermont.
6664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6665 macro.
6666 (index_Slow_SSE4_2): Likewise.
6667 (index_Prefer_PMINUB_for_stringop): Likewise.
6668 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6669 bit_Slow_SSE4_2 is set.
6670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6672
89cd9569
RA
66732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6674
6675 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6676 rtld_global._dl_hwcap2.
6677 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6678 POWER8.
6679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6680 POWER8 feature descriptions defined in _dl_hwcap2.
6681 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6682 string handling for POWER8 feature bits.
6683 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6684 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6685 _dl_powerpc_cap_flags.
6686 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6687 * sysdeps/powerpc/rtld-global-offsets.sym
6688 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6689 _dl_hwcap2 in the rtld_global_ro structure.
6690
1ae8bfe0
RA
66912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6692
6693 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6694 hardware capabilities in support of AT_HWCAP2.
6695 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6696 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6697 GLRO(dl_hwcap2).
6698 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6699 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6700 explicitly the unknown a_type display mechanism is used.
6701 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6702 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6703 struct member.
6704 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6705 to macro prototype for AT_HWCAP2 support.
6706 * sysdeps/i386/dl-procinfo.h: Likewise.
6707 * sysdeps/s390/dl-procinfo.h: Likewise.
6708 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6709 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6710 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6711 return -1 for unknown a_type display fallback.
6712 * sysdeps/sparc/dl-procinfo.h: Likewise.
6713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6714 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6715
8fbec010
JM
67162013-06-28 Joseph Myers <joseph@codesourcery.com>
6717
6718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6719 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6720
0432680e
PY
67212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6722
6723 [BZ #12492]
6724 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6725 mprotect making __stack_prot writable.
6726
ce61a2ad
NF
67272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6728 Joseph Myers <joseph@codesourcery.com>
6729
6730 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6731 as being properly aligned.
6732
f91f1c0f
MR
67332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6734
3d0f5d0c
MR
6735 * dlfcn/modstatic5.c: New file.
6736 * dlfcn/tststatic5.c: New file.
6737 * dlfcn/Makefile (tests): Add tststatic5.
6738 (tests-static): Likewise.
6739 (modules-names): Add modstatic5.
6740 (tststatic5-ENV): New variable.
6741 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6742
f91f1c0f
MR
6743 [BZ #15022]
6744 * elf/dl-support.c (_dl_main_map): New variable.
6745 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6746 (_dl_nns, _dl_load_adds): Set to 1.
6747 (_dl_initial_searchlist): Refer to _dl_main_map.
6748 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6749 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6750 call to _dl_get_origin.
6751 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6752 around call_map.
6753 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6754 * dlfcn/modstatic3.c: New file.
6755 * dlfcn/tststatic3.c: New file.
6756 * dlfcn/tststatic4.c: New file.
6757 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6758 (tests-static): Likewise.
6759 (modules-names): Add modstatic3.
6760 (tststatic3-ENV, tststatic4-ENV): New variables.
6761 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6762 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6763
cbe7d24b
JM
67642013-06-26 Joseph Myers <joseph@codesourcery.com>
6765
6766 * configure.in (CC): Require GCC version 4.4 or later.
6767 * configure: Regenerated.
6768 * manual/install.texi (Tools for Compilation): Update GCC version
6769 requirement.
6770 * INSTALL: Regenerated.
6771
11b8a0e1
LD
67722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6773
6774 [BZ #15674]
bb5bb87c
L
6775 * string/test-memcmp.c (check2): New.
6776 (main): Call check2.
6777
11b8a0e1
LD
6778 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6779
b0037103
MR
67802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6781
6782 [BZ #15022]
6783 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6784 over to...
6785 (dl_open_worker) [!SHARED]: ... here.
6786
c18c701d
RA
67872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6788
6789 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6790
1d17fa5f
RH
67912013-06-25 Richard Henderson <rth@redhat.com>
6792
6793 * locale/programs/locarchive.c: Include <libc-internal.h>
6794
8fcb833a
JM
67952013-06-25 Joseph Myers <joseph@codesourcery.com>
6796
6797 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6798 trailing whitespace removed.
6799
17db6e8d
MF
68002013-06-24 Mike Frysinger <vapier@gentoo.org>
6801
6802 [BZ #10283]
17db6e8d
MF
6803 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6804 * locale/programs/locarchive.c: Include libc-mmap.h.
6805 (prepare_address_space): Take two new outputs (the mmap base and len).
6806 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6807 values.
6808 (create_archive): Declare new mmap base and len values for
6809 prepare_address_space, and store the result in ah.
6810 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6811 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6813 Declare new mmap base and len values for
6814 prepare_address_space, and store the result in new_ah.
6815 (open_archive): Declare new mmap base and len values for
6816 prepare_address_space, and store the result in ah.
6817 (close_archive): If ah->mmap_base is not NULL, use that and
6818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6819 * sysdeps/generic/libc-mmap.h: New file.
6820
d605071e
MF
68212013-06-24 Mike Frysinger <vapier@gentoo.org>
6822
6823 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6824 (ALIGN_UP): Likewise.
6825 (PTR_ALIGN_DOWN): Likewise.
6826 (PTR_ALIGN_UP): Likewise.
6827
2f063a6e
RA
68282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6831 entry mapped to PPC_PLATFORM_POWER8.
6832 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6833 POWER8.
6834 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6835 (_dl_string_platform): Add case for exporting platform position for
6836 POWER8.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6838 search path to sysdeps/powerpc/powerpc32/power8 directory.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6840 search path to sysdeps/powerpc/powerpc64/power8 directory.
6841 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6842 power7 directories.
6843 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6844 power7 directories.
6845
a31ee4b3
SP
68462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6847
a74ca98f
SP
6848 * INSTALL: Regenerate.
6849
a31ee4b3
SP
6850 * nscd/connections.c (nscd_init): Fix comment.
6851
695c378f
JM
68522013-06-22 Joseph Myers <joseph@codesourcery.com>
6853
d8412221
JM
6854 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6855
695c378f
JM
6856 [BZ #15667]
6857 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6858 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6859
d1d54715
MR
68602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6861
6862 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6863 DL_DST_REQ_STATIC.
6864 (DL_DST_REQ_STATIC): Remove macro.
6865
8fdda7af
JM
68662013-06-21 Joseph Myers <joseph@codesourcery.com>
6867
6868 [BZ #7006]
6869 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6870 with a shift of 0 bits.
6871
f3bc5e5a
MR
68722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6873
6874 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6875 $(tststatic-ENV).
6876
be09e8c9
KK
68772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6878
6879 [BZ #15655]
6880 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6881
85c2e611
AZ
68822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883
6884 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6885 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6886 accepts -fno-tree-loop-distribute-patterns.
6887 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6888 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6889 recursive call.
6890 * string/memset.c (memset): Likewise.
6891 * string/test-memmove.c (simple_memmove): Disable loop transformation
6892 to library calls.
6893 * string/test-memset.c (simple_memset): Likewise.
6894 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6895 * benchtests/bench-memset.c (simple_memset): Likewise.
6896 * configure: Regenerated.
6897
c91e0825
JM
68982013-06-20 Joseph Myers <joseph@codesourcery.com>
6899
b8c792af
JM
6900 * math/test-misc.c (main): Ignore fesetround failure when failures
6901 of subsequent rounding tests would be ignored.
6902
c91e0825
JM
6903 [BZ #15654]
6904 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6905 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6906 * math/fegetenv.c (__fegetenv): Return 0.
6907 * math/fegetexcept.c (fegetexcept): Return 0.
6908 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6909 FE_TONEAREST.
6910 * math/feholdexcpt.c (feholdexcept): Return 0.
6911 * math/fesetenv.c (__fesetenv): Return 0.
6912 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6913 argument FE_TONEAREST.
6914 * math/feupdateenv.c (__feupdateenv): Return 0.
6915 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6916
bfcacbde
RM
69172013-06-18 Roland McGrath <roland@hack.frob.com>
6918
6919 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6920 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6921 ($(objpfx)rtld-%.os rules): Use them.
6922
e55a9b25
AZ
69232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6924
6925 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6926 fields.
6927
346d65b3
RM
69282013-06-17 Roland McGrath <roland@hack.frob.com>
6929
12086fb4
RM
6930 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6931 length of target pattern, then descending length of dependency pattern.
6932 * configure.in (AWK): Require gawk 3.1.2 or newer.
6933 * manual/install.texi (Tools for Compilation): Say that we do.
6934 * configure: Regenerated.
6935
346d65b3
RM
6936 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6937 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6938 * scripts/sysd-rules.awk: ... this new script.
6939 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6940 than a glob-style pattern.
6941
1a846317
JM
69422013-06-17 Joseph Myers <joseph@codesourcery.com>
6943
6944 * math/test-misc.c (main): Do not treat incorrectly rounded
6945 conversions as failure unless ROUNDING_TESTS passes.
6946
8fc75e6f
JM
69472013-06-15 Joseph Myers <joseph@codesourcery.com>
6948
3711a167
JM
6949 [BZ #15631]
6950 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6951 restore exception state around main square root computation, then
6952 check for inexactness explicitly.
6953
8fc75e6f
JM
6954 * math/libm-test.inc (fma_test_data): Add another test.
6955
61dd6208
SP
69562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6957
adf23d2c
SP
6958 * manual/threads.texi (Non-POSIX Extensions): New document
6959 node. Document pthread_getattr_default_np and
6960 pthread_setattr_default_np.
6961
61dd6208
SP
6962 * Versions.def (libpthread): Add GLIBC_2.18.
6963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6965 Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6967 Likewise.
6968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6969 Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6971 Likewise.
6972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6975 Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6977 Likewise.
6978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6979 Likewise.
6980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6981 Likewise.
6982
d086fc7b
LD
69832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6984
6985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6986 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6987
747ef469
SP
69882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6989 H.J. Lu <hjl.tools@gmail.com>
6990
6991 [BZ #15627]
6992 * sysdeps/x86_64/rtld-memset.c: Remove file.
6993 * sysdeps/x86_64/rtld-memset.S: New file.
6994
1b2feed2
JM
69952013-06-14 Joseph Myers <joseph@codesourcery.com>
6996
6997 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6998 (test_in_one_mode): Take arguments for whether the rounding mode
6999 is supported for each floating-point type.
7000 (do_test): Pass new arguments to test_in_one_mode using
7001 ROUNDING_TESTS.
7002
a58ad3f8
RM
70032013-06-13 Roland McGrath <roland@hack.frob.com>
7004
7005 * posix/tst-waitid.c (do_test): Distinguish different instances of
7006 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7007 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7008 before entering the kernel for waitpid.
7009
c204ab28
SP
70102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7011
7012 * NEWS: Fix note on clock function precision. Text by Roland
7013 McGrath.
7014
f4a29fba
RM
70152013-06-13 Roland McGrath <roland@hack.frob.com>
7016
7017 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7018 it into place only when and if the sanity check passes.
7019
1f24b9ad
JM
70202013-06-13 Joseph Myers <joseph@codesourcery.com>
7021
7022 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7023 output for whether conversion result is exact. Take argument
7024 indicating whether type is IBM long double.
7025 (round_for_all): Change need_exact field to ibm_ld.
7026 * stdlib/tst-strtod-round.c (struct exactness): New type.
7027 (struct test): Change bool ld_ok field to struct exactness exact.
7028 (TEST): Update all definitions for change to field.
7029 (tests): Regenerate array contents.
7030 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7031 field value. Check for IBM long double here.
7032 (do_test): Update calls to test_in_one_mode.
7033
58206c68
SP
70342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7035
7036 [BZ #12515]
7037 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7038 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7039
2d6f4c5b 70402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7041
7042 [BZ #15605]
7043 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7044 generated by the compiler on loop optimizations.
7045 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7046 general definitions.
7047
94f2c076
JM
70482013-06-12 Joseph Myers <joseph@codesourcery.com>
7049
7050 * math/bug-nextafter.c: Include <math-tests.h>.
7051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7052 the relevant type.
7053 * math/bug-nexttoward.c: Include <math-tests.h>.
7054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7055 the relevant type.
7056 * math/test-misc.c: Include <math-tests.h>.
7057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7058 the relevant type.
7059
e0e50a0a
AJ
70602013-06-12 Andreas Jaeger <aj@suse.de>
7061
7062 * po/ia.po: Update Interlingua translation from translation
7063 project.
7064
25061094
SP
70652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7066
7067 * include/fenv.h: Include stdbool.h.
7068 (struct rm_ctx): New structure.
7069 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7070 Define macro.
7071 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7072 (SET_RESTORE_ROUNDF): Likewise.
7073 (SET_RESTORE_ROUNDL): Likewise.
7074 (SET_RESTORE_ROUND_NOEX): Likewise.
7075 (SET_RESTORE_ROUND_NOEXF): Likewise.
7076 (SET_RESTORE_ROUND_NOEXL): Likewise.
7077 (SET_RESTORE_ROUND_53BIT): Likewise.
7078 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7079 (libc_feresetround_noexf_ctx): Likewise.
7080 (libc_feresetround_noexl_ctx): Likewise.
7081 (libc_feholdsetround_53bit_ctx): Likewise.
7082 (libc_feresetround_53bit_ctx): Likewise.
7083 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7084 (libc_feholdexcept_setround_sse_ctx): New function.
7085 (libc_fesetenv_sse_ctx): Likewise.
7086 (libc_feupdateenv_sse_ctx): Likewise.
7087 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7088 (libc_feholdexcept_setround_387_ctx): Likewise.
7089 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7090 (libc_feholdsetround_387_prec_ctx): Likewise.
7091 (libc_feholdsetround_387_ctx): Likewise.
7092 (libc_feholdsetround_387_53bit_ctx): Likewise.
7093 (libc_feholdsetround_sse_ctx): Likewise.
7094 (libc_feresetround_sse_ctx): Likewise.
7095 (libc_feresetround_387_ctx): Likewise.
7096 (libc_feupdateenv_387_ctx): Likewise.
7097 (libc_feholdexcept_setroundf_ctx): Define macro.
7098 (libc_fesetenvf_ctx): Likewise.
7099 (libc_feupdateenvf_ctx): Likewise.
7100 (libc_feholdsetroundf_ctx): Likewise.
7101 (libc_feresetroundf_ctx): Likewise.
7102 (libc_feholdexcept_setround_ctx): Likewise.
7103 (libc_fesetenv_ctx): Likewise.
7104 (libc_feupdateenv_ctx): Likewise.
7105 (libc_feholdsetround_ctx): Likewise.
7106 (libc_feresetround_ctx): Likewise.
7107 (libc_feholdexcept_setroundl_ctx): Likewise.
7108 (libc_feupdateenvl_ctx): Likewise.
7109 (libc_feholdsetroundl_ctx): Likewise.
7110 (libc_feresetroundl_ctx): Likewise.
7111 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7112 (libc_feresetround_53bit_ctx): Likewise.
7113
59b30555
SP
71142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7115
7116 * locale/iso-639.def: Convert to UTF-8.
7117
f1d73d30
JM
71182013-06-11 Joseph Myers <joseph@codesourcery.com>
7119
7120 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7121 (EXCEPTION_TESTS_double): Likewise.
7122 (EXCEPTION_TESTS_long_double): Likewise.
7123 (EXCEPTION_TESTS): Likewise.
7124 * math/libm-test.inc (test_exceptions): Only test exceptions if
7125 EXCEPTION_TESTS (FLOAT).
7126
94aca5e7
SP
71272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 * benchtests/Makefile (string-bench): Add strcpy_chk and
7130 stpcpy_chk.
7131 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7132 * benchtests/bench-stpcpy_chk.c: New file.
7133 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7134 * benchtests/bench-strcpy_chk.c: New file.
7135 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7136 code.
7137 (do_test): Likewise.
7138
fac0c5f2
RA
71392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7140
7141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7142 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7143 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7144 with tabs where appropriate.
7145 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7146 dl-procinfo.h.
7147 [PPC_PLATFORM_PPC440]: Likewise.
7148 [PPC_PLATFORM_PPC464]: Likewise.
7149 [PPC_PLATFORM_PPC476]: Likewise.
7150 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7151 ppc464, and ppc476 platform strings merging from ports/
7152 dl-procinfo.h.
7153
f22bc486
AS
71542013-06-11 Andreas Schwab <schwab@suse.de>
7155
7156 [BZ #14991]
7157 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7158 (from_ucs4_idx): Regenerate.
7159 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7160 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7161 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7162 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7163 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7164 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7165 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7166 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7167 from FROM_LOOP and TO_LOOP specific macros.
7168 (BODY): Handle combining characters.
7169 * iconvdata/BIG5HKSCS.irreversible: Update.
7170 * iconvdata/BIG5HKSCS.precomposed: New file.
7171 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7172 characters.
7173 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7174
c1f75dc3
SP
71752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
4eacded2
SP
7177 * include/sys/time.h: Fix indentation and add copyright header.
7178
fec799f8
SP
7179 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7180 (do_test): Likewise.
7181 * string/test-memchr.c (do_one_test): Likewise.
7182 (do_test): Likewise.
7183 * string/test-memcmp.c (do_one_test): Likewise.
7184 (do_test): Likewise.
7185 * string/test-memcpy.c (do_one_test): Likewise.
7186 (do_test): Likewise.
7187 * string/test-memmem.c (do_one_test): Likewise.
7188 (do_test): Likewise.
7189 (do_random_tests): Likewise.
7190 * string/test-memmove.c (do_one_test): Likewise.
7191 (do_test): Likewise.
7192 * string/test-memset.c (do_one_test): Likewise.
7193 (do_test): Likewise.
7194 * string/test-rawmemchr.c (do_one_test): Likewise.
7195 (do_test): Likewise.
7196 * string/test-strcasecmp.c (do_one_test): Likewise.
7197 (do_test): Likewise.
7198 * string/test-strcasestr.c (do_one_test): Likewise.
7199 (do_test): Likewise.
7200 * string/test-strcat.c (do_one_test): Likewise.
7201 (do_test): Likewise.
7202 * string/test-strchr.c (do_one_test): Likewise.
7203 (do_test): Likewise.
7204 * string/test-strcmp.c (do_one_test): Likewise.
7205 (do_test): Likewise.
7206 * string/test-strcpy.c (do_one_test): Likewise.
7207 (do_test): Likewise.
7208 * string/test-string.h: Likewise.
7209 (test_init): Likewise.
7210 * string/test-strlen.c (do_one_test): Likewise.
7211 (do_test): Likewise.
7212 * string/test-strncasecmp.c (do_one_test): Likewise.
7213 (do_test): Likewise.
7214 * string/test-strncat.c (do_one_test): Likewise.
7215 (do_test): Likewise.
7216 * string/test-strncmp.c (do_one_test): Likewise.
7217 (do_test_limit): Likewise.
7218 (do_test): Likewise.
7219 * string/test-strncpy.c (do_one_test): Likewise.
7220 (do_test): Likewise.
7221 * string/test-strnlen.c (do_one_test): Likewise.
7222 (do_test): Likewise.
7223 * string/test-strpbrk.c (do_one_test): Likewise.
7224 (do_test): Likewise.
7225 * string/test-strrchr.c (do_one_test): Likewise.
7226 (do_test): Likewise.
7227 * string/test-strspn.c (do_one_test): Likewise.
7228 (do_test): Likewise.
7229 * string/test-strstr.c (do_one_test): Likewise.
7230 (do_test): Likewise.
7231
97020474
SP
7232 * benchtests/Makefile (string-bench): Add string benchmarks.
7233 * benchtests/bench-bcopy-ifunc.c: New file.
7234 * benchtests/bench-bcopy.c: New file.
7235 * benchtests/bench-bzero-ifunc.c: New file.
7236 * benchtests/bench-bzero.c: New file.
7237 * benchtests/bench-memccpy-ifunc.c: New file.
7238 * benchtests/bench-memccpy.c: New file.
7239 * benchtests/bench-memchr-ifunc.c: New file.
7240 * benchtests/bench-memchr.c: New file.
7241 * benchtests/bench-memcmp-ifunc.c: New file.
7242 * benchtests/bench-memcmp.c: New file.
7243 * benchtests/bench-memmem-ifunc.c: New file.
7244 * benchtests/bench-memmem.c: New file.
7245 * benchtests/bench-memmove-ifunc.c: New file.
7246 * benchtests/bench-memmove.c: New file.
7247 * benchtests/bench-mempcpy-ifunc.c: New file.
7248 * benchtests/bench-mempcpy.c: New file.
7249 * benchtests/bench-memset-ifunc.c: New file.
7250 * benchtests/bench-memset.c: New file.
7251 * benchtests/bench-rawmemchr-ifunc.c: New file.
7252 * benchtests/bench-rawmemchr.c: New file.
7253 * benchtests/bench-stpcpy-ifunc.c: New file.
7254 * benchtests/bench-stpcpy.c: New file.
7255 * benchtests/bench-stpncpy-ifunc.c: New file.
7256 * benchtests/bench-stpncpy.c: New file.
7257 * benchtests/bench-strcasecmp-ifunc.c: New file.
7258 * benchtests/bench-strcasecmp.c: New file.
7259 * benchtests/bench-strcasestr-ifunc.c: New file.
7260 * benchtests/bench-strcasestr.c: New file.
7261 * benchtests/bench-strcat-ifunc.c: New file.
7262 * benchtests/bench-strcat.c: New file.
7263 * benchtests/bench-strchr-ifunc.c: New file.
7264 * benchtests/bench-strchr.c: New file.
7265 * benchtests/bench-strchrnul-ifunc.c: New file.
7266 * benchtests/bench-strchrnul.c: New file.
7267 * benchtests/bench-strcmp-ifunc.c: New file.
7268 * benchtests/bench-strcmp.c: New file.
7269 * benchtests/bench-strcpy-ifunc.c: New file.
7270 * benchtests/bench-strcpy.c: New file.
7271 * benchtests/bench-strcspn-ifunc.c: New file.
7272 * benchtests/bench-strcspn.c: New file.
7273 * benchtests/bench-strlen-ifunc.c: New file.
7274 * benchtests/bench-strlen.c: New file.
7275 * benchtests/bench-strncasecmp-ifunc.c: New file.
7276 * benchtests/bench-strncasecmp.c: New file.
7277 * benchtests/bench-strncat-ifunc.c: New file.
7278 * benchtests/bench-strncat.c: New file.
7279 * benchtests/bench-strncmp-ifunc.c: New file.
7280 * benchtests/bench-strncmp.c: New file.
7281 * benchtests/bench-strncpy-ifunc.c: New file.
7282 * benchtests/bench-strncpy.c: New file.
7283 * benchtests/bench-strnlen-ifunc.c: New file.
7284 * benchtests/bench-strnlen.c: New file.
7285 * benchtests/bench-strpbrk-ifunc.c: New file.
7286 * benchtests/bench-strpbrk.c: New file.
7287 * benchtests/bench-strrchr-ifunc.c: New file.
7288 * benchtests/bench-strrchr.c: New file.
7289 * benchtests/bench-strspn-ifunc.c: New file.
7290 * benchtests/bench-strspn.c: New file.
7291 * benchtests/bench-strstr-ifunc.c: New file.
7292 * benchtests/bench-strstr.c: New file.
7293
c1f75dc3
SP
7294 * benchtests/Makefile: Disable parallel execution of targets.
7295 (string-bench): Add memcpy.
7296 (benchset): New variable to store a list of benchmark sets.
7297 (bench-func): Renamed from bench.
7298 (bench-set): New target.
7299 (bench): Depend on bench-func and bench-set.
7300 * benchtests/README: Add section on benchmark sets.
7301 * benchtests/bench-memcpy-ifunc.c: New file.
7302 * benchtests/bench-memcpy.c: New file.
7303 * benchtests/bench-string.h: New file.
7304
50fd745b
AS
73052013-06-11 Andreas Schwab <schwab@suse.de>
7306
7307 [BZ #15577]
7308 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7309 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7310 values in the triple.
7311 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7312 terminator in the group key.
7313
3ee7e9fe
AJ
73142013-06-11 Andreas Jaeger <aj@suse.de>
7315
7316 * po/zh_TW.po: Update Chinese (traditional) translation from
7317 translation project.
7318
89fb6835
SP
73192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7320
7321 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7322 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7323 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7324 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7325 (clock_getcpuclockid): Likewise.
7326 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7327 Add weak_alias and libc_hidden_def.
7328 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7329 * rt/clock_gettime.c (clock_gettime): Rename to
7330 __clock_gettime. Add weak_alias and libc_hidden_def.
7331 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7332 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7333 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7334 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7335 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7336 Likewise.
7337 * rt/clock_settime.c (clock_settime): Rename to
7338 __clock_settime. Add weak_alias and libc_hidden_def.
7339 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7340
0efa6f8b
JM
73412013-06-10 Joseph Myers <joseph@codesourcery.com>
7342
b8c61b4b
JM
7343 * mach/err_boot.sub: Remove trailing whitespace.
7344 * mach/err_ipc.sub: Likewise.
7345 * mach/err_mach.sub: Likewise.
7346
0efa6f8b
JM
7347 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7348 (ROUNDING_TESTS_double): Likewise.
7349 (ROUNDING_TESTS_long_double): Likewise.
7350 (ROUNDING_TESTS): Likewise.
7351 * math/libm-test.inc: Include <math-tests.h>.
7352 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7353 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7354 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7355 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7356
50b818bf
SP
73572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7358
7359 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7360 of assigning.
7361
60d2f8f3
JM
73622013-06-08 Joseph Myers <joseph@codesourcery.com>
7363
4902d2c3
JM
7364 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7365 otherwise empty TRANS lines.
7366 * sysdeps/gnu/errlist.c: Regenerated.
7367
60d2f8f3
JM
7368 * catgets/gencat.c (error_print): Use (void) in function
7369 definition.
7370 * crypt/crypt_util.c (__init_des): Likewise.
7371 * crypt/speeds.c (Stop): Likewise.
7372 (main): Likewise.
7373 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7374 * inet/ruserpass.c (token): Likewise.
7375 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7376 * intl/localealias.c (extend_alias_table): Likewise.
7377 * intl/plural-exp.c (init_germanic_plural): Likewise.
7378 * libio/fcloseall.c (__fcloseall): Likewise.
7379 * libio/genops.c (_IO_flush_all): Likewise.
7380 (_IO_flush_all_linebuffered): Likewise.
7381 (_IO_cleanup): Likewise.
7382 (_IO_iter_begin): Likewise.
7383 (_IO_iter_end): Likewise.
7384 (_IO_list_lock): Likewise.
7385 (_IO_list_unlock): Likewise.
7386 (_IO_list_resetlock): Likewise.
7387 * libio/getchar.c (getchar): Likewise.
7388 * libio/getchar_u.c (getchar_unlocked): Likewise.
7389 * libio/getwchar.c (getwchar): Likewise.
7390 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7391 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7392 * login/getpt.c (__getpt): Likewise.
7393 * login/tst-utmp.c (main): Likewise.
7394 * malloc/hooks.c (__malloc_check_init): Likewise.
7395 * malloc/malloc.c (__malloc_stats): Likewise.
7396 * malloc/mtrace.c (tr_break): Likewise.
7397 (mtrace): Likewise.
7398 (muntrace): Likewise.
7399 * misc/fstab.c (endfsent): Likewise.
7400 * misc/getclktck.c (__getclktck): Likewise.
7401 * misc/getdtsz.c (__getdtablesize): Likewise.
7402 * misc/gethostid.c (gethostid): Likewise.
7403 * misc/getpagesize.c (__getpagesize): Likewise.
7404 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7405 (__get_nprocs): Likewise.
7406 (__get_phys_pages): Likewise.
7407 (__get_avphys_pages): Likewise.
7408 * misc/getttyent.c (getttyent): Likewise.
7409 (setttyent): Likewise.
7410 (endttyent): Likewise.
7411 * misc/getusershell.c (getusershell): Likewise.
7412 (endusershell): Likewise.
7413 (setusershell): Likewise.
7414 (initshells): Likewise.
7415 * misc/hsearch.c (__hdestroy): Likewise.
7416 * misc/sync.c (sync): Likewise.
7417 * misc/syslog.c (closelog_internal): Likewise.
7418 (closelog): Likewise.
7419 * misc/ttyslot.c (ttyslot): Likewise.
7420 * misc/vhangup.c (vhangup): Likewise.
7421 * posix/fork.c (__fork): Likewise.
7422 * posix/getegid.c (__getegid): Likewise.
7423 * posix/geteuid.c (__geteuid): Likewise.
7424 * posix/getgid.c (__getgid): Likewise.
7425 * posix/getpid.c (__getpid): Likewise.
7426 * posix/getppid.c (__getppid): Likewise.
7427 * posix/getuid.c (__getuid): Likewise.
7428 * posix/pause.c (pause): Likewise.
7429 * posix/setpgrp.c (setpgrp): Likewise.
7430 * posix/setsid.c (__setsid): Likewise.
7431 * posix/test-vfork.c (noop): Likewise.
7432 * resolv/gethnamaddr.c (_endhtent): Likewise.
7433 (_gethtent): Likewise.
7434 (ht_endhostent): Likewise.
7435 (gethostent): Likewise.
7436 (dns_service): Likewise.
7437 * stdlib/drand48.c (drand48): Likewise.
7438 * stdlib/lrand48.c (lrand48): Likewise.
7439 * stdlib/mrand48.c (mrand48): Likewise.
7440 * stdlib/rand.c (rand): Likewise.
7441 * stdlib/random.c (__random): Likewise.
7442 * stdlib/setenv.c (clearenv): Likewise.
7443 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7444 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7445 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7446 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7447 (__get_nprocs): Likewise.
7448 (__get_phys_pages): Likewise.
7449 (__get_avphys_pages): Likewise.
7450 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7451 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7452 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7453 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7454 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7455 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7456 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7457 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7458 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7459 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7460 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7461 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7462 * sysdeps/posix/clock.c (clock): Likewise.
7463 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7464 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7465 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7466 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7467 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7469 (__get_nprocs_conf): Likewise.
7470 (__get_phys_pages): Likewise.
7471 (__get_avphys_pages): Likewise.
7472 * time/clock.c (clock): Likewise.
7473 * time/tzset.c (__tzname_max): Likewise.
7474
2e09a79a
JM
74752013-06-07 Joseph Myers <joseph@codesourcery.com>
7476
7477 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7478 (__bswap_32): Do not use "register".
7479 * crypt/crypt.c (_ufc_doit_r): Likewise.
7480 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7481 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7482 * gmon/gmon.c (__monstartup): Likewise.
7483 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7484 * hurd/hurdmalloc.c (more_memory): Likewise.
7485 (malloc): Likewise.
7486 (free): Likewise.
7487 (realloc): Likewise.
7488 (malloc_fork_prepare): Likewise.
7489 (malloc_fork_parent): Likewise.
7490 (malloc_fork_child): Likewise.
7491 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7492 (_svcauth_des): Likewise.
7493 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7494 * inet/inet_net.c (inet_network): Likewise.
7495 * inet/inet_netof.c (inet_netof): Likewise.
7496 * inet/rcmd.c (__validuser2_sa): Likewise.
7497 * io/fts.c (fts_open): Likewise.
7498 (fts_load): Likewise.
7499 (fts_close): Likewise.
7500 (fts_read): Likewise.
7501 (fts_children): Likewise.
7502 (fts_build): Likewise.
7503 (fts_stat): Likewise.
7504 (fts_sort): Likewise.
7505 (fts_alloc): Likewise.
7506 (fts_lfree): Likewise.
7507 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7508 (_IO_file_xsgetn): Likewise.
7509 (_IO_file_xsgetn_mmap): Likewise.
7510 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7511 (_IO_cookie_write): Likewise.
7512 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7513 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7514 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7515 * malloc/obstack.c (_obstack_begin): Likewise.
7516 (_obstack_begin_1): Likewise.
7517 (_obstack_newchunk): Likewise.
7518 (_obstack_allocated_p): Likewise.
7519 (obstack_free): Likewise.
7520 (_obstack_memory_used): Likewise.
7521 * misc/getttyent.c (getttynam): Likewise.
7522 (getttyent): Likewise.
7523 (skip): Likewise.
7524 (value): Likewise.
7525 * misc/getusershell.c (initshells): Likewise.
7526 * misc/syslog.c (__vsyslog_chk): Likewise.
7527 * misc/ttyslot.c (ttyslot): Likewise.
7528 * nis/nis_hash.c (__nis_hash): Likewise.
7529 * posix/fnmatch_loop.c (FCT): Likewise.
7530 * posix/getconf.c (print_all): Likewise.
7531 (main): Likewise.
7532 * posix/getopt.c (exchange): Likewise.
7533 * posix/glob.c (globfree): Likewise.
7534 (prefix_array): Likewise.
7535 (__glob_pattern_type): Likewise.
7536 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7537 (NS_GET32): Likewise.
7538 (NS_PUT16): Likewise.
7539 (NS_PUT32): Likewise.
7540 * resolv/gethnamaddr.c (getanswer): Likewise.
7541 (gethostbyname2): Likewise.
7542 (gethostbyaddr): Likewise.
7543 (_gethtent): Likewise.
7544 (_gethtbyname2): Likewise.
7545 (_gethtbyaddr): Likewise.
7546 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7547 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7548 * resolv/res_init.c (__res_vinit): Likewise.
7549 (net_mask): Likewise.
7550 * resolv/res_mkquery.c (outchar): Likewise.
7551 (PRINT): Likewise.
7552 * stdio-common/printf_fp.c (outchar): Likewise.
7553 (PRINT): Likewise.
7554 * stdio-common/printf_fphex.c (outchar): Likewise.
7555 (PRINT): Likewise.
7556 * stdio-common/printf_size.c (outchar): Likewise.
7557 (PRINT): Likewise.
7558 * stdio-common/test_rdwr.c (main): Likewise.
7559 * stdio-common/tfformat.c (matches): Likewise.
7560 * stdio-common/vfprintf.c (outchar): Likewise.
7561 (printf_unknown): Likewise.
7562 (buffered_vfprintf): Likewise.
7563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7564 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7565 (ReadFile): Likewise.
7566 * stdlib/qsort.c (SWAP): Likewise.
7567 (_quicksort): Likewise.
7568 * stdlib/setenv.c (__add_to_environ): Likewise.
7569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7570 * stdlib/strtol_l.c (__strtol_l): Likewise.
7571 * stdlib/tst-strtod.c (main): Likewise.
7572 * stdlib/tst-strtol.c (main): Likewise.
7573 * stdlib/tst-strtoll.c (main): Likewise.
7574 * string/bits/string2.h (__strcmp_cc): Likewise.
7575 (__strcmp_cg): Likewise.
7576 (__strcspn_c1): Likewise.
7577 (__strcspn_c2): Likewise.
7578 (__strcspn_c3): Likewise.
7579 (__strspn_c1): Likewise.
7580 (__strspn_c2): Likewise.
7581 (__strspn_c3): Likewise.
7582 (__strsep_1c): Likewise.
7583 (__strsep_2c): Likewise.
7584 (__strsep_3c): Likewise.
7585 * string/memccpy.c (__memccpy): Likewise.
7586 * string/stpcpy.c (__stpcpy): Likewise.
7587 * string/strcmp.c (strcmp): Likewise.
7588 * string/strrchr.c (strrchr): Likewise.
7589 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7590 Likewise.
7591 * sysdeps/mach/hurd/getcwd.c
7592 (_hurd_canonicalize_directory_name_internal): Likewise.
7593 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7594 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7596 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7597 Likewise, in both definitions.
7598 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7599 definitions.
7600 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7601 64] (__bswap_64): Likewise.
7602 * time/test_time.c (main): Likewise.
7603 * time/tzfile.c (__tzfile_read): Likewise.
7604 (__tzfile_compute): Likewise.
7605 * time/tzset.c (__tzset_parse_tz): Likewise.
7606 (tzset_internal): Likewise.
7607 (compute_change): Likewise.
7608 * wcsmbs/wcscat.c (__wcscat): Likewise.
7609 * wcsmbs/wcschr.c (wcschr): Likewise.
7610 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7611 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7612 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7613 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7614 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7615 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7616 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7618 * wcsmbs/wmemset.c (wmemset): Likewise.
7619
9e54314b
JM
76202013-06-06 Joseph Myers <joseph@codesourcery.com>
7621
7622 * scripts/config.guess: Update to version 2013-05-16.
7623 * scripts/config.sub: Update to version 2013-04-24.
7624 * scripts/install-sh: Update to version 2011-11-20.07.
7625 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7626 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7627
350635a5
OB
76282013-06-06 Ondřej Bílka <neleai@seznam.cz>
7629
7630 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7631 * elf/sln.c: Likewise.
7632 * hurd/hurd/ioctl.h: Likewise.
7633 * hurd/hurdmalloc.c: Likewise.
7634 * hurd/xattr.c: Likewise.
7635 * include/shlib-compat.h: Likewise.
7636 * inet/ruserpass.c: Likewise.
7637 * libio/iofgets_u.c: Likewise.
7638 * libio/iofgetws_u.c: Likewise.
7639 * locale/programs/ld-identification.c: Likewise.
7640 * locale/programs/ld-time.c: Likewise.
7641 * mach/msg-destroy.c: Likewise.
7642 * nss/nss_files/files-netgrp.c: Likewise.
7643 * resolv/res_data.c: Likewise.
7644 * soft-fp/op-1.h: Likewise.
7645 * soft-fp/op-2.h: Likewise.
7646 * soft-fp/op-4.h: Likewise.
7647 * soft-fp/op-common.h: Likewise.
7648 * stdio-common/printf_fphex.c: Likewise.
7649 * stdlib/strtod_l.c: Likewise.
7650 * sunrpc/rpc/clnt.h: Likewise.
7651 * sysdeps/generic/framestate.c: Likewise.
7652 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7653 * sysdeps/i386/bsd-setjmp.S: Likewise.
7654 * sysdeps/i386/__longjmp.S: Likewise.
7655 * sysdeps/i386/setjmp.S: Likewise.
7656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7674 * sysdeps/ieee754/support.c: Likewise.
7675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7676 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7677 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7678 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7679 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7680 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7682 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7683 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7684 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7685 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7686 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7690 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7691 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7693
44a988af
OB
76942013-06-05 Ondřej Bílka <neleai@seznam.cz>
7695
25506f09 7696 * posix/transbug.c: Remove executable mode.
44a988af 7697
9c84384c
JM
76982013-06-05 Joseph Myers <joseph@codesourcery.com>
7699
7700 * crypt/speeds.c: Remove trailing whitespace.
7701 * dlfcn/default.c: Likewise.
7702 * elf/ifuncdep2.c: Likewise.
7703 * elf/ifuncmain1.c: Likewise.
7704 * elf/ifuncmain1vis.c: Likewise.
7705 * elf/testobj.h: Likewise.
7706 * elf/tst-stackguard1.c: Likewise.
7707 * gmon/sys/gmon.h: Likewise.
7708 * hurd/hurdmsg.c: Likewise.
7709 * hurd/new-fd.c: Likewise.
7710 * hurd/ports-get.c: Likewise.
7711 * iconvdata/ibm1008_420.c: Likewise.
7712 * inet/tst-getni1.c: Likewise.
7713 * inet/tst-getni2.c: Likewise.
7714 * libio/ioungetc.c: Likewise.
7715 * libio/wfiledoalloc.c: Likewise.
7716 * manual/libm-err-tab.pl: Likewise.
7717 * math/w_dremf.c: Likewise.
7718 * misc/ftruncate.c: Likewise.
7719 * posix/bug-glob2.c: Likewise.
7720 * posix/tst-pcre.c: Likewise.
7721 * posix/wait4.c: Likewise.
7722 * resolv/README: Likewise.
7723 * resolv/res_debug.h: Likewise.
7724 * resolv/tst-inet_ntop.c: Likewise.
7725 * setjmp/bug269-setjmp.c: Likewise.
7726 * soft-fp/extended.h: Likewise.
7727 * soft-fp/op-1.h: Likewise.
7728 * soft-fp/op-2.h: Likewise.
7729 * soft-fp/op-4.h: Likewise.
7730 * soft-fp/op-8.h: Likewise.
7731 * soft-fp/testit.c: Likewise.
7732 * stdio-common/bug16.c: Likewise.
7733 * stdlib/random.c: Likewise.
7734 * sunrpc/rpcsvc/rquota.x: Likewise.
7735 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7764 * sysdeps/ieee754/s_lib_version.c: Likewise.
7765 * sysdeps/mach/hurd/check_fds.c: Likewise.
7766 * sysdeps/mach/hurd/getsockname.c: Likewise.
7767 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7768 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7769 * sysdeps/powerpc/bits/link.h: Likewise.
7770 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7771 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7772 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7773 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7774 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7776 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7777 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7778 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7779 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7780 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7781 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7782 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7784 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7785 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7791 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7794 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7804 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7806 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7807 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7808 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7809 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7810 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7811 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7812 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7813 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7814 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7815 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7816 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7817 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7818 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7825 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7826 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7828 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7832 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7834 * sysdeps/powerpc/sysdep.h: Likewise.
7835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7836 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7837 * sysdeps/sh/dl-trampoline.S: Likewise.
7838 * sysdeps/sh/memset.S: Likewise.
7839 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7840 * sysdeps/sh/strlen.S: Likewise.
7841 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7842 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7843 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7844 * sysdeps/sparc/sparc32/rem.S: Likewise.
7845 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7846 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7847 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7848 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7849 * sysdeps/sparc/sparc32/urem.S: Likewise.
7850 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7852 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7853 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7855 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7856 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7857 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7858 * sysdeps/unix/bsd/times.c: Likewise.
7859 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7860 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7866 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7867 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7873 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7874 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7875 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7877 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7878 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7879 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7880 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7884 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7887 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7888 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7889 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7890 * sysdeps/x86_64/strcspn.S: Likewise.
7891
869378a5
RA
78922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7893
7894 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7895 generated file. Regenerate properly from gen-translit.pl.
7896 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7897 locale/C-translit.h.
7898
840e2943
AS
78992013-06-05 Andreas Schwab <schwab@suse.de>
7900
7901 [BZ #15100]
7902 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7903 week as 6 instead of -1.
7904 * time/tst-strptime.c (day_tests): Add test case.
7905
4c60cb0c
SP
79062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * sysdeps/generic/math_private.h
7909 (libc_feholdexcept_setround_53bit): Replace with
7910 libc_feholdsetround_53bit.
7911 (libc_feupdateenv_53bit): Replace with
7912 libc_feresetround_53bit.
7913 (SET_RESTORE_ROUND_53BIT): Adjust.
7914
d180203e
SP
79152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
96df079a
SP
7917 * string/test-strchrnul.c: Add copyright header.
7918
d180203e
SP
7919 * posix/tst-getaddrinfo4.c: Increase test timeout.
7920
8b0ccb2d
CD
79212013-06-03 Carlos O'Donell <carlos@redhat.com>
7922
7923 [BZ #15536]
7924 * math/libm-test.inc (MAX_EXP): Remove
7925 (MIN_EXP): Define.
7926 (ulp): Use MIN_EXP - MANT_DIG.
7927 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7928
3b3c4d40
CD
79292013-05-31 Carlos O'Donell <carlos@redhat.com>
7930
7931 * po/be.po: Revert last change.
7932 * po/zh_CN.po: Likewise.
7933 * po/header.pot: Likewise.
7934
fab7ce3f
JM
79352013-05-31 Joseph Myers <joseph@codesourcery.com>
7936
7937 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7938 link-libc-deps to empty as target-specific variable.
7939 * Makerules (link-libc-args): New variable.
7940 (libc-for-link): Likewise.
7941 (link-libc-deps): Likewise.
7942 (lib%.so): Depend on $(link-libc-deps). Link with
7943 $(link-libc-args).
7944 (build-module): Link with $(link-libc-args).
7945 (build-module-asneeded): Likewise.
7946 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7947 list of objects.
7948 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7949 target-specific variable.
7950 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7951 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7952 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7953 libc.
7954 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7955 libc and ld.so.
7956 ($(objpfx)libpcprofile.so): Likewise.
7957 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7958 libc_nonshared.a.
7959 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7960 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7961 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7962 $(link-libc-deps).
7963 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7964 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7965 * login/Makefile ($(objpfx)libutil.so): Likewise.
7966 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7967 * math/Makefile ($(objpfx)libm.so): Likewise.
7968 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7969 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7970 variable instead of depending directly on libc.
7971 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7972 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7973 $(link-libc-deps).
7974 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7975 libc.
7976 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7977 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7978 ($(objpfx)libanl.so): Likewise.
7979 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7980 ld.so.
7981 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7982 $(link-libc-deps).
7983 * sysdeps/i386/fpu/Makefile: Remove file.
7984 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7985 ($(objpfx)libm.so): Remove dependency on ld.so.
7986
eca5920c
PF
79872013-05-30 Patsy Franklin <pfrankli@redhat.com>
7988
7989 [BZ # 15553]
7990 * nis/yp_xdr.c (XDRMAXNAME): Define.
7991 (XDRMAXRECORD): Define.
7992 (xdr_domainname): Use XDRMAXNAME.
7993 (xdr_mapname): Likewise.
7994 (xdr_peername): Likewise.
7995 (xdr_keydat): Use XDRMAXRECORD.
7996 (xdr_valdat): Likewise.
7997
79982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7999
8000 [BZ #14256]
8001 * manual/errno.texi (ESTALE): Update to account for more than
8002 just NFS file systems.
8003 * sysdeps/gnu/errlist.c: Regenerated.
8004
b9375348
SP
80052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8006
8007 [BZ #15465]
8008 * elf/Makefile (tests): Add tst-null-argv.
8009 (modules-names): Add tst-null-argv-lib.
8010 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8011 (tst-null-argv-ENV): Set environment for tst-null-argv.
8012 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8013 (RTLD_PROGNAME): New macro.
8014 * elf/tst-null-argv.c: New test case.
8015 * elf/tst-null-argv-lib.c: Library for test case.
8016 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8017 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8018 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8019 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8020 * elf/dl-init.c (call_init): Likewise.
8021 (_dl_init): Likewise.
8022 * elf/dl-load.c (print_search_path): Likewise.
8023 (_dl_map_object): Likewise.
8024 * elf/dl-lookup.c (do_lookup_x): Likewise.
8025 (add_dependency): Likewise.
8026 (_dl_lookup_symbol_x): Likewise.
8027 (_dl_debug_bindings): Likewise.
8028 * elf/dl-open.c (_dl_show_scope): Likewise.
8029 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8030 * elf/dl-version.c (match_symbol): Likewise.
8031 (_dl_check_map_versions): Likewise.
8032 * elf/rtld.c (dl_main): Likewise.
8033 (print_unresolved): Use RTLD_PROGNAME.
8034 (print_missing_version): Likewise.
8035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8036 (elf_machine_rela): Likewise.
8037 * sysdeps/powerpc/powerpc32/dl-machine.c
8038 (__process_machine_rela): Likewise.
8039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8040 Likewise.
8041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8042 Likewise.
8043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8044 Likewise.
8045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8047 Likewise.
8048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8049 Likewise.
8050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8051
8a9f20c8
CD
80522013-05-28 Carlos O'Donell <carlos@redhat.com>
8053
8054 * po/be.po: Add descriptive title.
8055 * po/zh_CN.po: Likewise.
8056 * po/header.pot: Likewise.
8057
0e60d68e
MF
80582013-05-28 Mike Frysinger <vapier@gentoo.org>
8059
8060 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8061 error message.
8062 (enlarge_archive): Likewise.
8063
56b672e9
BN
80642013-05-28 Ben North <ben@redfrontdoor.org>
8065
8066 * manual/arith.texi (frexp): It is the magnitude of the return
8067 value which lies in [0.5, 1), not the return value itself.
8068
5e056687
AZ
80692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8070
8071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8072
2b66ef5d
TS
80732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8074
528c2405
TS
8075 * stdio-common/bug26.c (main): Correct fscanf template.
8076
07b4c13d
TS
8077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8078 declare _dl_skip_args.
8079
ec9dd97c
TS
8080 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8081 Don't declare.
8082
2b66ef5d
TS
8083 * manual/platform.texi: Add missing @end deftypefun.
8084
4f8dfe27
JM
80852013-05-24 Joseph Myers <joseph@codesourcery.com>
8086
0323d086
JM
8087 [BZ #15529]
8088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8089 bit of mantissa of 2^16382.
8090 * math/libm-test.inc (hypot_test_data): Add more tests.
8091
dd4259b9
JM
8092 * math/libm-test.inc: Add drem and pow10 to list of tested
8093 functions.
8094 (pow10_test): New function.
8095 (drem_test): Likewise.
8096 (drem_test_tonearest): Likewise.
8097 (drem_test_towardzero): Likewise.
8098 (drem_test_downward): Likewise.
8099 (drem_test_upward): Likewise.
8100 (main): Call the new functions.
8101
4f8dfe27
JM
8102 * math/libm-test.inc (finite_test_data): Remove.
8103 (finite_test): Run tests from isfinite_test_data.
8104 (gamma_test_data): Remove.
8105 (gamma_test): Run tests from lgamma_test_data.
8106 * sysdeps/i386/fpu/libm-test-ulps: Update.
8107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8108
d116b7c4
AZ
81092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * manual/platform.texi: Add PowerPC PPR function set documentation.
8112 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8113 implementation.
8114
e96e3767
CD
81152013-05-24 Carlos O'Donell <carlos@redhat.com>
8116
8117 * math/libm-test.inc (MAX_EXP): Define.
8118 (ULPDIFF): Define.
8119 (ulp): New function.
8120 (check_float_internal): Use ULPDIFF.
8121 (cpow_test): Disable failing test.
8122 (check_ulp): Test ulp() implemetnation.
8123 (main): Call check_ulp before starting tests.
8124
b679a606
JM
81252013-05-24 Joseph Myers <joseph@codesourcery.com>
8126
e8bdba36
JM
8127 * math/gen-libm-test.pl (generate_testfile): Do not handle
8128 START_DATA and END_DATA.
8129 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8130 END_DATA.
8131 (acos_tonearest_test_data): Likewise.
8132 (acos_towardzero_test_data): Likewise.
8133 (acos_downward_test_data): Likewise.
8134 (acos_upward_test_data): Likewise.
8135 (acosh_test_data): Likewise.
8136 (asin_test_data): Likewise.
8137 (asin_tonearest_test_data): Likewise.
8138 (asin_towardzero_test_data): Likewise.
8139 (asin_downward_test_data): Likewise.
8140 (asin_upward_test_data): Likewise.
8141 (asinh_test_data): Likewise.
8142 (atan_test_data): Likewise.
8143 (atanh_test_data): Likewise.
8144 (atan2_test_data): Likewise.
8145 (cabs_test_data): Likewise.
8146 (cacos_test_data): Likewise.
8147 (cacosh_test_data): Likewise.
8148 (carg_test_data): Likewise.
8149 (casin_test_data): Likewise.
8150 (casinh_test_data): Likewise.
8151 (catan_test_data): Likewise.
8152 (catanh_test_data): Likewise.
8153 (cbrt_test_data): Likewise.
8154 (ccos_test_data): Likewise.
8155 (ccosh_test_data): Likewise.
8156 (ceil_test_data): Likewise.
8157 (cexp_test_data): Likewise.
8158 (cimag_test_data): Likewise.
8159 (clog_test_data): Likewise.
8160 (clog10_test_data): Likewise.
8161 (conj_test_data): Likewise.
8162 (copysign_test_data): Likewise.
8163 (cos_test_data): Likewise.
8164 (cos_tonearest_test_data): Likewise.
8165 (cos_towardzero_test_data): Likewise.
8166 (cos_downward_test_data): Likewise.
8167 (cos_upward_test_data): Likewise.
8168 (cosh_test_data): Likewise.
8169 (cosh_tonearest_test_data): Likewise.
8170 (cosh_towardzero_test_data): Likewise.
8171 (cosh_downward_test_data): Likewise.
8172 (cosh_upward_test_data): Likewise.
8173 (cpow_test_data): Likewise.
8174 (cproj_test_data): Likewise.
8175 (creal_test_data): Likewise.
8176 (csin_test_data): Likewise.
8177 (csinh_test_data): Likewise.
8178 (csqrt_test_data): Likewise.
8179 (ctan_test_data): Likewise.
8180 (ctan_tonearest_test_data): Likewise.
8181 (ctan_towardzero_test_data): Likewise.
8182 (ctan_downward_test_data): Likewise.
8183 (ctan_upward_test_data): Likewise.
8184 (ctanh_test_data): Likewise.
8185 (ctanh_tonearest_test_data): Likewise.
8186 (ctanh_towardzero_test_data): Likewise.
8187 (ctanh_downward_test_data): Likewise.
8188 (ctanh_upward_test_data): Likewise.
8189 (erf_test_data): Likewise.
8190 (erfc_test_data): Likewise.
8191 (exp_test_data): Likewise.
8192 (exp_tonearest_test_data): Likewise.
8193 (exp_towardzero_test_data): Likewise.
8194 (exp_downward_test_data): Likewise.
8195 (exp_upward_test_data): Likewise.
8196 (exp10_test_data): Likewise.
8197 (exp2_test_data): Likewise.
8198 (expm1_test_data): Likewise.
8199 (fabs_test_data): Likewise.
8200 (fdim_test_data): Likewise.
8201 (finite_test_data): Likewise.
8202 (floor_test_data): Likewise.
8203 (fma_test_data): Likewise.
8204 (fma_towardzero_test_data): Likewise.
8205 (fma_downward_test_data): Likewise.
8206 (fma_upward_test_data): Likewise.
8207 (fmax_test_data): Likewise.
8208 (fmin_test_data): Likewise.
8209 (fmod_test_data): Likewise.
8210 (fpclassify_test_data): Likewise.
8211 (frexp_test_data): Likewise.
8212 (gamma_test_data): Likewise.
8213 (hypot_test_data): Likewise.
8214 (ilogb_test_data): Likewise.
8215 (isfinite_test_data): Likewise.
8216 (isgreater_test_data): Likewise.
8217 (isgreaterequal_test_data): Likewise.
8218 (isinf_test_data): Likewise.
8219 (isless_test_data): Likewise.
8220 (islessequal_test_data): Likewise.
8221 (islessgreater_test_data): Likewise.
8222 (isnan_test_data): Likewise.
8223 (isnormal_test_data): Likewise.
8224 (issignaling_test_data): Likewise.
8225 (isunordered_test_data): Likewise.
8226 (j0_test_data): Likewise.
8227 (j1_test_data): Likewise.
8228 (jn_test_data): Likewise.
8229 (ldexp_test_data): Likewise.
8230 (lgamma_test_data): Likewise.
8231 (lrint_test_data): Likewise.
8232 (lrint_tonearest_test_data): Likewise.
8233 (lrint_towardzero_test_data): Likewise.
8234 (lrint_downward_test_data): Likewise.
8235 (lrint_upward_test_data): Likewise.
8236 (llrint_test_data): Likewise.
8237 (llrint_tonearest_test_data): Likewise.
8238 (llrint_towardzero_test_data): Likewise.
8239 (llrint_downward_test_data): Likewise.
8240 (llrint_upward_test_data): Likewise.
8241 (log_test_data): Likewise.
8242 (log10_test_data): Likewise.
8243 (log1p_test_data): Likewise.
8244 (log2_test_data): Likewise.
8245 (logb_test_data): Likewise.
8246 (logb_downward_test_data): Likewise.
8247 (lround_test_data): Likewise.
8248 (llround_test_data): Likewise.
8249 (modf_test_data): Likewise.
8250 (nearbyint_test_data): Likewise.
8251 (nextafter_test_data): Likewise.
8252 (nexttoward_test_data): Likewise.
8253 (pow_test_data): Likewise.
8254 (pow_tonearest_test_data): Likewise.
8255 (pow_towardzero_test_data): Likewise.
8256 (pow_downward_test_data): Likewise.
8257 (pow_upward_test_data): Likewise.
8258 (remainder_test_data): Likewise.
8259 (remainder_tonearest_test_data): Likewise.
8260 (remainder_towardzero_test_data): Likewise.
8261 (remainder_downward_test_data): Likewise.
8262 (remainder_upward_test_data): Likewise.
8263 (remquo_test_data): Likewise.
8264 (rint_test_data): Likewise.
8265 (rint_tonearest_test_data): Likewise.
8266 (rint_towardzero_test_data): Likewise.
8267 (rint_downward_test_data): Likewise.
8268 (rint_upward_test_data): Likewise.
8269 (round_test_data): Likewise.
8270 (scalb_test_data): Likewise.
8271 (scalbn_test_data): Likewise.
8272 (scalbln_test_data): Likewise.
8273 (signbit_test_data): Likewise.
8274 (sin_test_data): Likewise.
8275 (sin_tonearest_test_data): Likewise.
8276 (sin_towardzero_test_data): Likewise.
8277 (sin_downward_test_data): Likewise.
8278 (sin_upward_test_data): Likewise.
8279 (sincos_test_data): Likewise.
8280 (sinh_test_data): Likewise.
8281 (sinh_tonearest_test_data): Likewise.
8282 (sinh_towardzero_test_data): Likewise.
8283 (sinh_downward_test_data): Likewise.
8284 (sinh_upward_test_data): Likewise.
8285 (sqrt_test_data): Likewise.
8286 (tan_test_data): Likewise.
8287 (tan_tonearest_test_data): Likewise.
8288 (tan_towardzero_test_data): Likewise.
8289 (tan_downward_test_data): Likewise.
8290 (tan_upward_test_data): Likewise.
8291 (tanh_test_data): Likewise.
8292 (tgamma_test_data): Likewise.
8293 (trunc_test_data): Likewise.
8294 (y0_test_data): Likewise.
8295 (y1_test_data): Likewise.
8296 (yn_test_data): Likewise.
8297 (significand_test_data): Likewise.
8298
b679a606
JM
8299 * math/gen-libm-test.pl (@functions): Remove variable.
8300 (generate_testfile): Don't handle START and END lines.
8301 * math/libm-test.inc (START): New macro.
8302 (END): Likewise.
8303 (END_COMPLEX): Likewise.
8304 (acos_test): Use END macro without arguments.
8305 (acos_test_tonearest): Likewise.
8306 (acos_test_towardzero): Likewise.
8307 (acos_test_downward): Likewise.
8308 (acos_test_upward): Likewise.
8309 (acosh_test): Likewise.
8310 (asin_test): Likewise.
8311 (asin_test_tonearest): Likewise.
8312 (asin_test_towardzero): Likewise.
8313 (asin_test_downward): Likewise.
8314 (asin_test_upward): Likewise.
8315 (asinh_test): Likewise.
8316 (atan_test): Likewise.
8317 (atanh_test): Likewise.
8318 (atan2_test): Likewise.
8319 (cabs_test): Likewise.
8320 (cacos_test): Use END_COMPLEX macro without arguments.
8321 (cacosh_test): Likewise.
8322 (carg_test): Use END macro without arguments.
8323 (casin_test): Use END_COMPLEX macro without arguments.
8324 (casinh_test): Likewise.
8325 (catan_test): Likewise.
8326 (catanh_test): Likewise.
8327 (cbrt_test): Use END macro without arguments.
8328 (ccos_test): Use END_COMPLEX macro without arguments.
8329 (ccosh_test): Likewise.
8330 (ceil_test): Use END macro without arguments.
8331 (cexp_test): Use END_COMPLEX macro without arguments.
8332 (cimag_test): Use END macro without arguments.
8333 (clog_test): Use END_COMPLEX macro without arguments.
8334 (clog10_test): Likewise.
8335 (conj_test): Likewise.
8336 (copysign_test): Use END macro without arguments.
8337 (cos_test): Likewise.
8338 (cos_test_tonearest): Likewise.
8339 (cos_test_towardzero): Likewise.
8340 (cos_test_downward): Likewise.
8341 (cos_test_upward): Likewise.
8342 (cosh_test): Likewise.
8343 (cosh_test_tonearest): Likewise.
8344 (cosh_test_towardzero): Likewise.
8345 (cosh_test_downward): Likewise.
8346 (cosh_test_upward): Likewise.
8347 (cpow_test): Use END_COMPLEX macro without arguments.
8348 (cproj_test): Likewise.
8349 (creal_test): Use END macro without arguments.
8350 (csin_test): Use END_COMPLEX macro without arguments.
8351 (csinh_test): Likewise.
8352 (csqrt_test): Likewise.
8353 (ctan_test): Likewise.
8354 (ctan_test_tonearest): Likewise.
8355 (ctan_test_towardzero): Likewise.
8356 (ctan_test_downward): Likewise.
8357 (ctan_test_upward): Likewise.
8358 (ctanh_test): Likewise.
8359 (ctanh_test_tonearest): Likewise.
8360 (ctanh_test_towardzero): Likewise.
8361 (ctanh_test_downward): Likewise.
8362 (ctanh_test_upward): Likewise.
8363 (erf_test): Use END macro without arguments.
8364 (erfc_test): Likewise.
8365 (exp_test): Likewise.
8366 (exp_test_tonearest): Likewise.
8367 (exp_test_towardzero): Likewise.
8368 (exp_test_downward): Likewise.
8369 (exp_test_upward): Likewise.
8370 (exp10_test): Likewise.
8371 (exp2_test): Likewise.
8372 (expm1_test): Likewise.
8373 (fabs_test): Likewise.
8374 (fdim_test): Likewise.
8375 (finite_test): Likewise.
8376 (floor_test): Likewise.
8377 (fma_test): Likewise.
8378 (fma_test_towardzero): Likewise.
8379 (fma_test_downward): Likewise.
8380 (fma_test_upward): Likewise.
8381 (fmax_test): Likewise.
8382 (fmin_test): Likewise.
8383 (fmod_test): Likewise.
8384 (fpclassify_test): Likewise.
8385 (frexp_test): Likewise.
8386 (gamma_test): Likewise.
8387 (hypot_test): Likewise.
8388 (ilogb_test): Likewise.
8389 (isfinite_test): Likewise.
8390 (isgreater_test): Likewise.
8391 (isgreaterequal_test): Likewise.
8392 (isinf_test): Likewise.
8393 (isless_test): Likewise.
8394 (islessequal_test): Likewise.
8395 (islessgreater_test): Likewise.
8396 (isnan_test): Likewise.
8397 (isnormal_test): Likewise.
8398 (issignaling_test): Likewise.
8399 (isunordered_test): Likewise.
8400 (j0_test): Likewise.
8401 (j1_test): Likewise.
8402 (jn_test): Likewise.
8403 (ldexp_test): Likewise.
8404 (lgamma_test): Likewise.
8405 (lrint_test): Likewise.
8406 (lrint_test_tonearest): Likewise.
8407 (lrint_test_towardzero): Likewise.
8408 (lrint_test_downward): Likewise.
8409 (lrint_test_upward): Likewise.
8410 (llrint_test): Likewise.
8411 (llrint_test_tonearest): Likewise.
8412 (llrint_test_towardzero): Likewise.
8413 (llrint_test_downward): Likewise.
8414 (llrint_test_upward): Likewise.
8415 (log_test): Likewise.
8416 (log10_test): Likewise.
8417 (log1p_test): Likewise.
8418 (log2_test): Likewise.
8419 (logb_test): Likewise.
8420 (logb_test_downward): Likewise.
8421 (lround_test): Likewise.
8422 (llround_test): Likewise.
8423 (modf_test): Likewise.
8424 (nearbyint_test): Likewise.
8425 (nextafter_test): Likewise.
8426 (nexttoward_test): Likewise.
8427 (pow_test): Likewise.
8428 (pow_test_tonearest): Likewise.
8429 (pow_test_towardzero): Likewise.
8430 (pow_test_downward): Likewise.
8431 (pow_test_upward): Likewise.
8432 (remainder_test): Likewise.
8433 (remainder_test_tonearest): Likewise.
8434 (remainder_test_towardzero): Likewise.
8435 (remainder_test_downward): Likewise.
8436 (remainder_test_upward): Likewise.
8437 (remquo_test): Likewise.
8438 (rint_test): Likewise.
8439 (rint_test_tonearest): Likewise.
8440 (rint_test_towardzero): Likewise.
8441 (rint_test_downward): Likewise.
8442 (rint_test_upward): Likewise.
8443 (round_test): Likewise.
8444 (scalb_test): Likewise.
8445 (scalbn_test): Likewise.
8446 (scalbln_test): Likewise.
8447 (signbit_test): Likewise.
8448 (sin_test): Likewise.
8449 (sin_test_tonearest): Likewise.
8450 (sin_test_towardzero): Likewise.
8451 (sin_test_downward): Likewise.
8452 (sin_test_upward): Likewise.
8453 (sincos_test): Likewise.
8454 (sinh_test): Likewise.
8455 (sinh_test_tonearest): Likewise.
8456 (sinh_test_towardzero): Likewise.
8457 (sinh_test_downward): Likewise.
8458 (sinh_test_upward): Likewise.
8459 (sqrt_test): Likewise.
8460 (tan_test): Likewise.
8461 (tan_test_tonearest): Likewise.
8462 (tan_test_towardzero): Likewise.
8463 (tan_test_downward): Likewise.
8464 (tan_test_upward): Likewise.
8465 (tanh_test): Likewise.
8466 (tgamma_test): Likewise.
8467 (trunc_test): Likewise.
8468 (y0_test): Likewise.
8469 (y1_test): Likewise.
8470 (yn_test): Likewise.
8471 (significand_test): Likewise.
8472
bae143d2
OB
84732013-05-24 Ondřej Bílka <neleai@seznam.cz>
8474
8475 [BZ #15381]
8476 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8477
9323d39b
EM
84782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8479
d4ea44a0 8480 [BZ #14894]
9323d39b
EM
8481 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8482 __ppc_mdoio and __ppc_mdoom.
8483 * manual/platform.texi: Document new functions __ppc_yield,
8484 __ppc_mdoio and __ppc_mdoom.
8485
13e23af7
CD
84862013-05-22 Carlos O'Donell <carlos@redhat.com>
8487
8488 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8489 (main): Mention "tls" pseudo-hwcap is legacy.
8490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8491
351fe550
JM
84922013-05-22 Joseph Myers <joseph@codesourcery.com>
8493
8494 * math/gen-libm-test.pl (parse_args): Output only string of
8495 arguments as text for test name, not full call or descriptions of
8496 tests for extra outputs.
8497 (generate_testfile): Do not pass function name to parse_args.
8498 Generate this_func variable from START.
8499 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8500 field to arg_str.
8501 (struct test_ff_f_data): Likewise.
8502 (test_ff_f_data_nexttoward): Likewise.
8503 (struct test_fi_f_data): Likewise.
8504 (struct test_fl_f_data): Likewise.
8505 (struct test_if_f_data): Likewise.
8506 (struct test_fff_f_data): Likewise.
8507 (struct test_c_f_data): Likewise.
8508 (struct test_f_f1_data): Likewise. Remove field extra_name.
8509 (struct test_fF_f1_data): Likewise.
8510 (struct test_ffI_f1_data): Likewise.
8511 (struct test_c_c_data): Rename test_name field to arg_str.
8512 (struct test_cc_c_data): Likewise.
8513 (struct test_f_i_data): Likewise.
8514 (struct test_ff_i_data): Likewise.
8515 (struct test_f_l_data): Likewise.
8516 (struct test_f_L_data): Likewise.
8517 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8518 and extra2_name.
8519 (COMMON_TEST_SETUP): New macro.
8520 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8521 (COMMON_TEST_CLEANUP): Likewise.
8522 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8523 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8524 macros.
8525 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8526 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8527 macros.
8528 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8529 (RUN_TEST_fff_f): Take argument string. Call new setup and
8530 cleanup macros.
8531 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8532 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8533 macros.
8534 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8535 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8536 macros.
8537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8538 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8539 cleanup macros.
8540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8541 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8542 cleanup macros.
8543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8544 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8545 cleanup macros.
8546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8547 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8548 macros.
8549 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8550 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8551 macros.
8552 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8553 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8554 macros.
8555 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8556 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8557 cleanup macros.
8558 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8559 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8560 cleanup macros.
8561 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8562 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8563 macros.
8564 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8565 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8566 cleanup macros.
8567 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8568 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8569 macros.
8570 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8571 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8572 macros.
8573 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8574 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8575 cleanup macros.
8576 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8577
85118d4d
EBM
85782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8579
8580 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8581 to _sifields.sigfault.
8582 (si_addr_lsb): Define new macro.
8583 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8586
7a44c18f
CD
85872013-05-03 Carlos O'Donell <carlos at redhat.com>
8588
8589 [BZ #15441]
8590 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8591 returns -1.
8592 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8593 null return -1.
8594 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8595 loading the domain.
8596
b50a7181
JM
85972013-05-22 Joseph Myers <joseph@codesourcery.com>
8598
8599 * math/gen-libm-test.pl (parse_args): Do not include expected
8600 result in test name.
8601 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8605 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8607
051063c8
SP
86082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
3ce9e010
SP
8610 * benchtests/Makefile: Sort function entries.
8611
051063c8
SP
8612 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8613 tanh, asinh, acosh, atanh.
8614 * benchtests/acos-inputs: New file.
8615 * benchtests/acosh-inputs: New file.
8616 * benchtests/asin-inputs: New file.
8617 * benchtests/asinh-inputs: New file.
8618 * benchtests/atanh-inputs: New file.
8619 * benchtests/cosh-inputs: New file.
8620 * benchtests/log-inputs: New file.
8621 * benchtests/sinh-inputs: New file.
8622 * benchtests/tanh-inputs: New file.
8623
47c22455
DL
86242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8625
8626 [BZ #15339]
8627 * posix/tst-getaddrinfo4.c: New test.
8628 * posix/Makefile (tests): Add it.
8629
3d04f5db
SP
86302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
8632 [BZ #15339]
8633 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8634 when no services were used.
8635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8636 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8637
d5dd6189
AS
86382013-05-21 Andreas Schwab <schwab@suse.de>
8639
8640 [BZ #15014]
8641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8642 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8643 successful.
8644 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8645 redundant variable declarations and reallocation of buffer when
8646 parsing as IPv6 address. Always set NSS status when called from
8647 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8648 buffer too small. Correct computation of needed size.
8649 * nss/Makefile (tests): Add test-digits-dots.
8650 * nss/test-digits-dots.c: New test.
8651
fef94eab
SP
86522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
8654 * benchtests/Makefile: Remove instructions for adding
8655 benchmark tests.
8656 * benchtests/README: New file to explain how to execute and
8657 enhance the benchmark tests.
8658
e39adf43
AS
86592013-05-21 Andreas Schwab <schwab@suse.de>
8660
8661 [BZ #15493]
8662 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8663 * setjmp/tst-sigsetjmp.c: New test.
8664
b2b671b6
OB
86652013-05-20 Ondřej Bílka <neleai@seznam.cz>
8666
8667 * sysdeps/x86_64/memset.S (memset): New implementation.
8668 (__bzero): Likewise.
8669 (__memset_tail): New function.
8670
2d48b41c
OB
86712013-05-20 Ondřej Bílka <neleai@seznam.cz>
8672
8673 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8674 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8675 __memcpy_sse2_unaligned ifunc selection.
8676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8677 Add memcpy-sse2-unaligned.S.
8678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8679 Add: __memcpy_sse2_unaligned.
8680
f16cc3eb
JM
86812013-05-19 Joseph Myers <joseph@codesourcery.com>
8682
3e694268
JM
8683 [BZ #15490]
8684 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8685 math_force_eval before restoring floating-point envrionment.
8686 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8688 Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8690 <math_private.h>.
8691 (__nearbyintl): Use math_force_eval before restoring
8692 floating-point environment.
8693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8694
db62a907
JM
8695 * math/gen-libm-test.pl (special_functions): Remove.
8696 (parse_args): Don't handle TEST_extra. Handle functions with no
8697 return value.
8698 * math/libm-test.inc (struct test_sincos_data): Replace with
8699 struct test_fFF_11_data.
8700 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8701 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8702 (sincos_test_data): Change element type to struct
8703 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8704 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8705 RUN_TEST_LOOP_sincos.
8706 * math/README.libm-test: Don't mention special handling of
8707 individual functions.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8712 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8714
f16cc3eb
JM
8715 * math/gen-libm-test.pl (get_variable): Remove function.
8716 (parse_args): Don't show pointer parameters to call in test
8717 names. Use "extra output N" in test names for extra outputs
8718 rather than naming variables.
8719
3779b5b6
JM
87202013-05-18 Joseph Myers <joseph@codesourcery.com>
8721
2ee094ff
JM
8722 [BZ #15488]
8723 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8724 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8725 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8726 double tests.
8727 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8728 disable.
8729 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8730 check_long_double.
8731
3779b5b6
JM
8732 * math/gen-libm-test.pl (@tests): Remove variable.
8733 ($count): Likewise.
8734 (new_test): Remove function.
8735 (show_exceptions): New function.
8736 (special_functions): Use show_exceptions instead of new_test.
8737 (parse_args): Likewise.
8738 (generate_testfile): Pass only function name in generated call to
8739 print_max_error or print_complex_max_error.
8740 (get_ulps): Do not handle complex tests specially.
8741 (output_test): Rename to ...
8742 (get_all_ulps_for_test): ... this. Return a string rather than
8743 printing to a file. Require ulps to be present.
8744 (output_ulps): Generate arrays rather than #defines.
8745 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8746 (struct ulp_data): New type.
8747 (BUILD_COMPLEX_ULP): Remove macro.
8748 (compare_ulp_data): New function.
8749 (find_ulps): Likewise.
8750 (find_test_ulps): Likewise.
8751 (find_function_ulps): Likewise.
8752 (find_complex_function_ulps): Likewise.
8753 (print_max_error): Determine allowed ulps using
8754 find_function_ulps.
8755 (print_complex_max_error): Determine allowed ulps using
8756 find_complex_function_ulps.
8757 (check_float_internal): Determine max ulps using find_test_ulps.
8758 (check_float): Do not take max_ulp parameter. Update call to
8759 check_float_internal.
8760 (check_complex): Likewise.
8761 (check_int): Do not take max_ulp parameter.
8762 (check_long): Likewise.
8763 (check_bool): Likewise.
8764 (check_longlong): Likewise.
8765 (struct test_f_f_data): Remove max_ulp field.
8766 (struct test_ff_f_data): Likewise.
8767 (struct test_ff_f_data_nexttoward): Likewise.
8768 (struct test_fi_f_data): Likewise.
8769 (struct test_fl_f_data): Likewise.
8770 (struct test_if_f_data): Likewise.
8771 (struct test_fff_f_data): Likewise.
8772 (struct test_c_f_data): Likewise.
8773 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8774 (struct test_fF_f1_data): Likewise.
8775 (struct test_ffI_f1_data): Likewise.
8776 (struct test_c_c_data): Remove max_ulp field.
8777 (struct test_cc_c_data): Likewise.
8778 (struct test_f_i_data): Likewise.
8779 (struct test_ff_i_data): Likewise.
8780 (struct test_f_l_data): Likewise.
8781 (struct test_f_L_data): Likewise.
8782 (struct test_sincos_data): Likewise.
8783 (RUN_TEST_f_f): Do not handle ulps.
8784 (RUN_TEST_LOOP_f_f): Likewise.
8785 (RUN_TEST_2_f): Likewise.
8786 (RUN_TEST_LOOP_2_f): Likewise.
8787 (RUN_TEST_fff_f): Likewise.
8788 (RUN_TEST_LOOP_fff_f): Likewise.
8789 (RUN_TEST_c_f): Likewise.
8790 (RUN_TEST_LOOP_c_f): Likewise.
8791 (RUN_TEST_f_f1): Likewise.
8792 (RUN_TEST_LOOP_f_f1): Likewise.
8793 (RUN_TEST_fF_f1): Likewise.
8794 (RUN_TEST_LOOP_fF_f1): Likewise.
8795 (RUN_TEST_fI_f1): Likewise.
8796 (RUN_TEST_LOOP_fI_f1): Likewise.
8797 (RUN_TEST_ffI_f1): Likewise.
8798 (RUN_TEST_LOOP_ffI_f1): Likewise.
8799 (RUN_TEST_c_c): Likewise.
8800 (RUN_TEST_LOOP_c_c): Likewise.
8801 (RUN_TEST_cc_c): Likewise.
8802 (RUN_TEST_LOOP_cc_c): Likewise.
8803 (RUN_TEST_f_i): Likewise.
8804 (RUN_TEST_LOOP_f_i): Likewise.
8805 (RUN_TEST_f_i_tg): Likewise.
8806 (RUN_TEST_LOOP_f_i_tg): Likewise.
8807 (RUN_TEST_ff_i_tg): Likewise.
8808 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8809 (RUN_TEST_f_b): Likewise.
8810 (RUN_TEST_LOOP_f_b): Likewise.
8811 (RUN_TEST_f_b_tg): Likewise.
8812 (RUN_TEST_LOOP_f_b_tg): Likewise.
8813 (RUN_TEST_f_l): Likewise.
8814 (RUN_TEST_LOOP_f_l): Likewise.
8815 (RUN_TEST_f_L): Likewise.
8816 (RUN_TEST_LOOP_f_L): Likewise.
8817 (RUN_TEST_sincos): Likewise.
8818 (RUN_TEST_LOOP_sincos): Likewise.
8819
8269107f
JM
88202013-05-17 Joseph Myers <joseph@codesourcery.com>
8821
bb38759d
JM
8822 [BZ #15480]
8823 [BZ #15485]
8824 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8825 main case of finite arguments, set rounding mode to FE_TONEAREST
8826 and discard exceptions.
8827 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8828 exceptions.
8829 (remainder_tonearest_test_data): New variable.
8830 (remainder_test_tonearest): New function.
8831 (remainder_towardzero_test_data): New variable.
8832 (remainder_test_towardzero): New function.
8833 (remainder_downward_test_data): New variable.
8834 (remainder_test_downward): New function.
8835 (remainder_upward_test_data): New variable.
8836 (remainder_test_upward): New function.
8837 (main): Call the new test functions.
8838
a00bdcf0
JM
8839 * math/libm-test.inc (struct test_f_f1_data): Remove field
8840 extra_init.
8841 (struct test_fF_f1_data): Likewise.
8842 (struct test_ffI_f1_data): Likewise.
8843 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8844 based on value of EXTRA_EXPECTED.
8845 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8846 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8847 EXTRA_VAR based on value of EXTRA_EXPECTED.
8848 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8849 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8850 EXTRA_VAR based on value of EXTRA_EXPECTED.
8851 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8852 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8853 EXTRA_VAR based on value of EXTRA_EXPECTED.
8854 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8855 * math/gen-libm-test.pl (parse_args): Don't output initializers
8856 for extra output values.
8857
de407f79
JM
8858 * math/libm-test.inc (check_int): Expect result to be exactly
8859 equal to expected value and do not handle ulps.
8860 (check_long): Likewise.
8861 (check_longlong): Likewise.
8862
8269107f
JM
8863 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8864 exceptions.
8865 (cimag_test_data): Likewise.
8866 (conj_test_data): Likewise.
8867 (copysign_test_data): Likewise.
8868 (cproj_test_data): Likewise.
8869 (creal_test_data): Likewise.
8870 (fabs_test_data): Likewise.
8871 (fdim_test_data): Likewise.
8872 (finite_test_data): Likewise.
8873 (floor_test_data): Likewise.
8874 (fmax_test_data): Likewise.
8875 (fmin_test_data): Likewise.
8876 (fmod_test_data): Likewise.
8877 (fpclassify_test_data): Likewise.
8878 (frexp_test_data): Likewise.
8879 (ilogb_test_data): Likewise.
8880 (isfinite_test_data): Likewise.
8881 (isgreater_test_data): Likewise.
8882 (isgreaterequal_test_data): Likewise.
8883 (isinf_test_data): Likewise.
8884 (isless_test_data): Likewise.
8885 (islessequal_test_data): Likewise.
8886 (islessgreater_test_data): Likewise.
8887 (isnan_test_data): Likewise.
8888 (isnormal_test_data): Likewise.
8889 (issignaling_test_data): Likewise.
8890 (isunordered_test_data): Likewise.
8891 (ldexp_test_data): Likewise.
8892 (lrint_test_data): Likewise.
8893 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8894 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8895 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8896 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8897 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8898 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8899 test input.
8900 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8901 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8902 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8903 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8904 that test input.
8905 (lrint_downward_test_data): Test for "inexact" exceptions.
8906 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8907 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8908 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8909 test input.
8910 (lrint_upward_test_data): Test for "inexact" exceptions.
8911 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8912 test input.
8913 (llrint_test_data): Test for "inexact" exceptions.
8914 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8915 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8916 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8917 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8918 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8919 (llrint_downward_test_data): Test for "inexact" exceptions.
8920 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8921 (llrint_upward_test_data): Test for "inexact" exceptions.
8922 (logb_test_data): Likewise.
8923 (logb_downward_test_data): Likewise.
8924 (nextafter_test_data): Likewise.
8925 (nexttoward_test_data): Likewise.
8926 (remainder_test_data): Likewise.
8927 (remquo_test_data): Likewise.
8928 (scalbn_test_data): Likewise.
8929 (scalbln_test_data): Likewise.
8930 (signbit_test_data): Likewise.
8931 (sqrt_test_data): Likewise.
8932 (significand_test_data): Likewise.
8933
48a18de1
SP
89342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
8936 [BZ #15424]
8937 * benchtests/bench-modf.c (struct args): Mark arg0 as
8938 volatile.
8939 * scripts/bench.pl: Mark members of struct args as volatile.
8940
13d3b41a
AZ
89412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8942
68191c1d 8943 [BZ # 15497]
13d3b41a
AZ
8944 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8945 negative infinity on POWER6 or lower.
8946 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8947
2848b105
MR
89482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8949
8950 [BZ #15442]
8951 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8952 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8953 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8954 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8955 (_FP_SETQNAN): New macro.
8956 (_FP_SETQNAN_SEMIRAW): Likewise.
8957 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8958 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8959 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8960 (FP_EXTEND): Use _FP_FRAC_SNANP.
8961 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8962 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8963 into account.
8964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8965 New macro.
8966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8967 Likewise.
8968
323e5cb7
JM
89692013-05-16 Joseph Myers <joseph@codesourcery.com>
8970
c58b274f
JM
8971 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8972 with DIVIDE_BY_ZERO_EXCEPTION.
8973 (gamma_test_data): Likewise.
8974 (lgamma_test_data): Likewise.
8975 (log_test_data): Likewise.
8976 (log10_test_data): Likewise.
8977 (log2_test_data): Likewise.
8978 (tgamma_test_data): Likewise.
8979
0ab34904
JM
8980 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8981 (acos_test_tonearest): Likewise.
8982 (acos_test_towardzero): Likewise.
8983 (acos_test_downward): Likewise.
8984 (acos_test_upward): Likewise.
8985 (acosh_test): Likewise.
8986 (asin_test): Likewise.
8987 (asin_test_tonearest): Likewise.
8988 (asin_test_towardzero): Likewise.
8989 (asin_test_downward): Likewise.
8990 (asin_test_upward): Likewise.
8991 (asinh_test): Likewise.
8992 (atan_test): Likewise.
8993 (atanh_test): Likewise.
8994 (atan2_test): Likewise.
8995 (cabs_test): Likewise.
8996 (cacos_test): Likewise.
8997 (cacosh_test): Likewise.
8998 (casin_test): Likewise.
8999 (casinh_test): Likewise.
9000 (catan_test): Likewise.
9001 (catanh_test): Likewise.
9002 (cbrt_test): Likewise.
9003 (ccos_test): Likewise.
9004 (ccosh_test): Likewise.
9005 (cexp_test): Likewise.
9006 (clog_test): Likewise.
9007 (clog10_test): Likewise.
9008 (cos_test): Likewise.
9009 (cos_test_tonearest): Likewise.
9010 (cos_test_towardzero): Likewise.
9011 (cos_test_downward): Likewise.
9012 (cos_test_upward): Likewise.
9013 (cosh_test): Likewise.
9014 (cosh_test_tonearest): Likewise.
9015 (cosh_test_towardzero): Likewise.
9016 (cosh_test_downward): Likewise.
9017 (cosh_test_upward): Likewise.
9018 (cpow_test): Likewise.
9019 (csin_test): Likewise.
9020 (csinh_test): Likewise.
9021 (csqrt_test): Likewise.
9022 (ctan_test): Likewise.
9023 (ctan_test_tonearest): Likewise.
9024 (ctan_test_towardzero): Likewise.
9025 (ctan_test_downward): Likewise.
9026 (ctan_test_upward): Likewise.
9027 (ctanh_test): Likewise.
9028 (ctanh_test_tonearest): Likewise.
9029 (ctanh_test_towardzero): Likewise.
9030 (ctanh_test_downward): Likewise.
9031 (ctanh_test_upward): Likewise.
9032 (erf_test): Likewise.
9033 (erfc_test): Likewise.
9034 (exp_test): Likewise.
9035 (exp_test_tonearest): Likewise.
9036 (exp_test_towardzero): Likewise.
9037 (exp_test_downward): Likewise.
9038 (exp_test_upward): Likewise.
9039 (exp10_test): Likewise.
9040 (exp2_test): Likewise.
9041 (expm1_test): Likewise.
9042 (fmod_test): Likewise.
9043 (gamma_test): Likewise.
9044 (hypot_test): Likewise.
9045 (j0_test): Likewise.
9046 (j1_test): Likewise.
9047 (jn_test): Likewise.
9048 (lgamma_test): Likewise.
9049 (log_test): Likewise.
9050 (log10_test): Likewise.
9051 (log1p_test): Likewise.
9052 (log2_test): Likewise.
9053 (logb_test_downward): Likewise.
9054 (pow_test): Likewise.
9055 (pow_test_tonearest): Likewise.
9056 (pow_test_towardzero): Likewise.
9057 (pow_test_downward): Likewise.
9058 (pow_test_upward): Likewise.
9059 (remainder_test): Likewise.
9060 (remquo_test): Likewise.
9061 (sin_test): Likewise.
9062 (sin_test_tonearest): Likewise.
9063 (sin_test_towardzero): Likewise.
9064 (sin_test_downward): Likewise.
9065 (sin_test_upward): Likewise.
9066 (sincos_test): Likewise.
9067 (sinh_test): Likewise.
9068 (sinh_test_tonearest): Likewise.
9069 (sinh_test_towardzero): Likewise.
9070 (sinh_test_downward): Likewise.
9071 (sinh_test_upward): Likewise.
9072 (sqrt_test): Likewise.
9073 (tan_test): Likewise.
9074 (tan_test_tonearest): Likewise.
9075 (tan_test_towardzero): Likewise.
9076 (tan_test_downward): Likewise.
9077 (tan_test_upward): Likewise.
9078 (tanh_test): Likewise.
9079 (tgamma_test): Likewise.
9080 (y0_test): Likewise.
9081 (y1_test): Likewise.
9082 (yn_test): Likewise.
9083
323e5cb7
JM
9084 * math/gen-libm-test.pl (adjust_arg): Remove function.
9085 (special_function): Remove argument $in_func. Only handle
9086 generating output for tables of tests, not inside functions.
9087 (parse_args): Likewise.
9088 (generate_testfile): Remove variable $in_func. Update call to
9089 parse_args.
9090 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9091 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9092 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9093 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9094 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9095 (MAX_VALUE_INIT): Rename macro to max_value.
9096 (MIN_VALUE_INIT): Rename macro to min_value.
9097 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9098 (plus_zero): Remove variable.
9099 (minus_zero): Likewise.
9100 (plus_infty): Likewise.
9101 (minus_infty): Likewise.
9102 (qnan_value): Likewise.
9103 (max_value): Likewise.
9104 (min_value): Likewise.
9105 (min_subnorm_value): Likewise.
9106
e054f494
RA
91072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9108
9109 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9110 uint64_t or uint32_t usage.
9111 * crypt/sha256-block.c: Likewise.
9112 * crypt/sha256-crypt.c: Likewise.
9113 * crypt/sha256.c: Likewise.
9114 * crypt/sha512-block.c: Likewise.
9115 * crypt/sha512-crypt.c: Likewise.
9116 * crypt/sha512.c: Likewise.
9117 * debug/backtrace-tst.c: Likewise.
9118 * debug/pcprofiledump.c: Likewise.
9119 * elf/cache.c: Likewise.
9120 * elf/dl-cache.c: Likewise.
9121 * elf/dl-misc.c: Likewise.
9122 * elf/dl-profile.c: Likewise.
9123 * elf/dl-support.c: Likewise.
9124 * elf/ldconfig.c: Likewise.
9125 * elf/sprof.c: Likewise.
9126 * iconv/dummy-repertoire.c: Likewise.
9127 * iconv/iconv_charmap.c: Likewise.
9128 * iconv/skeleton.c: Likewise.
9129 * iconvdata/8bit-generic.c: Likewise.
9130 * iconvdata/cp737.h: Likewise.
9131 * iconvdata/cp775.h: Likewise.
9132 * iconvdata/ibm1008.h: Likewise.
9133 * iconvdata/ibm1025.h: Likewise.
9134 * iconvdata/ibm1046.h: Likewise.
9135 * iconvdata/ibm1097.h: Likewise.
9136 * iconvdata/ibm1112.h: Likewise.
9137 * iconvdata/ibm1122.h: Likewise.
9138 * iconvdata/ibm1123.h: Likewise.
9139 * iconvdata/ibm1124.h: Likewise.
9140 * iconvdata/ibm1129.h: Likewise.
9141 * iconvdata/ibm1130.h: Likewise.
9142 * iconvdata/ibm1132.h: Likewise.
9143 * iconvdata/ibm1133.h: Likewise.
9144 * iconvdata/ibm1137.h: Likewise.
9145 * iconvdata/ibm1140.h: Likewise.
9146 * iconvdata/ibm1141.h: Likewise.
9147 * iconvdata/ibm1142.h: Likewise.
9148 * iconvdata/ibm1143.h: Likewise.
9149 * iconvdata/ibm1144.h: Likewise.
9150 * iconvdata/ibm1145.h: Likewise.
9151 * iconvdata/ibm1146.h: Likewise.
9152 * iconvdata/ibm1147.h: Likewise.
9153 * iconvdata/ibm1148.h: Likewise.
9154 * iconvdata/ibm1149.h: Likewise.
9155 * iconvdata/ibm1153.h: Likewise.
9156 * iconvdata/ibm1154.h: Likewise.
9157 * iconvdata/ibm1155.h: Likewise.
9158 * iconvdata/ibm1156.h: Likewise.
9159 * iconvdata/ibm1157.h: Likewise.
9160 * iconvdata/ibm1158.h: Likewise.
9161 * iconvdata/ibm1160.h: Likewise.
9162 * iconvdata/ibm1161.h: Likewise.
9163 * iconvdata/ibm1162.h: Likewise.
9164 * iconvdata/ibm1163.h: Likewise.
9165 * iconvdata/ibm1164.h: Likewise.
9166 * iconvdata/ibm1166.h: Likewise.
9167 * iconvdata/ibm1167.h: Likewise.
9168 * iconvdata/ibm12712.h: Likewise.
9169 * iconvdata/ibm1390.h: Likewise.
9170 * iconvdata/ibm1399.h: Likewise.
9171 * iconvdata/ibm16804.h: Likewise.
9172 * iconvdata/ibm4517.h: Likewise.
9173 * iconvdata/ibm4899.h: Likewise.
9174 * iconvdata/ibm4909.h: Likewise.
9175 * iconvdata/ibm4971.h: Likewise.
9176 * iconvdata/ibm5347.h: Likewise.
9177 * iconvdata/ibm803.h: Likewise.
9178 * iconvdata/ibm856.h: Likewise.
9179 * iconvdata/ibm901.h: Likewise.
9180 * iconvdata/ibm902.h: Likewise.
9181 * iconvdata/ibm9030.h: Likewise.
9182 * iconvdata/ibm9066.h: Likewise.
9183 * iconvdata/ibm921.h: Likewise.
9184 * iconvdata/ibm922.h: Likewise.
9185 * iconvdata/ibm9448.h: Likewise.
9186 * iconvdata/isiri-3342.h: Likewise.
9187 * iconvdata/jis0201.h: Likewise.
9188 * include/link.h: Likewise.
9189 * include/netdb.h: Likewise.
9190 * inet/check_native.c: Likewise.
9191 * inet/check_pf.c: Likewise.
9192 * inet/getipv4sourcefilter.c: Likewise.
9193 * inet/getnameinfo.c: Likewise.
9194 * inet/getsourcefilter.c: Likewise.
9195 * inet/htonl.c: Likewise.
9196 * inet/setipv4sourcefilter.c: Likewise.
9197 * inet/setsourcefilter.c: Likewise.
9198 * inet/test-inet6_opt.c: Likewise.
9199 * inet/tst-network.c: Likewise.
9200 * locale/C-collate.c: Likewise.
9201 * locale/C-ctype.c: Likewise.
9202 * locale/C-time.c: Likewise.
9203 * locale/C-translit.h: Likewise.
9204 * locale/loadarchive.c: Likewise.
9205 * locale/programs/3level.h: Likewise.
9206 * locale/programs/charmap.c: Likewise.
9207 * locale/programs/charmap.h: Likewise.
9208 * locale/programs/ld-address.c: Likewise.
9209 * locale/programs/ld-collate.c: Likewise.
9210 * locale/programs/ld-ctype.c: Likewise.
9211 * locale/programs/ld-identification.c: Likewise.
9212 * locale/programs/ld-measurement.c: Likewise.
9213 * locale/programs/ld-messages.c: Likewise.
9214 * locale/programs/ld-monetary.c: Likewise.
9215 * locale/programs/ld-name.c: Likewise.
9216 * locale/programs/ld-numeric.c: Likewise.
9217 * locale/programs/ld-paper.c: Likewise.
9218 * locale/programs/ld-telephone.c: Likewise.
9219 * locale/programs/ld-time.c: Likewise.
9220 * locale/programs/linereader.c: Likewise.
9221 * locale/programs/locale.c: Likewise.
9222 * locale/programs/locarchive.c: Likewise.
9223 * locale/programs/locfile.h: Likewise.
9224 * locale/programs/repertoire.c: Likewise.
9225 * locale/programs/simple-hash.c: Likewise.
9226 * locale/programs/simple-hash.h: Likewise.
9227 * malloc/memusage.c: Likewise.
9228 * malloc/memusagestat.c: Likewise.
9229 * nis/nis_defaults.c: Likewise.
9230 * nis/nis_hash.c: Likewise.
9231 * nis/nis_print.c: Likewise.
9232 * nis/nis_xdr.c: Likewise.
9233 * nscd/connections.c: Likewise.
9234 * nscd/hstcache.c: Likewise.
9235 * nscd/nscd_gethst_r.c: Likewise.
9236 * nscd/nscd_getserv_r.c: Likewise.
9237 * nscd/nscd_helper.c: Likewise.
9238 * nscd/servicescache.c: Likewise.
9239 * nss/makedb.c: Likewise.
9240 * nss/nss_db/db-XXX.c: Likewise.
9241 * nss/nss_db/db-initgroups.c: Likewise.
9242 * nss/nss_db/db-netgrp.c: Likewise.
9243 * nss/nss_files/files-network.c: Likewise.
9244 * nss/nss_files/files-parse.c: Likewise.
9245 * posix/bug-regex5.c: Likewise.
9246 * posix/fnmatch_loop.c: Likewise.
9247 * posix/regcomp.c: Likewise.
9248 * posix/regexec.c: Likewise.
9249 * posix/tst-rfc3484-2.c: Likewise.
9250 * posix/tst-rfc3484-3.c: Likewise.
9251 * posix/tst-rfc3484.c: Likewise.
9252 * resolv/nss_dns/dns-canon.c: Likewise.
9253 * resolv/nss_dns/dns-network.c: Likewise.
9254 * resolv/res_init.c: Likewise.
9255 * resolv/res_mkquery.c: Likewise.
9256 * resolv/tst-aton.c: Likewise.
9257 * stdlib/cxa_atexit.c: Likewise.
9258 * stdlib/cxa_finalize.c: Likewise.
9259 * stdlib/gen-fpioconst.c: Likewise.
9260 * stdlib/strtol_l.c: Likewise.
9261 * string/tst-endian.c: Likewise.
9262 * sunrpc/auth_des.c: Likewise.
9263 * sunrpc/clnt_udp.c: Likewise.
9264 * sunrpc/rtime.c: Likewise.
9265 * sunrpc/svcauth_des.c: Likewise.
9266 * sunrpc/xdr.c: Likewise.
9267 * sunrpc/xdr_intXX_t.c: Likewise.
9268 * sunrpc/xdr_rec.c: Likewise.
9269 * sysdeps/generic/ldconfig.h: Likewise.
9270 * sysdeps/generic/ldsodefs.h: Likewise.
9271 * sysdeps/generic/memusage.h: Likewise.
9272 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9282 * sysdeps/posix/getaddrinfo.c: Likewise.
9283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9285 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9287 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9288 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9289 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9290 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9291 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9293 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9295 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9296 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9297 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9298 * sysdeps/x86_64/dl-tls.h: Likewise.
9299 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9300 * time/alt_digit.c: Likewise.
9301 * time/era.c: Likewise.
9302 * wcsmbs/tst-c16c32-1.c: Likewise.
9303
8c75f674
JM
93042013-05-16 Joseph Myers <joseph@codesourcery.com>
9305
9306 * math/libm-test.inc (struct test_sincos_data): New type.
9307 (RUN_TEST_LOOP_sincos): New macro.
9308 (sincos_test_data): New variable.
9309 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9310
e6e49e59
RH
93112013-05-16 Richard Henderson <rth@redhat.com>
9312
9313 * math/atest-exp2.c (LIMB64): New macro.
9314 (CONSTSZ): New macro.
9315 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9316 (hexdig): Move ...
9317 (print_mpn_fp): ... to function scope.
9318 (read_mpn_hex): Remove.
9319 (get_log2): Remove.
9320 (exp2_mpn): Use mp_log2.
9321 (main): Use mp_exp1.
9322
15c7c18d
JM
93232013-05-16 Joseph Myers <joseph@codesourcery.com>
9324
105a07df
JM
9325 * math/libm-test.inc: Remove comment about not testing "inexact"
9326 exceptions.
9327 (INEXACT_EXCEPTION): New macro.
9328 (NO_INEXACT_EXCEPTION): Likewise.
9329 (INVALID_EXCEPTION_OK): Update value.
9330 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9331 (OVERFLOW_EXCEPTION_OK): Likewise.
9332 (UNDERFLOW_EXCEPTION_OK): Likewise.
9333 (IGNORE_ZERO_INF_SIGN): Likewise.
9334 (ERRNO_UNCHANGED): Likewise.
9335 (ERRNO_EDOM): Likewise.
9336 (ERRNO_ERANGE): Likewise.
9337 (test_exceptions): Handle testing "inexact" exceptions.
9338 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9339 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9340 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9341 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9342 INEXACT_EXCEPTION.
9343 (rint_towardzero_test_data): Likewise.
9344 (rint_downward_test_data): Likewise.
9345 (rint_upward_test_data): Likewise.
9346
e9eee333
JM
9347 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9348 with OVERFLOW_EXCEPTION.
9349 (exp10_test_data): Likewise.
9350 (exp2_test_data): Likewise.
9351 (expm1_test_data): Likewise.
9352 (lgamma_test_data): Likewise.
9353 (pow_test_data): Likewise.
9354 (tgamma_test_data): Likewise.
9355 (yn_test_data): Remove duplicate test of overflow.
9356
1c38ff73
JM
9357 * math/libm-test.inc (struct test_cc_c_data): New type.
9358 (RUN_TEST_LOOP_cc_c): New macro.
9359 (cpow_test_data): New variable.
9360 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9361
15c7c18d
JM
9362 * math/libm-test.inc (struct test_f_L_data): New type.
9363 (RUN_TEST_LOOP_f_L): New macro.
9364 (llrint_test_data): New variable.
9365 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9366 (llrint_tonearest_test_data): New variable.
9367 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9368 (llrint_towardzero_test_data): New variable.
9369 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9370 (llrint_downward_test_data): New variable.
9371 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9372 (llrint_upward_test_data): New variable.
9373 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9374 (llround_test_data): New variable.
9375 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9376
f137ff13
PC
93772013-05-13 Peter Collingbourne <pcc@google.com>
9378
9379 * math/atest-exp2.c (get_log2): Remove const attribute.
9380
3608cb24
JM
93812013-05-15 Joseph Myers <joseph@codesourcery.com>
9382
9383 * math/libm-test.inc (struct test_f_l_data): New type.
9384 (RUN_TEST_LOOP_f_l): New macro.
9385 (lrint_test_data): New variable.
9386 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9387 (lrint_tonearest_test_data): New variable.
9388 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9389 (lrint_towardzero_test_data): New variable.
9390 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9391 (lrint_downward_test_data): New variable.
9392 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9393 (lrint_upward_test_data): New variable.
9394 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9395 (lround_test_data): New variable.
9396 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9397
39b1f617
PC
93982013-05-15 Peter Collingbourne <pcc@google.com>
9399
1deff3dc
PC
9400 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9401 (EXTRACT_WORDS64) Use where appropriate.
9402 (INSERT_WORDS64) Likewise.
9403
791f3ba0
PC
9404 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9405 constraints with x constraints.
9406 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9407
39b1f617
PC
9408 * malloc/obstack.c (_obstack_compat): Add initializer.
9409
12fba011
EM
94102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9411
9412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9413 si_trapno and add si_addr_lsb to _sifields.sigfault.
9414 (si_trapno): Remove macro.
9415 (si_addr_lsb): Define new macro.
9416 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9417
d369f531
JM
94182013-05-15 Joseph Myers <joseph@codesourcery.com>
9419
b861c6c4
JM
9420 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9421 instead of TEST_f_l.
9422 (llrint_test_tonearest): Likewise.
9423 (llrint_test_towardzero): Likewise.
9424 (llrint_test_downward): Likewise.
9425 (llrint_test_upward): Likewise.
9426 (llround_test): Likewise.
9427
7abeee12
JM
9428 * math/libm-test.inc (struct test_f_i_data): Add comment.
9429 (RUN_TEST_LOOP_f_b): New macro.
9430 (RUN_TEST_LOOP_f_b_tg): Likewise.
9431 (finite_test_data): New variable.
9432 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9433 (isfinite_test_data): New variable.
9434 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9435 (isinf_test_data): New variable.
9436 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9437 (isnan_test_data): New variable.
9438 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9439 (isnormal_test_data): New variable.
9440 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9441 (issignaling_test_data): New variable.
9442 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9443 (signbit_test_data): New variable.
9444 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9445
cbe8c4d3
JM
9446 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9447 with INVALID_EXCEPTION.
9448 (acosh_test_data): Likewise.
9449 (asin_test_data): Likewise.
9450 (atanh_test_data): Likewise.
9451 (fmod_test_data): Likewise.
9452 (log_test_data): Likewise.
9453 (log10_test_data): Likewise.
9454 (log2_test_data): Likewise.
9455 (pow_test_data): Likewise.
9456 (sqrt_test_data): Likewise.
9457 (y0_test_data): Likewise.
9458 (y1_test_data): Likewise.
9459 (yn_test_data): Likewise.
9460
5575c0e5
JM
9461 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9462 function contents.
9463
d369f531
JM
9464 * math/libm-test.inc (struct test_ff_i_data): New type.
9465 (RUN_TEST_LOOP_ff_i_tg): New macro.
9466 (isgreater_test_data): New variable.
9467 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9468 (isgreaterequal_test_data): New variable.
9469 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9470 (isless_test_data): New variable.
9471 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9472 (islessequal_test_data): New variable.
9473 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9474 (islessgreater_test_data): New variable.
9475 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9476 (isunordered_test_data): New variable.
9477 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9478
781fd748
DM
94792013-05-14 David S. Miller <davem@davemloft.net>
9480
9481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9482
87aa21df
JM
94832013-05-14 Joseph Myers <joseph@codesourcery.com>
9484
5e908270
JM
9485 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9486
f71172e5
JM
9487 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9488 extra_test to int.
9489 (struct test_f_i_data): Change type of max_ulp to int.
9490
8cfa635a
JM
9491 * math/libm-test.inc (test_ffI_f1_data): New type.
9492 (RUN_TEST_LOOP_ffI_f1): New macro.
9493 (remquo_test_data): New variable.
9494 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9495
2bcb36b2
JM
9496 * setjmp/tst-setjmp-fp.c: New file.
9497 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9498 (link-libm): New variable.
9499 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9500
acbd839a
JM
9501 * math/libm-test.inc (struct test_f_i_data): New type.
9502 (RUN_TEST_LOOP_f_i): New macro.
9503 (RUN_TEST_LOOP_f_i_tg): Likewise.
9504 (fpclassify_test_data): New variable.
9505 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9506 (ilogb_test_data): New variable.
9507 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9508
e414d745
JM
9509 * math/libm-test.inc (scalbln_test): Correct function name in END
9510 call.
9511
d9c2a0fd
JM
9512 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9513 (RUN_TEST_LOOP_fI_f1): New macro.
9514 (frexp_test_data): New variable.
9515 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9516
9dc9095d
JM
9517 * math/libm-test.inc (struct test_fF_f1_data): New type.
9518 (RUN_TEST_LOOP_fF_f1): New macro.
9519 (modf_test_data): New variable.
9520 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9521
87aa21df
JM
9522 * math/libm-test.inc (struct test_f_f1_data): New type.
9523 (RUN_TEST_LOOP_f_f1): New macro.
9524 (gamma_test_data): New variable.
9525 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9526 (lgamma_test_data): New variable.
9527 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9528
141af660
CD
95292013-05-13 Carlos O'Donell <carlos@redhat.com>
9530
9531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9532 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9533 (main): Comment "tls" pseudo-hwcap.
9534
6d33265c
JM
95352013-05-13 Joseph Myers <joseph@codesourcery.com>
9536
68fc074c
JM
9537 * math/libm-test.inc (struct test_fl_f_data): New type.
9538 (RUN_TEST_LOOP_fl_f): New variable.
9539 (scalbln_test_data): New variable.
9540 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9541
243216e1
JM
9542 * math/libm-test.inc (struct test_fi_f_data): New type.
9543 (RUN_TEST_LOOP_fi_f): New macro.
9544 (ldexp_test_data): New variable.
9545 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9546 (scalbn_test_data): New variable.
9547 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9548
6a1992e2
JM
9549 * math/libm-test.inc (struct test_c_f_data): New type.
9550 (RUN_TEST_LOOP_c_f): New macro.
9551 (cabs_test_data): New variable.
9552 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9553 (carg_test_data): New variable.
9554 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9555 (cimag_test_data): New variable.
9556 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9557 (creal_test_data): New variable.
9558 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9559
0e400df5
JM
9560 * math/libm-test.inc (struct test_if_f_data): New type.
9561 (RUN_TEST_LOOP_if_f): New macro.
9562 (jn_test_data): New variable.
9563 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9564 (yn_test_data): New variable.
9565 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9566
6d33265c
JM
9567 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9568
f98ece5f
AZ
95692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9570
9571 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9572 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9573
0f7d347b
SP
95742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
43fe811b
SP
9576 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9577 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9578 (bench-deps): Add bench-timing.h.
9579 * benchtests-bench-skeleton.c: Include bench-timing.h.
9580 (main): Use TIMING_* macros instead of clock_gettime.
9581 * benchtests/bench-timing.h: New file.
9582
0f7d347b
SP
9583 [BZ #14582]
9584 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9585 Renamed from _LIB_VERSION.
9586 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9587
601a3a5f
JM
95882013-05-12 Joseph Myers <joseph@codesourcery.com>
9589
4f184d30
JM
9590 * math/libm-test.inc (struct test_fff_f_data): New type.
9591 (RUN_TEST_LOOP_fff_f): New macro.
9592 (fma_test_data): New variable.
9593 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9594 (fma_towardzero_test_data): New variable.
9595 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9596 (fma_downward_test_data): New variable.
9597 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9598 (fma_upward_test_data): New variable.
9599 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9600
08198877
JM
9601 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9602 (struct test_c_c_data): New type.
9603 (RUN_TEST_LOOP_c_c): New macro.
9604 (cacos_test_data): New variable.
9605 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9606 (cacosh_test_data): New variable.
9607 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9608 (casin_test_data): New variable.
9609 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9610 (casinh_test_data): New variable.
9611 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9612 (catan_test_data): New variable.
9613 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9614 (catanh_test_data): New variable.
9615 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9616 (ccos_test_data): New variable.
9617 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9618 (ccosh_test_data): New variable.
9619 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9620 (cexp_test_data): New variable.
9621 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9622 (clog_test_data): New variable.
9623 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9624 (clog10_test_data): New variable.
9625 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9626 (conj_test_data): New variable.
9627 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9628 (cproj_test_data): New variable.
9629 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9630 (csin_test_data): New variable.
9631 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9632 (csinh_test_data): New variable.
9633 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9634 (csqrt_test_data): New variable.
9635 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9636 (ctan_test_data): New variable.
9637 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9638 (ctan_tonearest_test_data): New variable.
9639 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9640 (ctan_towardzero_test_data): New variable.
9641 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9642 (ctan_downward_test_data): New variable.
9643 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9644 (ctan_upward_test_data): New variable.
9645 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9646 (ctanh_test_data): New variable.
9647 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9648 (ctanh_tonearest_test_data): New variable.
9649 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9650 (ctanh_towardzero_test_data): New variable.
9651 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9652 (ctanh_downward_test_data): New variable.
9653 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9654 (ctanh_upward_test_data): New variable.
9655 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9656 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9657 of BUILD_COMPLEX.
9658
601a3a5f
JM
9659 * math/libm-test.inc (struct test_ff_f_data): New type.
9660 (struct test_ff_f_data_nexttoward): Likewise.
9661 (RUN_TEST_LOOP_2_f): New macro.
9662 (RUN_TEST_LOOP_ff_f): Likewise.
9663 (atan2_test_data): New variable.
9664 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9665 (copysign_test_data): New variable.
9666 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9667 (fdim_test_data): New variable.
9668 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9669 (fmax_test_data): New variable.
9670 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9671 (fmin_test_data): New variable.
9672 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9673 (fmod_test_data): New variable.
9674 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9675 (hypot_test_data): New variable.
9676 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9677 (nextafter_test_data): New variable.
9678 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9679 (nexttoward_test_data): New variable.
9680 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9681 (pow_test_data): New variable.
9682 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9683 (pow_tonearest_test_data): New variable.
9684 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9685 (pow_towardzero_test_data): New variable.
9686 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9687 (pow_downward_test_data): New variable.
9688 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9689 (pow_upward_test_data): New variable.
9690 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9691 (remainder_test_data): New variable.
9692 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9693 (scalb_test_data): New variable.
9694 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696
74c57478
JM
96972013-05-11 Joseph Myers <joseph@codesourcery.com>
9698
8329e4da
JM
9699 * math/libm-test.inc (fma_test): Use max_value instead of local
9700 variable fltmax.
9701 (nextafter_test): Likewise.
9702
74c57478
JM
9703 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9704 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9705 (acos_downward_test_data): New variable.
9706 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9707 (acos_upward_test_data): New variable.
9708 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9709 (acosh_test_data): New variable.
9710 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9711 (asin_test_data): New variable.
9712 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9713 (asin_tonearest_test_data): New variable.
9714 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9715 (asin_towardzero_test_data): New variable.
9716 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9717 (asin_downward_test_data): New variable.
9718 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9719 (asin_upward_test_data): New variable.
9720 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9721 (asinh_test_data): New variable.
9722 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9723 (atan_test_data): New variable.
9724 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9725 (atanh_test_data): New variable.
9726 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9727 (cbrt_test_data): New variable.
9728 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9729 (ceil_test_data): New variable.
9730 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9731 (cos_test_data): New variable.
9732 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9733 (cos_tonearest_test_data): New variable.
9734 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9735 (cos_towardzero_test_data): New variable.
9736 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9737 (cos_downward_test_data): New variable.
9738 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9739 (cos_upward_test_data): New variable.
9740 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9741 (cosh_test_data): New variable.
9742 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9743 (cosh_tonearest_test_data): New variable.
9744 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9745 (cosh_towardzero_test_data): New variable.
9746 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9747 (cosh_downward_test_data): New variable.
9748 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9749 (cosh_upward_test_data): New variable.
9750 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9751 (erf_test_data): New variable.
9752 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9753 (erfc_test_data): New variable.
9754 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9755 (exp_test_data): New variable.
9756 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9757 (exp_tonearest_test_data): New variable.
9758 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9759 (exp_towardzero_test_data): New variable.
9760 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9761 (exp_downward_test_data): New variable.
9762 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9763 (exp_upward_test_data): New variable.
9764 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9765 (exp10_test_data): New variable.
9766 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9767 (exp2_test_data): New variable.
9768 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9769 (expm1_test_data): New variable.
9770 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9771 (fabs_test_data): New variable.
9772 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9773 (floor_test_data): New variable.
9774 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9775 (j0_test_data): New variable.
9776 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9777 (j1_test_data): New variable.
9778 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9779 (log_test_data): New variable.
9780 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9781 (log10_test_data): New variable.
9782 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9783 (log1p_test_data): New variable.
9784 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9785 (log2_test_data): New variable.
9786 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9787 (logb_test_data): New variable.
9788 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9789 (logb_downward_test_data): New variable.
9790 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9791 (nearbyint_test_data): New variable.
9792 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9793 (rint_test_data): New variable.
9794 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9795 (rint_tonearest_test_data): New variable.
9796 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9797 (rint_towardzero_test_data): New variable.
9798 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9799 (rint_downward_test_data): New variable.
9800 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9801 (rint_upward_test_data): New variable.
9802 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9803 (round_test_data): New variable.
9804 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9805 (sin_test_data): New variable.
9806 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9807 (sin_tonearest_test_data): New variable.
9808 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9809 (sin_towardzero_test_data): New variable.
9810 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9811 (sin_downward_test_data): New variable.
9812 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9813 (sin_upward_test_data): New variable.
9814 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9815 (sinh_test_data): New variable.
9816 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9817 (sinh_tonearest_test_data): New variable.
9818 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9819 (sinh_towardzero_test_data): New variable.
9820 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9821 (sinh_downward_test_data): New variable.
9822 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9823 (sinh_upward_test_data): New variable.
9824 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9825 (sqrt_test_data): New variable.
9826 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9827 (tan_test_data): New variable.
9828 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9829 (tan_tonearest_test_data): New variable.
9830 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9831 (tan_towardzero_test_data): New variable.
9832 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9833 (tan_downward_test_data): New variable.
9834 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9835 (tan_upward_test_data): New variable.
9836 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9837 (tanh_test_data): New variable.
9838 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9839 (tgamma_test_data): New variable.
9840 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9841 (trunc_test_data): New variable.
9842 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9843 (y0_test_data): New variable.
9844 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9845 (y1_test_data): New variable.
9846 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9847 (significand_test_data): New variable.
9848 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9849
7187d844
CG
98502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9851
9852 [BZ #12387]
9853 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9854
f63fae73
PT
98552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9856
9857 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9858
8a67a4b3
AJ
98592013-05-10 Andreas Jaeger <aj@suse.de>
9860
9861 [BZ #15448]
9862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9863 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9864
51df539d
JM
98652013-05-10 Joseph Myers <joseph@codesourcery.com>
9866
9867 * math/gen-libm-test.pl (adjust_arg): New function.
9868 (special_functions): Handle generating output in both functions
9869 and arrays.
9870 (parse_args): Likewise.
9871 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9872 $in_func argument to parse_args.
9873 * math/libm-test.inc (struct test_f_f_data): New type.
9874 (IF_ROUND_INIT_): New macro.
9875 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9876 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9877 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9878 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9879 (ROUND_RESTORE_): Likewise.
9880 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9881 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9882 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9883 (ROUND_RESTORE_FE_UPWARD): Likewise.
9884 (RUN_TEST_LOOP_f_f): New macro.
9885 (acos_test_data): New variable.
9886 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9887 (acos_tonearest_test_data): New variable.
9888 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9889
5c637fe5
SP
98902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9891
9892 * benchtests/bench-skeleton.c (startup): Fix coding style.
9893
ab2b9461
JM
98942013-05-10 Joseph Myers <joseph@codesourcery.com>
9895
9896 [BZ #6809]
9897 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9898 negative infinity argument.
9899 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9900 negative infinity argument.
9901 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9902 negative infinity argument.
9903 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9904 domain errors.
9905
4c0fe6fe
FW
99062013-05-10 Florian Weimer <fweimer@redhat.com>
9907
9908 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9909 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9910 * iconv/iconv_prog.c (main): Likewise.
9911 * locale/programs/charmap-dir.c (charmap_readdir)
9912 (fopen_uncompressed): Likewise.
9913 * locale/programs/locfile.c (siblings_uncached)
9914 (write_locale_data): Use lstat64 instead of lstat.
9915 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9916 stat.
9917
a3375d29
AJ
99182013-05-10 Andreas Jaeger <aj@suse.de>
9919
9920 [BZ #15395]
9921 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9922 localization.
9923 Include <locale.h>.
9924
36129722
CD
99252013-05-09 Carlos O'Donell <carlos@redhat.com>
9926
9927 * elf/dl-close.c (_dl_close_worker): Add comments.
9928
faa7f811
JM
99292013-05-09 Joseph Myers <joseph@codesourcery.com>
9930
ed41ffef
JM
9931 [BZ #15359]
9932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9933 high part of pi/2.
9934 (__ieee754_rem_pio2l): Update comments.
9935
d0213cd0
JM
9936 [BZ #15429]
9937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9938 high part of pi/2.
9939 (__ieee754_rem_pio2l): Update comments.
9940
0d3e777a
JM
9941 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9942 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9943
24f56066
JM
9944 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9945 M_PI_4l.
9946
faa7f811
JM
9947 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9948 (M_PI_34_LOG10El): Likewise.
9949 (M_PI2_LOG10El): Likewise.
9950 (M_PI4_LOG10El): Likewise.
9951 (M_PI_LOG10El): Likewise.
9952
e9a5e0fd
AZ
99532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9954
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9956
d8cd06db
JM
99572013-05-08 Joseph Myers <joseph@codesourcery.com>
9958
a0d9f9d7
JM
9959 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9960 (MINUS_ZERO_INIT): Likewise.
9961 (PLUS_INFTY_INIT): Likewise.
9962 (MINUS_INFTY_INIT): Likewise.
9963 (QNAN_VALUE_INIT): Likewise.
9964 (MAX_VALUE_INIT): Likewise.
9965 (MIN_VALUE_INIT): Likewise.
9966 (MIN_SUBNORM_VALUE_INIT): Likewise.
9967 (plus_zero): Initialize with PLUS_ZERO_INIT.
9968 (minus_zero): Initialize with MINUS_ZERO_INIT.
9969 (plus_infty): Initialize with PLUS_INFTY_INIT.
9970 (minus_infty): Initialize with MINUS_INFTY_INIT.
9971 (qnan_value): Initialize with QNAN_VALUE_INIT.
9972 (max_value): Initialize with MAX_VALUE_INIT.
9973 (min_value): Initialize with MIN_VALUE_INIT.
9974 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9975
ae08db3b
JM
9976 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9977 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9978 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9979 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9980
f44bf14a
JM
9981 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9982 (RUN_TEST_2_f): Likewise.
9983 (RUN_TEST_ff_f): Likewise.
9984 (RUN_TEST_fi_f): Likewise.
9985 (RUN_TEST_fl_f): Likewise.
9986 (RUN_TEST_fff_f): Likewise.
9987 (RUN_TEST_c_f): Likewise.
9988 (RUN_TEST_f_f1): Likewise.
9989 (RUN_TEST_fF_f1): Likewise.
9990 (RUN_TEST_fI_f1): Likewise.
9991 (RUN_TEST_ffI_f1): Likewise.
9992 (RUN_TEST_c_c): Likewise.
9993 (RUN_TEST_cc_c): Likewise.
9994 (RUN_TEST_f_i): Likewise.
9995 (RUN_TEST_f_i_tg): Likewise.
9996 (RUN_TEST_ff_i_tg): Likewise.
9997 (RUN_TEST_f_b): Likewise.
9998 (RUN_TEST_f_b_tg): Likewise.
9999 (RUN_TEST_f_l): Likewise.
10000 (RUN_TEST_f_L): Likewise.
10001 (RUN_TEST_sincos): Likewise.
10002 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10003 whether to show exceptions. Do not include ");\n" in return
10004 value.
10005 (special_functions): Output call to RUN_TEST_sincos instead of
10006 check_float calls. Update calls to new_test.
10007 (parse_args): Output call to single RUN_TEST_* macro instead of
10008 check_* calls and other assignments. Update calls to new_test.
10009
d8cd06db
JM
10010 [BZ #2546]
10011 [BZ #2560]
10012 [BZ #5159]
10013 [BZ #15426]
10014 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10015 input to result for tgamma overflow.
10016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10017 (gamma_coeff): New variable.
10018 (NCOEFF): New macro.
10019 (gamma_positive): New function.
10020 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10021 underflow here. Use gamma_positive instead of exp (lgamma) for
10022 other arguments.
10023 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10024 (gamma_coeff): New variable.
10025 (NCOEFF): New macro.
10026 (gammaf_positive): New function.
10027 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10028 underflow here. Use gamma_positive instead of exp (lgamma) for
10029 other arguments.
10030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10031 (gamma_coeff): New variable.
10032 (NCOEFF): New macro.
10033 (gammal_positive): New function.
10034 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10035 underflow here. Use gamma_positive instead of exp (lgamma) for
10036 other arguments.
10037 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10038 (gamma_coeff): New variable.
10039 (NCOEFF): New macro.
10040 (gammal_positive): New function.
10041 (__ieee754_gammal_r): Handle positive infinity, overflow and
10042 underflow here. Handle NaN the same as positive infinity. Remove
10043 check x < 0xffffffff for negative integers. Use gamma_positive
10044 instead of exp (lgamma) for other arguments.
10045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10046 (gamma_coeff): New variable.
10047 (NCOEFF): New macro.
10048 (gammal_positive): New function.
10049 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10050 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10053 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10054 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10055 * sysdeps/generic/math_private.h (__gamma_productf): New
10056 prototype.
10057 (__gamma_product): Likewise.
10058 (__gamma_productl): Likewise.
10059 * math/Makefile (libm-calls): Add gamma_product.
10060 * math/libm-test.inc (tgamma_test): Add more tests.
10061 * sysdeps/i386/fpu/libm-test-ulps: Update.
10062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10063
bb7cf681
OB
100642013-05-08 Ondřej Bílka <neleai@seznam.cz>
10065
10066 * benchtests/bench-skeleton.c (main): Preheat CPU.
10067
ba853947
AJ
100682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10069
10070 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10071
8347c74c
RM
100722013-05-07 Roland McGrath <roland@hack.frob.com>
10073
10074 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10075 and _dl_skip_args_internal.
10076
e8dd4791
CD
100772013-05-07 Carlos O'Donell <carlos@redhat.com>
10078
10079 * manual/message.texi (Message Translation): Talk about users.
10080 Message to key mapping impacts design.
10081
c7405830
RM
100822013-05-06 Roland McGrath <roland@hack.frob.com>
10083
a9173057
RM
10084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10085
976e2f03
RM
10086 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10087
9723ffc5
RM
10088 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10089 * sysdeps/wordsize-64/glob64.c: ... here.
10090
962e6658
RM
10091 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10092 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10093 New macros.
10094
ee586a6d
RM
10095 * debug/getlogin_r_chk.c: Moved to ...
10096 * login/getlogin_r_chk.c: ... here.
10097 * debug/Makefile (routines): Move getlogin_r_chk to ...
10098 * login/Makefile (routines): ... here.
10099 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10100 * login/Versions (libc: GLIBC_2.4): ... here.
10101
355f9165
RM
10102 * io/poll.c (__poll): Renamed from poll.
10103 Add libc_hidden_def.
10104 (poll): Define as weak alias.
10105
bd9ffde6
RM
10106 * debug/ptsname_r_chk.c: Moved to ...
10107 * login/ptsname_r_chk.c: ... here.
10108 * debug/Makefile (routines): Move ptsname_r_chk to ...
10109 * login/Makefile (routines): ... here.
10110 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10111 * login/Versions (libc: GLIBC_2.4): ... here.
10112
8fb16a04
RM
10113 * posix/getlogin.c: Moved to ...
10114 * login/getlogin.c: ... here.
10115 * posix/getlogin_r.c: Moved to ...
10116 * login/getlogin_r.c: ... here.
10117 * posix/getlogin_r.c: Moved to ...
10118 * login/getlogin_r.c: ... here.
10119 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10120 * login/Makefile (routines): ... here.
10121 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10122 * login/Versions (libc: GLIBC_2.0): ... here.
10123
b99b892f
RM
10124 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10125 (setrlimit): Define as weak alias.
10126
c7405830
RM
10127 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10128 Call __ names for open, ftruncate, and close.
10129 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10130 (truncate): Define as weak alias.
10131
5bf96de5
JM
101322013-05-06 Joseph Myers <joseph@codesourcery.com>
10133
9ea3513c
JM
10134 * math/gen-libm-test.pl (parse_args): Initialize x before each
10135 test of frexp, modf and remquo.
10136
5bf96de5
JM
10137 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10138 test signgam value.
10139
16e616a7
AZ
101402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10141
10142 [BZ #15418]
10143 [BZ #15419]
10144 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10145 internal tests.
10146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10147
d5e82754
RM
101482013-05-06 Roland McGrath <roland@hack.frob.com>
10149
10150 * elf/dl-writev.h: New file.
10151 * elf/dl-misc.c: Include it.
10152 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10153 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10154
a7548d41
JM
101552013-05-04 Joseph Myers <joseph@codesourcery.com>
10156
b7dab1e4
JM
10157 * math/libm-test.inc (noXFails): Remove variable.
10158 (noXPasses): Likewise.
10159 (BUILD_COMPLEX_INT): Remove macro.
10160 (print_screen): Remove xfail argument.
10161 (print_screen_max_error): Likewise.
10162 (update_stats): Likewise.
10163 (print_max_error): Likewise. Update calls to other affected
10164 functions.
10165 (print_complex_max_error): Likewise.
10166 (test_single_exception): Update calls to print_screen.
10167 (test_single_errno): Likewise.
10168 (check_float_internal): Remove xfail argument. Update calls to
10169 other affected functions.
10170 (check_float): Likewise.
10171 (check_complex): Likewise.
10172 (check_int): Likewise.
10173 (check_long): Likewise.
10174 (check_bool): Likewise.
10175 (check_longlong): Likewise.
10176 (main): Don't print noXFails and noXPasses.
10177 * math/gen-libm-test.pl (top level): Don't mention expected
10178 failure handling in comment.
10179 (new_test): Don't handle expected failures.
10180 (parse_args): Don't mention expected failure handling in comment.
10181 (generate_testfile): Don't handle expected failures.
10182 (parse_ulps): Likewise.
10183 (print_ulps_file): Likewise.
10184 (get_failure): Remove function.
10185 (output_test): Don't handle expected failures.
10186 * make/README.libm-test: Don't mention expected failure handling.
10187
a7548d41
JM
10188 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10189 (minus_zero): Likewise.
10190 (plus_infty): Likewise.
10191 (minus_infty): Likewise.
10192 (qnan_value): Likewise.
10193 (max_value): Likewise.
10194 (min_value): Likewise.
10195 (min_subnorm_value): Likewise.
10196 (initialize): Do not initialize those variables dynamically.
10197
60bfd54c
RM
101982013-05-03 Roland McGrath <roland@hack.frob.com>
10199
cc0e6ed8
RM
10200 * io/open.c (__open_2): Moved to ...
10201 * io/open_2.c: ... this new file.
10202 * io/open64.c (__open64_2): Moved to ...
10203 * io/open64_2.c: ... this new file.
10204 * io/openat.c (__openat_2): Moved to ...
10205 * io/openat_2.c: ... this new file.
10206 * io/openat64.c (__openat64_2): Moved to ...
10207 * io/openat64_2.c: ... this new file.
10208 * io/Makefile (routines): Add them.
10209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10210 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10211 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10212 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10213 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10214 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10215 (__openat64): Add hidden_ver.
10216 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10217 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10218
60bfd54c
RM
10219 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10220 Separately conditionalize setting of GLRO(dl_sysinfo) so
10221 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10222 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10223
83e7640f
AZ
102242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10225
10226 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10227 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10228 definition.
10229 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10230 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10231 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10232 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10233 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10234
d5dc2af3
JM
102352013-05-03 Joseph Myers <joseph@codesourcery.com>
10236
c31a5b1e
JM
10237 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10238 test signgam value.
10239
d5dc2af3
JM
10240 * math/libm-test.inc (hypot_test): Do not use
10241 IGNORE_ZERO_INF_SIGN.
10242
164fd39d
AJ
102432013-05-03 Andreas Jaeger <aj@suse.de>
10244
10245 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10246 Linux 3.9.
10247 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10248 (PF_MAX): Adjust for VSOCK change.
10249
8237f48c
AZ
102502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10253
9df02941
CD
102542013-05-02 Carlos O'Donell <carlos@redhat.com>
10255
10256 [BZ #15264]
10257 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10258 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10259 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10260
d422395e
DM
102612013-05-02 David S. Miller <davem@davemloft.net>
10262
10263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10264
a07c5731
OB
102652013-05-01 Ondřej Bílka <neleai@seznam.cz>
10266
10267 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10268
1324e37f
RM
102692013-05-01 Roland McGrath <roland@hack.frob.com>
10270
10271 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10272
0695940b
RS
102732013-05-01 Richard Smith <richard@metafoo.co.uk>
10274
bb5f27ad 10275 [BZ #14952]
0695940b
RS
10276 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10277 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10278 Use __attribute__ ((__gnu_inline__)).
10279 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10280 Don't use __attribute__ ((__gnu_inline__)).
10281
10de07f5
JM
102822013-05-01 Joseph Myers <joseph@codesourcery.com>
10283
10284 [BZ #15423]
10285 * math/s_catan.c (__catan): Handle small real or imaginary part of
10286 input specially to avoid spurious underflow.
10287 * math/s_catanf.c (__catanf): Likewise.
10288 * math/s_catanh.c (__catanh): Likewise.
10289 * math/s_catanhf.c (__catanhf): Likewise.
10290 * math/s_catanhl.c (__catanhl): Likewise.
10291 * math/s_catanl.c (__catanl): Likewise.
10292 * math/libm-test.inc (catan_test): Add more tests.
10293 (catanh_test): Likewise.
10294 * sysdeps/i386/fpu/libm-test-ulps: Update.
10295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10296
cb4d5414
AZ
102972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298
10299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10300
caf84319
JM
103012013-04-30 Joseph Myers <joseph@codesourcery.com>
10302
10303 [BZ #15416]
10304 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10305 accurately for denominator in atan2.
10306 * math/s_catanf.c (__catanf): Likewise.
10307 * math/s_catanh.c (__catanh): Likewise.
10308 * math/s_catanhf.c (__catanhf): Likewise.
10309 * math/s_catanhl.c (__catanhl): Likewise.
10310 * math/s_catanl.c (__catanl): Likewise.
10311 * math/libm-test.inc (catan_test): Add more tests.
10312 (catanh_test): Likewise.
10313 * sysdeps/i386/fpu/libm-test-ulps: Update.
10314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315
d569c6ee
SP
103162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10317
6dbe713d
SP
10318 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10319
f0ee064b
SP
10320 * benchtests/Makefile (bench): Remove slow benchmarks.
10321 * benchtests/atan-inputs: Add slow benchmark inputs.
10322 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10323 (BENCH_FUNC): Accept variant offset.
10324 (VARIANT): Define.
10325 * benchtests/bench-skeleton.c (main): Run benchmark for each
10326 variant.
10327 * benchtests/cos-inputs: Add slow benchmark inputs.
10328 * benchtests/exp-inputs: Likewise.
10329 * benchtests/pow-inputs: Likewise.
10330 * benchtests/sin-inputs: Likewise.
10331 * benchtests/slowatan-inputs: Remove.
10332 * benchtests/slowatan.c: Remove.
10333 * benchtests/slowcos-inputs: Remove.
10334 * benchtests/slowcos.c: Remove.
10335 * benchtests/slowexp-inputs: Remove.
10336 * benchtests/slowexp.c: Remove.
10337 * benchtests/slowpow-inputs: Remove.
10338 * benchtests/slowpow.c: Remove.
10339 * benchtests/slowsin-inputs: Remove.
10340 * benchtests/slowsin.c: Remove.
10341 * benchtests/slowtan-inputs: Remove.
10342 * benchtests/slowtan.c: Remove.
10343 * benchtests/tan-inputs: Add slow benchmark inputs.
10344 * scripts/bench.pl: Parse comments and directives.
10345
d569c6ee
SP
10346 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10347 in CPPFLAGS.
10348 ($(objpfx)bench-%.c): Remove *-ITER.
10349 * benchtests/bench-modf.c: Remove definition of ITER.
10350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10351 (main): Loop for DURATION seconds instead of fixed number of
10352 iterations.
10353 * scripts/bench.pl: Don't expect iterations in parameters.
10354
a6a242fe
RM
103552013-04-29 Roland McGrath <roland@hack.frob.com>
10356
10357 * io/fchdir.c (__fchdir): Renamed from fchdir.
10358 (fchdir): Define as weak alias.
10359
f2da7793
JM
103602013-04-29 Joseph Myers <joseph@codesourcery.com>
10361
10362 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10363 (ERRNO_EDOM): Likewise.
10364 (ERRNO_ERANGE): Likewise.
10365 (noErrnoTests): New variable.
10366 (init_max_error): Set errno to 0.
10367 (test_single_errno): New function.
10368 (test_errno): Likewise.
10369 (check_float_internal): Call test_errno. Set errno to 0.
10370 (check_complex): Refer to errno tests in comment.
10371 (check_int): Call test_errno. Set errno to 0.
10372 (check_long): Likewise.
10373 (check_bool): Likewise.
10374 (check_longlong): Likewise.
10375 (cos_test): Use ERRNO_* flags for errno tests instead of
10376 check_int.
10377 (expm1_test): Likewise.
10378 (fmod_test): Likewise.
10379 (ilogb_test): Likewise.
10380 (lgamma_test): Likewise.
10381 (pow_test): Likewise.
10382 (remainder_test): Likewise.
10383 (sin_test): Likewise.
10384 (tan_test): Likewise.
10385 (yn_test): Likewise.
10386 (initialize): Set errno to 0.
10387 (main): Print number of errno tests.
10388 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10389
b1a36ceb
AJ
103902013-04-29 Andreas Jaeger <aj@suse.de>
10391
c3ed8088
AJ
10392 [BZ #15084]
10393 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10394 and RES_USEVC.
10395
f1a24198
AJ
10396 [BZ #15085]
10397 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10398 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10399 unimplemented.
10400
9ce3b2cb
AJ
10401 [BZ #15380]
10402 * stdlib/random.c (__initstate): Return NULL if
10403 __initstate fails.
10404
f1a24198 10405 [BZ #15086]
b1a36ceb
AJ
10406 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10407 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10408 RES_SNGLKUPREOP.
10409
7e7b6f36
AZ
104102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10411
10412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10413
4d14f449
JM
104142013-04-29 Joseph Myers <joseph@codesourcery.com>
10415
10416 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10417 of individual tests.
10418 (casin_test): Likewise.
10419 (casinh_test): Likewise.
10420
5b4217d7
JM
104212013-04-27 Joseph Myers <joseph@codesourcery.com>
10422
10423 [BZ #15409]
10424 * math/s_catan.c (__catan): Handle arguments with large real or
10425 imaginary part separately without squaring.
10426 * math/s_catanf.c (__catanf): Likewise.
10427 * math/s_catanh.c (__catanh): Likewise.
10428 * math/s_catanhf.c (__catanhf): Likewise.
10429 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10430 and redefine.
10431 (__catanhl): Handle arguments with large real or imaginary part
10432 separately without squaring.
10433 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10434 and redefine.
10435 (__catanl): Handle arguments with large real or imaginary part
10436 separately without squaring.
10437 * math/libm-test.inc (catan_test): Add more tests.
10438 (catanh_test): Likewise.
10439 * sysdeps/i386/fpu/libm-test-ulps: Update.
10440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
4220c3ef
AJ
104422013-04-27 Andreas Jaeger <aj@suse.de>
10443
10444 [BZ #15007]
10445 * stdlib/stdlib.h: Update guards for qecvt.
10446 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10447 <stdlib.h>.
10448
4721b2d1
AM
104492013-04-27 Allan McRae <allan@archlinux.org>
10450
10451 * sysdeps/i386/fpu/libm-test-ulps: Update.
10452
f0302940
JM
104532013-04-26 Joseph Myers <joseph@codesourcery.com>
10454
9457fd95
JM
10455 [BZ #15406]
10456 * math/s_catan.c: Include <float.h>.
10457 (__catan): Ensure underflow exception occurs for underflowed
10458 result.
10459 * math/s_catanf.c: Include <float.h>.
10460 (__catanf): Ensure underflow exception occurs for underflowed
10461 result.
10462 * math/s_catanh.c: Include <float.h>.
10463 (__catanh): Ensure underflow exception occurs for underflowed
10464 result.
10465 * math/s_catanhf.c: Include <float.h>.
10466 (__catanhf): Ensure underflow exception occurs for underflowed
10467 result.
10468 * math/s_catanhl.c: Include <float.h>.
10469 (__catanhl): Ensure underflow exception occurs for underflowed
10470 result.
10471 * math/s_catanl.c: Include <float.h>.
10472 (__catanl): Ensure underflow exception occurs for underflowed
10473 result.
10474 * math/libm-test.inc (catan_test): Add more tests.
10475 (catanh_test): Likewise.
10476
f0302940
JM
10477 [BZ #15405]
10478 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10479 underflowed result.
10480 * math/s_ccoshf.c (__ccoshf): Likewise.
10481 * math/s_ccoshl.c (__ccoshl): Likewise.
10482 * math/s_csin.c (__csin): Likewise.
10483 * math/s_csinf.c (__csinf): Likewise.
10484 * math/s_csinh.c (__csinh): Likewise.
10485 * math/s_csinhf.c (__csinhf): Likewise.
10486 * math/s_csinhl.c (__csinhl): Likewise.
10487 * math/s_csinl.c (__csinl): Likewise.
10488 * math/libm-test.inc (ccos_test): Add more tests.
10489 (ccosh_test): Likewise.
10490 (csin_test): Likewise.
10491 (csinh_test): Likewise.
10492
aa630f59
AZ
104932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10494
10495 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10496 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10497 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10498 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10499 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10500 powerpc/power5+/fpu folders.
10501 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10502
10503
1b835983
MT
105042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10505
10506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10507
73709b26
JM
105082013-04-25 Joseph Myers <joseph@codesourcery.com>
10509
10510 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10511 additions to variable.
10512 [$(config-machine) = x86_64] (modules-names): Likewise.
10513 ($(objpfx)tst-audit3): Remove dependency.
10514 ($(objpfx)tst-audit3.out): Likewise.
10515 ($(objpfx)tst-audit4): Likewise.
10516 ($(objpfx)tst-audit4.out): Likewise.
10517 ($(objpfx)tst-audit5): Likewise.
10518 ($(objpfx)tst-audit5.out): Likewise.
10519 ($(objpfx)tst-audit6): Likewise.
10520 ($(objpfx)tst-audit6.out): Likewise.
10521 ($(objpfx)tst-audit7): Likewise.
10522 ($(objpfx)tst-audit7.out): Likewise.
10523 (tst-audit3-ENV): Remove variable.
10524 (tst-audit4-ENV): Likewise.
10525 (tst-audit5-ENV): Likewise.
10526 (tst-audit6-ENV): Likewise.
10527 (tst-audit7-ENV): Likewise.
10528 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10529 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10530 addition to variable.
10531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10536 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10537 tst-audit3, tst-audit4 and tst-audit5.
10538 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10539 tst-audit6 and tst-audit7.
10540 [$(subdir) = elf] (modules-names): Add audit modules for those
10541 tests.
10542 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10543 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10544 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10545 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10546 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10547 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10548 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10549 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10550 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10551 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10552 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10553 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10554 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10555 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10556 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10557 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10558 Likewise.
10559 [$(subdir) = elf && $(config-cflags-avx) = yes]
10560 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10561 [$(subdir) = elf && $(config-cflags-avx) = yes]
10562 (CFLAGS-tst-auditmod4a.c): Likewise.
10563 [$(subdir) = elf && $(config-cflags-avx) = yes]
10564 (CFLAGS-tst-auditmod4b.c): Likewise.
10565 [$(subdir) = elf && $(config-cflags-avx) = yes]
10566 (CFLAGS-tst-auditmod6b.c): Likewise.
10567 [$(subdir) = elf && $(config-cflags-avx) = yes]
10568 (CFLAGS-tst-auditmod6c.c): Likewise.
10569 [$(subdir) = elf && $(config-cflags-avx) = yes]
10570 (CFLAGS-tst-auditmod7b.c): Likewise.
10571 * elf/tst-audit3.c: Move to ...
10572 * sysdeps/x86_64/tst-audit3.c: ... here.
10573 * elf/tst-audit4.c: Move to ...
10574 * sysdeps/x86_64/tst-audit4.c: ... here.
10575 * elf/tst-audit5.c: Move to ...
10576 * sysdeps/x86_64/tst-audit5.c: ... here.
10577 * elf/tst-audit6.c: Move to ...
10578 * sysdeps/x86_64/tst-audit6.c: ... here.
10579 * elf/tst-audit7.c: Move to ...
10580 * sysdeps/x86_64/tst-audit7.c: ... here.
10581 * elf/tst-auditmod3a.c: Move to ...
10582 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10583 * elf/tst-auditmod3b.c: Move to ...
10584 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10585 * elf/tst-auditmod4a.c: Move to ...
10586 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10587 * elf/tst-auditmod4b.c: Move to ...
10588 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10589 * elf/tst-auditmod5a.c: Move to ...
10590 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10591 * elf/tst-auditmod5b.c: Move to ...
10592 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10593 * elf/tst-auditmod6a.c: Move to ...
10594 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10595 * elf/tst-auditmod6b.c: Move to ...
10596 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10597 * elf/tst-auditmod6c.c: Move to ...
10598 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10599 * elf/tst-auditmod7a.c: Move to ...
10600 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10601 * elf/tst-auditmod7b.c: Move to ...
10602 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10603
1ef74943
PP
106042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10605
10606 [BZ #15366]
10607 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10608 define unconditionally.
10609 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10610 define unconditionally.
10611 (INT8_C, INT16_C, etc.): Likewise.
10612
93fd48c5
MR
106132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10614
ae9552cf
MR
10615 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10616 __ehdr_start with hidden visibility.
10617
93fd48c5
MR
10618 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10619
418601aa
CD
106202013-04-24 Carlos O'Donell <carlos@redhat.com>
10621
10622 * math/libm-test.inc (cos_test): Use accurate hex constants.
10623 (sincost_test): Likewise.
10624
2f38fbfe
JM
106252013-04-24 Joseph Myers <joseph@codesourcery.com>
10626
5e221800
JM
10627 * math/libm-test.inc (catan_test): Add more tests.
10628 (catanh_test): Likewise.
10629
77f143fd
JM
10630 * math/s_catanf.c (__catanf): Use suffixed floating-point
10631 constants.
10632 * math/s_catanhf.c (__catanhf): Likewise.
10633 * math/s_catanhl.c (__catanhl): Likewise.
10634 * math/s_catanl.c (__catanl): Likewise.
10635
2f38fbfe
JM
10636 [BZ #15394]
10637 * math/s_catan.c (__catan): Calculate imaginary part of result
10638 with log1p not log unless computing log of number close to 0.
10639 * math/s_catanf.c (__catanf): Likewise.
10640 * math/s_catanl.c (__catanl): Likewise.
10641 * math/s_catanh.c (__catanh): Calculate real part of result with
10642 log1p not log unless computing log of number close to 0.
10643 * math/s_catanhf.c (__catanhf): Likewise.
10644 * math/s_catanhl.c (__catanhl): Likewise.
10645 * math/libm-test.inc (catan_test): Add more tests.
10646 (catanh_test): Likewise.
10647 * sysdeps/i386/fpu/libm-test-ulps: Update.
10648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10649
45d69176
SP
106502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10651
10652 * benchtests/Makefile: Mention files in which fast and slow
10653 paths of math functions are implemented.
10654
87f51853
RM
106552013-04-23 Roland McGrath <roland@hack.frob.com>
10656
10657 * sysdeps/posix/timespec_get.c: New file.
10658
3c026539
AZ
106592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660
10661 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10662 POWER.
10663 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10664 for POWER.
10665 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10666 powerpc/power5/fpu folders.
10667 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10668 * benchtests/Makefile: Add modf testcase.
10669 * benchtests/bench-modf.c: New file: Benchmark test for mo
10670
ff491d14
SP
106712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10672
10673 [BZ #14888]
10674 * time/Makefile (tests): Add tst-strptime-whitespace.
10675 * time/strptime_l.c (get_number): Use ISSPACE.
10676 (__strptime_internal): Likewise.
10677 * time/tst-strptime-whitespace.c: New test case.
10678
7ed3f4e8
AS
106792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10680
10681 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10682 member.
10683 (_nss_files_init): Set it here.
10684
5c95f7b6
HC
106852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10686
10687 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10688 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10689 unsigned.
10690
d34c9158
JBG
106912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10692
10693 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10694
2169712d
SP
106952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10696
10697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10698 size just once.
10699
29c5de99
DM
107002013-04-21 David S. Miller <davem@davemloft.net>
10701
10702 * po/ru.po: Update Russion translation from translation project.
10703
ccdad15d
AC
107042013-04-17 Adam Conrad <adconrad@0c3.net>
10705
10706 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10707 and setfsgid.
10708
0f122b8d
CD
107092013-04-17 Carlos O'Donell <carlos@redhat.com>
10710
5c5b07da 10711 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10712 * configure: Regenerate.
5c5b07da 10713 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10714 Add example to error message.
10715 * sysdeps/i386/configure: Regenerate.
10716
037714dd
SP
107172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10718
10719 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10720 slowtan.
10721 * benchtests/cos-inputs: New file.
10722 * benchtests/slowcos-inputs: New file.
10723 * benchtests/slowcos.c: New file.
10724 * benchtests/slowtan-inputs: New file.
10725 * benchtests/slowtan.c: New file.
10726 * benchtests/tan-inputs: New file.
10727
e913141d
RM
107282013-04-16 Roland McGrath <roland@hack.frob.com>
10729
10730 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10731 considered kosher.
10732
a2964074
SP
107332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10734
4856bcd2
SP
10735 * benchtests/Makefile: Include cppflags-iterator.mk to add
10736 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10737
a2964074
SP
10738 * Makefile.in (bench-clean): New target.
10739 * benchtests/Makefile (bench-clean): Likewise.
10740
9fbf9aca
DH
107412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10742
10743 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10744
207d1e2a
TS
107452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10746
10747 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10748
306dfba9
AS
107492013-04-15 Andreas Schwab <schwab@suse.de>
10750
10751 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10753 * nscd/pwdcache.c (cache_addpw): Likewise.
10754 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10755 more than recsize.
10756
206a6699
SP
107572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10758
10759 * benchtests/Makefile (bench): Write all output to
10760 bench-out.tmp together.
10761
0582f6b3
AS
107622013-04-15 Andreas Schwab <schwab@suse.de>
10763
10764 * nscd/nscd.c (main): Don't fork again after closing files.
10765
acb4325f
SP
107662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10767
5cb26d0a
SP
10768 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10769
acb4325f
SP
10770 * benchtests/Rules (bench-deps): Collect dependencies into a
10771 single variable. Add Makefile to dependencies.
10772 ($(objpfx)bench-%.c): Depend on bench-deps.
10773
47792506
RM
107742013-04-12 Roland McGrath <roland@hack.frob.com>
10775 Xavier Roche <roche+kml2@exalead.com>
10776
10777 [BZ #15361]
10778 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10779 just that it's a file descriptor.
10780 * manual/llio.texi (Synchronizing AIO Operations): Update description
10781 for EBADF error from aio_fsync.
10782
8fc1bee5
SP
107832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10784
10785 * Rules (bench): Move target definition...
10786 * benchtests/Makefile: ... here.
10787
aba5e333
CD
107882013-04-11 Carlos O'Donell <carlos@redhat.com>
10789
10790 * math/libm-test.inc (cos_test): Fix PI/2 test.
10791 (sincos_test): Likewise.
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10793 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10794
273cdee8
AS
107952013-04-11 Andreas Schwab <schwab@suse.de>
10796
6ecec3b6
AS
10797 [BZ #13988]
10798 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10799 accept exponent character only when digits were seen.
10800 * stdio-common/Makefile (tests): Add bug26.
10801 * stdio-common/bug26.c: New file.
10802
273cdee8
AS
10803 [BZ #14293]
10804 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10805 non-freeable.
10806
8da491f5
SP
108072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10808
01dc6df9
SP
10809 * Makeconfig (rtld-prefix): Define built linker prefix.
10810 * Rules (run-bench): Use it.
10811 * math/Makefile (run-regen-ulps): Likewise.
10812
8da491f5
SP
10813 * Rules (bench): Remove eval.
10814
abe7f530
SP
108152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10816 Roland McGrath <roland@hack.frob.com>
10817 Ondrej Bilka <neleai@seznam.cz>
10818
10819 [BZ #15346]
10820 * time/getdate.c: Include ctype.h and alloca.h.
10821 (__getdate_r): Trim leading and trailing spaces of input.
10822 * time/tst-getdate.c (tests): Add tests with leading and
10823 trailing spaces.
10824
61c23e62
RM
108252013-04-08 Roland McGrath <roland@hack.frob.com>
10826
10827 [BZ #14280]
10828 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10829 when computing value.
10830
7208a313
CD
108312013-04-06 Carlos O'Donell <carlos@redhat.com>
10832
085b2d41
CD
10833 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10834 Use testrun.sh to run libm tests.
10835
7208a313
CD
10836 [BZ #15309]
10837 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10838
872c0acd
MM
108392013-04-06 Marko Myllynen <myllynen@redhat.com>
10840
10841 [BZ #15264]
10842 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10843
26510bdd
CD
108442013-04-06 Carlos O'Donell <carlos@redhat.com>
10845
10846 * Makefile.in (regen-ulps): New target.
10847 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10848 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10849 [ifneq (no,$(PERL)] (regen-ulps): New target.
10850 [ifeq (no,$(PERL)] (regen-ulps): New target.
10851 * math/libm-test.inc (ulps_file_name): Define.
10852 (output_dir): New variable.
10853 (options): Add "output-dir" option.
10854 (parse_opt): Handle 'o' case.
10855 (main): If output_dir is non-NULL use it as a prefix
10856 otherwise use "".
10857 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10858
a01f19c8
CD
108592013-04-06 Carlos O'Donell <carlos@redhat.com>
10860
10861 [BZ #10060, #10062]
10862 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10863 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10864 fail configure if __sync_val_compare_and_swap is not inlined.
10865 * sysdeps/i386/configure: Regenerate.
10866 * configure.in: Build for i686 when configured for i386.
10867 * configure: Regenerate.
10868 * README: Remove i386 reference.
10869
b7a329a5
CD
108702013-04-06 Carlos O'Donell <carlos@redhat.com>
10871
10872 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10873 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10874
bf0f50df
TS
108752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10876
ee091edf
TS
10877 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10878 (lmsnanval): New variables.
10879 (F): Add conversion tests.
10880 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10881 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10882
a8b792d6
TS
10883 * stdio-common/tstdiomisc.c (F): Properly collect individual
10884 tests' results.
10885
a1cbf437
TS
10886 [BZ #14686, #15336]
10887 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10889 Instead, use input NaN values or generate a qNaN by arithmetic
10890 operation. Also fix bugs to comply with the standard.
10891 * math/libm-test.inc (remainder_test): Add more tests.
10892
8b43a0c9
TS
10893 [BZ #15335, #15342]
10894 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10896 input NaN values or generate a qNaN by arithmetic operation.
10897
d91da4ce
TS
10898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10899 unreachable code.
10900
bf0f50df
TS
10901 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10902 definitions.
10903
05e166c8
JM
109042013-04-03 Joseph Myers <joseph@codesourcery.com>
10905
10906 [BZ #14478]
10907 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10908 underflowed result.
10909 * math/s_cexpf.c (__cexpf): Likewise.
10910 * math/s_cexpl.c (__cexpl): Likewise.
10911 * math/libm-test.inc (cexp_test): Add more tests.
10912
1cef1b19
AS
109132013-04-03 Andreas Schwab <schwab@suse.de>
10914
10915 [BZ #15330]
10916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10917 order arrays from heap if bigger than alloca cutoff.
10918
74d87055
TS
109192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10920
10921 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10922 (SNAN_TESTS_double): Refer to GCC PR56831.
10923 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10924 GCC PR56828.
10925
d755bba4
SP
109262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10927
90d5d5bb
SP
10928 * Rules (bench): Move bench.out after the run is complete.
10929
73e0cd5d
SP
10930 * Rules (bench): Echo currently running benchmark.
10931
64aabd4b
SP
10932 * benchtests/Makefile (bench): Add atan and slowatan.
10933 * benchtests/atan-inputs: New file.
10934 * benchtests/slowatan-inputs: New file.
10935 * benchtests/slowatan.c: New file.
10936
c871eccd
SP
10937 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10939 its value.
10940
d755bba4
SP
10941 [BZ #15305]
10942 * sysdeps/unix/sysv/linux/kernel-features.h
10943 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10944 __ASSUME_XFS_RESTRICTED_CHOWN.
10945 * sysdeps/unix/sysv/linux/pathconf.c
10946 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10947 Save and restore errno.
10948
52ce4860
JM
109492013-04-02 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #15327]
10952 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10953 arguments using __kernel_casinh.
10954 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10955 arguments using __kernel_casinhf.
10956 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10957 arguments using __kernel_casinhl.
10958 * math/libm-test.inc (cacosh_test): Add more tests.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10961
81f311c2
SP
109622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
e7906a47
SP
10964 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10966
92e3664b
SP
10967 * bench/Makefile (bench): Add sin and slowsin.
10968 * benchtests/sin-inputs: New file.
10969 * benchtests/slowsin-inputs: New file.
10970 * benchtests/slowsin.c: New file.
10971
81f311c2
SP
10972 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10973 (bench): Add slowexp and slowpow.
10974 (exp-ITER): Increase iterations.
10975 (pow-ITER): Likewise.
10976 * benchtests/exp-inputs: Change input.
10977 * benchtests/pow-inputs: Likewise.
10978 * benchtests/slowexp-inputs: New file.
10979 * benchtests/slowexp.c: New file.
10980 * benchtests/slowpow-inputs: New file.
10981 * benchtests/slowpow.c: New file.
10982
ab0f1aa9
AZ
109832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10984
10985 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10986 instructions.
10987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10988 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10989 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10990 * benchtests/Makefile: Add rint benchtest.
10991 * benchtests/rint-inputs: Input for rint benchtest.
10992
57267616
TS
109932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10994
10995 * Versions.def (libm): Add GLIBC_2.18.
10996 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10997 hidden libm prototypes.
10998 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10999 * math/Makefile (libm-calls): Add s_issignaling.
11000 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11001 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11002 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11003 declaration.
11004 * math/math.h [__USE_GNU] (issignaling): New macro.
11005 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11006 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11008 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11011 * manual/arith.texi (issignaling): New section.
11012 * manual/libm-err-tab.pl (@all_functions): Update comment.
11013 * math/gen-libm-test.pl (parse_args): Apply special handling for
11014 issignaling.
11015 * math/libm-test.inc (print_float, issignaling_test): New
11016 functions.
11017 (check_float_internal): Add issignaling checks.
11018 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11019 default definition.
11020 * sysdeps/powerpc/math-tests.h: New file.
11021 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11022 tests.
11023 * math/test-snan.c (TEST_FUNC): Likewise.
11024
6142896d
DM
110252013-03-30 David S. Miller <davem@davemloft.net>
11026
11027 * po/de.po: Update from translation team.
11028
ccc8cadf
JM
110292013-03-30 Joseph Myers <joseph@codesourcery.com>
11030
11031 [BZ #10357]
11032 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11033 imaginary part less than 1.0 and real part less than 0.5
11034 specially.
11035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11037 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11038 (cacos_test): Add more tests.
11039 (casin_test): Likewise.
11040 (casinh_test): Likewise.
11041 * sysdeps/i386/fpu/libm-test-ulps: Update.
11042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043
0f6a8d4b
SP
110442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
0d1029de
SP
11046 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11047 ONE with its value.
11048
c2d94018
SP
11049 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11050 (__pow_mp): Replace ONE and MONE with their values.
11051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11054 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11057
27ec37f1
SP
11058 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11059
a64d7e0e
SP
11060 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11061 (__pow_mp): Replace ZERO and MZERO with their values.
11062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11063 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11067 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11068 (__sqr): Likewise.
11069
d26dd3eb
SP
11070 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11071
0f6a8d4b
SP
11072 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11073
e57b0c61
RM
110742013-03-28 Roland McGrath <roland@hack.frob.com>
11075
11076 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11077 Declare with __attribute__ ((weak)).
11078 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11079 Call __call_tls_dtors only if it's not NULL.
11080
356b3480
RM
110812013-03-28 Roland McGrath <roland@hack.frob.com>
11082
288f7d79
RM
11083 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11084 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11085 magic __ehdr_start linker symbol if it's defined.
11086 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11087 them up here if it was already done.
11088
dc0a0263
RM
11089 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11090 (_dl_aux_init): Use const in cast when setting it.
11091 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11092 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11093 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11094
3d3436ae
RM
11095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11096 Declare them here.
11097 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11098 * csu/libc-tls.c: Nor here.
11099 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11100
356b3480
RM
11101 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11102 (__libc_message): Never call vsyslog.
11103
b0f1246a
AM
111042013-03-28 Alan Modra <amodra@gmail.com>
11105
11106 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11107 Define as empty.
11108 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11109 Likewise.
11110
fbbe2b9a
AZ
111112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11112
11113 [BZ #15214]
11114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11115 underflow.
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11117
1728ab37
SP
111182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11119
7a86be6e
SP
11120 [BZ #15304]
11121 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11122 Don't add gid passed as argument.
11123
1728ab37
SP
11124 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11125
3a7182a1
JM
111262013-03-27 Joseph Myers <joseph@codesourcery.com>
11127
11128 [BZ #15307]
11129 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11130 imaginary part between 1.0 and 1.5 and real part less than 0.5
11131 specially.
11132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11134 * math/libm-test.inc (cacos_test): Add more tests.
11135 (casin_test): Likewise.
11136 (casinh_test): Likewise.
11137 * sysdeps/i386/fpu/libm-test-ulps: Update.
11138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139
6f2e90e7
SP
111402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11141
5739f705
SP
11142 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11143 constants.
11144 (norm): Likewise.
11145 (denorm): Likewise.
11146 (__dbl_mp): Likewise.
11147 (add_magnitudes): Likewise.
11148 (sub_magnitudes): Likewise.
11149 (__add): Likewise.
11150 (__sub): Likewise.
11151 (__mul): Likewise.
11152 (__sqr): Likewise.
11153 (__inv): Likewise.
11154 (__dvd): Likewise.
11155
e375e83d
SP
11156 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11157 commented code.
11158 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11159 (__dubcos): Likewise.
11160 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11161 (__ieee754_acos): Likewise.
11162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11164 (__exp1): Likewise.
11165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11167 (log1): Likewise.
11168 (my_log2): Likewise.
11169 (checkint): Likewise.
11170 * sysdeps/ieee754/dbl-64/e_remainder.c
11171 (__ieee754_remainder): Likewise.
11172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11174 (bsloww): Likewise.
11175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11176
6f2e90e7
SP
11177 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11179 MANTISSA_STORE_T to store computations on mantissa. Use
11180 macros for rounding and division.
11181 (denorm): Likewise.
11182 (__dbl_mp): Likewise.
11183 (add_magnitudes): Likewise.
11184 (sub_magnitudes): Likewise.
11185 (__mul): Likewise.
11186 (__sqr): Likewise.
11187 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11188 powers of two in terms of TWOPOW macro.
11189 (mp_no): Make type of mantissa as MANTISSA_T.
11190 [!RADIXI]: Define RADIXI.
11191 [!TWO52]: Define TWO52.
11192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11193
fce14d4e
AZ
111942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11195
11196 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11197 llroundl symbol when building for PPC32.
11198
9ad027fb
MW
111992013-03-24 Mark H Weaver <mhw@netris.org>
11200
11201 * manual/arith.texi (Normalization Functions): Fix prototypes for
11202 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11203
e42a38dd
AZ
112042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11205
11206 [BZ #13889]
11207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11208 high value to check if expl overflow.
11209 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11210 to check for underflow and overflow.
11211 * math/libm-test.inc: Add exp test.
11212
2e0fb521
DL
112132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11214
11215 [BZ #11120]
11216 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11217 with NOT_IN_libc.
11218
b5784d95
AZ
112192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11220
11221 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11222 symbol.
11223
5aa4a1a1
TS
112242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11225
bdef0be7
TS
11226 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11227 wrap blocks consisting of several statements.
11228
5aa4a1a1
TS
11229 * sysdeps/generic/math-tests.h: New file.
11230 * sysdeps/i386/fpu/math-tests.h: Likewise.
11231 * math/test-snan.c: Include it.
11232 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11233
98c48fe5
JM
112342013-03-21 Joseph Myers <joseph@codesourcery.com>
11235
11236 [BZ #15285]
11237 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11238 (__ieee754_j0l): Do not improve calculations using cos of twice
11239 input for inputs above LDBL_MAX / 2.0L.
11240 (__ieee754_y0l): Likewise.
11241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11242 (__ieee754_j1l): Do not improve calculations using cos of twice
11243 input for inputs above LDBL_MAX / 2.0L.
11244 (__ieee754_y1l): Likewise.
11245 * math/libm-test.inc (j0_test): Add another test.
11246 (j1_test): Likewise.
11247 (y0_test): Likewise.
11248 (y1_test): Likewise.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250
3775a8bc
SP
112512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11252
11253 * Rules ($(objpfx)bench-%.c): Include code from a C source
11254 file.
11255
0a1b2ae6
JM
112562013-03-21 Joseph Myers <joseph@codesourcery.com>
11257
11258 [BZ #15287]
11259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11260 imaginary part 1.0 and real part less than 0.5 specially.
11261 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11262 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11263 * math/libm-test.inc (cacos_test): Add more tests.
11264 (casin_test): Likewise.
11265 (casinh_test): Likewise.
11266 * sysdeps/i386/fpu/libm-test-ulps: Update.
11267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11268
b33d4ce4
SP
112692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
11271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11272 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11273
bef0b507
JM
112742013-03-20 Joseph Myers <joseph@codesourcery.com>
11275
11276 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11277 * config.make.in (config-cflags-sse4): Remove variable.
11278 (config-cflags-avx): Likewise.
11279 (config-cflags-sse2avx): Likewise.
11280 (config-cflags-novzeroupper): Likewise.
11281 (config-asflags-i686): Likewise.
11282 (have-mfma4): Likewise.
11283 (have-as-vis3): Likewise.
11284 (MIG): Likewise.
11285 * configure.in (MIG): Do not AC_SUBST.
11286 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11287 (libc_cv_cc_sse4): Do not AC_SUBST.
11288 (libc_cv_cc_avx): Likewise.
11289 (libc_cv_cc_sse2avx): Likewise.
11290 (libc_cv_cc_novzeroupper): Likewise.
11291 (libc_cv_cc_fma4): Likewise.
11292 (libc_cv_as_i686): Likewise.
11293 (libc_cv_sparc_as_vis3): Likewise.
11294 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11295 LIBC_CONFIG_VAR.
11296 (config-asflags-i686): Likewise.
11297 (config-cflags-avx): Likewise.
11298 (config-cflags-sse2avx): Likewise.
11299 (have-mfma4): Likewise.
11300 (config-cflags-novzeroupper): Likewise.
11301 * sysdeps/mach/configure.in (MIG): Likewise.
11302 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11303 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11304 LIBC_CONFIG_VAR.
11305 (config-cflags-avx): Likewise.
11306 (config-cflags-sse2avx): Likewise.
11307 (have-mfma4): Likewise.
11308 (config-cflags-novzeroupper): Likewise.
11309 * configure: Regenerated.
11310 * sysdeps/i386/configure: Likewise.
11311 * sysdeps/mach/configure: Likewise.
11312 * sysdeps/sparc/configure: Likewise.
11313 * sysdeps/x86_64/configure: Likewise.
11314
912cc4b3
RM
113152013-03-20 Roland McGrath <roland@hack.frob.com>
11316
11317 [BZ #14812]
11318 * locale/programs/localedef.c (options): Put N_ translation marker
11319 on argument names, not just descriptions.
11320
04eed2b0
MS
113212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11322
11323 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11324
a065ceff
OB
113252013-03-20 Ondřej Bílka <neleai@seznam.cz>
11326
9bb2a810 11327 [BZ #14176]
a065ceff
OB
11328 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11329
a600e5ce
RM
113302013-03-19 Roland McGrath <roland@hack.frob.com>
11331
11332 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11333 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11334 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11335 [!BEFORE_ABORT] (before_abort): New function.
11336 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11337 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11338 (writev_for_fatal): New function.
11339 (WRITEV_FOR_FATAL): New macro; call that.
11340 (backtrace_and_maps): New function.
11341 (BEFORE_ABORT): New macro; call that.
11342 (struct str_list): Type removed.
11343 (__libc_message, __libc_fatal): Functions removed.
11344 Include <sysdeps/posix/libc_fatal.c> instead.
11345
6b18bea6
JM
113462013-03-19 Joseph Myers <joseph@codesourcery.com>
11347
11348 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11349 constants.
11350 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11351 double constants.
11352
aaa8cb4b
AS
113532013-03-19 Andreas Schwab <schwab@suse.de>
11354
44673770
AS
11355 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11356 * sysdeps/gnu/configure: Regenerate.
11357
aaa8cb4b
AS
11358 * configure.in: Substitute libc_cv_rtlddir.
11359 * configure: Regenerate.
11360 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11361 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11362 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11363 * elf/Makefile (install-others, CFLAGS-interp.c)
11364 (ldso_install, common-ldd-rewrite): Likewise.
11365 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11366 $(inst_slibdir)/$(rtld-installed-name).
11367 * scripts/rellns-sh: Add -p option.
11368 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11369 for source.
11370
d3cfc668
SP
113712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11372
11373 * manual/nptl.texi: Renamed to ...
11374 * manual/threads.texi: ... this.
11375 * manual/Makefile (chapters): Update.
11376
0e2b9cdd
RM
113772013-03-18 Roland McGrath <roland@hack.frob.com>
11378
11379 [BZ #14812]
11380 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11381 on argument names, not just descriptions.
0e2b9cdd
RM
11382 * malloc/memusagestat.c (options): Likewise.
11383 * nss/getent.c (options): Likewise.
63270c24
RM
11384
113852013-03-18 Benno Schulenberg <bensberg@justemail.net>
11386
11387 [BZ #14812]
11388 * iconv/iconv_prog.c (options): Put N_ translation marker
11389 on argument names, not just descriptions.
11390 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11391
b2e1393c
OB
113922013-03-18 Ondrej Bilka <neleai@seznam.cz>
11393
11394 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11395 implementation which is faster on all x86_64 architectures.
11396 Tested on AMD, Intel Nehalem, SNB, IVB.
11397 * sysdeps/x86_64/strnlen.S: Likewise.
11398
11399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11400 Remove all multiarch strlen and strnlen versions.
11401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11402 Remove strlen and strnlen related parts.
11403
11404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11405 Inline strlen part.
11406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11407
11408 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11409 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11411 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11412 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11413 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11414
ec4ff04d
CD
114152013-03-17 Carlos O'Donell <carlos@redhat.com>
11416
11417 * manual/memory.texi (Malloc Tunable Parameters):
11418 Sort parameters alphabetically. Add comments for missing entries.
11419
cd18e90a
DM
114202013-03-17 David S. Miller <davem@davemloft.net>
11421
11422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11423
2a185d32
JM
114242013-03-16 Joseph Myers <joseph@codesourcery.com>
11425
d2f9799e
JM
11426 [BZ #15283]
11427 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11428 for arguments at most half maximum finite value.
11429 * math/libm-test.inc (j0_test): Add more tests.
11430 (j1_test): Likewise.
11431 (y0_test): Likewise.
11432 (y1_test): Likewise.
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435
2a185d32
JM
11436 [BZ #14155]
11437 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11438 1 / x and functions P and Q for arguments above 0x1p256L.
11439 (__ieee754_y0l): Likewise.
11440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11441 (__ieee754_y1l): Likewise.
11442 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11443 (j1_test): Likewise.
11444 (y0_test): Likewise.
11445 (y1_test): Likewise.
11446
6cbec759
TS
114472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11448
11449 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11450 variable.
11451
bc16e260
RM
114522013-03-15 Roland McGrath <roland@hack.frob.com>
11453
aefc9b8c
RM
11454 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11455 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11456 zero since it's initialized to EXEC_PAGESIZE.
11457
bc16e260
RM
11458 * sysdeps/unix/sysv/linux/ldsodefs.h
11459 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11460 * sysdeps/generic/ldsodefs.h: ... here.
11461
a57da955
TS
114622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11463
af00a34d
TS
11464 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11465
495ded2c
TS
11466 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11467 math/test-snan.c.
11468 * math/test-snan.c: Renamed from
11469 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11470 * math/Makefile (tests): Add test-snan.
11471 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11472 test-powerpc-snan.
11473
777b0332
TS
11474 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11475 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11476 functions.
11477 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11478 __builtin_nan family of functions.
11479 * math/libm-test.inc (initialize): Initialize qnan_value with
11480 __builtin_nan family of functions.
11481 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11482 Remove variables.
11483 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11484 Remove functions.
11485 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11486 storage class. Initialize qNaN_var and sNaN_var with
11487 __builtin_nan and __builtin_nans families of functions,
11488 respectively.
11489
64d063b8
TS
11490 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11491 (sqrt_test): Remove duplicate test with qNaN input.
11492 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11493 (round_test, signbit_test, significand_test): Note missing +/-Inf
11494 as well as qNaN tests.
11495
67e971f1
TS
11496 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11497 qNaN_var. Fix a few strings, too.
11498 * math/libm-test.inc (nan_value): Rename to qnan_value.
11499 * math/gen-libm-test.pl (%beautify): Adjust to that.
11500 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11501 * math/test-misc.c (main): Likewise.
11502 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11503 to __qnan_bytes, and __qnan_union, respectively.
11504 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11505 Likewise.
11506 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11507 and lqnanval, respectively.
11508 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11509 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11511 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11512
64487e12
TS
11513 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11514 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11515 doubles.
11516
e015e27b
TS
11517 * math/test-misc.c (main): Fix copy'n'pastos.
11518 * misc/tst-efgcvt.c (special): Likewise.
11519
a57da955
TS
11520 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11521 Remove declarations.
11522
1e380345
SP
115232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11524
11525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11526 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11527 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11529
ef26eece
AZ
115302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531
11532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11533 macro to return vdso values correctly in IFUNC implementations.
11534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11535 Optimization by using IFUNC.
11536
8cfdb7e0
SP
115372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11538 Richard Henderson <rth@redhat.com>
11539 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11540
11541 * Makefile.in (bench): New target.
11542 * NEWS: Mention the benchmark framework.
11543 * Rules (bench): Likewise.
11544 (binaries-bench): Generate binaries for functions to
11545 benchmark.
11546 * benchtests/Makefile: New makefile for benchmark tests.
11547 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11548 programs.
11549 * benchtests/exp-inputs: New input file for EXP function.
11550 * benchtests/pow-inputs: New input file for POW function.
11551 * scripts/bench.pl: New script to generate source files for
11552 benchmark programs.
11553
bcda9880
SP
115542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11555
d22ca8cd
SP
11556 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11557 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11558 computations on mantissa. Use macros for rounding and
11559 division.
11560 (denorm): Likewise.
11561 (__dbl_mp): Likewise.
11562 (add_magnitudes): Likewise.
11563 (sub_magnitudes): Likewise.
11564 (__mul): Likewise.
11565 (__sqr): Likewise.
11566 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11567 powers of two in terms of TWOPOW macro.
11568 (mp_no): Make type of mantissa as MANTISSA_T.
11569 [!RADIXI]: Define RADIXI.
11570 [!TWO52]: Define TWO52.
11571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11572
bcda9880
SP
11573 * manual/nptl.texi (cindex): Modify threads to pthreads.
11574
06d5adfb
JM
115752013-03-15 Joseph Myers <joseph@codesourcery.com>
11576
11577 * sysdeps/x86_64/preconfigure: Regenerated.
11578
41c7328e
JM
115792013-03-14 Joseph Myers <joseph@codesourcery.com>
11580
11581 [BZ #14155]
11582 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11583 0x1p28 and above.
11584 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11585 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11586 0x1p28 and above.
11587 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11588 * math/libm-test.inc (j0_test): Do not allow one spurious
11589 underflow exception.
11590 (y1_test): Likewise.
11591
e25cfa60
SP
115922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11593
0409959c
SP
11594 * manual/Makefile (chapters): Add nptl.
11595 * manual/debug.texi (Debugging Support): Add link to Threads
11596 chapter.
11597 * manual/nptl.texi: New file.
11598
e25cfa60
SP
11599 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11600
58a1335e
PB
116012013-03-14 Petr Baudis <pasky@ucw.cz>
11602
11603 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11604 for non-NULL pointer before the memory validity test. Pointed
11605 out by Holger Brunck <holger.brunck@keymile.com>.
11606
9dc7c64f
AS
116072013-03-13 Andreas Schwab <schwab@suse.de>
11608
11609 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11610 instead of .os.
11611
54206aa6
JM
116122013-03-13 Joseph Myers <joseph@codesourcery.com>
11613
11614 * timezone/zic.c: Update from tzcode 2013b.
11615
e98cdb38
CD
116162013-03-12 Carlos O'Donell <carlos@redhat.com>
11617
11618 * manual/install.texi (Configuring and compiling):
11619 Mention i686 and i586.
11620 * INSTALL: Regenerate.
11621
9967e003
RM
116222013-03-12 Roland McGrath <roland@hack.frob.com>
11623
11624 * sysdeps/init_array/elf-init.c: New file.
11625 * csu/elf-init.c
11626 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11627 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11628
11629 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11630 __gmon_start__ as global, but as static with a .preinit_array pointer.
11631 * sysdeps/init_array/gmon-start.c: New file. Use that.
11632 * sysdeps/init_array/crti.S: New file, empty except for comments.
11633 * sysdeps/init_array/crtn.S: Likewise.
11634
e6b5a293 116352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11636
11637 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11638 definining bcopy.
80f844c9
OB
11639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11640 Remove Prefer_SSE_for_memop.
11641 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11642 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11643 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11645 memset-x86-64.
80f844c9 11646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11647 Remove bzero, memset ifunc support.
80f844c9
OB
11648 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11649 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11650 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11651 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11652
fb6b0fcb
AS
116532013-03-11 Andreas Schwab <schwab@suse.de>
11654
11655 [BZ #15234]
11656 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11657 by SHLIB_COMPAT.
11658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11659 (GLIBC_2.16): Remove pthread_atfork.
11660
3e6bd4b1
PP
116612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11662
11663 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11664 (ptestcases.h): Likewise.
11665
222d7f00
RM
116662013-03-08 Roland McGrath <roland@hack.frob.com>
11667
11668 * Makeconfig ($(common-objpfx)config.status): Depend on
11669 sysdeps/*/preconfigure{,.in} too.
11670
1ba4f030
JM
116712013-03-08 Joseph Myers <joseph@codesourcery.com>
11672
a222d91a
JM
11673 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11674 (__free_hook): Use void * instead of __malloc_ptr_t.
11675 (__malloc_hook): Likewise.
11676 (__realloc_hook): Likewise.
11677 (__memalign_hook): Likewise.
11678 (__after_morecore_hook): Likewise.
11679 * malloc/arena.c (save_malloc_hook): Likewise.
11680 (save_free_hook): Likewise.
11681 * malloc/hooks.c (malloc_hook_ini): Likewise.
11682 (realloc_hook_ini): Likewise.
11683 (memalign_hook_ini): Likewise.
11684 * malloc/malloc.c (malloc_hook_ini): Likewise.
11685 (realloc_hook_ini): Likewise.
11686 (memalign_hook_ini): Likewise.
11687 (__free_hook): Likewise.
11688 (__malloc_hook): Likewise.
11689 (__realloc_hook): Likewise.
11690 (__memalign_hook): Likewise.
11691 (__libc_malloc): Likewise.
11692 (__libc_free): Likewise.
11693 (__libc_realloc): Likewise.
11694 (__libc_memalign): Likewise.
11695 (__libc_valloc): Likewise.
11696 (__libc_pvalloc): Likewise.
11697 (__libc_calloc): Likewise.
11698 (__posix_memalign): Likewise.
11699 * malloc/morecore.c (__sbrk): Likewise.
11700 (__default_morecore): Likewise.
11701
5cc45e10
JM
11702 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11703
dd54b864
JM
11704 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11705 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11706 __malloc_ptrdiff_t.
11707
1ba4f030
JM
11708 * malloc/malloc.h (__malloc_size_t): Remove macro.
11709 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11710 __malloc_size_t.
11711 (old_memalign_hook): Likewise.
11712 (old_realloc_hook): Likewise.
11713 (struct hdr): Likewise.
11714 (flood): Likewise.
11715 (mallochook): Likewise.
11716 (memalignhook): Likewise.
11717 (reallochook): Likewise.
11718 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11719 (tr_old_realloc_hook): Likewise.
11720 (tr_old_memalign_hook): Likewise.
11721 (tr_mallochook): Likewise.
11722 (tr_reallochook): Likewise.
11723 (tr_memalignhook): Likewise.
11724
edf66e57
AZ
117252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11726
11727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11728 default_ldbl_pack and using as default implementation.
11729 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11730 implementation.
11731 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11732 redundant definition.
11733 (ldbl_insert_mantissa): Likewise.
11734 (ldbl_canonicalize): Likewise.
11735 (ldbl_nearbyint): Likewise.
11736 (ldbl_pack): Rename to ldbl_pack_ppc.
11737 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11738 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11739 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11740
6d9145d8
SP
117412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11742
11743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11744 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11746 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11749 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11750 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11751
4dd4e157
AJ
117522013-03-07 Andreas Jaeger <aj@suse.de>
11753
11754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11755 bits/mman-linux.h.
11756
adbb8027
SP
117572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11758
ce544b5b
SP
11759 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11760 Include mpa.h and declare __MPEXP.
11761 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11763 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11768
4cc149fd
SP
11769 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11770 (__slowpow): Use long double EXPL and LOGL functions to
11771 compute POW.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11773 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11778
e6ebd4a7
SP
11779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11780 intermediate variable to calculate exponent.
11781 (__sqr): Likewise.
11782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11783 Likewise.
11784 (__sqr): Likewise.
11785
82a9811d
SP
11786 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11787 [!NO__SQR]: Define __sqr.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11789 and NO__SQR. Remove all code except __mul and __sqr. Include
11790 sysdeps/ieee754/dbl-64/mpa.c.
11791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11792
adbb8027
SP
11793 [BZ #12723]
11794 * posix/Makefile (tests): Add tst-pathconf.
11795 * posix/tst-pathconf.c: New test case.
11796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11797 _PC_PIPE_BUF.
11798 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11799
39120df9
PF
118002013-03-06 Patsy Franklin <pfrankli@redhat.com>
11801
11802 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11803
67525cb8
AJ
118042013-03-06 Andreas Jaeger <aj@suse.de>
11805
664a9ce4
AJ
11806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11807 definition via __MAP_ANONYMOUS.
11808
8e39047d
AJ
11809 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11810 it's not part of Linux headers.
11811
67525cb8
AJ
11812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11813 (MAP_HUGE_MASK): Define.
11814
11815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11816 Define.
11817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11819 Define.
11820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11821 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11822 Define.
11823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11825 Define.
11826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11827
11828 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11829 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11830 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11831 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11832 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11834
11835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11836 Handle f2fs.
11837
11838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11839 Handle f2fs and efivarfs.
11840
11841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11842 f2fs.
11843
11844 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11845 (EFIVARFS_MAGIC): Add.
11846 (F2FS_LINK_MAX): Add.
11847
e1b42695
PP
118482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11849
11850 * stdio-common/vfprintf.c: Replace __builtin_expect with
11851 __glibc_unlikely.
11852
2d67d91a
JM
118532013-03-06 Joseph Myers <joseph@codesourcery.com>
11854
11855 [BZ #13550]
11856 * sysdeps/generic/bp-sym.h: Remove file.
11857 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11858 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11859 <bp-sym.h> and <bp-asm.h>.
11860 (__longjmp): Don't use BP_SYM.
11861 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11862 and <bp-asm.h>.
11863 (memcpy): Don't use BP_SYM.
11864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11865 <bp-sym.h> and <bp-asm.h>.
11866 (memcpy): Don't use BP_SYM.
11867 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11868 <bp-asm.h>.
11869 (memcpy): Don't use BP_SYM.
11870 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11871 <bp-asm.h>.
11872 (memset): Don't use BP_SYM.
11873 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11874 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11875 (__bzero): Don't use BP_SYM.
11876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (memcmp): Don't use BP_SYM. Remove comment about bounded
11881 pointers.
11882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11883 <bp-sym.h> and <bp-asm.h>.
11884 (memcpy): Don't use BP_SYM.
11885 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11886 <bp-sym.h> and <bp-asm.h>.
11887 (memset): Don't use BP_SYM.
11888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11890 (__bzero): Don't use BP_SYM.
11891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (strncmp): Don't use BP_SYM. Remove comment about bounded
11896 pointers.
11897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11898 <bp-sym.h> and <bp-asm.h>.
11899 (memcpy): Don't use BP_SYM.
11900 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11901 <bp-sym.h> and <bp-asm.h>.
11902 (memset): Don't use BP_SYM.
11903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11905 (__bzero): Don't use BP_SYM.
11906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11909 <bp-sym.h> and <bp-asm.h>.
11910 (__memchr): Don't use BP_SYM.
11911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (memcmp): Don't use BP_SYM. Remove comment about bounded
11914 pointers.
11915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11916 <bp-sym.h> and <bp-asm.h>.
11917 (memcpy): Don't use BP_SYM.
11918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11919 <bp-sym.h> and <bp-asm.h>.
11920 (__mempcpy): Don't use BP_SYM.
11921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11922 <bp-sym.h> and <bp-asm.h>.
11923 (__memrchr): Don't use BP_SYM.
11924 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11925 <bp-sym.h> and <bp-asm.h>.
11926 (memset): Don't use BP_SYM.
11927 (__bzero): Likewise.
11928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11929 <bp-sym.h> and <bp-asm.h>.
11930 (__rawmemchr): Don't use BP_SYM.
11931 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11932 <bp-sym.h> and <bp-asm.h>.
11933 (__STRCMP): Don't use BP_SYM.
11934 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11935 <bp-sym.h> and <bp-asm.h>.
11936 (strchr): Don't use BP_SYM.
11937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11938 <bp-sym.h> and <bp-asm.h>.
11939 (__strchrnul): Don't use BP_SYM.
11940 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11941 <bp-sym.h> and <bp-asm.h>.
11942 (strlen): Don't use BP_SYM.
11943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11944 <bp-sym.h> and <bp-asm.h>.
11945 (strncmp): Don't use BP_SYM. Remove comment about bounded
11946 pointers.
11947 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11948 <bp-sym.h> and <bp-asm.h>.
11949 (__strnlen): Don't use BP_SYM.
11950 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11951 <bp-sym.h> and <bp-asm.h>.
11952 (__GI__setjmp): Don't use BP_SYM.
11953 (_setjmp): Likewise.
11954 (__sigsetjmp): Likewise.
11955 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11956 (L(start_addresses)): Don't use BP_SYM.
11957 (_start): Likewise.
11958 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11959 <bp-asm.h>.
11960 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11961 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11964 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11965 <bp-asm.h>.
11966 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11967 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11968 about bounded pointers.
11969 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11970 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11971 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11972 <bp-asm.h>.
11973 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11974 about bounded pointers. Remove GKM FIXME comments.
11975 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11976 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11977 <bp-asm.h>.
11978 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11979 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11980 Remove GKM FIXME comments.
11981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11983 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11984 <bp-asm.h>.
11985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11986 about bounded pointers. Remove GKM FIXME comment.
11987 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11988 and <bp-asm.h>.
11989 (strncmp): Don't use BP_SYM. Remove comment about bounded
11990 pointers.
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11992 <bp-sym.h> and <bp-asm.h>.
11993 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11995 <bp-sym.h> and <bp-asm.h>.
11996 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11997 comment.
11998
cdcf361f
PP
119992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12000
12001 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12002 call free(NULL).
12003
3c4a2b15
DM
120042013-03-05 David S. Miller <davem@davemloft.net>
12005
12006 * po/es.po: Update from translation team.
12007
cdcf361f 120082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12009
12010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12011 <bits/mman-linux.h>.
12012 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12013 is fine.
12014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12015 <bits/mman-linux.h> to end of file.
12016 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12017 is fine.
12018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12019 <bits/mman-linux.h> to end of file.
12020 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12021 is fine.
12022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12023 <bits/mman-linux.h> to end of file.
12024
12025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12026 (MCL_CURRENT, MCL_FUTURE): Define here.
12027
5f67c04f
AK
120282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12029
8a4473cc 12030 [BZ #15232]
5f67c04f
AK
12031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12032 attribute_hidden.
12033 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12034
c3e94a95
AK
120352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12036
12037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12038 fourth parameter needed for rt_sigprocmask syscall.
12039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12042 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12045
cfb6382a
JM
120462013-03-04 Joseph Myers <joseph@codesourcery.com>
12047
12048 [BZ #13550]
12049 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12050 comment about bounded pointers.
12051 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12052 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12053
539d8e01
AJ
120542013-03-04 Andreas Jaeger <aj@suse.de>
12055
12056 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12057 common definitions.
12058
12059 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12060 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12065
2e167a70 120662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12067
12068 [BZ #15055]
12069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12070 __ieee754_sqrl instead of __sqrl.
12071
68508633
JM
120722013-03-01 Joseph Myers <joseph@codesourcery.com>
12073
12074 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12075 * sysdeps/powerpc/fpu_control.h: ... here.
12076 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12077 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12078 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12079 * sysdeps/powerpc/bits/mathinline.h: ... here.
12080
7775448e
RM
120812013-03-01 Roland McGrath <roland@hack.frob.com>
12082
12083 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12084 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12085 to just [NEED_DL_SYSINFO_DSO].
12086 * elf/dl-support.c: Likewise.
12087 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12088 * elf/rtld.c (dl_main): Likewise.
12089 * elf/setup-vdso.h (setup_vdso): Likewise.
12090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12091 * sysdeps/unix/sysv/linux/dl-sysdep.c
12092 (_dl_discover_osversion): Likewise.
12093
4e9b5995
CD
120942013-03-01 Carlos O'Donell <carlos@redhat.com>
12095
12096 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12097 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12098
e23872c8
SP
120992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12100
e5c74c63
SP
12101 * NEWS: Mention libm performance improvements and non-x86 PI
12102 futex support.
12103
e23872c8
SP
12104 * csu/libc-start.c (__pthread_initialize_minimal): Change
12105 function arguments.
12106 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12107
b5510883
JM
121082013-02-28 Joseph Myers <joseph@codesourcery.com>
12109
12110 [BZ #13550]
12111 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12112 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12113 <bp-sym.h> and <bp-asm.h>.
12114 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12116 and <bp-asm.h>.
12117 (memcpy): Don't use BP_SYM.
12118 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12119 <bp-asm.h>.
12120 (__mpn_add_n): Don't use BP_SYM.
12121 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12122 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12123 and <bp-asm.h>.
12124 (__mpn_addmul_1): Don't use BP_SYM.
12125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12126 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12127 <bp-sym.h>.
12128 (_setjmp): Don't use BP_SYM.
12129 (__novmx_setjmp): Likewise.
12130 (__GI__setjmp): Likewise.
12131 (__vmx_setjmp): Likewise.
12132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12133 <bp-sym.h>.
12134 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12135 (__bzero): Don't use BP_SYM.
12136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12139 <bp-sym.h> and <bp-asm.h>.
12140 (memcpy): Don't use BP_SYM.
12141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12142 <bp-sym.h> and <bp-asm.h>.
12143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12145 <bp-sym.h> and <bp-asm.h>.
12146 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12147 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12148 <bp-asm.h>.
12149 (__mpn_lshift): Don't use BP_SYM.
12150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12151 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12152 <bp-asm.h>.
12153 (memset): Don't use BP_SYM.
12154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12156 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12157 <bp-asm.h>.
12158 (__mpn_mul_1): Don't use BP_SYM.
12159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12161 <bp-sym.h> and <bp-asm.h>.
12162 (memcmp): Don't use BP_SYM.
12163 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12164 <bp-sym.h> and <bp-asm.h>.
12165 (memcpy): Don't use BP_SYM.
12166 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12167 <bp-sym.h> and <bp-asm.h>.
12168 (memset): Don't use BP_SYM.
12169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12170 <bp-sym.h> and <bp-asm.h>.
12171 (strncmp): Don't use BP_SYM.
12172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12173 <bp-sym.h> and <bp-asm.h>.
12174 (memcpy): Don't use BP_SYM.
12175 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12176 <bp-sym.h> and <bp-asm.h>.
12177 (memset): Don't use BP_SYM.
12178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12179 <bp-sym.h> and <bp-asm.h>.
12180 (__memchr): Don't use BP_SYM.
12181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12182 <bp-sym.h> and <bp-asm.h>.
12183 (memcmp): Don't use BP_SYM.
12184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12185 <bp-sym.h> and <bp-asm.h>.
12186 (memcpy): Don't use BP_SYM.
12187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12188 <bp-sym.h> and <bp-asm.h>.
12189 (__mempcpy): Don't use BP_SYM.
12190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12191 <bp-sym.h> and <bp-asm.h>.
12192 (__memrchr): Don't use BP_SYM.
12193 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12194 <bp-sym.h> and <bp-asm.h>.
12195 (memset): Don't use BP_SYM.
12196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12197 <bp-sym.h> and <bp-asm.h>.
12198 (__rawmemchr): Don't use BP_SYM.
12199 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12200 <bp-sym.h> and <bp-asm.h>.
12201 (__STRCMP): Don't use BP_SYM.
12202 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12203 <bp-sym.h> and <bp-asm.h>.
12204 (strchr): Don't use BP_SYM.
12205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12206 <bp-sym.h> and <bp-asm.h>.
12207 (__strchrnul): Don't use BP_SYM.
12208 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12209 <bp-sym.h> and <bp-asm.h>.
12210 (strlen): Don't use BP_SYM.
12211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12212 <bp-sym.h> and <bp-asm.h>.
12213 (strncmp): Don't use BP_SYM.
12214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12215 <bp-sym.h> and <bp-asm.h>.
12216 (__strnlen): Don't use BP_SYM.
12217 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12218 <bp-asm.h>.
12219 (__mpn_rshift): Don't use BP_SYM.
12220 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12222 <bp-sym.h> and <bp-asm.h>.
12223 (__sigsetjmp): Don't use BP_SYM.
12224 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12225 (L(start_addresses)): Don't use BP_SYM.
12226 (_start): Likewise.
12227 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12228 <bp-asm.h>.
12229 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12232 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12233 <bp-asm.h>.
12234 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12235 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12236 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12237 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12238 <bp-asm.h>.
12239 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12240 comments.
12241 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12242 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12243 <bp-asm.h>.
12244 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12245 FIXME comments.
12246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12248 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12249 <bp-asm.h>.
12250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12251 comment.
12252 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12253 and <bp-asm.h>.
12254 (strncmp): Don't use BP_SYM,
12255 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12256 <bp-asm.h>.
12257 (__mpn_sub_n): Don't use BP_SYM.
12258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12259 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12260 and <bp-asm.h>.
12261 (__mpn_submul_1): Don't use BP_SYM.
12262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12264 <bp-sym.h> and <bp-asm.h>.
12265 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12267 <bp-sym.h> and <bp-asm.h>.
12268 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12269 comment.
12270
8d19fe64
SP
122712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
12273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12274 Use ZK to minimize writes to Z.
12275 (sub_magnitudes): Simplify code a bit.
12276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12277 Use ZK to minimize writes to Z.
12278 (sub_magnitudes): Simplify code a bit.
12279
85bd816a
RM
122802013-02-27 Roland McGrath <roland@hack.frob.com>
12281
12282 * csu/gmon-start.c: Add special exception to license text.
12283
b5977bf2
RH
122842013-02-27 Richard Henderson <rth@redhat.com>
12285
12286 * scripts/config.guess: Update from config.git.
12287 * scripts/config.sub: Likewise.
12288
11d6e2f2
SP
122892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
09c14ed2
SP
12291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12292
a688864e
SP
12293 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12294
6295157a
SP
12295 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12296
b8de2202
SP
12297 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12298
11d6e2f2
SP
12299 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12300
7e80ddb8
RM
123012013-02-26 Roland McGrath <roland@hack.frob.com>
12302
12303 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12304 [$(build-shared = yes].
7e80ddb8 12305
7da6d9ed
SP
123062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12307
45f05884
SP
12308 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12309 (__mul): Reduce iterations for calculating mantissa.
12310
2236d359
SP
12311 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12312 MPTWO.
12313 (__mpranred): Likewise.
12314
7da6d9ed
SP
12315 [BZ #15160]
12316 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12317 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12318
b7688c42
PE
123192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12320
12321 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12322 Define __attribute__.
12323
53a5c423
SP
123242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12325
12326 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12327 unused.
12328 * posix/regex_internal.h (__attribute): Remove.
12329 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12330 (re_string_context_at): Likewise.
12331 (bitset_not): Use __attribute__ and mark function as possibly
12332 unused.
12333 (bitset_merge): Likewise.
12334 (bitset_mask): Likewise.
12335 (re_string_char_size_at): Likewise.
12336 (re_string_wchar_at): Likewise.
12337 (re_string_elem_size_at): Likewise.
12338
60f5a8b5
SP
123392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12340
2a983a2e
SP
12341 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12342 code.
12343 (cc32): Likewise.
12344
e69804d1
SP
12345 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12346 (__acr): Likewise.
12347 (__cpy): Likewise.
12348 (norm): Likewise.
12349 (denorm): Likewise.
12350 (__dbl_mp): Likewise.
12351 (add_magnitudes): Likewise.
12352 (sub_magnitudes): Likewise.
12353 (__mul): Likewise.
12354 (__inv): Likewise.
12355
2f22a1e8
SP
12356 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12357 style.
12358
8930ddc7
SP
12359 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12360 style.
12361
dc60cb11
SP
12362 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12363 code.
12364
60f5a8b5
SP
12365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12366 up changes with default code.
12367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12368 Likewise.
12369
b4d1fd33
AM
123702013-02-24 Allan McRae <allan@archlinux.org>
12371
faf6f8bc
AM
12372 * manual/socket.texi (The Internet Namespace): Order menu items
12373 to match that in the file.
12374
b4d1fd33
AM
12375 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12376 node listing of the info page menu.
12377
2366713d
JM
123782013-02-21 Joseph Myers <joseph@codesourcery.com>
12379
12380 [BZ #13550]
12381 * sysdeps/i386/bp-asm.h: Remove file.
12382 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12383 (PARMS): Do not use macros from bp-asm.h.
12384 (S1): Likewise.
12385 (S2): Likewise.
12386 (SIZE): Likewise.
12387 (__mpn_add_n): Do not use BP_SYM
12388 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12389 "bp-asm.h".
12390 (PARMS): Do not use macros from bp-asm.h.
12391 (S1): Likewise.
12392 (SIZE): Likewise.
12393 (__mpn_addmul_1): Do not use BP_SYM
12394 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12395 "bp-asm.h".
12396 (PARMS): Do not use macros from bp-asm.h.
12397 (SIGMSK): Likewise.
12398 (_setjmp): Likewise. Do not use BP_SYM.
12399 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12400 "bp-asm.h".
12401 (PARMS): Do not use macros from bp-asm.h.
12402 (SIGMSK): Likewise.
12403 (setjmp): Likewise. Do not use BP_SYM.
12404 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12405 "bp-asm.h".
12406 (PARMS): Do not use macros from bp-asm.h.
12407 (__frexp): Do not use BP_SYM.
12408 (frexp): Likewise.
12409 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12410 "bp-asm.h".
12411 (PARMS): Do not use macros from bp-asm.h.
12412 (__frexpf): Do not use BP_SYM.
12413 (frexpf): Likewise.
12414 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12415 "bp-asm.h".
12416 (PARMS): Do not use macros from bp-asm.h.
12417 (__frexpl): Do not use BP_SYM.
12418 (frexpl): Likewise.
12419 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12420 "bp-asm.h".
12421 (PARMS): Do not use macros from bp-asm.h.
12422 (__remquo): Do not use BP_SYM.
12423 (remquo): Likewise.
12424 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12425 "bp-asm.h".
12426 (PARMS): Do not use macros from bp-asm.h.
12427 (__remquof): Do not use BP_SYM.
12428 (remquof): Likewise.
12429 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12430 "bp-asm.h".
12431 (PARMS): Do not use macros from bp-asm.h.
12432 (__remquol): Do not use BP_SYM.
12433 (remquol): Likewise.
12434 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12435 "bp-asm.h".
12436 (PARMS): Do not use macros from bp-asm.h.
12437 (DEST): Likewise.
12438 (SRC): Likewise.
12439 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12440 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12441 "bp-asm.h".
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (strlen): Do not use BP_SYM.
12444 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12445 "bp-asm.h".
12446 (PARMS): Do not use macros from bp-asm.h.
12447 (S1): Likewise.
12448 (S2): Likewise.
12449 (SIZE): Likewise.
12450 (__mpn_add_n): Do not use BP_SYM.
12451 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12452 "bp-asm.h".
12453 (PARMS): Do not use macros from bp-asm.h.
12454 (S1): Likewise.
12455 (SIZE): Likewise.
12456 (__mpn_addmul_1): Do not use BP_SYM.
12457 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12458 weak_alias.
12459 (bzero): Likewise.
12460 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12461 "bp-asm.h".
12462 (PARMS): Do not use macros from bp-asm.h.
12463 (S): Likewise.
12464 (SIZE): Likewise.
12465 (__mpn_lshift): Do not use BP_SYM.
12466 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
12472 (memcpy): Likewise. Do not use BP_SYM.
12473 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12474 libc_hidden_def and weak_alias.
12475 (mempcpy): Do not use BP_SYM in weak_alias.
12476 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12477 "bp-asm.h".
12478 (PARMS): Do not use macros from bp-asm.h.
12479 (DEST): Likewise.
12480 (LEN): Likewise.
12481 [!BZERO_P] (CHR): Likewise.
12482 (memset): Likewise. Do not use BP_SYM.
12483 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
12489 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12490 "bp-asm.h".
12491 (PARMS): Do not use macros from bp-asm.h.
12492 (S): Likewise.
12493 (SIZE): Likewise.
12494 (__mpn_rshift): Do not use BP_SYM.
12495 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12496 "bp-asm.h".
12497 (PARMS): Do not use macros from bp-asm.h.
12498 (STR): Likewise.
12499 (CHR): Likewise.
12500 (strchr): Likewise. Do not use BP_SYM.
12501 (index): Do not use BP_SYM in weak_alias.
12502 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12503 "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (DEST): Likewise.
12506 (SRC): Likewise.
12507 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12508 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12509 "bp-asm.h".
12510 (PARMS): Do not use macros from bp-asm.h.
12511 (strlen): Do not use BP_SYM.
12512 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12513 "bp-asm.h".
12514 (PARMS): Do not use macros from bp-asm.h.
12515 (S1): Likewise.
12516 (S2): Likewise.
12517 (SIZE): Likewise.
12518 (__mpn_sub_n): Do not use BP_SYM.
12519 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12520 "bp-asm.h".
12521 (PARMS): Do not use macros from bp-asm.h.
12522 (S1): Likewise.
12523 (SIZE): Likewise.
12524 (__mpn_submul_1): Do not use BP_SYM.
12525 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12526 "bp-asm.h".
12527 (PARMS): Do not use macros from bp-asm.h.
12528 (S1): Likewise.
12529 (S2): Likewise.
12530 (SIZE): Likewise.
12531 (__mpn_add_n): Do not use BP_SYM.
12532 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12533 weak_alias.
12534 (bzero): Likewise.
12535 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12536 "bp-asm.h".
12537 (PARMS): Do not use macros from bp-asm.h.
12538 (BLK2): Likewise.
12539 (LEN): Likewise.
12540 (memcmp): Do not use BP_SYM.
12541 (bcmp): Do not use BP_SYM in weak_alias.
12542 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12543 "bp-asm.h".
12544 (PARMS): Do not use macros from bp-asm.h.
12545 (DEST): Likewise.
12546 (SRC): Likewise.
12547 (LEN): Likewise.
12548 (memcpy): Likewise. Do not use BP_SYM.
12549 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12550 "bp-asm.h".
12551 (PARMS): Do not use macros from bp-asm.h.
12552 (DEST): Likewise.
12553 (SRC): Likewise.
12554 (LEN): Likewise.
12555 (memmove): Likewise. Do not use BP_SYM.
12556 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12557 "bp-asm.h".
12558 (PARMS): Do not use macros from bp-asm.h.
12559 (DEST): Likewise.
12560 (SRC): Likewise.
12561 (LEN): Likewise.
12562 (__mempcpy): Likewise. Do not use BP_SYM.
12563 (mempcpy): Do not use BP_SYM in weak_alias.
12564 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12565 "bp-asm.h".
12566 (PARMS): Do not use macros from bp-asm.h.
12567 (DEST): Likewise.
12568 (LEN): Likewise.
12569 [!BZERO_P] (CHR): Likewise.
12570 (memset): Likewise. Do not use BP_SYM.
12571 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12572 "bp-asm.h".
12573 (PARMS): Do not use macros from bp-asm.h.
12574 (STR2): Likewise.
12575 (strcmp): Do not use BP_SYM.
12576 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12577 "bp-asm.h".
12578 (PARMS): Do not use macros from bp-asm.h.
12579 (STR): Likewise.
12580 (DELIM): Likewise.
12581 [USE_AS_STRTOK_R] (SAVE): Likewise.
12582 (FUNCTION): Likewise. Do not use BP_SYM.
12583 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12584 aliases.
12585 (strtok_r): Likewise.
12586 (__GI___strtok_r): Likewise.
12587 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12588 (PARMS): Do not use macros from bp-asm.h.
12589 (S): Likewise.
12590 (SIZE): Likewise.
12591 (__mpn_lshift): Do not use BP_SYM.
12592 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12593 (PARMS): Do not use macros from bp-asm.h.
12594 (STR): Likewise.
12595 (CHR): Likewise.
12596 (__memchr): Do not use BP_SYM.
12597 (memchr): Do not use BP_SYM in weak_alias.
12598 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12599 (PARMS): Do not use macros from bp-asm.h.
12600 (BLK2): Likewise.
12601 (LEN): Likewise.
12602 (memcmp): Do not use BP_SYM.
12603 (bcmp): Do not use BP_SYM in weak_alias.
12604 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (S1): Likewise.
12607 (SIZE): Likewise.
12608 (__mpn_mul_1): Do not use BP_SYM.
12609 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12610 "bp-asm.h".
12611 (PARMS): Do not use macros from bp-asm.h.
12612 (STR): Likewise.
12613 (CHR): Likewise.
12614 (__rawmemchr): Do not use BP_SYM.
12615 (rawmemchr): Do not use BP_SYM in weak_alias.
12616 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12617 (PARMS): Do not use macros from bp-asm.h.
12618 (S): Likewise.
12619 (SIZE): Likewise.
12620 (__mpn_rshift): Do not use BP_SYM.
12621 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12622 (PARMS): Do not use macros from bp-asm.h.
12623 (SIGMSK): Likewise.
12624 (__sigsetjmp): Likewise. Do not use BP_SYM.
12625 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12626 (_start): Do not use BP_SYM.
12627 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12628 (PARMS): Do not use macros from bp-asm.h.
12629 (DEST): Likewise.
12630 (SRC): Likewise.
12631 (__stpcpy): Likewise. Do not use BP_SYM.
12632 (stpcpy): Do not use BP_SYM in weak_alias.
12633 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12634 "bp-asm.h".
12635 (PARMS): Do not use macros from bp-asm.h.
12636 (DEST): Likewise.
12637 (SRC): Likewise.
12638 (LEN): Likewise.
12639 (__stpncpy): Likewise. Do not use BP_SYM.
12640 (stpncpy): Do not use BP_SYM in weak_alias.
12641 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12642 (PARMS): Do not use macros from bp-asm.h.
12643 (STR): Likewise.
12644 (CHR): Likewise.
12645 (strchr): Likewise. Do not use BP_SYM.
12646 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12647 "bp-asm.h".
12648 (PARMS): Do not use macros from bp-asm.h.
12649 (STR): Likewise.
12650 (CHR): Likewise.
12651 (__strchrnul): Likewise. Do not use BP_SYM.
12652 (strchrnul): Do not use BP_SYM in weak_alias.
12653 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12654 "bp-asm.h".
12655 (PARMS): Do not use macros from bp-asm.h.
12656 (STOP): Likewise.
12657 (strcspn): Do not use BP_SYM.
12658 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12659 "bp-asm.h".
12660 (PARMS): Do not use macros from bp-asm.h.
12661 (STR): Likewise.
12662 (STOP): Likewise.
12663 (strpbrk): Likewise. Do not use BP_SYM.
12664 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12665 "bp-asm.h".
12666 (PARMS): Do not use macros from bp-asm.h.
12667 (STR): Likewise.
12668 (CHR): Likewise.
12669 (strrchr): Likewise. Do not use BP_SYM.
12670 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12671 (PARMS): Do not use macros from bp-asm.h.
12672 (SKIP): Likewise.
12673 (strspn): Do not use BP_SYM.
12674 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12675 (PARMS): Do not use macros from bp-asm.h.
12676 (STR): Likewise.
12677 (DELIM): Likewise.
12678 (SAVE): Likewise.
12679 (FUNCTION): Likewise. Do not use BP_SYM.
12680 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12681 aliases.
12682 (strtok_r): Likewise.
12683 (__GI___strtok_r): Likewise.
12684 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12685 (PARMS): Do not use macros from bp-asm.h.
12686 (S1): Likewise.
12687 (S2): Likewise.
12688 (SIZE): Likewise.
12689 (__mpn_sub_n): Do not use BP_SYM.
12690 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12691 "bp-asm.h".
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (S1): Likewise.
12694 (SIZE): Likewise.
12695 (__mpn_submul_1): Do not use BP_SYM.
12696 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12697 <bp-sym.h>.
12698 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12699 and <bp-asm.h>.
12700 (PARMS): Do not use macros from bp-asm.h.
12701 (FLAGS): Likewise.
12702 (PTID): Likewise.
12703 (TLS): Likewise.
12704 (CTID): Likewise.
12705 (__clone): Do not use BP_SYM.
12706 (clone): Do not use BP_SYM in weak_alias.
12707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12708 and <bp-asm.h>.
12709 (PARMS): Do not use macros from bp-asm.h.
12710 (LEN): Likewise.
12711 (__mmap64): Do not use BP_SYM.
12712 (mmap64): Do not use BP_SYM in weak_alias.
12713 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12714 <bp-sym.h> and <bp-asm.h>.
12715 (PARMS): Do not use macros from bp-asm.h.
12716 (__posix_fadvise64_l64): Do not use BP_SYM.
12717 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12718 (PARMS): Do not use macros from bp-asm.h.
12719 (NSOPS): Likewise.
12720 (semtimedop): Do not use BP_SYM.
12721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12722 and <bp-asm.h>.
12723
582a3cff
AM
127242013-02-21 Allan McRae <allan@archlinux.org>
12725
12726 * manual/message.texi (Charset conversion in gettext):
12727 Move @end statement to beginning of line.
12728
bab8a695
SP
127292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12730
80945231
SP
12731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12732 static.
12733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12734 Likewise.
12735
bab8a695
SP
12736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12737 (denorm): Likewise.
12738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12740
e21d7aa7
AK
127412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12742
12743 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12744 tail-call to the resolved function if pltexit isn't needed.
12745
4c7a4263
SP
127462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12747
12748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12749 or Y being zero as being unlikely.
12750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12751 Likewise.
12752
41f49342
CD
127532013-02-20 Carlos O'Donell <carlos@redhat.com>
12754
12755 * manual/nss.texi (System Databases and Name Service Switch):
12756 Remove frobnicate @pxref.
12757
50022a93
TS
127582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12759
12760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12761 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12762
08cbd996
PM
127632013-02-20 Petr Machata <pmachata@redhat.com>
12764
12765 * elf/elf.h (R_ARM_TARGET1): New macro.
12766 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12767 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12768 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12769 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12770 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12771 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12772 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12773 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12774 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12775 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12776 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12777 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12778 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12779 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12780 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12781 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12782 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12783 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12784 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12785 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12786 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12787 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12788 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12789 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12790 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12791 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12792 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12793 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12794 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12795 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12796 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12797 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12798 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12799 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12800 (R_ARM_THM_GOT_BREL12): Likewise.
12801 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12802 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12803 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12804 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12805 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12806 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12807 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12808 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12809 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12810
c7b275d6
TS
128112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12812
12813 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12814 __attribute_used__ to __attribute__ ((unused)).
12815
20cd7fb3
SP
128162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12817
12818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12819 powerpc mpa.c.
12820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12821 comment formatting.
12822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12823
92945b52
JM
128242013-02-19 Joseph Myers <joseph@codesourcery.com>
12825
12826 [BZ #13550]
12827 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12828 Remove macro.
12829 (ENTER): Remove both macro definitions.
12830 (LEAVE): Likewise.
12831 (CHECK_BOUNDS_LOW): Likewise.
12832 (CHECK_BOUNDS_HIGH): Likewise.
12833 (CHECK_BOUNDS_BOTH): Likewise.
12834 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12835 (RETURN_BOUNDED_POINTER): Likewise.
12836 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12837 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12838 (POP_ERRNO_LOCATION_RETURN): Likewise.
12839 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12841 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12842 macros.
12843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12844 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12845 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12846 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12847 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12848 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12849 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12850 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12851 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12852 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12853 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12854 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12856 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12857 removed macros.
12858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12859 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12860 macros.
12861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12862 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12863 * sysdeps/i386/i586/memset.S (memset): Likewise.
12864 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12866 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12867 macros.
12868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12869 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12870 Change uses of L(2) to L(out).
12871 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12872 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12873 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12874 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12875 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12876 removed macros.
12877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12878 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12879 macros.
12880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12881 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12882 (RETURN): Do not use macro LEAVE.
12883 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12884 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12885 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12886 * sysdeps/i386/i686/memset.S (memset): Likewise.
12887 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12888 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12890 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12891 Likewise.
12892 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12893 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12894 L(1_2) and L(1_3) into L(1).
12895 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12896 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12897 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12898 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12899 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12900 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12901 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12903 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12904 macros.
12905 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12906 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12907 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12908 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12909 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12910 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12911 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12912 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12913 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12914 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12915 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12916 * sysdeps/i386/strspn.S (strspn): Likewise.
12917 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12918 conditional code.
12919 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12920 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12921 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12922 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12923 L(1_3) into L(1_1).
12924 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12925 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12926 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12927 macros.
12928 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12929
2389741a
JJ
129302013-02-19 Jakub Jelinek <jakub@redhat.com>
12931
12932 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12933 macro.
12934
2016b3cd
SP
129352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12936
e4f22324
SP
12937 * math/atest-exp.c (exp_mpn): Remove ROUND.
12938 * math/atest-exp2.c (exp_mpn): Likewise.
12939 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12940
2016b3cd
SP
12941 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12942 * stdlib/tst-tls-atexit-lib.c: Likewise.
12943 * stdlib/tst-tls-atexit.c: Likewise.
12944
4be9b544
MF
129452013-02-18 Mike Frysinger <vapier@gentoo.org>
12946
12947 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12948 and __attribute_alloc_size__.
12949
2f62b9ee
MF
129502013-02-18 Mike Frysinger <vapier@gentoo.org>
12951
12952 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12953 __attribute_alloc_size__.
12954 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12955 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12956
6ff444c4
MF
129572013-02-18 Mike Frysinger <vapier@gentoo.org>
12958
12959 * include/programs/xmalloc.h: New file.
12960 * catgets/gencat.c: Include it.
12961 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12962 * elf/pldd.c: Likewise.
12963 * iconv/iconv_charmap.c: Likewise.
12964 * iconv/iconvconfig.c: Likewise.
12965 * iconv/strtab.c: Likewise.
12966 * locale/programs/locale.c: Likewise.
12967 * locale/programs/localedef.h: Likewise.
12968 * locale/programs/simple-hash.c: Likewise.
12969 * nscd/nscd.h: Likewise.
12970 * nss/makedb.c: Likewise.
12971 * sysdeps/generic/ldconfig.h: Likewise.
12972
be179c8a
SP
129732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12974
ba384f6e
SP
12975 * Versions.def: Add GLIBC_2.18.
12976 * include/link.h (struct link_map): New member l_tls_dtor_count.
12977 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12978 (__call_tls_dtors): Likewise.
12979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12980 __cxa_thread_atexit_impl.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12982 Likewise.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12984 Likewise.
12985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12986 Likewise.
12987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12988 Likewise.
12989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12991 Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12996 Likewise.
12997 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12998 (tests): Add test case tst-tls-atexit.
12999 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13000 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13001 (GLIBC_PRIVATE): Add __call_tls_dtors.
13002 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13003 for libstdc++.
13004 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13005 * stdlib/tst-tls-atexit.c: New test case.
13006 * stdlib/tst-tls-atexit-lib.c: New test case.
13007
ffaa74cf 13008 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13009
be179c8a
SP
13010 * elf/Versions (ld): Add _dl_find_dso_for_object.
13011 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13012 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13013 (dl_open_worker): Use _dl_find_dso_for_object.
13014 * elf/dl-sym.c (do_sym): Likewise.
13015 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13016
f78b5caa
AK
130172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13018
13019 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13020 Syntactic changes only.
13021 (_dl_runtime_profile): Do a tail-call to the resolved function.
13022
29691210
JM
130232013-02-17 Joseph Myers <joseph@codesourcery.com>
13024
13025 [BZ #13550]
13026 * sysdeps/x86_64/bp-asm.h: Remove file.
13027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13028 <bp-sym.h> and <bp-asm.h>.
13029 (__clone): Do not use BP_SYM.
13030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13031 <bp-sym.h> and <bp-asm.h>.
13032 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13033 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13034 "bp-asm.h".
13035 (_setjmp): Do not use BP_SYM.
13036 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13037 "bp-asm.h".
13038 (setjmp): Do not use BP_SYM.
13039 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13040 libc_hidden_def.
13041 (mempcpy): Do not use BP_SYM in weak_alias.
13042 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13043 "bp-asm.h".
13044 (strchr): Do not use BP_SYM.
13045 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13046 "bp-asm.h".
13047 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13048 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13049 (_start): Do not use BP_SYM.
13050 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13051 "bp-asm.h".
13052 (strcat): Do not use BP_SYM.
13053 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13054 "bp-asm.h".
13055 (STRCMP): Do not use BP_SYM.
13056 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13057 "bp-asm.h".
13058 (STRCPY): Do not use BP_SYM.
13059 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13060 "bp-asm.h".
13061 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13062 "bp-asm.h".
13063 (FUNCTION): Do not use BP_SYM.
13064 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13065 weak_alias.
13066 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13067
f238fd19
AJ
130682013-02-17 Andreas Jaeger <aj@suse.de>
13069
13070 * time/Versions: Sort entries.
13071 * string/Versions: Likewise.
13072 * resolv/Versions: Likewise.
13073 * posix/Versions: Likewise.
13074 * iconv/Versions: Likewise.
13075 * elf/Versions: Likewise.
13076 * wcsmbs/Versions: Likewise.
13077
bd07f23c 130782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13079
22af19f9
SP
13080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13081 loop termination condition.
13082
4709fe76
SP
13083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13084 variable to calculate EZ.
13085 (__sqr): Likewise.
2d0e0f29
SP
13086
13087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13088 the lower precision input.
13089
daaa7713
JM
130902013-02-15 Joseph Myers <joseph@codesourcery.com>
13091
13092 [BZ #13550]
13093 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13094 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13095 (run-via-rtld-prefix): Do not handle %-bp tests.
13096 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13097 (all-object-suffixes): Remove .ob.
13098 (bppfx): Remove variable.
13099 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13100 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13101 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13102 [$(build-bounded) = yes] (libtype.ob): Likewise.
13103 * Makerules (elide-routines.ob): Remove variable.
13104 (do-tests-clean): Do not handle *-bp.out.
13105 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13106 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13107 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13108 (tests): Do not include $(tests-bp.out).
13109 (xtests): Do not include $(xtests-bp.out).
13110 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13111 [$(build-bounded) = yes] ($(addprefix
13112 $(objpfx),$(binaries-bounded))): Remove rule.
13113 ($(objpfx)%-bp.out): Remove rule.
13114 * config.make.in (build-bounded): Remove variable.
13115 * crypt/Makefile [$(build-bounded) = yes]
13116 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13117 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13118 append to variable.
13119 [$(build-bounded) = yes] (install-lib): Likewise.
13120 [$(build-bounded) = yes] (generated): Likewise.
13121 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13122 Remove rule.
13123 * intl/Makefile [$(build-bounded) = yes]
13124 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13125 * math/Makefile [$(build-bounded) = yes]
13126 ($(tests:%=$(objpfx)%-bp): Likewise.
13127 * misc/Makefile [$(build-bounded) = yes]
13128 ($(objpfx)tst-tsearch-bp): Likewise.
13129 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13130 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13131 Remove dependency.
13132 * string/Makefile (o-objects.ob): Remove variable.
13133 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13134 (CFLAGS-.ob): Remove variable.
13135 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13136 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13137 both definitions of variable.
13138 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13139 (ASFLAGS-.ob): Remove variable.
13140
e97ed6dd
JM
131412013-02-14 Joseph Myers <joseph@codesourcery.com>
13142
2bdd4ca6
JM
13143 [BZ #13550]
13144 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13145 Remove __BOUNDED_POINTERS__ from condition.
13146 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13147 * string/bits/string2.h [!__NO_STRING_INLINES &&
13148 !__BOUNDED_POINTERS__]: Likewise.
13149 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13150 Likewise.
13151 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13152 Remove conditional code.
13153 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13154 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13155 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13156 condition.
13157
e97ed6dd
JM
13158 [BZ #13550]
13159 * csu/libc-start.c: Do not include <bp-sym.h>.
13160 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13161 * elf/dl-open.c: Do not include <bp-sym.h>.
13162 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13163 * math/fegetenv.c: Do not include <bp-sym.h>.
13164 (fegetenv): Do not use BP_SYM in versioned symbols.
13165 * nptl/sysdeps/pthread/bits/libc-lockP.h
13166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13167 <bp-sym.h>.
13168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13169 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13171 (__pthread_mutex_destroy): Likewise.
13172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13173 (__pthread_mutex_lock): Likewise.
13174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13175 (__pthread_mutex_trylock): Likewise.
13176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13177 (__pthread_mutex_unlock): Likewise.
13178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13179 (__pthread_mutexattr_init): Likewise.
13180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13181 (__pthread_mutexattr_destroy): Likewise.
13182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13183 (__pthread_mutexattr_settype): Likewise.
13184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13185 (__pthread_rwlock_init): Likewise.
13186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13187 (__pthread_rwlock_destroy): Likewise.
13188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13189 (__pthread_rwlock_rdlock): Likewise.
13190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13191 (__pthread_rwlock_tryrdlock): Likewise.
13192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13193 (__pthread_rwlock_wrlock): Likewise.
13194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13195 (__pthread_rwlock_trywrlock): Likewise.
13196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13197 (__pthread_rwlock_unlock): Likewise.
13198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13199 (__pthread_key_create): Likewise.
13200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13201 (__pthread_setspecific): Likewise.
13202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13203 (__pthread_getspecific): Likewise.
13204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13205 Likewise.
13206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13207 (_pthread_cleanup_push_defer): Likewise.
13208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13209 (_pthread_cleanup_pop_restore): Likewise.
13210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13211 (pthread_setcancelstate): Likewise.
13212 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13213 <bp-sym.h>.
13214 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13215 (memchr): Do not use BP_SYM in weak_alias.
13216 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13217 (fegetenv): Do not use BP_SYM in versioned symbols.
13218 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13219 (fesetenv): Do not use BP_SYM in versioned symbols.
13220 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13221 (feupdateenv): Do not use BP_SYM in versioned symbols.
13222 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13223 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13224 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13225 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13226 (open64): Do not use BP_SYM in weak_alias.
13227 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13228 (fegetenv): Do not use BP_SYM in versioned symbols.
13229 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13230 (fesetenv): Do not use BP_SYM in versioned symbols.
13231 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13232 (feupdateenv): Do not use BP_SYM in versioned symbols.
13233 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13234 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13235 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13236 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13237 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13240 <bp-sym.h>.
13241 (__libc_start_main): Do not use BP_SYM.
13242
d6752ccd
SP
132432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13244
cb57ce60
SP
13245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13246 redundant return line.
13247 (norm): Likewise.
13248 (denorm): Likewise.
13249 (dbl_mp): Likewise.
13250 (sub_magnitudes): Likewise.
13251 (__add): Likewise.
13252 (__sub): Likewise.
13253 (__mul): Likewise.
13254 (__inv): Likewise.
13255 (__dvd): Likewise.
13256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13257 (norm): Likewise.
13258 (denorm): Likewise.
13259 (dbl_mp): Likewise.
13260 (sub_magnitudes): Likewise.
13261 (__add): Likewise.
13262 (__sub): Likewise.
13263 (__mul): Likewise.
13264 (__inv): Likewise.
13265 (__dvd): Likewise.
13266
f414520d
SP
13267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13268 instead of __mul.
13269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13271 (cc32): Likewise.
13272
d6752ccd
SP
13273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13274 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13276 of __mul for squares.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13278 function
13279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13280 Likewise.
13281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13283
70d9946a
JM
132842013-02-13 Joseph Myers <joseph@codesourcery.com>
13285
13286 [BZ #13550]
13287 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13288 code.
13289 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13290 prototype or function definition. Rename ubp_* variables and
13291 parameters. Remove argv definitions conditional on
13292 [__BOUNDED_POINTERS__].
13293 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13294 * elf/dl-runtime.c (_dl_fixup): Likewise.
13295 * include/set-hooks.h (RUN_HOOK): Likewise.
13296 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13297 definition.
13298 * string/strcpy.c (strcpy): Do not use __unbounded.
13299 * sysdeps/generic/frame.h (struct layout): Likewise.
13300 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13301 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13302 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13303 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13304 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13305 (__backtrace): Likewise.
13306 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13307 use __ptrvalue.
13308 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13310 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13311 Likewise.
13312 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13313 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13315 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13316 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13317 Do not use __unbounded.
13318 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13319 Rename __unboundedrlimits parameter to rlimits in prototype.
13320 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13321 Do not use __unbounded.
13322 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13323 not use __ptrvalue.
13324 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13325 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13326 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13328 __ptrvalue or __unbounded.
13329 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13330 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13331 use __unbounded.
13332 (__new_msgctl): Do not use __ptrvalue.
13333 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13334 __unbounded.
13335 (__libc_msgrcv): Do not use __ptrvalue.
13336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13337 startup_info): Do not use __unbounded.
13338 (__libc_start_main): Likewise. Rename ubp_* variables and
13339 parameters. Remove argv definitions conditional on
13340 [__BOUNDED_POINTERS__].
13341 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13342 __ptrvalue.
13343 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13344 use __unbounded.
13345 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13346 or __ptrvalue.
13347 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13348 use __unbounded.
13349 (__new_shmctl): Do not use __ptrvalue.
13350 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13351 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13352 Likewise.
13353 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13355 (__libc_sigaction): Likewise.
13356 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13358 Likewise.
13359 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13360
cc7834d6
OB
133612013-02-13 Ondřej Bílka <neleai@seznam.cz>
13362
ffb1ec7b 13363 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13364
13365 * string/mempcpy.c: Implement by calling memcpy.
13366
bdf02814
SP
133672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
c2af38aa
SP
13369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13370
4e92d59e
SP
13371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13372 evaluation.
13373
909279a5
SP
13374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13375 values in the mantissa.
13376
bdf02814
SP
13377 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13378 minimize writes to Z.
13379 (sub_magnitudes): Simplify code a bit.
13380
cd525923
RM
133812013-02-12 Roland McGrath <roland@hack.frob.com>
13382
13383 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13384 from the message. The linker prefixes all warnings with that already.
13385
7e2f0d2d
AS
133862013-02-12 Andreas Schwab <schwab@suse.de>
13387
a445af0b
AS
13388 [BZ #15078]
13389 * posix/regexec.c (extend_buffers): Add parameter min_len.
13390 (check_matching): Pass minimum needed length.
13391 (clean_state_log_if_needed): Likewise.
13392 (get_subexp): Likewise.
13393 * posix/Makefile (tests): Add bug-regex34.
13394 (bug-regex34-ENV): Define.
13395 * posix/bug-regex34.c: New file.
13396
7e2f0d2d
AS
13397 [BZ #11561]
13398 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13399 elements compare against the byte sequence of it, not its name.
13400 * posix/Makefile (tests): Add bug-regex35.
13401 (bug-regex35-ENV): Define.
13402 * posix/bug-regex35.c: New file.
13403
a175b684
TV
134042013-02-11 Tom de Vries <tom@codesourcery.com>
13405
13406 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13407 comment.
13408 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13409 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13410 (CHECK_EOL): Add undef.
13411
310998fe 134122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13413
13414 * bits/stdlib-bsearch.h: New file.
13415 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13416 * stdlib/stdlib.h: Likewise.
41eda41d 13417
8ded91fb
RM
134182013-02-11 Roland McGrath <roland@hack.frob.com>
13419
13420 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13421 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13422 declaration.
13423 * manual/search.texi (Array Search Function): Add missing const in
13424 lfind prototype.
13425 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13426 declaration to use rlim_t.
13427 (Basic Scheduling Functions): Remove erroneous const from
13428 sched_getparam prototype. Remove erroneous * from
13429 sched_get_priority_max and sched_get_priority_min prototypes.
13430 (Resource Usage): Fix summary @comment on vtimes to refer to
13431 sys/vtimes.h rather than vtimes.h.
13432 Add missing *s in vtimes prototype.
13433 (Limits on Resources): Fix ulimit prototype to return long int.
13434 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13435 prototypes to use long int rather than double.
13436 (BSD Random): Fix initstate and setstate to use char *, not void *.
13437 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13438 prototype to make second argument 'struct aiocb64 *const[]'.
13439 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13440 (Status of AIO Operations): Remove erroneous const in aio_return and
13441 aio_return64 prototypes.
13442 (Synchronizing I/O): Fix sync prototype to return void.
13443 * manual/startup.texi (Suboptions): Remove an erroneous const in
13444 getsubopt prototype.
13445 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13446 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13447 use size_t rather than int.
13448 (Scanning All Users): Likewise for getpwent_r.
13449 (Setting Groups): Add missing const to setgroups prototype.
13450 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13451 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13452 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13453 'const void *' rather than 'const char *'.
13454 (Host Address Functions): Likewise for inet_ntop.
13455 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13456 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13457 ssize_t for return value.
13458 (Sending Data): Likewise for send, sendto, sendmsg.
13459 (Socket Option Functions): Add a missing const in setsockopt prototype.
13460 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13461 use wchar_t for the argument.
13462 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13463 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13464 take no arguments.
13465 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13466 double/float/long double for second argument.
13467 Fix return types of significand, significandf, significandl.
13468 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13469 argument in fchmod prototype.
13470 (File Owner): Use uid_t and gid_t in fchown prototype.
13471 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13472 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13473 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13474 use 'const struct dirent **' as argument types to CMP function pointer
13475 argument.
13476 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13477 (File Times): Fix summary magic @comment for struct utimbuf and utime
13478 to refer to utime.h, not time.h.
13479 * manual/string.texi (Argz Functions): Add missing const in
13480 argz_extract and argz_next prototypes.
13481 (Finding Tokens in a String): Likewise for basename.
13482 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13483 (Copying and Concatenation): Fix typo in wmemmove prototype.
13484 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13485 (Signal Stack): Remove erroneous const in sigstack prototype.
13486 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13487 prototype.
13488 (Simple Calendar Time): Likewise for stime.
13489 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13490 prototype.
13491 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13492 say sys/sysctl.h instead.
13493 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13494 and vsyslog prototypes.
13495
fe77fe6d
TV
134962013-02-11 Tom de Vries <tom@codesourcery.com>
13497
13498 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13499 Remove.
13500
3a09b620
RM
135012013-02-11 Roland McGrath <roland@hack.frob.com>
13502
13503 * misc/sys/mman.h: Fix typo in mremap comment.
13504
550a0b89
RM
135052013-02-08 Roland McGrath <roland@hack.frob.com>
13506
13507 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13508 the '\0' terminator.
13509
a2da1673
JM
135102013-02-08 Joseph Myers <joseph@codesourcery.com>
13511
13512 [BZ #13550]
13513 * debug/segfault.c: Don't include <bp-checks.h>.
13514 * sysdeps/generic/bp-checks.h: Remove file.
13515 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13516 (__GETDENTS): Don't use CHECK_N.
13517 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13519 (__getgroups): Don't use CHECK_N.
13520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13521 (setgroups): Don't use CHECK_N.
13522 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13523 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13524 (__libc_msgrcv): Don't use CHECK_N.
13525 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13526 (__libc_msgsnd): Don't use CHECK_N.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13528 <bp-checks.h>.
13529 (__libc_pread): Don't use CHECK_N.
13530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13531 include <bp-checks.h>.
13532 (__libc_pread64): Don't use CHECK_N.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13534 include <bp-checks.h>.
13535 (__libc_pwrite): Don't use CHECK_N.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13537 include <bp-checks.h>.
13538 (__libc_pwrite64): Don't use CHECK_N.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13540 <bp-checks.h>.
13541 (__libc_pread): Don't use CHECK_N.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13543 include <bp-checks.h>.
13544 (__libc_pread64): Don't use CHECK_N.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13546 include <bp-checks.h>.
13547 (__libc_pwrite): Don't use CHECK_N.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13549 include <bp-checks.h>.
13550 (__libc_pwrite64): Don't use CHECK_N.
13551 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13552 (do_pread): Don't use CHECK_N.
13553 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13554 (do_pread64): Don't use CHECK_N.
13555 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13556 (do_pwrite): Don't use CHECK_N.
13557 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13558 (do_pwrite64): Don't use CHECK_N.
13559 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13560 (__libc_readv): Don't use CHECK_N.
13561 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13562 (semop): Don't use CHECK_N.
13563 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13564 <bp-checks.h>.
13565 (semtimedop): Don't use CHECK_N.
13566 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13567 (__libc_pread): Don't use CHECK_N.
13568 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13569 <bp-checks.h>.
13570 (__libc_pread64): Don't use CHECK_N.
13571 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13572 <bp-checks.h>.
13573 (__libc_pwrite): Don't use CHECK_N.
13574 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13575 <bp-checks.h>.
13576 (__libc_pwrite64): Don't use CHECK_N.
13577 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13578 <bp-checks.h>.
13579 (__libc_msgrcv): Don't use CHECK_N.
13580 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13581 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13582 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13583 (__libc_writev): Don't use CHECK_N.
13584
b84660a8
RM
135852013-02-08 Roland McGrath <roland@hack.frob.com>
13586
7f3e75f8
RM
13587 * string/strcpy.c: Removed unused variable.
13588
b84660a8
RM
13589 * Makeconfig (+sysdep-includes): Define with := rather than =.
13590 Use an existing include/ subdir of each sysdeps dir before it.
13591
471514d3
CD
135922013-02-08 Carlos O'Donell <carlos@redhat.com>
13593
13594 * nscd/connection.c (register_traced_file): Comment function.
13595 [HAVE_INOTIFY] (union __inev): Define.
13596 [HAVE_INOTIFY] (inotify_check_files): New function.
13597 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13598 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13599 clear_db_cache.
13600 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13601
b2d3c3be
CD
136022013-02-08 Carlos O'Donell <carlos@redhat.com>
13603
13604 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13605 loaded if not already and that a failure is permanent.
13606
b39949d2
CD
136072013-02-08 Carlos O'Donell <carlos@redhat.com>
13608
ddacd1db 13609 [BZ #15006]
b39949d2
CD
13610 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13611 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13612
b2c9eff4
JM
136132013-02-08 Joseph Myers <joseph@codesourcery.com>
13614
f3aae3f3
JM
13615 [BZ #13550]
13616 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13617 (CHECK_1_NULL_OK): Likewise.
13618 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13619 (__fxstat): Do not use CHECK_1.
13620 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13621 <bp-checks.h>.
13622 (___fxstat64): Do not use CHECK_1.
13623 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13624 <bp-checks.h>.
13625 (__fxstatat): Do not use CHECK_1.
13626 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13627 <bp-checks.h>.
13628 (__fxstatat64): Do not use CHECK_1.
13629 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13630 <bp-checks.h>.
13631 (__fxstat): Do not use CHECK_1.
13632 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13633 <bp-checks.h>.
13634 (__fxstatat): Do not use CHECK_1.
13635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13636 <bp-checks.h>.
13637 (__getresgid): Do not use CHECK_1.
13638 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13639 <bp-checks.h>.
13640 (__getresuid): Do not use CHECK_1.
13641 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13642 <bp-checks.h>.
13643 (__lxstat): Do not use CHECK_1.
13644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13645 <bp-checks.h>.
13646 (__old_msgctl): Do not use CHECK_1.
13647 (__new_msgctl): Likewise.
13648 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13649 <bp-checks.h>.
13650 (__new_setrlimit): Do not use CHECK_1.
13651 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13652 <bp-checks.h>.
13653 (__old_shmctl): Do not use CHECK_1.
13654 (__new_shmctl): Likewise.
13655 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13656 <bp-checks.h>.
13657 (__xstat): Do not use CHECK_1.
13658 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13659 (__lxstat): Do not use CHECK_1.
13660 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13661 <bp-checks.h>.
13662 (___lxstat64): Do not use CHECK_1.
13663 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13664 (__old_msgctl): Do not use CHECK_1.
13665 (__new_msgctl): Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13667 <bp-checks.h>.
13668 (__gettimeofday): Do not use CHECK_1.
13669 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13670 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13671 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13672 <bp-checks.h>.
13673 (__gettimeofday): Do not use CHECK_1.
13674 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13675 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13676 (__new_shmctl): Do not use CHECK_1.
13677 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13678 <bp-checks.h>.
13679 (do_sigtimedwait): Do not use CHECK_1.
13680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13681 <bp-checks.h>.
13682 (do_sigwaitinfo): Do not use CHECK_1.
13683 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13684 <bp-checks.h>.
13685 (msgctl): Do not use CHECK_1.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13687 <bp-checks.h>.
13688 (shmctl): Do not use CHECK_1.
13689 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13690 (ustat): Do not use CHECK_1.
13691 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13692 <bp-checks.h>.
13693 (__fxstat): Do not use CHECK_1.
13694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13695 <bp-checks.h>.
13696 (__fxstatat): Do not use CHECK_1.
13697 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13698 <bp-checks.h>.
13699 (__lxstat): Do not use CHECK_1.
13700 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13701 <bp-checks.h>.
13702 (__xstat): Do not use CHECK_1.
13703 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13704 (__xstat): Do not use CHECK_1.
13705 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13706 (___xstat64): Do not use CHECK_1.
13707
b2c9eff4
JM
13708 [BZ #13550]
13709 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13710 definitions.
13711 (CHECK_BOUNDS_HIGH): Likewise.
13712 * string/strcpy.c: Do not include <bp-checks.h>.
13713 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13714
f1d70dad
RM
137152013-02-07 Roland McGrath <roland@hack.frob.com>
13716
13717 * nscd/nscd-client.h (__nscd_drop_map_ref):
13718 Add __attribute__ ((unused)).
13719 * nis/nss-nisplus.h (niserr2nss): Likewise.
13720
13721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13722 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13723
13724 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13725 Remove inline keyword.
13726 * include/rounding-mode.h (round_away): Likewise.
13727 * libio/wfileops.c (adjust_wide_data): Likewise.
13728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13729 (__m128i_strloadu_tolower): Likewise.
13730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13731 (__m128i_strloadu_tolower): Likewise.
13732 * time/mktime.c (ydhms_diff): Likewise.
13733 * locale/elem-hash.h (elem_hash): Likewise.
13734 * locale/setlocale.c (setdata): Likewise.
13735 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13736 (re_string_wchar_at): Likewise.
13737 (bitset_not, bitset_merge, bitset_mask): Likewise.
13738 [!(__GNUC__ > 3)] (inline): Remove macro.
13739 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13740 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13741 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13742 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13743 * string/memcmp.c (memcmp_bytes): Likewise.
13744 * locale/programs/locarchive.c (compute_hashval): Likewise.
13745 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13746 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13747 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13748 * nss/getent.c (print_rpc, print_protocols): Likewise.
13749 (print_passwd, print_group, print_aliases): Likewise.
13750 * nis/nss-nisplus.h (niserr2nss): Likewise.
13751 * nscd/connections.c (restart_p): Likewise.
13752 Change return type to bool.
13753
eab55bfb
RM
137542013-02-05 Roland McGrath <roland@hack.frob.com>
13755
7bd642f5
RM
13756 * Makeconfig (all-Depend-files): Add existing
13757 $(sorted-subdirs:=/Depend) files.
13758 (all-subdirs): Remove nss.
13759 * sysdeps/unix/inet/Subdirs: Add it here instead.
13760 * hesiod/Depend: New file.
13761
573c29b2
RM
13762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13763 instead of calling alloca.
13764
b2e25af0
RM
13765 * io/lseek.c (__lseek): Rename to __libc_lseek.
13766 Define __lseek as an alias.
13767
eab55bfb
RM
13768 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13769
9a0d1941
CD
137702013-02-04 Carlos O'Donell <carlos@redhat.com>
13771
13772 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13773 else clause and remove check for non-standard endianness.
13774
b83bbec4
DM
137752013-02-04 David S. Miller <davem@davemloft.net>
13776
13777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13778
6277fdab
JM
137792013-02-04 Joseph Myers <joseph@codesourcery.com>
13780
13781 [BZ #13550]
13782 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13783 (__ubp_memchr): Remove prototype.
13784 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13785 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13786 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13787 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13788 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13789 Remove alias.
13790 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13791 (__ubp_memchr): Likewise.
13792 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13793 (__ubp_memchr): Likewise.
13794 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13795 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13797 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13798 CHECK_STRING.
13799 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13800 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13801 (__getcwd): Do not use CHECK_STRING.
13802 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13803 <bp-checks.h>.
13804 (__real_chown): Do not use CHECK_STRING.
13805 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13806 <bp-checks.h>.
13807 (fchownat): Do not use CHECK_STRING.
13808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13809 CHECK_STRING.
13810 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13811 <bp-checks.h>.
13812 (__lchown): Do not use CHECK_STRING.
13813 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13814 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13815 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13816 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13818 include <bp-checks.h>.
13819 (truncate64): Do not use CHECK_STRING.
13820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13821 <bp-checks.h>.
13822 (__real_chown): Do not use CHECK_STRING.
13823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13824 <bp-checks.h>.
13825 (__lchown): Do not use CHECK_STRING.
13826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13827 <bp-checks.h>.
13828 (__chown): Do not use CHECK_STRING.
13829 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13830 <bp-checks.h>.
13831 (truncate64): Do not use CHECK_STRING.
13832 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13833 Likewise.
13834 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13835 (__xmknod): Do not use CHECK_STRING.
13836 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13837 <bp-checks.h>.
13838 (__xmknodat): Do not use CHECK_STRING.
13839 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13840 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13841
903ae060
AS
138422013-02-04 Andreas Schwab <schwab@suse.de>
13843
13844 [BZ #14142]
13845 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13846 * include/netdb.h: Likewise for h_errno.
13847 * elf/tst-stackguard1.c: Include <tls.h>.
13848
542f9466
JK
138492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13850
13851 * elf/link.h (struct link_map): Extend the l_addr comment.
13852 * include/link.h (struct link_map): Likewise.
13853
e782a927
JM
138542013-02-01 Joseph Myers <joseph@codesourcery.com>
13855
13856 [BZ #13550]
13857 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13858 (BOUNDED_1): Remove macro.
13859 * debug/backtrace.c: Don't include <bp-checks.h>.
13860 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13861 (__backtrace): Likewise.
13862 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13863 <bp-checks.h>.
13864 (__backtrace): Don't use BOUNDED_1.
13865 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13866 <bp-checks.h>.
13867 (__backtrace): Don't use BOUNDED_1.
13868 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13869 (__backtrace): Don't use BOUNDED_1.
13870 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13871 (shmat): Don't use BOUNDED_N.
13872
8cf28c5e
JM
138732013-01-31 Joseph Myers <joseph@codesourcery.com>
13874
3a7ac8a0
JM
13875 [BZ #13550]
13876 * sysdeps/generic/bp-start.h: Remove file.
13877 * csu/libc-start.c: Don't include <bp-start.h>.
13878 (LIBC_START_MAIN): Set up __environ directly instead of using
13879 INIT_ARGV_and_ENVIRON.
13880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13881 <bp-start.h>.
13882
f3499f95
JM
13883 [BZ #13550]
13884 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13885 definitions.
13886 (CHECK_FCNTL): Likewise.
13887 (CHECK_N_PAGES): Likewise.
13888
32a45bea
JM
13889 [BZ #13550]
13890 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13891 definitions.
13892 (CHECK_SIGSET_NULL_OK): Likewise.
13893 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13894 <bp-checks.h>.
13895 (sigpending): Don't use CHECK_SIGSET.
13896 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13897 <bp-checks.h>.
13898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13899 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13900 <bp-checks.h>.
13901 (do_sigsuspend): Don't use CHECK_SIGSET.
13902 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13903 use CHECK_SIGSET.
13904 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13905 (do_sigwait): Don't use CHECK_SIGSET.
13906 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13907 use CHECK_SIGSET.
13908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13909 include <bp-checks.h>.
13910 (sigpending): Don't use CHECK_SIGSET.
13911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13912 include <bp-checks.h>.
13913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13914 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13915 <bp-checks.h>.
13916 (sigpending): Don't use CHECK_SIGSET.
13917 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13918 <bp-checks.h>.
13919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13920
2e8a5c8c
JM
13921 [BZ #13550]
13922 * sysdeps/generic/bp-semctl.h: Remove file.
13923 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13924 <bp-checks.h> and <bp-semctl.h>.
13925 (__old_semctl): Don't use CHECK_SEMCTL.
13926 (__new_semctl): Likewise.
13927 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13928 and <bp-semctl.h>.
13929 (__old_semctl): Don't use CHECK_SEMCTL.
13930 (__new_semctl): Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13932 <bp-checks.h> and <bp-semctl.h>.
13933 (__old_semctl): Don't use CHECK_SEMCTL.
13934 (__new_semctl): Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13936 <bp-checks.h> and <bp-semctl.h>.
13937 (semctl): Don't use CHECK_SEMCTL.
13938
c2d54929
JM
13939 [BZ #13550]
13940 * Makerules (elide-bp-thunks): Remove variable.
13941 (elide-routines.oS): Don't use $(elide-bp-thunks).
13942 (elide-routines.os): Likewise.
13943 (elide-routines.o): Likewise.
13944 (elide-routines.op): Likewise.
13945 (elide-routines.og): Likewise.
13946 (objects): Don't use $(bp-thunks).
13947 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13948 include.
13949 (common-generated): Do not add s-proto-bp.d.
13950 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13951 (int): Likewise.
13952 (typ): Likewise.
13953 Do not generate makefile rules for bounded-pointer thunks.
13954 * sysdeps/generic/bp-thunks.h: Remove file.
13955 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13956 * sysdeps/unix/s-proto-bp.S: Likewise.
13957
8cf28c5e
JM
13958 [BZ #15062]
13959 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13960 parts of result separately when argument is not close to line from
13961 -i to i and one part of argument is small.
13962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13964 * math/libm-test.inc (cacos_test): Add more tests.
13965 (casin_test): Likewise.
13966 (casinh_test): Likewise.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13969
c4e33b8d
DM
139702013-01-31 David S. Miller <davem@davemloft.net>
13971
13972 * po/de.po: Update from translation team.
13973
3b60b421
MK
139742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13975
13976 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13977
bb931195
TS
139782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13979
b5a5da23
TS
13980 * configure.in (_AC_PROG_CC_C89): New definition.
13981 * configure: Regenerate.
13982
bb931195
TS
13983 * configure.in (AC_PROG_CPP): New definition.
13984 * configure: Regenerate.
13985
8c53a12c
JM
139862013-01-23 Joseph Myers <joseph@codesourcery.com>
13987
13988 * debug/tst-backtrace.h: New file.
13989 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13990 (ret): Remove variable.
13991 (x): Likewise.
13992 (FAIL): Remove macro.
13993 (NO_INLINE): Likewise.
13994 (fn1): Use match function instead of strstr.
13995 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13996 (ret): Remove variable.
13997 (x): Likewise.
13998 (FAIL): Remove macro.
13999 (NO_INLINE): Likewise.
14000 (fn): Use match function instead of strstr.
14001 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14002 (ret): Remove variable.
14003 (x): Likewise.
14004 (FAIL): Remove macro.
14005 (NO_INLINE): Likewise.
14006 (handle_signal): Use match function instead of strstr.
14007 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14008 (ret): Remove variable.
14009 (x): Likewise.
14010 (FAIL): Remove macro.
14011 (NO_INLINE): Likewise.
14012 (handle_signal): Use match function instead of strstr.
14013
4858fa2a
RM
140142013-01-23 Roland McGrath <roland@hack.frob.com>
14015
14016 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14017
bae8e7f5
DM
140182013-01-23 David S. Miller <davem@davemloft.net>
14019
14020 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14021 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14022 argument of CAS if possible.
14023 * sysdeps/sparc/sparc64/bits/atomic.h
14024 (__arch_compare_and_exchange_val_32_acq): Likewise.
14025 (__arch_compare_and_exchange_val_64_acq): Likewise.
14026
9cbbc4ae
PT
140272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14028
14029 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14030 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14031 Include <limits.h>.
67b3f58c 14032 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14033
5655a0b5
AC
140342013-01-23 Adam Conrad <adconrad@0c3.net>
14035
14036 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14037 (LDFLAGS-tst-array5): Likewise.
14038
052aff95
JM
140392013-01-23 Joseph Myers <joseph@codesourcery.com>
14040
14041 [BZ #15036]
14042 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14043 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14044 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14045 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14046
7c1e01aa
DM
140472013-01-21 David S. Miller <davem@davemloft.net>
14048
14049 * sysdeps/sparc/backtrace.c: New file.
14050 * sysdeps/sparc/sparc32/backtrace.h: New file.
14051 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14052 * sysdeps/sparc/sparc64/backtrace.h: New file.
14053 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14054 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14055 -funwind-tables.
14056
ab087e0a
AS
140572013-01-21 Andreas Schwab <schwab@suse.de>
14058
14059 [BZ #15020]
14060 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14061 closed its stdout.
14062
ed689c2f
AS
140632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14064
14065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14066 "mpa2.h".
14067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14068
31d470ac
JM
140692013-01-18 Joseph Myers <joseph@codesourcery.com>
14070 Mark Mitchell <mark@codesourcery.com>
14071 Tom de Vries <tom@codesourcery.com>
14072 Paul Pluzhnikov <ppluzhnikov@google.com>
14073
14074 * debug/tst-backtrace2.c: New file.
14075 * debug/tst-backtrace3.c: Likewise.
14076 * debug/tst-backtrace4.c: Likewise.
14077 * debug/tst-backtrace5.c: Likewise.
14078 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14079 (CFLAGS-tst-backtrace3.c): Likewise.
14080 (CFLAGS-tst-backtrace4.c): Likewise.
14081 (CFLAGS-tst-backtrace5.c): Likewise.
14082 (LDFLAGS-tst-backtrace2): Likewise.
14083 (LDFLAGS-tst-backtrace3): Likewise.
14084 (LDFLAGS-tst-backtrace4): Likewise.
14085 (LDFLAGS-tst-backtrace5): Likewise.
14086 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14087 tst-backtrace4 and tst-backtrace5.
14088
90567f30 140892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14090 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14091
14092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14093 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14095 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14097 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14098 "+r" and remove output regs list as redundant. Add explicit inline
14099 asm to specify register of return val to work around compiler codegen
14100 bug. Remove (int) cast on return value. Add return type parameter to
14101 use in macro so that this macro does not truncate return value for
14102 64-bit values.
14103 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14104 pass to INTERNAL_VSYSCALL_NCS.
14105 (INLINE_VSYSCALL): Add 'long int' as return type to
14106 INTERNAL_VSYSCALL_NCS macro invocation.
14107 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14108 INTERNAL_VSYSCALL_NCS macro invocation.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14110
d3b9ea61
SP
141112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14112
0b57daeb
SP
14113 [BZ #14496]
14114 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14115 Fix application of SIMD FP exception mask.
14116
caa99d06
SP
14117 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14118 mp_no from a power of two.
14119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14120 __mpexp_twomm1. Use __pow_mp.
14121
d3b9ea61
SP
14122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14123 multiplication.
14124
1dbaee3c
DM
141252013-01-17 David S. Miller <davem@davemloft.net>
14126
14127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14128
728d7b43
JM
141292013-01-17 Joseph Myers <joseph@codesourcery.com>
14130
14131 [BZ #15023]
14132 * include/complex.h: Condition contents on [!_COMPLEX_H].
14133 (__kernel_casinhf): New prototype.
14134 (__kernel_casinh): Likewise.
14135 (__kernel_casinhl): Likewise.
14136 * math/Makefile (libm_calls): Add k_casinh.
14137 * math/k_casinh.c: New file.
14138 * math/k_casinhf.c: Likewise.
14139 * math/k_casinhl.c: Likewise.
14140 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14141 finite nonzero arguments.
14142 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14143 finite nonzero arguments.
14144 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14145 finite nonzero arguments.
14146 * math/s_casinh.c: Do not include <float.h>.
14147 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14148 * math/s_casinhf.c: Do not include <float.h>.
14149 (__casinhf): Move code for finite nonzero arguments to
14150 k_casinhf.c.
14151 * math/s_casinhl.c: Do not include <float.h>.
14152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14153 redefine.
14154 (__casinhl): Move code for finite nonzero arguments to
14155 k_casinhl.c.
14156 * math/libm-test.inc (cacos_test): Add more tests.
14157 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159
2a26ef3a
PT
141602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14161
14162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14163 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14164 [!HAVE_MREMAP]: Remove [defined linux] case.
14165 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14166
a897655d
SP
141672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14168
14169 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14170
881ebe89 141712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14172
14173 * elf/elf.h (R_386_SIZE32): New relocation.
14174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14175 R_386_SIZE32.
14176 (elf_machine_rela): Likewise.
14177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14178 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14179
59981e9b
JM
141802013-01-17 Joseph Myers <joseph@codesourcery.com>
14181
14182 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14183 (FP_FAST_FMA): Do not define.
14184 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14185 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14186 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14187 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14188 !_SOFT_FLOAT]: Likewise.
14189 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14191 value.
14192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14193 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14196 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14197 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14198 file.
14199
cfa8054f
AS
142002013-01-16 Andreas Schwab <schwab@suse.de>
14201
14202 [BZ #14327]
14203 * include/stdlib.h (__mktemp): Add declaration.
14204 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14205 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14206
dd930cc5
SP
142072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14208
881ebe89
SP
14209 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14210 definitions.
14211 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14212 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14213 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14214 definitions here.
14215 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14216 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14217 definitions.
14218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14219 and ONE.
14220 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14221 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14223 definitions.
14224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14225 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14226 definitions.
14227 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14228
dd930cc5
SP
14229 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14230
c19a9f89
DM
142312013-01-15 David S. Miller <davem@davemloft.net>
14232
1aa61767
DM
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14234 trunc{,f} to libm-sysdep_routes.
14235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14237 file.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14240 file.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14242 file.
14243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14245 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14247 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14249 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14250 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14251
c42d5e98
DM
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14253 nearbyint{,f} to libm-sysdep_routes.
14254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14256 New file.
14257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14258 file.
14259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14260 New file.
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14262 file.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14266 file.
14267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14269 file.
14270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14271 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14272 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14273
c19a9f89
DM
14274 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14275 libc_feholdexcept and libc_fesetenv.
14276
357679d2
MF
142772013-01-15 Mike Frysinger <vapier@gentoo.org>
14278
14279 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14280
65a82e3d
DM
142812013-01-14 David S. Miller <davem@davemloft.net>
14282
8b954ab9
DM
14283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14284 (SPARC_ASM_VIS2_IFUNC): Likewise.
14285 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14287 use of 'siam' instruction.
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14289 Likewise.
14290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14291 Likewise.
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14293 Likewise.
14294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14299 file.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14301 file.
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14303 file.
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14305 file.
14306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14311 new VIS2 routines.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14315 Likewise.
14316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14321 routines to libm-sysdep_routines.
14322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14323
65a82e3d
DM
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14325 fdim/fdimf to libm-sysdep_routines.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14327 file.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14330 file.
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14334 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14335 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14336 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14337 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14338
e34ab705
SP
143392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14340
2a91b573
SP
14341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14342 to optimize copies.
14343
1066a534
SP
14344 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14347
e34ab705
SP
14348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14349 local variable MPTWO.
14350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14351 Likewise.
14352
aba5e596
MF
143532013-01-13 Mike Frysinger <vapier@gentoo.org>
14354
14355 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14356 GLOB_NOESCAPE.
14357
e557e9e5
MF
143582013-01-13 Mike Frysinger <vapier@gentoo.org>
14359
14360 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14361
0428cec9
MF
143622013-01-13 Mike Frysinger <vapier@gentoo.org>
14363
14364 * manual/pattern.texi (glob_t): Document gl_flags.
14365 (glob64_t): Likewise.
14366
8794a964
DM
143672013-01-11 David S. Miller <davem@davemloft.net>
14368
66438c3f
RM
14369 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14370 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14371 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14372 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14373 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14374 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14375 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14376 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14377 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14378 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14379 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14380 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14382
4ae4244d
DM
14383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14384 sparc V9 rather than using V8 code.
14385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14387
8794a964
DM
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14389 Move to...
14390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14391 Here.
14392
6270516e
RM
143932013-01-11 Roland McGrath <roland@hack.frob.com>
14394
14395 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14396 not in the main loop.
14397 * configure: Regenerated.
14398
6a57d931
JM
143992013-01-11 Joseph Myers <joseph@codesourcery.com>
14400
14401 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14402 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14403 to just #else.
14404 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14405 [!__GLIBC_HAVE_LONG_LONG] case.
14406 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14407 condition to just #else.
14408 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14409 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14410 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14411 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14412 unconditional.
14413 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14414 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14415 #elif condition to just #else.
14416 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14417 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14418 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14419 #elif condition to just #else.
14420
0e8529e9
SE
144212013-01-11 Steve Ellcey <sellcey@mips.com>
14422
14423 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14424 (EF_MIPS_ARCH_64): Fix value.
14425 (EF_MIPS_ARCH_32R2): New.
14426 (EF_MIPS_ARCH_64R2): New.
14427
740b3dbe
L
144282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14429
14430 * Makeconfig (+link-pie-before-libc): New.
14431 (+link-pie-after-libc): Likewise.
14432 (+link-pie-tests): Likewise.
14433 (+link-pie): Rewritten.
14434 (link-before-libc): Remove $(config-LDFLAGS).
14435 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14436 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14437 (config-LDFLAGS): Renamed to ...
14438 (rtld-LDFLAGS): This.
14439 (rtld-tests-LDFLAGS): New macro.
14440 (link-libc-rpath-link): Likewise.
14441 (link-libc-tests-rpath-link): Likewise.
14442 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14443 (link-libc): Prepand $(link-libc-rpath-link).
14444 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14445 (test-program-prefix): New macro.
14446 (test-via-rtld-prefix): Likewise.
14447 (test-program-cmd): Likewise.
14448 (host-test-program-cmd): Likewise.
14449 * Makefile ($(common-objpfx)testrun.sh): Replace
14450 $(run-program-prefix) with $(test-program-prefix).
14451 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14452 $(rtld-LDFLAGS).
14453 ($(common-objpfx)shlib.lds): Likewise.
14454 (build-module-helper): Likewise.
14455 ($(common-objpfx)format.lds): Likewise.
14456 * Rules (binaries-pie-tests): New.
14457 (binaries-pie-notests): Likewise.
14458 (binaries-pie): Rewritten.
14459 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14460 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14461 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14462 (make-test-out): Replace $(host-built-program-cmd) with
14463 $(host-test-program-cmd).
14464 * config.make.in (build-hardcoded-path-in-tests): New variable.
14465 * configure.in (--enable-hardcoded-path-in-tests): New configure
14466 option.
14467 (hardcoded_path_in_tests): New AC_SUBST.
14468 * configure: Regenerated.
14469 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14470 $(built-program-cmd) with $(test-program-cmd).
14471 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14472 (test_program_cmd): This.
14473 * elf/Makefile ($(objpfx)order.out): Run test with
14474 $(test-program-prefix).
14475 ($(objpfx)order2.out): Likewise.
14476 ($(objpfx)tst-initorder.out): Likewise.
14477 ($(objpfx)tst-initorder2.out): Likewise.
14478 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14479 $(test-program-cmd).
14480 ($(objpfx)tst-array1-static.out): Likewise.
14481 ($(objpfx)tst-array2.out): Likewise.
14482 ($(objpfx)tst-array3.out): Likewise.
14483 ($(objpfx)tst-array4.out): Likewise.
14484 ($(objpfx)tst-array5.out): Likewise.
14485 ($(objpfx)tst-array5-static.out): Likewise.
14486 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14487 $(test-program-cmd).
14488 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14489 $(run-program-prefix) with $(test-program-prefix).
14490 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14491 (test_program_prefix): This.
14492 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14493 $(run-program-prefix) with $(test-program-prefix).
14494 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14495 (test_program_prefix): This.
14496 * iconvdata/tst-tables.sh: Likewise.
14497 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14498 $(run-program-prefix) with $(test-program-prefix).
14499 ($(objpfx)tst-translit.out): Likewise.
14500 ($(objpfx)tst-gettext2.out): Likewise.
14501 ($(objpfx)tst-gettext4.out): Likewise.
14502 ($(objpfx)tst-gettext6.out): Likewise.
14503 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14504 (test_program_prefix): This.
14505 * intl/tst-gettext2.sh: Likewise.
14506 * intl/tst-gettext4.sh Likewise.
14507 * intl/tst-gettext6.sh: Likewise.
14508 * intl/tst-translit.sh: Likewise.
14509 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14510 with $(test-program-cmd).
14511 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14512 $(run-program-prefix) with $(test-program-prefix).
14513 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14514 (test_program_prefix): This.
14515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14516 $(run-program-prefix) with $(test-program-prefix).
14517 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14518 (test_program_prefix): This.
14519 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14520 * posix/Makefile ($(objpfx)globtest.out): Replace
14521 $(run-via-rtld-prefix) and $(test-wrapper) with
14522 $(test-program-prefix) and $(test-via-rtld-prefix).
14523 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14524 $(test-program-prefix).
14525 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14526 $(host-test-program-cmd).
14527 (tst-spawn-ARGS): Likewise.
14528 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14529 $(test-program-prefix).
14530 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14531 (test_via_rtld_prefix): This.
14532 (test_wrapper): Renamed to ...
14533 (test_program_prefix): This.
14534 (run_program_prefix): Replaced by test_program_prefix.
14535 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14536 (test_program_prefix): This.
14537 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14538 with $(host-test-program-cmd).
14539 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14540 $(run-program-prefix) with $(test-program-prefix).
14541 ($(objpfx)tst-printf.out): Likewise.
14542 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14543 $(test-program-cmd).
14544 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14545 (test_program_prefix): This.
14546 * stdio-common/tst-unbputc.sh: Likewise.
14547 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14548 $(run-program-prefix) with $(test-program-prefix).
14549 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14550 (test_program_prefix): This.
14551 * string/Makefile ($(objpfx)tst-svc.out): Replace
14552 $(built-program-cmd) with $(test-program-cmd).
14553
c6fe55cf
AJ
145542013-01-11 Andreas Jaeger <aj@suse.de>
14555
14556 [BZ #15003]
14557 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14558 value. Sync with Linux 3.7.
14559
9e6919c8
DM
145602013-01-10 David S. Miller <davem@davemloft.net>
14561
14562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14565
1c9f1a02
RM
145662013-01-10 Roland McGrath <roland@hack.frob.com>
14567
14568 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14569 never set.
14570 * configure: Regenerated.
14571
b9de2dde
DM
145722013-01-10 David S. Miller <davem@davemloft.net>
14573
14574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14575 sparc V9 rather than using V8 code.
14576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14578
e7f68ef4
RM
145792013-01-10 Roland McGrath <roland@hack.frob.com>
14580
14581 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14582 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14583 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14584 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14585 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14586 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14587 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14588 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14589 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14590 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14591 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14592 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14593 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14594 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14595 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14596 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14597 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14598 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14599 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14600 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14601 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14602 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14603 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14604 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14605 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14606 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14607 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14608
5a47cc9c
DM
146092013-01-10 David S. Miller <davem@davemloft.net>
14610
14611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14612
4cf8f209
L
146132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14614
14615 * posix/Makefile (tests-static): New variable.
14616 (tests): Add $(tests-static).
14617 (tst-exec-static-ARGS): New variable.
14618 (tst-spawn-static-ARGS): Likewise.
14619 * posix/tst-exec-static.c: New file.
14620 * posix/tst-spawn-static.c: Likewise.
14621 * posix/tst-exec.c: Support run directly.
14622 * posix/tst-spawn.c: Likewise.
14623
fed0faa1
JM
146242013-01-10 Joseph Myers <joseph@codesourcery.com>
14625
828beb13
JM
14626 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14627 long.
14628 * math/bits/mathcalls.h (llrint): Likewise.
14629 (llround): Likewise.
14630 * stdlib/stdlib.h (struct drand48_data): Likewise.
14631 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14632 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14633 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14634 Likewise.
14635 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14636 Likewise.
14637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14638 (elf_greg_t): Likewise.
14639 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14640 (__jmp_buf): Likewise.
14641 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14642 definitions.
14643 (llrint): Likewise, for all definitions.
14644 (llrintl): Likewise.
14645
fed0faa1
JM
14646 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14647 Remove [__GNUC__] condition.
14648 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14649 condition to just [__USE_ISOC99].
14650 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14651
1a20cb20
L
146522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 [BZ #14200]
14655 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14656 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14657 defined.
14658 (_POSIX_V6_ILP32_OFF32): Likewise.
14659 (_XBS5_ILP32_OFF32): Likewise.
14660 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14661 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14662
751b85f7
SP
146632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
7490eb81
SP
14665 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14666
751b85f7
SP
14667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14668 doubles __mpexp_twomm1. Adjust usage.
14669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14670 Remove.
14671
988197f0
AS
146722013-01-10 Andreas Schwab <schwab@suse.de>
14673
14674 [BZ #14964]
14675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14676 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14677
e83d7298
DM
146782013-01-09 David S. Miller <davem@davemloft.net>
14679
034ed64b 14680 [BZ #15003]
e83d7298
DM
14681 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14682 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14683 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14684 TCP_FASTOPEN): Define.
14685 (tcp_repair_opt): New structure.
14686 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14687 enum values.
14688 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14689 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14690 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14691 (tcp_cookie_transactions): New structure.
14692
d5e0b9bd
AB
146932013-01-09 Anton Blanchard <anton@samba.org>
14694
14695 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14696 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14699
0c07e3ea
JM
147002013-01-09 Joseph Myers <joseph@codesourcery.com>
14701
14702 * include/features.h (__USE_ANSI): Remove.
14703
232f7002
RM
147042013-01-09 Roland McGrath <roland@hack.frob.com>
14705
ad98e30c
RM
14706 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14707
232f7002
RM
14708 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14709
950c99ca
SP
147102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14711
b5792741
SP
14712 * sysdeps/s390/fpu/libm-test-ulps: Update.
14713
47cf2278
SP
14714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14715
950c99ca
SP
14716 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14717 (__acr): Likewise.
14718 (__cpy): Likewise.
14719 (norm): Likewise.
14720 (denorm): Likewise.
14721 (__mp_dbl): Likewise.
14722 (__dbl_mp): Likewise.
14723 (add_magnitudes): Likewise.
14724 (sub_magnitudes): Likewise.
14725 (__add): Likewise.
14726 (__sub): Likewise.
14727 (__mul): Likewise.
14728 (__inv): Likewise.
14729 (__dvd): Likewise.
14730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14731 (__acr): Likewise.
14732 (__cpy): Likewise.
14733 (norm): Likewise.
14734 (denorm): Likewise.
14735 (__mp_dbl): Likewise.
14736 (__dbl_mp): Likewise.
14737 (add_magnitudes): Likewise.
14738 (sub_magnitudes): Likewise.
14739 (__add): Likewise.
14740 (__sub): Likewise.
14741 (__mul): Likewise.
14742 (__inv): Likewise.
14743 (__dvd): Likewise.
14744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14745 (__acr): Likewise.
14746 (__cpy): Likewise.
14747 (norm): Likewise.
14748 (denorm): Likewise.
14749 (__mp_dbl): Likewise.
14750 (__dbl_mp): Likewise.
14751 (add_magnitudes): Likewise.
14752 (sub_magnitudes): Likewise.
14753 (__add): Likewise.
14754 (__sub): Likewise.
14755 (__mul): Likewise.
14756 (__inv): Likewise.
14757 (__dvd): Likewise.
14758
eede9df9
JM
147592013-01-08 Joseph Myers <joseph@codesourcery.com>
14760
14761 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14762 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14763 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14764 2 && __USE_EXTERN_INLINES]: Likewise.
14765
c40ea3d9
AJ
147662013-01-08 Andreas Jaeger <aj@suse.de>
14767
14768 [BZ# 14985]
14769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14770 Remove.
14771 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14773
2ccdea26
AB
147742013-01-07 Anton Blanchard <anton@samba.org>
14775
14776 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14777 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14778 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14782 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14790 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14793 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14794 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14803 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14806 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14809 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14810 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14819
a9708fed
JM
148202013-01-07 Joseph Myers <joseph@codesourcery.com>
14821
375607b9
JM
14822 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14823 (__MALLOC_PMT): Likewise.
14824 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14825 [__GNUC__], only on [_LIBC].
14826 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14827 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14828 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14829 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14830 forward declaration.
14831 (realloc_hook_ini): Likewise.
14832 (memalign_hook_ini): Likewise.
14833 (__libc_memalign): Do not use __MALLOC_PMT in variable
14834 declaration.
14835 (__libc_valloc): Likewise.
14836 (__libc_pvalloc): Likewise.
14837 (__libc_calloc): Likewise.
14838 (__posix_memalign): Likewise.
14839
a9708fed
JM
14840 [BZ #14996]
14841 * math/s_casinh.c: Include <float.h>.
14842 (__casinh): Do not do computation with squaring and square root
14843 for large arguments.
14844 * math/s_casinhf.c: Include <float.h>.
14845 (__casinhf): Do not do computation with squaring and square root
14846 for large arguments.
14847 * math/s_casinhl.c: Include <float.h>.
14848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14849 (__casinhl): Do not do computation with squaring and square root
14850 for large arguments.
14851 * math/libm-test.inc (casin_test): Add more tests.
14852 (casinh_test): Likewise.
14853 * sysdeps/i386/fpu/libm-test-ulps: Update.
14854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855
afec409a
L
148562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14859 (__x86_64_raw_data_cache_size): Likewise.
14860 (__x86_64_data_cache_size_half): Likewise.
14861 (__x86_64_raw_data_cache_size_half): Likewise.
14862 (__x86_64_shared_cache_size): Likewise.
14863 (__x86_64_raw_shared_cache_size): Likewise.
14864 (__x86_64_shared_cache_size_half): Likewise.
14865 (__x86_64_raw_shared_cache_size_half): Likewise.
14866 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14867 to ...
14868 (__x86_data_cache_size): This.
14869 (__x86_64_raw_data_cache_size): Renamed to ...
14870 (__x86_raw_data_cache_size): This.
14871 (__x86_64_data_cache_size_half): Renamed to ...
14872 (__x86_data_cache_size_half): This.
14873 (__x86_64_raw_data_cache_size_half): Renamed to ...
14874 (__x86_raw_data_cache_size_half): This.
14875 (__x86_64_shared_cache_size): Renamed to ...
14876 (__x86_shared_cache_size): This.
14877 (__x86_64_raw_shared_cache_size): Renamed to ...
14878 (__x86_raw_shared_cache_size): This.
14879 (__x86_64_shared_cache_size_half): Renamed to ...
14880 (__x86_shared_cache_size_half): This.
14881 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14882 (__x86_raw_shared_cache_size_half): This.
14883 * sysdeps/x86_64/memcpy.S: Updated.
14884 * sysdeps/x86_64/memset.S: Likewise.
14885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14888
0b3986d0
DM
148892013-01-04 David S. Miller <davem@davemloft.net>
14890
14891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14892
e47686e9
AS
148932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14894
d643bac1
AS
14895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14896 1 to avoid redefinition warning.
14897 (__USE_GNU): Don't define.
14898 (init_signaling_nan): Protoize.
14899
e47686e9
AS
14900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14901
b18decba
SP
149022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14903
fffb407f
SP
14904 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14906 (__cpymn): Likewise.
14907 (norm): Remove commented code.
14908 (denorm): Likewise.
14909 (__mp_dbl): Likewise.
14910 (__inv): Likewise.
14911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14912 (__cpymn): Likewise.
14913 (norm): Remove commented code.
14914 (denorm): Likewise.
14915 (__mp_dbl): Likewise.
14916 (__inv): Likewise.
14917
b18decba
SP
14918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14919 mp_no value for 1.0 and 2.0.
14920 (norm): Use RADIXI instead of radixi.d.
14921 (denorm): Likewise.
14922 (__mul): Use 0.0 instead of zero.d.
14923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14924 mp_no value for 1.0 and 2.0.
14925 (norm): Use RADIXI instead of radixi.d.
14926 (denorm): Likewise.
14927 (__mul): Use 0.0 instead of zero.d.
14928
cdc1c96f
JM
149292013-01-04 Joseph Myers <joseph@codesourcery.com>
14930
14931 [BZ #14994]
14932 * math/s_casinh.c (__casinh): Reduce finite argument to first
14933 quadrant then set signs of results at the end.
14934 * math/s_casinhf.c (__casinhf): Likewise.
14935 * math/s_casinhl.c (__casinhl): Likewise.
14936 * math/libm-test.inc (casin_test): Add more tests.
14937 (casinh_test): Likewise.
14938 * sysdeps/i386/fpu/libm-test-ulps: Update.
14939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940
302913e1
SP
149412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14942
6420d207
SP
14943 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14944
a9e48ab4
SP
14945 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14946
b7837264
SP
14947 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14948 declarations.
14949 (denorm): Likewise.
14950 (__mp_dbl): Likewise.
14951 (__inv): Likewise.
14952
f8af25d2
SP
14953 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14954 and adjust the header comment.
14955
302913e1
SP
14956 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14957 variable name from declaration.
14958
5d7dd1ca
L
149592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14960
14961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14962 Initialize COMMON_CPUID_INDEX_7 element.
14963 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14964 (CPUID_RTM): Likewise.
14965 (HAS_RTM): Likewise.
14966 (COMMON_CPUID_INDEX_7): New enum.
14967
2f5f40f4
AS
149682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14969
14970 [BZ #14981]
14971 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14972 size is zero, record memory as freed.
14973
4056f4a0
AJ
149742013-01-03 Andreas Jaeger <aj@suse.de>
14975
14976 * po/ia.po: Add new Interlingua translation.
14977
ab15736f 149782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14979
14980 * locale/programs/localedef.c: Fix description of '--posix' flag.
14981
568035b7
JM
149822013-01-02 Joseph Myers <joseph@codesourcery.com>
14983
e6898b8d
JM
14984 * NEWS: Update dates in second copyright notice.
14985 * README: Update copyright dates in example.
14986 * manual/libc.texinfo: Update copyright dates.
14987 * scripts/test-installation.pl: Update copyright date in --version
14988 output.
14989
0e2f9562
JM
14990 * hurd/ctty-input.c: Fix copyright notice formatting.
14991 * hurd/ctty-output.c: Likewise.
14992 * hurd/dtable.c: Likewise.
14993 * hurd/hurd-raise.c: Likewise.
14994 * hurd/hurdprio.c: Likewise.
14995 * hurd/msgportdemux.c: Likewise.
14996 * misc/sys/file.h: Likewise.
14997 * misc/sys/ioctl.h: Likewise.
14998 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14999 * sysdeps/mach/hurd/chdir.c: Likewise.
15000 * sysdeps/mach/hurd/fchdir.c: Likewise.
15001 * sysdeps/mach/hurd/rename.c: Likewise.
15002 * sysdeps/mach/hurd/rmdir.c: Likewise.
15003 * sysdeps/mach/hurd/seekdir.c: Likewise.
15004 * sysdeps/mach/hurd/setsid.c: Likewise.
15005 * sysdeps/posix/wait3.c: Likewise.
15006
568035b7
JM
15007 * All files with FSF copyright notices: Update copyright dates
15008 using scripts/update-copyrights.
15009 * intl/plural.c: Regenerated.
15010 * locale/programs/charmap-kw.h: Likewise.
15011 * locale/programs/locfile-kw.h: Likewise.
15012
da08f647
SP
150132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15014
0f5477af
SP
15015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15016 four values.
15017
44e0d4c2
SP
15018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15019 calculation loop and add branch prediction.
15020
4d55b4e5
SP
15021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15022 check access beyond bounds of m1np.
15023
da08f647
SP
15024 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15025 MPTWO.
15026 (__inv): Remove local variable MPTWO to use the global
15027 constant.
15028 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15030 variable MPTWO.
15031 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15032 MP3HALFS static const.
15033
8e051029
DM
150342013-01-01 David S. Miller <davem@davemloft.net>
15035
15036 * po/ca.po: Update from translation team.
15037
f4cf5f2d
JM
150382013-01-01 Joseph Myers <joseph@codesourcery.com>
15039
15040 * scripts/update-copyrights: New file.
15041 * Makeconfig: Reformat copyright notice.
15042 * ctype/ctype.h: Likewise.
15043 * debug/swprintf_chk.c: Likewise.
15044 * elf/dl-cache.c: Likewise.
15045 * elf/dl-debug.c: Likewise.
15046 * elf/dl-object.c: Likewise.
15047 * grp/initgroups.c: Likewise.
15048 * hurd/Makefile: Likewise.
15049 * hurd/hurd/signal.h: Likewise.
15050 * hurd/hurdfault.c: Likewise.
15051 * hurd/hurdioctl.c: Likewise.
15052 * hurd/hurdlookup.c: Likewise.
15053 * hurd/intr-msg.c: Likewise.
15054 * iconv/gconv_open.c: Likewise.
15055 * libio/swprintf.c: Likewise.
15056 * locale/lc-ctype.c: Likewise.
15057 * locale/nl_langinfo.c: Likewise.
15058 * mach/Machrules: Likewise.
15059 * mach/Makefile: Likewise.
15060 * malloc/obstack.h: Likewise.
15061 * manual/Makefile: Likewise.
15062 * manual/tsort.awk: Likewise.
15063 * misc/bits/stab.def: Likewise.
15064 * nis/nis_print_group_entry.c: Likewise.
15065 * nis/nis_table.c: Likewise.
15066 * nis/nss_compat/compat-pwd.c: Likewise.
15067 * nis/nss_compat/compat-spwd.c: Likewise.
15068 * po/Makefile: Likewise.
15069 * posix/fnmatch.c: Likewise.
15070 * posix/regex.h: Likewise.
15071 * resolv/Makefile: Likewise.
15072 * resolv/nss_dns/dns-network.c: Likewise.
15073 * resolv/res_hconf.c: Likewise.
15074 * scripts/gen-sorted.awk: Likewise.
15075 * soft-fp/soft-fp.h: Likewise.
15076 * stdio-common/printf.h: Likewise.
15077 * stdlib/monetary.h: Likewise.
15078 * stdlib/random.c: Likewise.
15079 * stdlib/random_r.c: Likewise.
15080 * sysdeps/generic/Makefile: Likewise.
15081 * sysdeps/gnu/Makefile: Likewise.
15082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15092 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15106 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15110 * sysdeps/mach/hurd/errnos.awk: Likewise.
15111 * sysdeps/mach/hurd/fork.c: Likewise.
15112 * sysdeps/mach/hurd/getcwd.c: Likewise.
15113 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15114 * sysdeps/mach/hurd/mmap.c: Likewise.
15115 * sysdeps/mach/hurd/utimes.c: Likewise.
15116 * sysdeps/mach/hurd/xmknod.c: Likewise.
15117 * sysdeps/posix/profil.c: Likewise.
15118 * sysdeps/posix/readdir_r.c: Likewise.
15119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15120 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15121 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15122 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15130 * sysdeps/pthread/lio_listio.c: Likewise.
15131 * sysdeps/sparc/dl-procinfo.h: Likewise.
15132 * sysdeps/unix/i386/sysdep.S: Likewise.
15133 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15134 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15135 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15136 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15138 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15139 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15140 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15141 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15142 * sysdeps/wordsize-32/divdi3.c: Likewise.
15143 * time/sys/time.h: Likewise.
15144 * wcsmbs/Makefile: Likewise.
15145
0549fbba
DM
151462013-01-01 David S. Miller <davem@davemloft.net>
15147
a141f1a7
DM
15148 * po/fr.po: Update from translation team.
15149
0549fbba
DM
15150 * catgets/gencat.c: Update copyright year.
15151 * csu/version.c: Likewise.
15152 * debug/catchsegv.sh: Likewise.
15153 * debug/pcprofiledump.c: Likewise.
15154 * debug/xtrace.sh: Likewise.
15155 * elf/ldconfig.c: Likewise.
15156 * elf/ldd.bash.in: Likewise.
15157 * elf/pldd.c: Likewise.
15158 * elf/sotruss.ksh: Likewise.
15159 * elf/sprof.c: Likewise.
15160 * iconv/iconv_prog.c: Likewise.
15161 * iconv/iconvconfig.c: Likewise.
15162 * locale/programs/locale.c: Likewise.
15163 * locale/programs/localedef.c: Likewise.
15164 * login/programs/pt_chown.c: Likewise.
15165 * malloc/memusage.sh: Likewise.
15166 * malloc/memusagestat.c: Likewise.
15167 * malloc/mtrace.pl: Likewise.
15168 * nscd/nscd.c: Likewise.
15169 * nss/getent.c: Likewise.
15170 * nss/makedb.c: Likewise.
15171 * posix/getconf.c: Likewise.
15172
18ea052c
SP
151732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15174
15175 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15176 numbers.
15177
9c89fca6
MF
151782012-12-30 Mike Frysinger <vapier@gentoo.org>
15179
15180 * math/bits/mathcalls.h (modf): Use __nonnull.
15181
085ec079
SP
151822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15183
15184 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15185 (split): Use macro CN instead of the bare value.
15186 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15187 could be used.
15188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15189 instead of the bare value.
15190 (power1): Likewise.
15191
6d9f97e1
SP
151922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15193
d63f73be
SP
15194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15195 __ATAN_TWOM.
15196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15197
6d9f97e1
SP
15198 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15199 their values.
15200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15202 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15203 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15204
4c4febf5
AJ
152052012-12-28 Andreas Jaeger <aj@suse.de>
15206
af5843ef
AJ
15207 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15208 values are from Linux 3.7.
15209
4c4febf5
AJ
15210 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15211 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15212
99136f82
SP
152132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15214
2f216c3c 15215 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15216 TRUE case.
15217
99136f82
SP
15218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15219 (norm): Likewise.
15220 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15221 variables with preprocessor constants.
15222 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15223 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15225
7fffbdff
BH
152262012-12-27 Bruno Haible <bruno@clisp.org>
15227
15228 [BZ #14317]
15229 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15230 only if needed.
15231
b76eb5f0
SP
152322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15233
31a7fe5c
SP
15234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15235 and use variable directly.
15236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15237
b76eb5f0
SP
15238 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15239 MPONE.
15240 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15242 variable MPONE.
15243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15245 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15246 include directive. Remove local variable MPONE.
15247 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15250
2c8bfe7d
DM
152512012-12-25 David S. Miller <davem@davemloft.net>
15252
15253 * version.h (RELEASE): Set to "development".
15254 (VERSION): Set to "2.17.90".
15255 * NEWS: Add 2.18 section.
15256
147d03b0
DM
152572012-12-21 David S. Miller <davem@davemloft.net>
15258
15259 * po/hr.po: Update from translation team.
15260
a8ebb2b9
AK
152612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15262
15263 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15264
95b4f1b6
SE
152652012-12-19 Steve Ellcey <sellcey@mips.com>
15266
b2d94007 15267 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15268
cedb2a90
MS
152692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15270
15271 * manual/contrib.texi (Contributors): Spelling correction.
15272
bbf527d6
DM
152732012-12-15 David S. Miller <davem@davemloft.net>
15274
15275 * po/ru.po: Update from translation team.
15276
bc38c906
DM
152772012-12-13 David S. Miller <davem@davemloft.net>
15278
85429b1a
DM
15279 * NEWS: Mention IFUNC testsuite enhancements.
15280
d283e353
DM
15281 * po/pl.po: Update from translation team.
15282 * po/bg.po: Likewise.
15283
bc38c906
DM
15284 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15285 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15286
a181b0d7
DM
152872012-12-11 David S. Miller <davem@davemloft.net>
15288
4641d57e
DM
15289 * po/sv.po: Update from translation team.
15290
f7bc6495
DM
15291 * po/vi.po: Update from translation team.
15292
6fc9048f
DM
15293 * po/cs.po: Update from translation team.
15294
a181b0d7
DM
15295 * po/de.po: Update from translation team.
15296 * po/eo.po: Likewise.
15297 * po/nl.po: Likewise.
15298
f70bfe80
SP
152992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15300
3c8b4190
SP
15301 [BZ #14246]
15302 * manual/argp.texi (Argp Helper Functions): Move node to follow
15303 Argp Parsing State.
15304
f70bfe80
SP
15305 [BZ #14872]
15306 * manual/conf.texi (Limits on File System Capacity): Mention if
15307 terminating null is included in the max size.
15308
188f0adf
AJ
153092012-12-10 Andreas Jaeger <aj@suse.de>
15310
15311 * po/cs.po: Update from translation team.
15312
56e7d3ad
SP
153132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15314
15315 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15316 void pointer and cast to uintptr_t.
15317 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15318 path.
15319 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15320 * sysdeps/s390/s390-64/memset.S: Likewise.
15321
76f2d2ea 153222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15323
15324 [BZ #14833]
15325 * menual/message.texi (Message Translation): Fix typos.
15326 (Helper programs for gettext): Likewise.
15327
67cbf9a2
AS
153282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15329
15330 [BZ #14898]
15331 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15332 Change to -1.
15333
682d0e9a
DM
153342012-12-07 David S. Miller <davem@davemloft.net>
15335
15336 * po/libc.pot: Update.
15337
573cd484
RH
153382012-12-07 Richard Henderson <rth@redhat.com>
15339
7e9da188 15340 [BZ #10114]
573cd484
RH
15341 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15342 normal/normal case to before the switch.
15343 (_FP_DIV): Likewise.
15344
e933a943
MF
153452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15346 Mike Frysinger <vapier@gentoo.org>
15347
15348 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15349 check for __NR_fadvise64_64.
15350
82123268
CM
153512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15352
15353 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15354 0, not just to plain "0" as a statement.
15355 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15356 with cw.
15357
d9814526
JM
153582012-12-06 Joseph Myers <joseph@codesourcery.com>
15359
15360 * NEWS: Use sourceware.org in Bugzilla URL.
15361
7728c574
SP
153622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15363
f16946dd
SP
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15365 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15366
5704bbcb
SP
15367 * stdio-common/tst-put-error.c (do_test): Add newline to the
15368 padded test to ensure flush.
15369
17aa0516
JL
153702012-12-05 Jeff Law <law@redhat.com>
15371
15372 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15373
363313b5
JM
153742012-12-05 Joseph Myers <joseph@codesourcery.com>
15375
effbd42a
JM
15376 * README: Don't refer to ports add-on as distributed separately.
15377 Mention AArch64 in list of systems supported in the ports add-on.
15378
87600365
JM
15379 * LICENSES: Add more non-FSF copyright and license notices.
15380
a0d7066a
JM
15381 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15382 ((unused)).
15383
66ca5a5b
JM
15384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15385
363313b5
JM
15386 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15387 10000 as width of padded output.
15388
b37984ad
JM
153892012-12-04 Joseph Myers <joseph@codesourcery.com>
15390
9003570a
JM
15391 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15392
b37984ad
JM
15393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15394 variable LX with __attribute__ ((unused)).
15395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15396 Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15400 with __attribute__ ((unused)).
15401
c8df52ec
DM
154022012-12-04 David S. Miller <davem@abraco.davemloft.net>
15403
15404 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15405
b3b099af
JM
154062012-12-04 Joseph Myers <joseph@codesourcery.com>
15407
c33aa6e3
JM
15408 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15409 (CFLAGS-nldbl-acos.c): New variable.
15410 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15417 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15418 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15419 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15420 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15421 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15422 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15423 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15424 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15425 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15426 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15427 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15428 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15429 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15430 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15431 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15432 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15433 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15434 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15435 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15436 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15437 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15438 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15439 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15440 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15441 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15442 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15445 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15446 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15447 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15448 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15449 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15450 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15451 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15452 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15453 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15454 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15455 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15456 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15457 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15458 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15459 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15460 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15461 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15462 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15463 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15464 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15465 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15466 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15467 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15468 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15469 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15470 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15471 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15472 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15473 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15474 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15475 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15476 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15477 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15478 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15479 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15480 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15481 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15482 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15483 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15484 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15485 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15486 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15487 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15488 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15489 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15490 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15491 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15492 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15493 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15494 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15495 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15496 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15497 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15498 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15499 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15500 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15501 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15502 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15503 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15504 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15505 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15506 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15507
20f0018d
JM
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15509 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15510
b3b099af
JM
15511 [BZ #14914]
15512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15513 whole low double instead of just low 47 bits when splitting values
15514 into two parts.
15515
029264d1
AM
155162012-12-03 Allan McRae <allan@archlinux.org>
15517
15518 * manual/stdio.texi (Predefined Printf Handlers): Remove
15519 @hsep and @vsep usage.
15520
c9d6789e
MF
155212012-12-03 Mike Frysinger <vapier@gentoo.org>
15522
15523 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15524 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15525
4b7634a5
JL
155262012-12-03 Jeff Law <law@redhat.com>
15527
15528 * time/sys/time.h (settimeofday): Do not mark TV argument
15529 as __nonnull.
15530
eb6cbd24
MF
155312012-12-01 Mike Frysinger <vapier@gentoo.org>
15532
15533 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15534 when currently writing and seek to current position when not.
15535 * libio/Makefile (tests): Remove bug-fclose1.
15536 * libio/bug-fclose1.c: Delete.
15537
f638872a
JM
155382012-12-01 Joseph Myers <joseph@codesourcery.com>
15539
15540 * manual/arith.texi (feenableexcept): Fix typo.
15541 (fedisableexcept): Likewise.
15542
48085d14
RM
155432012-11-30 Roland McGrath <roland@hack.frob.com>
15544
15545 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15546 second, differently-typed declaration, rather than a cast.
15547
1a538b9f
SP
155482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15549
15550 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15551 * include/rpc/svc.h: ... here.
15552
d07f2ff1 155532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15554
15555 [BZ #13013]
15556 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15557 depending n and resplen2 to catch cases where answer
15558 equals answerp2.
15559
c93ec1f0
CD
155602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15561
15562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15563 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15564
37db69de
MF
155652012-11-29 Mike Frysinger <vapier@gentoo.org>
15566
15567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15568
e10c4e4f
RM
155692012-11-29 Roland McGrath <roland@hack.frob.com>
15570
15571 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15572
2af1b328
JL
155732012-11-28 Jeff Law <law@redhat.com>
15574
15575 [BZ #13761]
15576 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15577 dataset_temporary. Track alloca usage into alloca_used.
15578 If dataset is large allocate and release it via malloc/free.
15579
111db5b1
FW
155802012-06-04 Florian Weimer <fweimer@redhat.com>
15581
f06cc227 15582 [BZ #14197]
111db5b1
FW
15583 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15584
dd694abd
DM
155852012-11-28 David S. Miller <davem@davemloft.net>
15586
15587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15588
9984dd01
JM
155892012-11-28 Joseph Myers <joseph@codesourcery.com>
15590
15591 [BZ #14803]
15592 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15593 of pi/2 rounded to nearest to 64 bits.
15594 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15595 nearest to 64 bits.
15596 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15597 bits.
15598
14bc93a9
JL
155992012-11-28 Jeff Law <law@redhat.com>
15600 Martin Osvald <mosvald@redhat.com>
15601
15602 [BZ #14889]
15603 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15604 * sunrpc/svc.c: Include time.h.
15605 (__svc_accept_failed): New function.
15606 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15607 any reason other than EINTR, call __svc_accept_failed.
15608 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15609 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15610
e3c6aa3a
AS
156112012-11-28 Andreas Schwab <schwab@suse.de>
15612
15613 * scripts/abilist.awk: Also handle indirect functions in .opd
15614 section.
15615
1bead169
JM
156162012-11-28 Joseph Myers <joseph@codesourcery.com>
15617
15618 [BZ #13881]
15619 * sysdeps/x86/fpu/powl_helper.c: New file.
15620 * sysdeps/x86/fpu/Makefile: Likewise.
15621 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15622 (p3): New object.
15623 (__ieee754_powl): Use __powl_helper for finite arguments except
15624 integer exponents below 8.
15625 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15626 (p3): New object.
15627 (__ieee754_powl): Use __powl_helper for finite arguments except
15628 integer exponents below 8.
15629 * math/libm-test.inc (pow_test): Add more tests and enable some
15630 previously disabled tests.
15631 * sysdeps/i386/fpu/libm-test-ulps: Update.
15632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15633
0817d63d
SP
156342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15635 Carlos O'Donell <carlos_odonell@mentor.com>
15636
15637 * nss/makedb.c (is_prime): Assert that input is odd and greater
15638 than 4. Note that fact in a comment too.
15639 (next_prime): Add 4 to input.
15640
de2fd463
SP
156412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15642
15643 [BZ #11741]
15644 * libio/Makefile (tests): Add test case tst-fwrite-error.
15645 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15646 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15647 * libio/tst-fwrite-error.c: New test case.
15648
c515fb51
L
156492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15650
15651 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15652 before casting to void *.
15653 * include/libc-internal.h (__pointer_type): New macro.
15654 (__integer_if_pointer_type_sub): Likewise.
15655 (__integer_if_pointer_type): Likewise.
15656 (cast_to_integer): Likewise.
15657 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15658 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15659 before casting to atomic64_t.
15660 (atomic_exchange_acq): Likewise.
15661 (__arch_exchange_and_add_body): Likewise.
15662 (__arch_add_body): Likewise.
15663 (atomic_add_negative): Likewise.
15664 (atomic_add_zero): Likewise.
15665
4cf77aa9
JM
156662012-11-26 Joseph Myers <joseph@codesourcery.com>
15667
15668 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15669 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15670 (add_fdes): Likewise.
15671 (linear_search_fdes): Likewise.
15672 (binary_search_unencoded_fdes): Likewise.
15673
d260b3b4
AS
156742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15675
15676 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15677
67060746
AC
156782012-11-24 Adam Conrad <adconrad@0c3.net>
15679
15680 * configure.in: Autodetect C++ header directories.
15681 * configure: Regenerated.
15682
800938a1
MF
156832012-11-23 Mike Frysinger <vapier@gentoo.org>
15684
15685 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15686
4e6e34e6
AS
156872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15688
15689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15690
7c7feb47
JM
156912012-11-22 Joseph Myers <joseph@codesourcery.com>
15692
7184dcdf
JM
15693 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15694 LDBL_MANT_DIG == 106]: Disable some tests.
15695 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15696 Likewise.
15697 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15698 Likewise.
15699
0a42601f
JM
15700 [BZ #14871]
15701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15702 input for small inputs. Return +/- pi/2 for large inputs.
15703 * math/libm-test.inc (atan_test): Add more tests.
15704
79c9b9fe
JM
15705 * sysdeps/generic/unwind-dw2-fde-glibc.c
15706 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15707 __attribute__ ((unused)).
15708
c60d3bf2
JM
15709 [BZ #14645]
15710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15711 x * y if x and y are nonzero and z is zero.
15712
ef1e0867
JM
15713 [BZ #14811]
15714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15715 nonzero exponents with absolute value below 0x1p-117 to +/-
15716 0x1p-117.
15717
1468ded3
JM
15718 [BZ #14869]
15719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15720 up arguments below 2**-450, not just those below 2**-500.
15721 * math/libm-test.inc (hypot_test): Add another test.
15722
8e27e3cc
JM
15723 [BZ #14868]
15724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15725 Return a+b for ratio over 2**120, not 2**60.
15726 * math/libm-test.inc (hypot_test): Add another test.
15727
c9c0279b
JM
15728 * math/libm-test.inc (clog_test): Use
15729 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15730 (clog10_test): Likewise.
15731
7c7feb47
JM
15732 [BZ #6778]
15733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15734
fff1530e
AS
157352012-11-22 Andreas Schwab <schwab@suse.de>
15736
15737 * sysdeps/i386/fpu/libm-test-ulps: Update.
15738
94558d30
PT
157392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15740
15741 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15742 printf output with newline.
15743
7e1be741
L
157442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15745
6bfea974
L
15746 [BZ #14865]
15747 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15748 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15749 -z nodlopen, -z initfirst and -z execstack support.
15750 * configure: Regenerated.
15751
7e1be741
L
15752 * elf/elf.h (DF_1_NODIRECT): New macro.
15753 (DF_1_IGNMULDEF): Likewise.
15754 (DF_1_NOKSYMS): Likewise.
15755 (DF_1_NOHDR): Likewise.
15756 (DF_1_EDITED): Likewise.
15757 (DF_1_NORELOC): Likewise.
15758 (DF_1_SYMINTPOSE): Likewise.
15759 (DF_1_GLOBAUDIT): Likewise.
15760 (DF_1_SINGLETON): Likewise.
15761 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15762 DT_1_SUPPORTED_MASK bits.
15763 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15764
105ce2ce
CD
157652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15766
15767 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15768
123be9de
TS
157692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15770
d072f3f7
TS
15771 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15772 macro.
15773
123be9de
TS
15774 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15775 (sendmmsg): Move declarations...
15776 * socket/sys/socket.h: ... here.
15777 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15778 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15779 include it from...
15780 * socket/recvmmsg.c: ... this new file.
15781 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15782 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15783 definition of __sendmmsg hidden.
15784 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15785 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15786 Move ENOSYS stub into and include it from...
15787 * socket/sendmmsg.c: ... this new file.
15788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15789 (sysdep_routines): Move recvmmsg and sendmmsg...
15790 * socket/Makefile (routines): ... here.
15791 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15792 (GLIBC_PRIVATE): Add __sendmmsg.
15793 * include/sys/socket.h (__sendmmsg): Add declarations.
15794 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15795 sendmmsg.
15796
cf9a5d18
JM
157972012-11-20 Joseph Myers <joseph@codesourcery.com>
15798
15799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15800 variable I1 with __attribute__ ((unused)).
15801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15802
ecd4caf9
JM
158032012-11-19 Joseph Myers <joseph@codesourcery.com>
15804
be14d48f
JM
15805 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15806 DUMMY variables with __attribute__ ((unused)).
15807
ecd4caf9
JM
15808 * bits/byteswap.h: Include <bits/types.h>.
15809 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15810
986cab95
PT
158112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15812
15813 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15814 string_t. Do not manually set errno.
15815 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15816 length with __strnlen. Make sure to both set errno and return it on
15817 failure.
15818
6d33cc9d
DM
158192012-11-19 David S. Miller <davem@davemloft.net>
15820
15821 With help from Joseph Myers.
15822 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15823 very large arguments properly.
15824 * math/libm-test.inc (atan_test): New tests.
15825 (atan2_test): New tests.
15826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15828
ee663277
JM
158292012-11-19 Joseph Myers <joseph@codesourcery.com>
15830
877f2d8e
JM
15831 [BZ #14856]
15832 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15833 Define to 3.
15834
116fc08a
JM
15835 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15836 [POSIX] (EADDRNOTAVAIL): Likewise.
15837 [POSIX] (EAFNOSUPPORT): Likewise.
15838 [POSIX] (EALREADY): Likewise.
15839 [POSIX] (ECONNABORTED): Likewise.
15840 [POSIX] (ECONNREFUSED): Likewise.
15841 [POSIX] (ECONNRESET): Likewise.
15842 [POSIX] (EDESTADDRREQ): Likewise.
15843 [POSIX] (EDQUOT): Likewise.
15844 [POSIX] (EHOSTUNREACH): Likewise.
15845 [POSIX] (EIDRM): Likewise.
15846 [POSIX] (EISCONN): Likewise.
15847 [POSIX] (ELOOP): Likewise.
15848 [POSIX] (EMULTIHOP): Likewise.
15849 [POSIX] (ENETDOWN): Likewise.
15850 [POSIX] (ENETUNREACH): Likewise.
15851 [POSIX] (ENOBUFS): Likewise.
15852 [POSIX] (ENODATA): Likewise.
15853 [POSIX] (ENOLINK): Likewise.
15854 [POSIX] (ENOMSG): Likewise.
15855 [POSIX] (ENOPROTOOPT): Likewise.
15856 [POSIX] (ENOSR): Likewise.
15857 [POSIX] (ENOSTR): Likewise.
15858 [POSIX] (ENOTCONN): Likewise.
15859 [POSIX] (ENOTSOCK): Likewise.
15860 [POSIX] (EOPNOTSUPP): Likewise.
15861 [POSIX] (EOVERFLOW): Likewise.
15862 [POSIX] (EPROTO): Likewise.
15863 [POSIX] (EPROTONOSUPPORT): Likewise.
15864 [POSIX] (EPROTOTYPE): Likewise.
15865 [POSIX] (ESTALE): Likewise.
15866 [POSIX] (ETIME): Likewise.
15867 [POSIX] (ETXTBSY): Likewise.
15868 [POSIX] (EWOULDBLOCK): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15870 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15871 [POSIX] (SEEK_CUR): Likewise.
15872 [POSIX] (SEEK_END): Likewise.
15873 [POSIX || UNIX98] (mode_t): Do not require.
15874 [POSIX] (off_t): Likewise.
15875 [POSIX] (pid_t): Likewise.
15876 [POSIX] (sys/stat.h): Do not allow header.
15877 [POSIX] (unistd.h): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15879 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15881 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15882 require.
15883 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15884 sigevent): Specify elements.
15885 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15886 entry.
15887 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15888 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15889
a483863f
JM
15890 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15891 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15892 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15893 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15894 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15895 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15896 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15899 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15900 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15901 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15902 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15904 Likewise.
15905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15906 Likewise.
15907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15908 Likewise.
15909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15910 Likewise.
15911 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15912 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15916 Specify lower bound on value.
15917 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15923 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15924 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15925 value.
15926 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15927 as optional.
15928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15929 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15930 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15931 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15932 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15933 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15934 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15936 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15938 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15939 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15940 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15941 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15942 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15944 entry.
15945 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15946 optional.
15947 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15949 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15950 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15951 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15952 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15953 Likewise.
15954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15956 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15957 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15958 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15959 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15961 as optional.
15962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15965 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15966 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15967 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15968 specify as optional.
15969 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15970 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15971 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15973 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15974 [XPG3] (NL_LANGMAX): Likewise.
15975 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15976 [POSIX || XPG3] (NL_NMAX): Likewise.
15977 [POSIX || XPG3] (NL_SETMAX): Likewise.
15978 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15979 [XPG3] (NZERO): Likewise.
15980 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15981 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15982 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15983 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15984 (REG_ERANGE): Expect.
15985 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15986 optional-constant.
15987 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15988 Use (void) in prototype.
15989 [POSIX] (*_t): Allow.
15990 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15991 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15992 (WRDE_BADVAL): Expect.
15993
5ba924e3
JM
15994 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15995 expect.
15996 [XPG3 || XPG4] (O_RSYNC): Likewise.
15997 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15998 Likewise.
15999 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16000 [XPG3 || XPG4] (sigqueue): Likewise.
16001 [XPG3 || XPG4] (sigtimedwait): Likewise.
16002 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16003 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16004 [XPG3 || XPG4] (vsnprintf): Likewise.
16005 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16006 Likewise.
16007 [XPG3 || XPG4] (blksize_t): Likewise.
16008 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16009 Likewise.
16010 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16011 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16012 [XPG3 || XPG4] (struct itimerspec): Likewise.
16013 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16014 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16015 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16016 [XPG3 || XPG4] (clockid_t): Likewise.
16017 [XPG3 || XPG4] (timer_t): Likewise.
16018 [XPG3 || XPG4] (clock_getres): Likewise.
16019 [XPG3 || XPG4] (clock_gettime): Likewise.
16020 [XPG3 || XPG4] (clock_settime): Likewise.
16021 [XPG3 || XPG4] (nanosleep): Likewise.
16022 [XPG3 || XPG4] (timer_create): Likewise.
16023 [XPG3 || XPG4] (timer_delete): Likewise.
16024 [XPG3 || XPG4] (timer_gettime): Likewise.
16025 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16026 [XPG3 || XPG4] (timer_settime): Likewise.
16027 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16028 [XPG3 || XPG4] (getlogin_r): Likewise.
16029 [XPG3 || XPG4] (pread): Likewise.
16030 [XPG3 || XPG4] (pthread_atfork): Likewise.
16031 [XPG3 || XPG4] (pwrite): Likewise.
16032
ee663277
JM
16033 [BZ #14835]
16034 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16035 <bits/siginfo.h>.
16036
942caa16
PT
160372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16038
e19af380
PT
16039 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16040 finalizing MALLSTREAM.
16041
942caa16
PT
16042 * sysdeps/mach/hurd/syncfs.c: New file.
16043
cfde9b46
SP
160442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16045
16046 [BZ #14719]
16047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16048 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16050 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16051 (_nss_dns_gethostbyname4_r): Likewise.
16052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16053 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16054
f6da27e5
PH
160552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16056
16057 [BZ #13763]
16058 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16059
6665d4a2
SM
160602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16061
1f51ee92
SM
16062 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16063 * elf/cache.c (print_entry): Print ",AArch64" for
16064 FLAG_AARCH64_LIB64
16065
6665d4a2
SM
16066 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16067 * elf/cache.c (print_entry): Print ",hard-float" for
16068 FLAG_ARM_LIBHF.
16069
05b227bd
DM
160702012-11-18 David S. Miller <davem@davemloft.net>
16071
16072 With help from Joseph Myers.
16073 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16074 cutoff to 2**-13.
16075 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16076 cutoff to 2**-25.
16077 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16078 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16079 small.
16080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16081 * math/libm-test.inc (y0_test): New tests.
16082 (y1_test): New tests.
16083 * sysdeps/i386/fpu/libm-test-ulps: Update.
16084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16086
786b0b67
AS
160872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16088
16089 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16090 64-bit targets.
16091 * configure: Regenerated.
16092
8e18b86d
DM
160932012-11-17 David S. Miller <davem@davemloft.net>
16094
16095 [BZ #14811]
16096 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16097 nonzero exponents with absolute value below 0x1p-128 to +/-
16098 0x1p-128.
16099
531f1ae0
JM
161002012-11-17 Joseph Myers <joseph@codesourcery.com>
16101
12df29e2
JM
16102 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16103
150dc1a0
JM
16104 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16105
531f1ae0
JM
16106 * posix/getconf-speclist.c: New file.
16107 * posix/posix-envs.def: Likewise.
16108 * posix/confstr.c (START_ENV_GROUP): New macro.
16109 (END_ENV_GROUP): Likewise.
16110 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16111 (KNOWN_PRESENT_ENV_STRING): Likewise.
16112 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16113 (UNKNOWN_ENVIRONMENT): Likewise.
16114 (confstr): Include posix-envs.def instead of handling
16115 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16116 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16117 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16118 (END_ENV_GROUP): Likewise.
16119 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16120 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16121 (UNKNOWN_ENVIRONMENT): Likewise.
16122 (__sysconf): Include posix-envs.def instead of handling associated
16123 cases directly here.
16124 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16125 preprocessing getconf-speclist.c rather than running getconf or
16126 generating empty file.
16127
a93f9cbc
PT
161282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16129
16130 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16131
d64d9f87
AL
161322012-11-16 Andrej Lajovic <natrij@gmail.com>
16133
16134 [BZ #14672]
16135 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16136
447885eb
DM
161372012-11-16 David S. Miller <davem@davemloft.net>
16138
16139 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16140 smaller than LDBL_EPSILON/2.0L, just return xm1.
16141
bcbf9830
L
161422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16143
16144 * elf/tst-array1.c (init): Set constructor priority to 1000.
16145 (fini): Set destructor priority to 1000.
16146 * elf/tst-array2dep.c: Likewise.
16147
2b766585
SP
161482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16149
16150 [BZ #11741]
16151 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16152 (_IO_new_file_xsputn): Also return EOF if none of the input
16153 data was written when overflow failed.
16154 * libio/iopadn.c (_IO_padn): Likewise.
16155 * libio/iowpadn.c (_IO_wpadn): Likewise.
16156 * stdio-common/tst-put-error.c: Add copyright notice.
16157 (do_test): Add case for printing padded string.
16158 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16159 _IO_padn returned error.
16160 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16161 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16162 return EOF.
16163
b1848fde
SP
161642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16165
16166 * libio/libioP.h: Add comment note that the references to C++
16167 bits are now obsolete.
16168
2fd89785
MS
161692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16170
16171 * math/libm-test.inc (check_complex): Use asprintf.
16172
e3ea5409
JM
161732012-11-14 Joseph Myers <joseph@codesourcery.com>
16174
16175 * debug/pcprofiledump.c (print_version): Update copyright year.
16176 * malloc/memusagestat.c (print_version): Likewise.
16177
2e64d265
L
161782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16179
16180 [BZ #14831]
16181 * elf/Makefile (tests): Add tst-audit8.
16182 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16183 ($(objpfx)tst-audit8.out): New target.
16184 (tst-audit8-ENV): New variable.
16185 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16186 audit if l_reloc_result is NULL.
16187 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16188 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16189 * elf/tst-audit8.c: New file.
16190
c485e4d2
MS
161912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16192
16193 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16194 * misc/Makefile (CFLAGS-select.c): Define.
16195 * posix/Makefile (CFLAGS-pause.c): Define.
16196
3a0d900a
DM
161972012-11-13 David S. Miller <davem@davemloft.net>
16198
16199 * crypt/Makefile: Move test targets after toplevel Rules
16200 inclusion. Grab any necessary sysdep routines when linking.
16201 * crypt/md5.c (md5_process_block): Remove define, we will always
16202 name it __md5_process_block.
16203 (md5_finish_ctx): Update md5_process_block call.
16204 (md5_stream): Likewise.
16205 (md5_process_bytes): Likewise.
16206 (md5_process_block): Rename to __md5_process_block and move to ...
16207 * crypt/md5-block.c: ... here.
16208 * crypt/sha256.c (sha256_process_block): Move to ...
16209 * crypt/sha256-block.c: ... here.
16210 * crypt/sha512.c (sha512_process_block): Move to ...
16211 * crypt/sha512-block.c: ... here.
16212 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16213 path.
16214 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16215 * sysdeps/sparc/sparc64/multiarch/Makefile
16216 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16217 crypt subdir.
16218 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16220 multiarch changes.
16221 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16222 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16223 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16224 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16225 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16226 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16227 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16230 file.
16231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16233 file.
16234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16235
8ca89318
JM
162362012-11-13 Joseph Myers <joseph@codesourcery.com>
16237
e27d476a
JM
16238 * timezone/tzselect.ksh: Update from tzcode git revision
16239 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16240 * timezone/zdump.c: Likewise.
16241 * timezone/zic.c: Likewise.
16242 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16243 in TZVERSION setting, not $(PKGVERSION).
16244 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16245 REPORT_BUGS_TO settings.
16246
8ca89318
JM
16247 [BZ #14838]
16248 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16249 macro.
16250
47594329
MS
162512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16252
16253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16254 detection to immediately after _FP_ROUND().
16255 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16256 bits are 0.
16257
640ac3f1
DM
162582012-11-11 David S. Miller <davem@davemloft.net>
16259
16260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16261 inttypes.h
16262 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16263 __close rather than their public counterparts.
16264
3d2577bb
JM
162652012-11-10 Joseph Myers <joseph@codesourcery.com>
16266
16267 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16268 file.
16269 [UNIX98] (sem_timedwait): Do not expect.
16270 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16271 [XPG4 || UNIX98] (sockatmark): Do not expect.
16272 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16273 (clock_getcpuclockid): Do not expect.
16274 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16275 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16276 Do not expect.
16277 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16278 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16279 [UNIX98] (vwscanf): Likewise.
16280 [UNIX98] (vswscanf): Likewise.
16281
fb1ae1ee
JM
162822012-11-09 Joseph Myers <joseph@codesourcery.com>
16283
9ec6f8bd
JM
16284 * timezone/version.h: Remove file.
16285 * timezone/README: Do not refer to version.h.
16286 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16287 $(objpfx)version.h.
16288 ($(objpfx)zdump.o): Likewise.
c3f81911 16289 ($(objpfx)version.h): New target.
9ec6f8bd 16290
0aa8f8a1
JM
16291 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16292 2012i.
16293 * timezone/README: Don't mention modification to tzselect.ksh.
16294 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16295 work on unmodified tzselect.ksh. Substitute version numbers in
16296 tzselect.ksh.
16297
4e87147f
JM
16298 * Makefile (format-me): Remove.
16299 (INSTALL): Adjust indentation. Use commands directly instead of
16300 using $(format-me).
16301
8b748aed
JM
16302 * aclocal.m4 (ACX_PKGVERSION): New macro.
16303 (ACX_BUGURL): Likewise.
16304 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16305 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16306 (REPORT_BUGS_TO): Likewise.
16307 * configure: Regenerated.
16308 * config.h.in (PKGVERSION): New macro.
16309 (REPORT_BUGS_TO): Likewise.
16310 * config.make.in (PKGVERSION): New variable.
16311 (PKGVERSION_TEXI): Likewise.
16312 (REPORT_BUGS_TO): Likewise.
16313 (REPORT_BUGS_TEXI): Likewise.
16314 * Makefile (format-me): Use -I$(common-objpfx)manual.
16315 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16316 ($(common-objpfx)manual/%): New target.
16317 (manual/%): Remove target.
16318 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16319 (print_version): Use PKGVERSION.
16320 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16321 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16322 and REPORT_BUGS_TO.
16323 ($(objpfx)xtrace): Likewise.
16324 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16325 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16326 (print_version): Use PKGVERSION.
16327 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16328 (do_version): Use PKGVERSION.
16329 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16330 REPORT_BUGS_TO.
16331 (common-ldd-rewrite): Likewise.
16332 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16333 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16334 (print_version): Use PKGVERSION.
16335 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16336 * elf/pldd.c (argp_program_bug_address): Remove variable.
16337 (more_help): New function.
16338 (argp): Use more_help.
16339 (print_version): Use PKGVERSION.
16340 * elf/sln.c (main): Use PKGVERSION.
16341 (usage): Use REPORT_BUGS_TO.
16342 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16343 (top level): Use PKGVERSION.
16344 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16345 (print_version): Use PKGVERSION.
16346 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16347 (print_version): Use PKGVERSION.
16348 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16349 (print_version): Use PKGVERSION.
16350 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16351 (print_version): Use PKGVERSION.
16352 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16353 (print_version): Use PKGVERSION.
16354 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16355 (print_version): Use PKGVERSION.
16356 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16357 and BUGURL.
16358 ($(objpfx)memusage): Likewise.
16359 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16360 (do_version): Use PKGVERSION.
16361 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16362 (print_version): Use PKGVERSION.
16363 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16364 ($PKGVERSION): New variable.
16365 ($REPORT_BUGS_TO): Likewise.
16366 (usage): Use $REPORT_BUGS_TO.
16367 (top level): Use $PKGVERSION.
16368 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16369 ($(objpfx)pkgvers.texi): New rule.
16370 ($(objpfx)stamp-pkgvers): Likewise.
16371 * manual/install.texi: Include pkgvers.texi.
16372 (--with-pkgversion): Document new configure option.
16373 (--with-bugurl): Likewise.
16374 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16375 than necessarily for this particular distribution. Use
16376 REPORT_BUGS_TO for where to report bugs.
16377 * INSTALL: Regenerated.
16378 * manual/libc.texinfo: Include pkgvers.texi.
16379 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16380 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16381 (print_version): Use PKGVERSION.
16382 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16383 (print_version): Use PKGVERSION.
16384 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16385 (print_version): Use PKGVERSION.
16386 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16387 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16388 macro.
16389 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16390 (print_version): Use PKGVERSION.
16391 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16392 (print_version): Use PKGVERSION.
16393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16394 and PKGVERSION.
16395
92e4b6a9
JM
16396 * timezone/checktab.awk: Update from tzcode 2012i.
16397 * timezone/ialloc.c: Likewise.
16398 * timezone/private.h: Likewise.
16399 * timezone/scheck.c: Likewise.
16400 * timezone/tzfile.h: Likewise.
16401 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16402 (TZVERSION): Hardcode tzcode version number.
16403 * timezone/zdump.c: Update from tzcode 2012i.
16404 * timezone/zic.c: Likewise.
16405 * timezone/version.h: New file.
16406 * timezone/README: Describe version.h. Update upstream location.
16407
9bde902c
JM
16408 [BZ #14824]
16409 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16410 (mktemp): Enable declaration.
16411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16415 Likewise.
16416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16417 Likewise.
16418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16419 Likewise.
16420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16421 Likewise.
16422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16423 Likewise.
16424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16425 Likewise.
16426
fb1ae1ee
JM
16427 [BZ #14821]
16428 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16429 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16430 for copies of such integer values.
16431 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16432 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16433
2c1adbcb
AJ
164342012-11-09 Andreas Jaeger <aj@suse.de>
16435
16436 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16437 definitions and declarations that are provided by
16438 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16439
d0f8457e
AK
164402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16441
3a235abb 16442 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16443 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16444 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16445 definition.
16446
57241e26
MS
164472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16448
16449 * elf/elf.h: Update comment before AArch64 relocations.
16450
60e8270d
DM
164512012-11-07 David S. Miller <davem@davemloft.net>
16452
16453 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16454 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16455 (__start_context): Declare.
16456 (__makecontext_ret): Delete.
16457 (__makecontext): Hook up __start_context instead of
16458 __makecontext_ret.
16459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16460 (sysdep_routines): Add __start_context when in stdlib.
16461
0fbb0fbc
JM
164622012-11-07 Joseph Myers <joseph@codesourcery.com>
16463
16464 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16465 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16466 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16467 hardcoded "nm".
16468 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16469 (READELF): New variable. Use it instead of hardcoded "readelf".
16470
eb48db7e
L
164712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16474 * sysdeps/x86/Makefile: Here.
16475 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16476 * sysdeps/x86/tst-xmmymm.sh: This.
16477
05bcf62a
JM
164782012-11-07 Joseph Myers <joseph@codesourcery.com>
16479
c4b6cf53
JM
16480 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16481 expectations.
16482 [UNIX98] (pthread_barrier_t): Do not expect.
16483 [UNIX98] (pthread_barrierattr_t): Likewise.
16484 [UNIX98] (pthread_spinlock_t): Likewise.
16485 [UNIX98] (pthread_barrier_destroy): Likewise.
16486 [UNIX98] (pthread_barrier_init): Likewise.
16487 [UNIX98] (pthread_barrier_wait): Likewise.
16488 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16489 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16490 [UNIX98] (pthread_barrierattr_init): Likewise.
16491 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16492 [UNIX98] (pthread_getcpuclockid): Likewise.
16493 [UNIX98] (pthread_mutex_timedlock): Likewise.
16494 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16495 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16496 [UNIX98] (pthread_sigmask): Likewise.
16497 [UNIX98] (pthread_spin_destroy): Likewise.
16498 [UNIX98] (pthread_spin_init): Likewise.
16499 [UNIX98] (pthread_spin_lock): Likewise.
16500 [UNIX98] (pthread_spin_trylock): Likewise.
16501 [UNIX98] (pthread_spin_unlock): Likewise.
16502 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16503 Do not expect.
16504 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16506 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16507 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16508 [XPG3 || XPG4] (pthread_key_t): Likewise.
16509 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16510 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16511 [XPG3 || XPG4] (pthread_once_t): Likewise.
16512 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16513 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16515 [XPG3 || XPG4] (pthread_t): Likewise.
16516
cbe6e120
JM
16517 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16518 not expect.
16519 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16520
1b126443
JM
16521 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16522 Change function return type to int.
16523
b961a573
JM
16524 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16525 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16526 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16527 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16528 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16529 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16530 [!POSIX] (posix_madvise): Likewise.
16531 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16532 && !UNIX98].
16533 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16534 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16535 (mode_t): Likewise.
16536 (posix_mem_offset): Likewise.
16537 (posix_typed_mem_get_info): Likewise.
16538 (posix_typed_mem_open): Likewise.
16539
9e188909
JM
16540 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16541 Change condition to [XOPEN2K8].
16542
05bcf62a
JM
16543 * conform/conformtest.pl: Preprocess allow-header data with -x c
16544 instead of from stdin.
16545 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16546 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16547 [C99-based standards] (cerfc): Likewise.
16548 [C99-based standards] (cexp2): Likewise.
16549 [C99-based standards] (cexpm1): Likewise.
16550 [C99-based standards] (clog10): Likewise.
16551 [C99-based standards] (clog1p): Likewise.
16552 [C99-based standards] (clog2): Likewise.
16553 [C99-based standards] (clgamma): Likewise.
16554 [C99-based standards] (ctgamma): Likewise.
16555 [C99-based standards] (cerff): Likewise.
16556 [C99-based standards] (cerfcf): Likewise.
16557 [C99-based standards] (cexp2f): Likewise.
16558 [C99-based standards] (cexpm1f): Likewise.
16559 [C99-based standards] (clog10f): Likewise.
16560 [C99-based standards] (clog1pf): Likewise.
16561 [C99-based standards] (clog2f): Likewise.
16562 [C99-based standards] (clgammaf): Likewise.
16563 [C99-based standards] (ctgammaf): Likewise.
16564 [C99-based standards] (cerfl): Likewise.
16565 [C99-based standards] (cerfcl): Likewise.
16566 [C99-based standards] (cexp2l): Likewise.
16567 [C99-based standards] (cexpm1l): Likewise.
16568 [C99-based standards] (clog10l): Likewise.
16569 [C99-based standards] (clog1pl): Likewise.
16570 [C99-based standards] (clog2l): Likewise.
16571 [C99-based standards] (clgammal): Likewise.
16572 [C99-based standards] (ctgammal): Likewise.
16573 * conform/data/inttypes.h-data [C99-based standards]: Include
16574 stdint.h-data. Remove all expectations for stdint.h contents.
16575 [C99-based standards] (PRI*): Do not allow.
16576 [C99-based standards] (SCN*): Likewise.
16577 [C99-based standards] (*_t): Likewise.
16578 [C99-based-standards] (PRId8): Expect macro.
16579 [C99-based-standards] (PRIi8): Likewise.
16580 [C99-based-standards] (PRIo8): Likewise.
16581 [C99-based-standards] (PRIu8): Likewise.
16582 [C99-based-standards] (PRIx8): Likewise.
16583 [C99-based-standards] (PRIX8): Likewise.
16584 [C99-based-standards] (SCNd8): Likewise.
16585 [C99-based-standards] (SCNi8): Likewise.
16586 [C99-based-standards] (SCNo8): Likewise.
16587 [C99-based-standards] (SCNu8): Likewise.
16588 [C99-based-standards] (SCNx8): Likewise.
16589 [C99-based-standards] (PRIdLEAST8): Likewise.
16590 [C99-based-standards] (PRIiLEAST8): Likewise.
16591 [C99-based-standards] (PRIoLEAST8): Likewise.
16592 [C99-based-standards] (PRIuLEAST8): Likewise.
16593 [C99-based-standards] (PRIxLEAST8): Likewise.
16594 [C99-based-standards] (PRIXLEAST8): Likewise.
16595 [C99-based-standards] (SCNdLEAST8): Likewise.
16596 [C99-based-standards] (SCNiLEAST8): Likewise.
16597 [C99-based-standards] (SCNoLEAST8): Likewise.
16598 [C99-based-standards] (SCNuLEAST8): Likewise.
16599 [C99-based-standards] (SCNxLEAST8): Likewise.
16600 [C99-based-standards] (PRIdFAST8): Likewise.
16601 [C99-based-standards] (PRIiFAST8): Likewise.
16602 [C99-based-standards] (PRIoFAST8): Likewise.
16603 [C99-based-standards] (PRIuFAST8): Likewise.
16604 [C99-based-standards] (PRIxFAST8): Likewise.
16605 [C99-based-standards] (PRIXFAST8): Likewise.
16606 [C99-based-standards] (SCNdFAST8): Likewise.
16607 [C99-based-standards] (SCNiFAST8): Likewise.
16608 [C99-based-standards] (SCNoFAST8): Likewise.
16609 [C99-based-standards] (SCNuFAST8): Likewise.
16610 [C99-based-standards] (SCNxFAST8): Likewise.
16611 [C99-based-standards] (PRId16): Likewise.
16612 [C99-based-standards] (PRIi16): Likewise.
16613 [C99-based-standards] (PRIo16): Likewise.
16614 [C99-based-standards] (PRIu16): Likewise.
16615 [C99-based-standards] (PRIx16): Likewise.
16616 [C99-based-standards] (PRIX16): Likewise.
16617 [C99-based-standards] (SCNd16): Likewise.
16618 [C99-based-standards] (SCNi16): Likewise.
16619 [C99-based-standards] (SCNo16): Likewise.
16620 [C99-based-standards] (SCNu16): Likewise.
16621 [C99-based-standards] (SCNx16): Likewise.
16622 [C99-based-standards] (PRIdLEAST16): Likewise.
16623 [C99-based-standards] (PRIiLEAST16): Likewise.
16624 [C99-based-standards] (PRIoLEAST16): Likewise.
16625 [C99-based-standards] (PRIuLEAST16): Likewise.
16626 [C99-based-standards] (PRIxLEAST16): Likewise.
16627 [C99-based-standards] (PRIXLEAST16): Likewise.
16628 [C99-based-standards] (SCNdLEAST16): Likewise.
16629 [C99-based-standards] (SCNiLEAST16): Likewise.
16630 [C99-based-standards] (SCNoLEAST16): Likewise.
16631 [C99-based-standards] (SCNuLEAST16): Likewise.
16632 [C99-based-standards] (SCNxLEAST16): Likewise.
16633 [C99-based-standards] (PRIdFAST16): Likewise.
16634 [C99-based-standards] (PRIiFAST16): Likewise.
16635 [C99-based-standards] (PRIoFAST16): Likewise.
16636 [C99-based-standards] (PRIuFAST16): Likewise.
16637 [C99-based-standards] (PRIxFAST16): Likewise.
16638 [C99-based-standards] (PRIXFAST16): Likewise.
16639 [C99-based-standards] (SCNdFAST16): Likewise.
16640 [C99-based-standards] (SCNiFAST16): Likewise.
16641 [C99-based-standards] (SCNoFAST16): Likewise.
16642 [C99-based-standards] (SCNuFAST16): Likewise.
16643 [C99-based-standards] (SCNxFAST16): Likewise.
16644 [C99-based-standards] (PRId32): Likewise.
16645 [C99-based-standards] (PRIi32): Likewise.
16646 [C99-based-standards] (PRIo32): Likewise.
16647 [C99-based-standards] (PRIu32): Likewise.
16648 [C99-based-standards] (PRIx32): Likewise.
16649 [C99-based-standards] (PRIX32): Likewise.
16650 [C99-based-standards] (SCNd32): Likewise.
16651 [C99-based-standards] (SCNi32): Likewise.
16652 [C99-based-standards] (SCNo32): Likewise.
16653 [C99-based-standards] (SCNu32): Likewise.
16654 [C99-based-standards] (SCNx32): Likewise.
16655 [C99-based-standards] (PRIdLEAST32): Likewise.
16656 [C99-based-standards] (PRIiLEAST32): Likewise.
16657 [C99-based-standards] (PRIoLEAST32): Likewise.
16658 [C99-based-standards] (PRIuLEAST32): Likewise.
16659 [C99-based-standards] (PRIxLEAST32): Likewise.
16660 [C99-based-standards] (PRIXLEAST32): Likewise.
16661 [C99-based-standards] (SCNdLEAST32): Likewise.
16662 [C99-based-standards] (SCNiLEAST32): Likewise.
16663 [C99-based-standards] (SCNoLEAST32): Likewise.
16664 [C99-based-standards] (SCNuLEAST32): Likewise.
16665 [C99-based-standards] (SCNxLEAST32): Likewise.
16666 [C99-based-standards] (PRIdFAST32): Likewise.
16667 [C99-based-standards] (PRIiFAST32): Likewise.
16668 [C99-based-standards] (PRIoFAST32): Likewise.
16669 [C99-based-standards] (PRIuFAST32): Likewise.
16670 [C99-based-standards] (PRIxFAST32): Likewise.
16671 [C99-based-standards] (PRIXFAST32): Likewise.
16672 [C99-based-standards] (SCNdFAST32): Likewise.
16673 [C99-based-standards] (SCNiFAST32): Likewise.
16674 [C99-based-standards] (SCNoFAST32): Likewise.
16675 [C99-based-standards] (SCNuFAST32): Likewise.
16676 [C99-based-standards] (SCNxFAST32): Likewise.
16677 [C99-based-standards] (PRId64): Likewise.
16678 [C99-based-standards] (PRIi64): Likewise.
16679 [C99-based-standards] (PRIo64): Likewise.
16680 [C99-based-standards] (PRIu64): Likewise.
16681 [C99-based-standards] (PRIx64): Likewise.
16682 [C99-based-standards] (PRIX64): Likewise.
16683 [C99-based-standards] (SCNd64): Likewise.
16684 [C99-based-standards] (SCNi64): Likewise.
16685 [C99-based-standards] (SCNo64): Likewise.
16686 [C99-based-standards] (SCNu64): Likewise.
16687 [C99-based-standards] (SCNx64): Likewise.
16688 [C99-based-standards] (PRIdLEAST64): Likewise.
16689 [C99-based-standards] (PRIiLEAST64): Likewise.
16690 [C99-based-standards] (PRIoLEAST64): Likewise.
16691 [C99-based-standards] (PRIuLEAST64): Likewise.
16692 [C99-based-standards] (PRIxLEAST64): Likewise.
16693 [C99-based-standards] (PRIXLEAST64): Likewise.
16694 [C99-based-standards] (SCNdLEAST64): Likewise.
16695 [C99-based-standards] (SCNiLEAST64): Likewise.
16696 [C99-based-standards] (SCNoLEAST64): Likewise.
16697 [C99-based-standards] (SCNuLEAST64): Likewise.
16698 [C99-based-standards] (SCNxLEAST64): Likewise.
16699 [C99-based-standards] (PRIdFAST64): Likewise.
16700 [C99-based-standards] (PRIiFAST64): Likewise.
16701 [C99-based-standards] (PRIoFAST64): Likewise.
16702 [C99-based-standards] (PRIuFAST64): Likewise.
16703 [C99-based-standards] (PRIxFAST64): Likewise.
16704 [C99-based-standards] (PRIXFAST64): Likewise.
16705 [C99-based-standards] (SCNdFAST64): Likewise.
16706 [C99-based-standards] (SCNiFAST64): Likewise.
16707 [C99-based-standards] (SCNoFAST64): Likewise.
16708 [C99-based-standards] (SCNuFAST64): Likewise.
16709 [C99-based-standards] (SCNxFAST64): Likewise.
16710 [C99-based-standards] (PRIdMAX): Likewise.
16711 [C99-based-standards] (PRIiMAX): Likewise.
16712 [C99-based-standards] (PRIoMAX): Likewise.
16713 [C99-based-standards] (PRIuMAX): Likewise.
16714 [C99-based-standards] (PRIxMAX): Likewise.
16715 [C99-based-standards] (PRIXMAX): Likewise.
16716 [C99-based-standards] (SCNdMAX): Likewise.
16717 [C99-based-standards] (SCNiMAX): Likewise.
16718 [C99-based-standards] (SCNoMAX): Likewise.
16719 [C99-based-standards] (SCNuMAX): Likewise.
16720 [C99-based-standards] (SCNxMAX): Likewise.
16721 [C99-based-standards] (PRIdPTR): Likewise.
16722 [C99-based-standards] (PRIiPTR): Likewise.
16723 [C99-based-standards] (PRIoPTR): Likewise.
16724 [C99-based-standards] (PRIuPTR): Likewise.
16725 [C99-based-standards] (PRIxPTR): Likewise.
16726 [C99-based-standards] (PRIXPTR): Likewise.
16727 [C99-based-standards] (SCNdPTR): Likewise.
16728 [C99-based-standards] (SCNiPTR): Likewise.
16729 [C99-based-standards] (SCNoPTR): Likewise.
16730 [C99-based-standards] (SCNuPTR): Likewise.
16731 [C99-based-standards] (SCNxPTR): Likewise.
16732 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16733 allow.
16734 * conform/data/stdint.h-data: Update comments to clarify
16735 requirements.
16736 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16737 type.
16738 [C99-based standards] (INT8_MAX): Likewise.
16739 [C99-based standards] (INT16_MIN): Likewise.
16740 [C99-based standards] (INT16_MAX): Likewise.
16741 [C99-based standards] (INT32_MIN): Likewise.
16742 [C99-based standards] (INT32_MAX): Likewise.
16743 [C99-based standards] (INT64_MIN): Likewise.
16744 [C99-based standards] (INT64_MAX): Likewise.
16745 [C99-based standards] (UINT8_MAX): Likewise.
16746 [C99-based standards] (UINT16_MAX): Likewise.
16747 [C99-based standards] (UINT32_MAX): Likewise.
16748 [C99-based standards] (UINT64_MAX): Likewise.
16749 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16750 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16751 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16752 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16753 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16754 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16755 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16756 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16757 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16758 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16759 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16760 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16761 [C99-based standards] (INT_FAST8_MIN): Likewise.
16762 [C99-based standards] (INT_FAST8_MAX): Likewise.
16763 [C99-based standards] (INT_FAST16_MIN): Likewise.
16764 [C99-based standards] (INT_FAST16_MAX): Likewise.
16765 [C99-based standards] (INT_FAST32_MIN): Likewise.
16766 [C99-based standards] (INT_FAST32_MAX): Likewise.
16767 [C99-based standards] (INT_FAST64_MIN): Likewise.
16768 [C99-based standards] (INT_FAST64_MAX): Likewise.
16769 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16770 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16771 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16772 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16773 [C99-based standards] (INTPTR_MIN): Likewise.
16774 [C99-based standards] (INTPTR_MAX): Likewise.
16775 [C99-based standards] (UINTPTR_MAX): Likewise.
16776 [C99-based standards] (INTMAX_MIN): Likewise.
16777 [C99-based standards] (INTMAX_MAX): Likewise.
16778 [C99-based standards] (UINTMAX_MAX): Likewise.
16779 [C99-based standards] (PTRDIFF_MIN): Likewise.
16780 [C99-based standards] (PTRDIFF_MAX): Likewise.
16781 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16782 [C99-based standards] (SIZE_MAX): Likewise.
16783 [C99-based standards] (WCHAR_MAX): Likewise.
16784 [C99-based standards] (WINT_MAX): Likewise.
16785 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16786 constraint on value.
16787 [C99-based standards] (WCHAR_MIN): Likewise.
16788 [C99-based standards] (WINT_MIN): Likewise.
16789 [C99-based standards] (*_t): Allow.
16790 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16791 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16792 Include math.h-data and complex.h-data. Remove all expectations
16793 of math.h and complex.h contents.
16794 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16795 at end of line.
16796 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16797 (struct tm): Expect tag.
16798 [C99-based-standards] (wcstof): Expect function.
16799 [C99-based-standards] (wcstold): Likewise.
16800 [C99-based-standards] (wcstoll): Likewise.
16801 [C99-based-standards] (wcstoull): Likewise.
16802 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16803 macro-int-constant. Specify type.
16804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16805 constraint on value.
16806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16807 Specify type.
16808 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16809 Specify value.
16810 [ISO C standards]: Do not allow headers.
16811 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16812 wcs[abcdefghijklmnopqrstuvwxyz]*.
16813 [ISO C standards] (*_t): Do not allow.
16814 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16815 Expect function.
16816 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16817 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16818 Specify type.
16819 [ISO C standards]: Do not allow headers.
16820 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16821 is[abcdefghijklmnopqrstuvwxyz]*.
16822 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16823 to[abcdefghijklmnopqrstuvwxyz]*.
16824 [ISO C standards] (*_t): Do not allow.
16825 * conform/data/stdalign.h-data: New file.
16826 * conform/data/stdbool.h-data: Likewise.
16827 * conform/data/stdnoreturn.h-data: Likewise.
16828
7514feb8
RM
168292012-11-07 Roland McGrath <roland@hack.frob.com>
16830
16831 [BZ #14815]
16832 * manual/filesys.texi (Directory Entries): Typo fix.
16833 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16834
19b2ecfc
MS
168352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16836
16837 * elf/elf.h (EM_AARCH64): New macro.
16838 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16839 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16840 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16841 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16842 (R_AARCH64_TLSDESC): Likewise.
16843 (NT_ARM_TLS): Likewise.
16844 (NT_ARM_HW_BREAK): Likewise.
16845 (NT_ARM_HW_WATCH): Likewise.
16846
60e235ee
JM
168472012-11-07 Joseph Myers <joseph@codesourcery.com>
16848
16849 [BZ #14811]
16850 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16851 (__ieee754_powl): Saturate nonzero exponents with absolute value
16852 below 0x1p-79 to +/- 0x1p-79.
16853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16854 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16855 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16856 nonzero exponents with absolute value below 0x1p-32 to +/-
16857 0x1p-32.
16858 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16859 (__ieee754_powl): Saturate nonzero exponents with absolute value
16860 below 0x1p-79 to +/- 0x1p-79.
16861 * math/libm-test.inc (pow_test): Add more tests.
16862
0ab234b7
AK
168632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16864
16865 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16866 _dl_s390_cap_flags with kernel. Increase string length.
16867 (_dl_s390_platforms): Add z196 and zEC12.
16868
45832f74
JM
168692012-11-07 Joseph Myers <joseph@codesourcery.com>
16870
16871 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16872 Change XOPEN21K to XOPEN2K.
16873
19218757
MK
168742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16875
16876 * string/memmove.c: Use memcpy when possible.
16877
c5f45721
AJ
168782012-11-06 Andreas Jaeger <aj@suse.de>
16879
16880 * po/eo.po: Update from translation team.
16881
82477c28
JM
168822012-11-06 Joseph Myers <joseph@codesourcery.com>
16883
16884 [BZ #14793]
16885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16886 exponent and small x and y exponents, scale x or y up. Increase
16887 by 2 the exponent used in scaling up.
16888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16890 * math/libm-test.inc (fma_test): Add more tests.
16891 (fma_test_towardzero): Likewise.
16892 (fma_test_downward): Likewise.
16893 (fma_test_upward): Likewise.
16894
99252c8c
JM
168952012-11-05 Joseph Myers <joseph@codesourcery.com>
16896
acfa885f
JM
16897 [BZ #14805]
16898 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16899 fenv_t *.
16900
99252c8c
JM
16901 [BZ #14801]
16902 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16903 namespace for names of struct fields.
16904 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16905 fenv_t fields.
16906 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16907 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16908
d6d98dea
ST
169092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16910
16911 [BZ #3665]
16912 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16913
e10bb107
TS
169142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16915
16916 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16917 PTR_DEMANGLE.
16918
16919 [BZ #5246]
16920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16921 PTR_DEMANGLE.
16922
a0c2940d
JM
169232012-11-04 Joseph Myers <joseph@codesourcery.com>
16924
16925 [BZ #14797]
16926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16927 definitely overflow as x * y not x * y + z.
16928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16930 * math/libm-test.inc (fma_test): Add more tests.
16931 (fma_test_towardzero): Likewise.
16932 (fma_test_downward): Likewise.
16933 (fma_test_upward): Likewise.
16934
b830319d
TS
169352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16936
16937 [BZ #157]
16938
16939 * include/stub-tag.h: Remove file.
16940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16941 '#include' of it.
16942 * manual/maint.texi (Porting): Don't reference it.
16943 * Makerules ($(objpfx)stubs): Likewise.
16944 * dirent/closedir.c: Don't include <stub-tag.h>.
16945 * dirent/dirfd.c: Likewise.
16946 * dirent/fdopendir.c: Likewise.
16947 * dirent/getdents.c: Likewise.
16948 * dirent/getdents64.c: Likewise.
16949 * dirent/opendir.c: Likewise.
16950 * dirent/readdir.c: Likewise.
16951 * dirent/readdir64.c: Likewise.
16952 * dirent/readdir64_r.c: Likewise.
16953 * dirent/readdir_r.c: Likewise.
16954 * dirent/rewinddir.c: Likewise.
16955 * dirent/seekdir.c: Likewise.
16956 * dirent/telldir.c: Likewise.
16957 * gmon/profil.c: Likewise.
16958 * grp/setgroups.c: Likewise.
16959 * inet/if_index.c: Likewise.
16960 * io/access.c: Likewise.
16961 * io/chdir.c: Likewise.
16962 * io/chmod.c: Likewise.
16963 * io/chown.c: Likewise.
16964 * io/close.c: Likewise.
16965 * io/dup.c: Likewise.
16966 * io/dup2.c: Likewise.
16967 * io/dup3.c: Likewise.
16968 * io/euidaccess.c: Likewise.
16969 * io/faccessat.c: Likewise.
16970 * io/fchdir.c: Likewise.
16971 * io/fchmod.c: Likewise.
16972 * io/fchmodat.c: Likewise.
16973 * io/fchown.c: Likewise.
16974 * io/fchownat.c: Likewise.
16975 * io/fcntl.c: Likewise.
16976 * io/flock.c: Likewise.
16977 * io/fstatfs.c: Likewise.
16978 * io/fstatfs64.c: Likewise.
16979 * io/fstatvfs.c: Likewise.
16980 * io/fstatvfs64.c: Likewise.
16981 * io/futimens.c: Likewise.
16982 * io/fxstat.c: Likewise.
16983 * io/fxstat64.c: Likewise.
16984 * io/fxstatat.c: Likewise.
16985 * io/fxstatat64.c: Likewise.
16986 * io/getcwd.c: Likewise.
16987 * io/isatty.c: Likewise.
16988 * io/lchmod.c: Likewise.
16989 * io/lchown.c: Likewise.
16990 * io/link.c: Likewise.
16991 * io/linkat.c: Likewise.
16992 * io/lseek.c: Likewise.
16993 * io/lseek64.c: Likewise.
16994 * io/lxstat64.c: Likewise.
16995 * io/mkdir.c: Likewise.
16996 * io/mkdirat.c: Likewise.
16997 * io/mkfifo.c: Likewise.
16998 * io/mkfifoat.c: Likewise.
16999 * io/open.c: Likewise.
17000 * io/open64.c: Likewise.
17001 * io/openat.c: Likewise.
17002 * io/openat64.c: Likewise.
17003 * io/pipe.c: Likewise.
17004 * io/pipe2.c: Likewise.
17005 * io/poll.c: Likewise.
17006 * io/posix_fadvise.c: Likewise.
17007 * io/posix_fadvise64.c: Likewise.
17008 * io/posix_fallocate.c: Likewise.
17009 * io/posix_fallocate64.c: Likewise.
17010 * io/read.c: Likewise.
17011 * io/readlink.c: Likewise.
17012 * io/readlinkat.c: Likewise.
17013 * io/rmdir.c: Likewise.
17014 * io/sendfile.c: Likewise.
17015 * io/sendfile64.c: Likewise.
17016 * io/statfs.c: Likewise.
17017 * io/statfs64.c: Likewise.
17018 * io/statvfs.c: Likewise.
17019 * io/statvfs64.c: Likewise.
17020 * io/symlink.c: Likewise.
17021 * io/symlinkat.c: Likewise.
17022 * io/ttyname.c: Likewise.
17023 * io/ttyname_r.c: Likewise.
17024 * io/umask.c: Likewise.
17025 * io/unlink.c: Likewise.
17026 * io/unlinkat.c: Likewise.
17027 * io/utime.c: Likewise.
17028 * io/utimensat.c: Likewise.
17029 * io/write.c: Likewise.
17030 * io/xmknod.c: Likewise.
17031 * io/xmknodat.c: Likewise.
17032 * io/xstat.c: Likewise.
17033 * io/xstat64.c: Likewise.
17034 * login/getpt.c: Likewise.
17035 * login/grantpt.c: Likewise.
17036 * login/unlockpt.c: Likewise.
17037 * math/e_acoshl.c: Likewise.
17038 * math/e_acosl.c: Likewise.
17039 * math/e_asinl.c: Likewise.
17040 * math/e_atan2l.c: Likewise.
17041 * math/e_atanhl.c: Likewise.
17042 * math/e_coshl.c: Likewise.
17043 * math/e_expl.c: Likewise.
17044 * math/e_fmodl.c: Likewise.
17045 * math/e_gammal_r.c: Likewise.
17046 * math/e_hypotl.c: Likewise.
17047 * math/e_j0l.c: Likewise.
17048 * math/e_j1l.c: Likewise.
17049 * math/e_jnl.c: Likewise.
17050 * math/e_lgammal_r.c: Likewise.
17051 * math/e_log10l.c: Likewise.
17052 * math/e_log2l.c: Likewise.
17053 * math/e_logl.c: Likewise.
17054 * math/e_powl.c: Likewise.
17055 * math/e_rem_pio2l.c: Likewise.
17056 * math/e_sinhl.c: Likewise.
17057 * math/e_sqrtl.c: Likewise.
17058 * math/fclrexcpt.c: Likewise.
17059 * math/fedisblxcpt.c: Likewise.
17060 * math/feenablxcpt.c: Likewise.
17061 * math/fegetenv.c: Likewise.
17062 * math/fegetexcept.c: Likewise.
17063 * math/fegetround.c: Likewise.
17064 * math/feholdexcpt.c: Likewise.
17065 * math/fesetenv.c: Likewise.
17066 * math/fesetround.c: Likewise.
17067 * math/feupdateenv.c: Likewise.
17068 * math/fgetexcptflg.c: Likewise.
17069 * math/fraiseexcpt.c: Likewise.
17070 * math/fsetexcptflg.c: Likewise.
17071 * math/ftestexcept.c: Likewise.
17072 * math/k_cosl.c: Likewise.
17073 * math/k_rem_pio2l.c: Likewise.
17074 * math/k_sinl.c: Likewise.
17075 * math/k_tanl.c: Likewise.
17076 * math/s_asinhl.c: Likewise.
17077 * math/s_atanl.c: Likewise.
17078 * math/s_cbrtl.c: Likewise.
17079 * math/s_erfl.c: Likewise.
17080 * math/s_expm1l.c: Likewise.
17081 * math/s_log1pl.c: Likewise.
17082 * math/s_tanhl.c: Likewise.
17083 * misc/acct.c: Likewise.
17084 * misc/brk.c: Likewise.
17085 * misc/chflags.c: Likewise.
17086 * misc/chroot.c: Likewise.
17087 * misc/fchflags.c: Likewise.
17088 * misc/fgetxattr.c: Likewise.
17089 * misc/flistxattr.c: Likewise.
17090 * misc/fremovexattr.c: Likewise.
17091 * misc/fsetxattr.c: Likewise.
17092 * misc/fsync.c: Likewise.
17093 * misc/ftruncate.c: Likewise.
17094 * misc/futimes.c: Likewise.
17095 * misc/futimesat.c: Likewise.
17096 * misc/getdomain.c: Likewise.
17097 * misc/getdtsz.c: Likewise.
17098 * misc/gethostid.c: Likewise.
17099 * misc/gethostname.c: Likewise.
17100 * misc/getloadavg.c: Likewise.
17101 * misc/getpagesize.c: Likewise.
17102 * misc/getsysstats.c: Likewise.
17103 * misc/getxattr.c: Likewise.
17104 * misc/gtty.c: Likewise.
17105 * misc/ioctl.c: Likewise.
17106 * misc/lgetxattr.c: Likewise.
17107 * misc/listxattr.c: Likewise.
17108 * misc/llistxattr.c: Likewise.
17109 * misc/lremovexattr.c: Likewise.
17110 * misc/lsetxattr.c: Likewise.
17111 * misc/lutimes.c: Likewise.
17112 * misc/madvise.c: Likewise.
17113 * misc/mincore.c: Likewise.
17114 * misc/mlock.c: Likewise.
17115 * misc/mlockall.c: Likewise.
17116 * misc/mmap.c: Likewise.
17117 * misc/mprotect.c: Likewise.
17118 * misc/msync.c: Likewise.
17119 * misc/munlock.c: Likewise.
17120 * misc/munlockall.c: Likewise.
17121 * misc/munmap.c: Likewise.
17122 * misc/preadv.c: Likewise.
17123 * misc/preadv64.c: Likewise.
17124 * misc/ptrace.c: Likewise.
17125 * misc/pwritev.c: Likewise.
17126 * misc/pwritev64.c: Likewise.
17127 * misc/readv.c: Likewise.
17128 * misc/reboot.c: Likewise.
17129 * misc/remap_file_pages.c: Likewise.
17130 * misc/removexattr.c: Likewise.
17131 * misc/revoke.c: Likewise.
17132 * misc/select.c: Likewise.
17133 * misc/setdomain.c: Likewise.
17134 * misc/setegid.c: Likewise.
17135 * misc/seteuid.c: Likewise.
17136 * misc/sethostid.c: Likewise.
17137 * misc/sethostname.c: Likewise.
17138 * misc/setregid.c: Likewise.
17139 * misc/setreuid.c: Likewise.
17140 * misc/setxattr.c: Likewise.
17141 * misc/sstk.c: Likewise.
17142 * misc/stty.c: Likewise.
17143 * misc/swapoff.c: Likewise.
17144 * misc/swapon.c: Likewise.
17145 * misc/sync.c: Likewise.
17146 * misc/syncfs.c: Likewise.
17147 * misc/syscall.c: Likewise.
17148 * misc/truncate.c: Likewise.
17149 * misc/ualarm.c: Likewise.
17150 * misc/usleep.c: Likewise.
17151 * misc/ustat.c: Likewise.
17152 * misc/utimes.c: Likewise.
17153 * misc/vhangup.c: Likewise.
17154 * misc/writev.c: Likewise.
17155 * posix/_exit.c: Likewise.
17156 * posix/alarm.c: Likewise.
17157 * posix/execve.c: Likewise.
17158 * posix/fexecve.c: Likewise.
17159 * posix/fork.c: Likewise.
17160 * posix/fpathconf.c: Likewise.
17161 * posix/getaddrinfo.c: Likewise.
17162 * posix/getegid.c: Likewise.
17163 * posix/geteuid.c: Likewise.
17164 * posix/getgid.c: Likewise.
17165 * posix/getgroups.c: Likewise.
17166 * posix/getlogin.c: Likewise.
17167 * posix/getlogin_r.c: Likewise.
17168 * posix/getpgid.c: Likewise.
17169 * posix/getpid.c: Likewise.
17170 * posix/getppid.c: Likewise.
17171 * posix/getresgid.c: Likewise.
17172 * posix/getresuid.c: Likewise.
17173 * posix/getsid.c: Likewise.
17174 * posix/getuid.c: Likewise.
17175 * posix/glob64.c: Likewise.
17176 * posix/nanosleep.c: Likewise.
17177 * posix/pathconf.c: Likewise.
17178 * posix/pause.c: Likewise.
17179 * posix/posix_madvise.c: Likewise.
17180 * posix/pread.c: Likewise.
17181 * posix/pread64.c: Likewise.
17182 * posix/pwrite.c: Likewise.
17183 * posix/pwrite64.c: Likewise.
17184 * posix/sched_getaffinity.c: Likewise.
17185 * posix/sched_getp.c: Likewise.
17186 * posix/sched_gets.c: Likewise.
17187 * posix/sched_primax.c: Likewise.
17188 * posix/sched_primin.c: Likewise.
17189 * posix/sched_rr_gi.c: Likewise.
17190 * posix/sched_setaffinity.c: Likewise.
17191 * posix/sched_setp.c: Likewise.
17192 * posix/sched_sets.c: Likewise.
17193 * posix/sched_yield.c: Likewise.
17194 * posix/setgid.c: Likewise.
17195 * posix/setlogin.c: Likewise.
17196 * posix/setpgid.c: Likewise.
17197 * posix/setresgid.c: Likewise.
17198 * posix/setresuid.c: Likewise.
17199 * posix/setsid.c: Likewise.
17200 * posix/setuid.c: Likewise.
17201 * posix/sleep.c: Likewise.
17202 * posix/spawni.c: Likewise.
17203 * posix/sysconf.c: Likewise.
17204 * posix/times.c: Likewise.
17205 * posix/wait.c: Likewise.
17206 * posix/wait3.c: Likewise.
17207 * posix/wait4.c: Likewise.
17208 * posix/waitpid.c: Likewise.
17209 * resolv/gai_sigqueue.c: Likewise.
17210 * resource/getpriority.c: Likewise.
17211 * resource/getrlimit.c: Likewise.
17212 * resource/getrusage.c: Likewise.
17213 * resource/nice.c: Likewise.
17214 * resource/setpriority.c: Likewise.
17215 * resource/setrlimit.c: Likewise.
17216 * resource/ulimit.c: Likewise.
17217 * rt/aio_cancel.c: Likewise.
17218 * rt/aio_fsync.c: Likewise.
17219 * rt/aio_read.c: Likewise.
17220 * rt/aio_sigqueue.c: Likewise.
17221 * rt/aio_suspend.c: Likewise.
17222 * rt/aio_write.c: Likewise.
17223 * rt/clock_getres.c: Likewise.
17224 * rt/clock_gettime.c: Likewise.
17225 * rt/clock_nanosleep.c: Likewise.
17226 * rt/clock_settime.c: Likewise.
17227 * rt/lio_listio.c: Likewise.
17228 * rt/mq_close.c: Likewise.
17229 * rt/mq_getattr.c: Likewise.
17230 * rt/mq_notify.c: Likewise.
17231 * rt/mq_open.c: Likewise.
17232 * rt/mq_receive.c: Likewise.
17233 * rt/mq_send.c: Likewise.
17234 * rt/mq_setattr.c: Likewise.
17235 * rt/mq_timedreceive.c: Likewise.
17236 * rt/mq_timedsend.c: Likewise.
17237 * rt/mq_unlink.c: Likewise.
17238 * rt/shm_open.c: Likewise.
17239 * rt/shm_unlink.c: Likewise.
17240 * rt/timer_create.c: Likewise.
17241 * rt/timer_delete.c: Likewise.
17242 * rt/timer_getoverr.c: Likewise.
17243 * rt/timer_gettime.c: Likewise.
17244 * rt/timer_settime.c: Likewise.
17245 * setjmp/__longjmp.c: Likewise.
17246 * setjmp/setjmp.c: Likewise.
17247 * signal/kill.c: Likewise.
17248 * signal/killpg.c: Likewise.
17249 * signal/raise.c: Likewise.
17250 * signal/sigaction.c: Likewise.
17251 * signal/sigaltstack.c: Likewise.
17252 * signal/sigblock.c: Likewise.
17253 * signal/sigignore.c: Likewise.
17254 * signal/sigintr.c: Likewise.
17255 * signal/signal.c: Likewise.
17256 * signal/sigpause.c: Likewise.
17257 * signal/sigpending.c: Likewise.
17258 * signal/sigqueue.c: Likewise.
17259 * signal/sigreturn.c: Likewise.
17260 * signal/sigset.c: Likewise.
17261 * signal/sigsetmask.c: Likewise.
17262 * signal/sigstack.c: Likewise.
17263 * signal/sigsuspend.c: Likewise.
17264 * signal/sigtimedwait.c: Likewise.
17265 * signal/sigvec.c: Likewise.
17266 * signal/sigwait.c: Likewise.
17267 * signal/sigwaitinfo.c: Likewise.
17268 * signal/sysv_signal.c: Likewise.
17269 * socket/accept.c: Likewise.
17270 * socket/accept4.c: Likewise.
17271 * socket/bind.c: Likewise.
17272 * socket/connect.c: Likewise.
17273 * socket/getpeername.c: Likewise.
17274 * socket/getsockname.c: Likewise.
17275 * socket/getsockopt.c: Likewise.
17276 * socket/isfdtype.c: Likewise.
17277 * socket/listen.c: Likewise.
17278 * socket/recv.c: Likewise.
17279 * socket/recvfrom.c: Likewise.
17280 * socket/recvmsg.c: Likewise.
17281 * socket/send.c: Likewise.
17282 * socket/sendmsg.c: Likewise.
17283 * socket/sendto.c: Likewise.
17284 * socket/setsockopt.c: Likewise.
17285 * socket/shutdown.c: Likewise.
17286 * socket/sockatmark.c: Likewise.
17287 * socket/socket.c: Likewise.
17288 * socket/socketpair.c: Likewise.
17289 * stdio-common/ctermid.c: Likewise.
17290 * stdio-common/cuserid.c: Likewise.
17291 * stdio-common/remove.c: Likewise.
17292 * stdio-common/rename.c: Likewise.
17293 * stdio-common/renameat.c: Likewise.
17294 * stdio-common/tempname.c: Likewise.
17295 * stdlib/getcontext.c: Likewise.
17296 * stdlib/makecontext.c: Likewise.
17297 * stdlib/setcontext.c: Likewise.
17298 * stdlib/swapcontext.c: Likewise.
17299 * stdlib/system.c: Likewise.
17300 * streams/fattach.c: Likewise.
17301 * streams/fdetach.c: Likewise.
17302 * streams/getmsg.c: Likewise.
17303 * streams/getpmsg.c: Likewise.
17304 * streams/putmsg.c: Likewise.
17305 * streams/putpmsg.c: Likewise.
17306 * sysdeps/unix/bsd/getpt.c: Likewise.
17307 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17308 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17309 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17311 Likewise.
17312 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17313 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17314 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17315 * sysvipc/msgctl.c: Likewise.
17316 * sysvipc/msgget.c: Likewise.
17317 * sysvipc/msgrcv.c: Likewise.
17318 * sysvipc/msgsnd.c: Likewise.
17319 * sysvipc/semctl.c: Likewise.
17320 * sysvipc/semget.c: Likewise.
17321 * sysvipc/semop.c: Likewise.
17322 * sysvipc/semtimedop.c: Likewise.
17323 * sysvipc/shmat.c: Likewise.
17324 * sysvipc/shmctl.c: Likewise.
17325 * sysvipc/shmdt.c: Likewise.
17326 * sysvipc/shmget.c: Likewise.
17327 * termios/tcdrain.c: Likewise.
17328 * termios/tcflow.c: Likewise.
17329 * termios/tcflush.c: Likewise.
17330 * termios/tcgetattr.c: Likewise.
17331 * termios/tcgetpgrp.c: Likewise.
17332 * termios/tcsendbrk.c: Likewise.
17333 * termios/tcsetattr.c: Likewise.
17334 * termios/tcsetpgrp.c: Likewise.
17335 * time/adjtime.c: Likewise.
17336 * time/clock.c: Likewise.
17337 * time/getitimer.c: Likewise.
17338 * time/gettimeofday.c: Likewise.
17339 * time/setitimer.c: Likewise.
17340 * time/settimeofday.c: Likewise.
17341 * time/stime.c: Likewise.
17342 * time/time.c: Likewise.
17343
173442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17345
a20492cf
PT
17346 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17347 /usr/old/bin.
17348
72e182e3
PT
17349 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17350 instead of spaces.
17351 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17352
fbeafede
JM
173532012-11-03 Joseph Myers <joseph@codesourcery.com>
17354
5b5b04d6
JM
17355 [BZ #14796]
17356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17357 FE_TONEAREST before applying Dekker multiplication and Knuth
17358 addition. Clear inexact exceptions and check for exact zero
17359 results afterwards.
17360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17363 * math/libm-test.inc (fma_test): Add more tests.
17364 (fma_test_towardzero): Likewise.
17365 (fma_test_downward): Likewise.
17366 (fma_test_upward): Likewise.
17367 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17368 function.
17369 (libc_fesetround): New macro.
17370 (libc_fesetroundf): Likewise.
17371 (libc_fesetroundl): Likewise.
17372 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17373 function.
17374 (libc_fesetround_387): Likewise.
17375 (libc_fesetroundf): New macro.
17376 (libc_fesetround): Likewise.
17377 (libc_fesetroundl): Likewise.
17378 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17379 function.
17380 (libc_fesetroundf): New macro.
17381 (libc_fesetround): Likewise.
17382 (libc_fesetroundl): Likewise.
17383 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17384 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17385 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17386 libm_hidden_ver.
17387 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17388 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17389 libm_hidden_def.
17390 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17391 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17392 libm_hidden_ver.
17393 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17394 libm_hidden_def.
17395
fbeafede
JM
17396 [BZ #3439]
17397 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17398 integer constant usable in #if and use that to give value to enum
17399 constant.
17400 (FE_DIVBYZERO): Likewise.
17401 (FE_UNDERFLOW): Likewise.
17402 (FE_OVERFLOW): Likewise.
17403 (FE_INVALID): Likewise.
17404 (FE_INVALID_SNAN): Likewise.
17405 (FE_INVALID_ISI): Likewise.
17406 (FE_INVALID_IDI): Likewise.
17407 (FE_INVALID_ZDZ): Likewise.
17408 (FE_INVALID_IMZ): Likewise.
17409 (FE_INVALID_COMPARE): Likewise.
17410 (FE_INVALID_SOFTWARE): Likewise.
17411 (FE_INVALID_SQRT): Likewise.
17412 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17413 (FE_TONEAREST): Likewise.
17414 (FE_TOWARDZERO): Likewise.
17415 (FE_UPWARD): Likewise.
17416 (FE_DOWNWARD): Likewise.
17417 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17418 (FE_DIVBYZERO): Likewise.
17419 (FE_OVERFLOW): Likewise.
17420 (FE_UNDERFLOW): Likewise.
17421 (FE_INEXACT): Likewise.
17422 (FE_TONEAREST): Likewise.
17423 (FE_DOWNWARD): Likewise.
17424 (FE_UPWARD): Likewise.
17425 (FE_TOWARDZERO): Likewise.
17426 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17427 (FE_UNDERFLOW): Likewise.
17428 (FE_OVERFLOW): Likewise.
17429 (FE_DIVBYZERO): Likewise.
17430 (FE_INVALID): Likewise.
17431 (FE_TONEAREST): Likewise.
17432 (FE_TOWARDZERO): Likewise.
17433 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17434 (FE_OVERFLOW): Likewise.
17435 (FE_UNDERFLOW): Likewise.
17436 (FE_DIVBYZERO): Likewise.
17437 (FE_INEXACT): Likewise.
17438 (FE_TONEAREST): Likewise.
17439 (FE_TOWARDZERO): Likewise.
17440 (FE_UPWARD): Likewise.
17441 (FE_DOWNWARD): Likewise.
17442 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17443 (FE_DIVBYZERO): Likewise.
17444 (FE_OVERFLOW): Likewise.
17445 (FE_UNDERFLOW): Likewise.
17446 (FE_INEXACT): Likewise.
17447 (FE_TONEAREST): Likewise.
17448 (FE_DOWNWARD): Likewise.
17449 (FE_UPWARD): Likewise.
17450 (FE_TOWARDZERO): Likewise.
17451
105ca950
CM
174522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17453
17454 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17455
a542b389
AS
174562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17457
17458 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17459 commands. Quote $PWD.
17460 (blacklist_exports): Don't use remove_newlines. Replace "declare
17461 -x" by "export".
17462 (remove_newlines): Remove.
17463
f62c8abc
L
174642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17467 * stdlib/stdlib.h (atof): Moved to ...
17468 * include/bits/stdlib-float.h: Here. New file.
17469 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17470 * stdlib/bits/stdlib-float.h: New file.
17471 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17472 -mno-sse -mno-mmx.
17473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17474 <xmmintrin.h>.
17475
0155d5b2
JM
174762012-11-02 Joseph Myers <joseph@codesourcery.com>
17477
a68d0680
JM
17478 * conform/conformtest.pl (@headers): Add fenv.h.
17479 * conform/data/fenv.h-data: New file.
17480 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17481 include of <math/fenv.h>.
17482
caf7f573
JM
17483 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17484 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17485 && !UNIX98]. Enables tests for XOPEN2K8.
17486 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17487 POSIX2008]: Likewise.
17488
6c073ad6
JM
17489 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17490 (struct rusage): Do not expect type or its members.
17491
0155d5b2
JM
17492 [BZ #3439]
17493 * math/math.h (FP_NAN): Define macro to integer constant usable in
17494 #if and use that to give value to enum constant.
17495 (FP_INFINITE): Likewise.
17496 (FP_ZERO): Likewise.
17497 (FP_SUBNORMAL): Likewise.
17498 (FP_NORMAL): Likewise.
17499
b5dcacb4
AS
175002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17501
17502 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17503 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17504 arguments.
17505
f7934be8
RM
175062012-11-02 Roland McGrath <roland@hack.frob.com>
17507
17508 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17509 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17510 autoconf-time if not.
17511 * configure.in: Remove AC_PREREQ.
17512
d7d08bde
TMQMF
175132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17514
17515 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17516 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17517 of the internal implementation.
17518
dcdae19a
JM
175192012-11-02 Joseph Myers <joseph@codesourcery.com>
17520
17521 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17522 except include of <misc/sys/syslog.h>.
17523
d6cffd3e
AS
175242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17525
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17527 function returns with a NULL context exit with zero.
17528
b3563932
TMQMF
175292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17530
17531 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17532
b288a93d
L
175332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17534
17535 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17536 (run_program_cmd): This.
17537 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17538 (tst_langinfo): New variable. Use it.
17539
a2421a68
SAS
175402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17541
17542 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17543 floating point opcodes.
17544
6f796e1b
TS
175452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17546
7402596b
TS
17547 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17548 variable.
17549
d0d4f868
TS
17550 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17551
6f796e1b
TS
17552 * sysdeps/mach/hurd/powerpc: Remove directory.
17553 * sysdeps/mach/powerpc: Likewise.
17554
4da224a2
AS
175552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17556
17557 * scripts/check-local-headers.sh: Ignore c++ headers.
17558
341dd673
TS
175592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17560
17561 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17562 __libc_cleanup_region_start argument.
17563
473611b2
JM
175642012-11-01 Joseph Myers <joseph@codesourcery.com>
17565
17566 [BZ #14784]
17567 [BZ #14785]
17568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17569 x * y using scaling, not as x * y + z.
17570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17572 * math/libm-test.inc (fma_test): Add more tests.
17573 (fma_test_towardzero): Likewise.
17574 (fma_test_downward): Likewise.
17575 (fma_test_upward): Likewise.
17576
4078da3d
TS
175772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17578
17579 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17580
903252aa
JM
175812012-10-31 Joseph Myers <joseph@codesourcery.com>
17582
17583 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17584 New variable.
17585
cbc818d0
TS
175862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17587
17588 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17589
5a03cb1e
AS
175902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17591
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17593 Fix sort order.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17595 Likewise.
17596
90aff2ff
TMQMF
175972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17598
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17600 Fix the order of the list for glibc 2.17.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17602 Likewise.
17603
1818fcb7
AS
176042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17605
17606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17607
ef82f4da
JM
176082012-10-31 Joseph Myers <joseph@codesourcery.com>
17609
16a0e2ec
JM
17610 [BZ #14610]
17611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17612 for low part of x being zero before using __atanl (y).
17613 * math/libm-test.inc (atan2_test): Add another test.
17614
0eb69512
JM
17615 * manual/install.texi (Configuring and compiling): Document
17616 general use of test-wrapper and test-wrapper-env.
17617 * INSTALL: Regenerated.
17618
ef82f4da
JM
17619 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17620 (__fma): Do not extract and scale down low bits on after-rounding
17621 systems when result rounded to normal precision would have normal
17622 exponent.
17623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17624 (__fmal): Do not extract and scale down low bits on after-rounding
17625 systems when result rounded to normal precision would have normal
17626 exponent.
17627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17628 (__fmal): Do not extract and scale down low bits on after-rounding
17629 systems when result rounded to normal precision would have normal
17630 exponent.
17631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17632 macro.
17633 (fma_test): Add more tests.
17634 (fma_test_towardzero): Likewise.
17635 (fma_test_downward): Likewise.
17636 (fma_test_upward): Likewise.
17637
954ef0d9
L
176382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17639
17640 * sysdeps/i386/tininess.h: Renamed to ...
17641 * sysdeps/x86/tininess.h: This.
17642 * sysdeps/x86_64/tininess.h: Removed.
17643
df61ffb2
JM
176442012-10-30 Joseph Myers <joseph@codesourcery.com>
17645
17646 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17647 input. Use $(build-program-cmd).
17648 ($(objpfx)tst-array1-static.out): Likewise.
17649 ($(objpfx)tst-array2.out): Likewise.
17650 ($(objpfx)tst-array3.out): Likewise.
17651 ($(objpfx)tst-array4.out): Likewise.
17652 ($(objpfx)tst-array5.out): Likewise.
17653 ($(objpfx)tst-array5-static.out): Likewise.
17654
01767843
CM
176552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17656
47cc1490
CM
17657 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17658 if defined.
17659
01767843
CM
17660 * nss/nsswitch.h (nss_interface_function): Provide new
17661 macro for use with NSS functions.
17662 * grp/initgroups.c: Use new macro.
17663 * nss/getXXbyYY.c: Likewise.
17664 * nss/getXXbyYY_r.c: Likewise.
17665 * nss/getXXent.c: Likewise.
17666 * nss/getXXent_r.c: Likewise.
17667 * sysdeps/posix/getaddrinfo.c: Likewise.
17668
8321aa97
AJ
176692012-10-30 Andreas Jaeger <aj@suse.de>
17670
17671 * po/ru.po: Update Russion translation from translation project.
17672
2a27fd6d
JM
176732012-10-30 Joseph Myers <joseph@codesourcery.com>
17674
8627a232
JM
17675 [BZ #14152]
17676 [BZ #14783]
17677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17678 result and shift together with sticky bit instead of replicating
17679 round-to-nearest rounding.
17680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17682 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17683 missing underflow exceptions.
17684 (fma_test_towardzero): Add more tests.
17685 (fma_test_downward): Likewise.
17686 (fma_test_upward): Likewise.
17687
2a27fd6d
JM
17688 [BZ #14047]
17689 * sysdeps/generic/tininess.h: New file.
17690 * sysdeps/i386/tininess.h: Likewise.
17691 * sysdeps/sh/tininess.h: Likewise.
17692 * sysdeps/x86_64/tininess.h: Likewise.
17693 * stdlib/tst-strtod-underflow.c: Likewise.
17694 * stdlib/tst-tininess.c: Likewise.
17695 * stdlib/strtod_l.c: Include <tininess.h>.
17696 (round_and_return): Do not set errno for exact underflow cases.
17697 Force an underflow exception when setting errno for underflow.
17698 Determine underflow based on rounding to normal precision if
17699 TININESS_AFTER_ROUNDING.
17700 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17701 ERANGE for exact underflow cases.
17702 * stdlib/Makefile (tests): Add tst-tininess and
17703 tst-strtod-underflow.
17704 ($(objpfx)tst-tininess): Use $(link-libm).
17705 ($(objpfx)tst-strtod-underflow): Likewise.
17706
e7170363
AJ
177072012-10-30 Andreas Jaeger <aj@suse.de>
17708
e5088dc6
AJ
17709 [BZ#14767]
17710 * elf/Makefile (tests): Remove conditional for have-initfini-array
17711 since this is now always required and the variable does not exist
17712 anymore.
17713 (tests-static): Likewise.
17714 (modules-names): Likewise.
17715
e7170363 17716 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17717
17718 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17719 merged with constructor/destructor.
17720 (init_array): Likewise.
17721 * elf/tst-array2dep.c (fini_array): Likewise.
17722 (init_array): Likewise.
17723
60457d8a
MF
177242012-10-29 Mike Frysinger <vapier@gentoo.org>
17725
17726 * manual/message.texi: Delete @cartouche tags.
17727
8bece752
PT
177282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17729
94ce799f
PT
17730 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17731 EOPNOTSUPP.
17732 * sysdeps/mach/hurd/fsync.c: Likewise.
17733
8bece752
PT
17734 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17735 [_POSIX_REALTIME_SIGNALS]: Change condition to
17736 [_POSIX_REALTIME_SIGNALS > 0].
17737
86ebe6b1
AJ
177382012-10-27 Andreas Jaeger <aj@suse.de>
17739
17740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17741 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17743 [__WORDSIZE != 64]: Likewise.
17744
54399c08
L
177452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * iconvdata/tst-table.sh: Remove ${SHELL}.
17748 * iconvdata/tst-tables.sh: Likewise.
17749
e2211bed
DM
177502012-10-25 David S. Miller <davem@davemloft.net>
17751
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17753 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17754 of strtoull.
17755
f303f97c
DM
17756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17757 ifunc-impl-list.c
17758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17759 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17760 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17761 file.
17762
1e9d84cd
RM
177632012-10-25 Roland McGrath <roland@hack.frob.com>
17764
17765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17766 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17767 __getdirentries.
17768
df381762
JM
177692012-10-25 Joseph Myers <joseph@codesourcery.com>
17770 Jim Blandy <jimb@codesourcery.com>
17771
17772 * scripts/cross-test-ssh.sh: New file.
17773 * manual/install.texi (Configuring and compiling): Document use of
17774 cross-test-ssh.sh.
17775 * INSTALL: Regenerated.
17776
bff64913
PT
177772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17778
17779 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17780 EOPNOTSUPP.
17781
25fe8932
JM
177822012-10-25 Joseph Myers <joseph@codesourcery.com>
17783
17784 * Makeconfig (run-program-prefix): Fix comment.
17785
cc1290d0
JM
177862012-10-24 Joseph Myers <joseph@codesourcery.com>
17787 Jim Blandy <jimb@codesourcery.com>
17788
17789 * Makeconfig (test-wrapper): New variable,
17790 (test-wrapper-env): Likewise.
17791 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17792 (run-built-tests): Define to yes.
17793 (run-program-prefix): Use $(test-wrapper).
17794 (built-program-cmd): Likewise.
17795 * Rules (make-test-out): Use $(test-wrapper-env) and
17796 $(host-built-program-cmd).
17797 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17798 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17799 tst-pathopt.sh.
17800 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17801 $(test-wrapper-env) to tst-rtld-load-self.sh.
17802 ($(objpfx)order2.out): Use $(test-wrapper).
17803 ($(objpfx)tst-initorder.out): Likewise.
17804 ($(objpfx)tst-initorder2.out): Likewise.
17805 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17806 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17807 (test_wrapper_env): New variable. Use it to run ld.so.
17808 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17809 Use it to run ld.so.
17810 (test_wrapper_env): Likewise.
17811 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17812 $(test-wrapper) to run-iconv-test.sh.
17813 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17814 (ICONV): Use $test_wrapper.
17815 * posix/Makefile ($(objpfx)globtest.out): Pass
17816 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17817 globtest.sh, not $(run-program-prefix).
17818 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17819 (test_wrapper): Likewise.
17820 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17821 set together with run_via_rtld_prefix.
17822 (run_program_prefix): Define in terms of test_wrapper and
17823 run_via_rtld_prefix.
17824
6e6249d0
RM
178252012-10-24 Roland McGrath <roland@hack.frob.com>
17826
17827 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17828 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17829 Targets removed.
17830
17831 [BZ #14743]
17832 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17833 Declare __clock_getres, __clock_gettime, __clock_settime,
17834 __clock_nanosleep, and __clock_getcpuclockid.
17835 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17836 Remove librt_hidden_def (clock_gettime).
17837 * sysdeps/unix/clock_gettime.c: Likewise.
17838 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17840 * rt/clock_getres.c: Define __clock_getres as an alias.
17841 * sysdeps/posix/clock_getres.c: Likewise.
17842 * rt/clock_settime.c: Define __clock_settime as an alias.
17843 * sysdeps/unix/clock_settime.c: Likewise.
17844 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17845 * sysdeps/unix/clock_nanosleep.c: Likewise.
17846 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17847 * rt/clock-compat.c: New file.
17848 * rt/Makefile (librt-routines): Add clock-compat and move
17849 $(clock-routines) to ...
17850 (routines): ... here, new variable.
17851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17852 Don't add get_clockfreq here.
17853 * rt/Versions (libc: GLIBC_2.17): New version set.
17854 Add clock_* symbols here.
17855 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17856 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17857 (GLIBC_2.17): Add clock_* symbols.
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17862 Likewise.
17863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17864 Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17869 * NEWS: Mention the move.
17870
17871 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17872 Use __open, __read, __close rather than their public counterparts.
17873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17874 (__get_clockfreq_via_cpuinfo): Likewise.
17875 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17876 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17877
17878 * config.h.in (HAVE_IFUNC): New #undef.
17879 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17880 was successful.
17881 * configure: Regenerated.
17882
0cae3f4b
MF
178832012-10-24 Mike Frysinger <vapier@gentoo.org>
17884
17885 * configure.in: Move READELF check to start of file.
17886 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17887 libc_cv_asm_gnu_indirect_function in the process.
17888 * configure: Regenerated.
17889
8175a253
MF
178902012-10-24 Mike Frysinger <vapier@gentoo.org>
17891
17892 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17893 send the output to /dev/null.
17894 (libc_cv_cc_with_libunwind): Likewise.
17895 (libc_cv_as_noexecstack): Likewise.
17896 * configure: Regenerate.
17897
0708a7d1
JM
178982012-10-24 Joseph Myers <joseph@codesourcery.com>
17899
10b40d85
JM
17900 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17901
0708a7d1
JM
17902 * posix/globtest.sh (TMPDIR): Do not set.
17903 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17904 (testout): Likewise.
17905
9fddec1a
AJ
179062012-10-24 Andreas Jaeger <aj@suse.de>
17907
3a8db22f
AJ
17908 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17909 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17910 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17911 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17912 posix_fadvise64, posix_fallocate64.
17913
9fddec1a
AJ
17914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17915 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17916 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17917 Likewise.
17918 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17919 Likewise.
17920 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17921
17922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17923 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17924 <bits/fcntl-linux.h>.
17925 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17926
17927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17928 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17929 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17930 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17931 [__WORDSIZE != 64]: Likewise.
17932
ebfd1bbd
JM
179332012-10-23 Joseph Myers <joseph@codesourcery.com>
17934
03ac099f
JM
17935 * Makeconfig (run-built-tests): New variable.
17936 * Rules [$(cross-compiling) = yes]: Change condition to
17937 [$(run-built-tests) = no].
17938 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17939 to [$(run-built-tests) = yes].
17940 * elf/Makefile [$(cross-compiling) = no]: Likewise
17941 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17942 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17943 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17944 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17945 * io/Makefile [$(cross-compiling) = no]: Likewise.
17946 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17947 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17948 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17949 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17950 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17951 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17952 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17953 * string/Makefile [$(cross-compiling) = no]: Likewise.
17954
ebfd1bbd
JM
17955 * posix/Makefile ($(objpfx)globtest.out): Pass
17956 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17957 $(rtld-installed-name).
17958 * posix/globtest.sh (elf_objpfx): Remove variable.
17959 (rtld_installed_name): Likewise.
17960 (library_path): Likewise.
17961 (run_program_prefix): New variable. Use for running globtest
17962 binary.
17963
166bca24
JB
179642012-10-23 Jim Blandy <jimb@codesourcery.com>
17965 Joseph Myers <joseph@codesourcery.com>
17966
17967 * Makeconfig (host-built-program-cmd): New variable.
17968 * elf/Makefile (tst-stackguard1-ARGS): Use
17969 $(host-built-program-cmd).
17970 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17971 (tst-spawn-ARGS): Likewise.
17972 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17973
88866099
JM
179742012-10-23 Joseph Myers <joseph@codesourcery.com>
17975 Jim Blandy <jimb@codesourcery.com>
17976
17977 * Makeconfig (run-via-rtld-prefix): New variable.
17978 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17979 (built-program-cmd): Likewise.
17980
b4b4c296
AJ
179812012-10-22 Andreas Jaeger <aj@suse.de>
17982
17983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17984 __O_RSYNC if it exists, otherwise to O_SYNC.
17985
6fb54a22
JB
179862012-10-22 Jim Blandy <jimb@codesourcery.com>
17987 Joseph Myers <joseph@codesourcery.com>
17988
17989 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17990 /dev/null.
17991 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17992 from /dev/null
17993 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17994 /dev/null.
17995
481b90b9
AJ
179962012-10-22 Andreas Jaeger <aj@suse.de>
17997
2a0e2669
AJ
17998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17999 Define always.
18000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18001
76e38f9a
AJ
18002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18003 bits/fcntl-linux.h.
18004
7cd37b43
AJ
18005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18006 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18007
481b90b9
AJ
18008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18009 to __O_LARGEFILE.
18010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18011 to __O_LARGEFILE.
18012
aba75984
JB
180132012-10-21 Jim Blandy <jimb@codesourcery.com>
18014 Joseph Myers <joseph@codesourcery.com>
18015
18016 * config.make.in (NM): New variable.
18017
88d4247f
AJ
180182012-10-21 Andreas Jaeger <aj@suse.de>
18019
18020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18021 definitions and declarations that are provided by
18022 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18023
f2eed205
L
180242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18025
18026 [BZ #14683]
18027 * elf/Makefile (tests-static): Add tst-leaks1-static.
18028 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18029 ($(objpfx)tst-leaks1-static): New rule.
18030 ($(objpfx)tst-leaks1-static-mem): Likewise.
18031 (tst-leaks1-static-ENV): New macro.
18032 * elf/dl-open.c (dl_open_worker): Check the main application
18033 only if SHARED is defined.
18034 * elf/tst-leaks1-static.c: New file.
18035
335e6931
AJ
180362012-10-20 Andreas Jaeger <aj@suse.de>
18037
18038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18039 generic values for Linux.
18040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18041 and declarations that are provided by <bits/fcntl-linux.h> and
18042 include <bits/fcntl-linux.h>.
18043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18045
ac5c94d3
RM
180462012-10-20 Roland McGrath <roland@hack.frob.com>
18047
18048 * io/fcntl.h: Move include of <bits/types.h> to the top and
18049 include it unconditionally.
18050
de54b33a
L
180512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18052
228cfb01
L
18053 * wcsmbs/Makefile (tests-ifunc): New variable.
18054 (tests): Add $(tests-ifunc).
18055 * wcsmbs/test-wcschr-ifunc.c: New file.
18056 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18057 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18058 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18059 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18060 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18061
69f07e5f
L
18062 * string/Makefile (tests-ifunc): New variable.
18063 (tests): Add $(tests-ifunc).
18064 * string/test-memccpy.c (TEST_NAME): New macro.
18065 * string/test-memchr.c (TEST_NAME): Likewise.
18066 * string/test-memcmp.c (TEST_NAME): Likewise.
18067 * string/test-memcpy.c (TEST_NAME): Likewise.
18068 * string/test-memmem.c (TEST_NAME): Likewise.
18069 * string/test-memmove.c (TEST_NAME): Likewise.
18070 * string/test-memset.c (TEST_NAME): Likewise.
18071 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18072 * string/test-stpcpy.c (TEST_NAME): Likewise.
18073 * string/test-stpncpy.c (TEST_NAME): Likewise.
18074 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18075 * string/test-strcasestr.c (TEST_NAME): Likewise.
18076 * string/test-strcat.c (TEST_NAME): Likewise.
18077 * string/test-strchr.c (TEST_NAME): Likewise.
18078 * string/test-strcmp.c(TEST_NAME): Likewise.
18079 * string/test-strcpy.c (TEST_NAME): Likewise.
18080 * string/test-strcspn.c (TEST_NAME): Likewise.
18081 * string/test-strlen.c (TEST_NAME): Likewise.
18082 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18083 * string/test-strncmp.c (TEST_NAME): Likewise.
18084 * string/test-strncpy.c (TEST_NAME): Likewise.
18085 * string/test-strnlen.c (TEST_NAME): Likewise.
18086 * string/test-strpbrk.c (TEST_NAME): Likewise.
18087 * string/test-strrchr.c (TEST_NAME): Likewise.
18088 * string/test-strspn.c (TEST_NAME): Likewise.
18089 * string/test-strstr.c (TEST_NAME): Likewise.
18090 * string/test-bcopy-ifunc.c: New file.
18091 * string/test-bzero-ifunc.c: Likewise.
18092 * string/test-memccpy-ifunc.c: Likewise.
18093 * string/test-memchr-ifunc.c: Likewise.
18094 * string/test-memcmp-ifunc.c: Likewise.
18095 * string/test-memcpy-ifunc.c: Likewise.
18096 * string/test-memmem-ifunc.c: Likewise.
18097 * string/test-memmove-ifunc.c: Likewise.
18098 * string/test-mempcpy-ifunc.c: Likewise.
18099 * string/test-memset-ifunc.c: Likewise.
18100 * string/test-rawmemchr-ifunc.c: Likewise.
18101 * string/test-stpcpy-ifunc.c: Likewise.
18102 * string/test-stpncpy-ifunc.c: Likewise.
18103 * string/test-strcasecmp-ifunc.c: Likewise.
18104 * string/test-strcasestr-ifunc.c: Likewise.
18105 * string/test-strcat-ifunc.c: Likewise.
18106 * string/test-strchr-ifunc.c: Likewise.
18107 * string/test-strchrnul-ifunc.c: Likewise.
18108 * string/test-strcmp-ifunc.c: Likewise.
18109 * string/test-strcpy-ifunc.c: Likewise.
18110 * string/test-strcspn-ifunc.c: Likewise.
18111 * string/test-strlen-ifunc.c: Likewise.
18112 * string/test-strncasecmp-ifunc.c: Likewise.
18113 * string/test-strncat-ifunc.c: Likewise.
18114 * string/test-strncmp-ifunc.c: Likewise.
18115 * string/test-strncpy-ifunc.c: Likewise.
18116 * string/test-strnlen-ifunc.c: Likewise.
18117 * string/test-strpbrk-ifunc.c: Likewise.
18118 * string/test-strrchr-ifunc.c: Likewise.
18119 * string/test-strspn-ifunc.c: Likewise.
18120 * string/test-strstr-ifunc.c: Likewise.
18121
de54b33a
L
18122 * debug/Makefile (tests-ifunc): New variable.
18123 (tests): Add $(tests-ifunc).
18124 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18125 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18126 * debug/test-stpcpy_chk-ifunc.c: New file.
18127 * debug/test-strcpy_chk-ifunc.c: Likewise.
18128
88481c16
SP
181292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18130
18131 [BZ #13601]
18132 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18133 header is not read in.
18134
135948bd
JM
181352012-10-19 Joseph Myers <joseph@codesourcery.com>
18136
89f1c388
JM
18137 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18138 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18139 directly. Pass built executable to script as
18140 $(built-program-cmd).
18141 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18142 $testprogram without using LD_LIBRARY_PATH and $ldso.
18143
e40a0d21
JM
18144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18145 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18146 $(rtld-installed-name).
18147 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18148 (rtld_installed_name): Likewise.
18149 (library_path): Likewise.
18150 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18151 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18152 $(run-program-prefix) to tst-tables.sh.
18153 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18154 it to run tst-table-from and tst-table-to.
18155 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18156 Pass it to tst-table.sh.
18157 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18158 $(run-program-prefix) to tst-gettext.sh.
18159 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18160 tst-translit.sh.
18161 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18162 tst-gettext2.sh.
18163 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18164 to run tst-gettext.
18165 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18166 to run tst-gettext2.
18167 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18168 to run tst-translit.
18169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18170 $(run-program-prefix) to tst-mtrace.sh.
18171 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18172 to run tst-mtrace.
18173 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18174 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18175 $(rtld-installed-name).
18176 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18177 (rtld_installed_name): Likewise.
18178 (run_program_prefix): New variable. Use it to run wordexp-test.
18179
728e272a
JM
18180 * Makeconfig (ARCH): Remove all definitions.
18181 (machine): Likewise.
18182 [ARCH]: Remove conditional code.
18183 [!objdir]: Give error.
18184 [!objdir] (objpfx): Remove.
18185 [!objdir] (common-objpfx): Likewise.
18186 [!objdir] (common-objdir): Likewise.
18187 * configure.in (config_makefile): Remove. Hardcode Makefile in
18188 AC_CONFIG_FILES call.
18189 * configure: Regenerated.
18190
d528cdcf
JM
18191 [BZ #13888]
18192 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18193 or TMPDIR.
18194 (testout): Likewise.
18195
135948bd
JM
18196 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18197 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18198 $(rtld-installed-name).
18199 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18200 (rtld_installed_name): Likwise.
18201 (runit): Remove function.
18202 (run_getconf): New variable, Use it for running getconf binary.
18203
38c78296
L
182042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18205
18206 [BZ #14716]
18207 * string/test-memmem.c (check_result): New function.
18208 (do_one_test): Use it.
18209 (check1): New function.
18210 (test_main): Use it.
18211
d077f65f
MT
182122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18213
18214 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18215
ced52c71
JM
182162012-10-18 Joseph Myers <joseph@codesourcery.com>
18217
18218 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18219 (_G_LSEEK64): Likewise.
18220 (_G_MMAP64): Likewise.
18221 (_G_FSTAT64): Likewise.
18222 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18223 (_G_LSEEK64): Likewise.
18224 (_G_MMAP64): Likewise.
18225 (_G_FSTAT64): Likewise.
18226 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18227 unconditional. Call __mmap64 directly.
18228 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18229 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18230 __lseek64 directly.
18231 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18232 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18233 __mmap64 directly.
18234 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18235 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18236 __lseek64 directly.
18237 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18238 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18239 __lseek64 directly.
18240 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18241 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18242 __lseek64 directly.
18243 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18244 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18245 __fxstat64 directly.
18246 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18247 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18248 unconditional.
18249 (freopen64) [!_G_OPEN64]: Remove conditional code.
18250 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18251 unconditional.
18252 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18253 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18254 unconditional.
18255 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18256 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18257 unconditional.
18258 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18259 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18260 unconditional.
18261 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18262 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18263 unconditional.
18264 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18265 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18266 unconditional.
18267 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18268 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18269 unconditional.
18270 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18271
b741de23
SP
182722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18273
18274 [BZ #12140]
18275 * manual/memory.texi (Malloc Tunable Parameters): Add note
18276 about free list pointers overwriting some perturb bytes.
18277 Wording suggested by Roland McGrath.
18278
f9b9d9c9
JM
182792012-10-17 Joseph Myers <joseph@codesourcery.com>
18280
18281 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18282 (lgamma_test): Likewise.
18283 (tgamma_test): Likewise.
18284
172a631a
FW
182852012-10-16 Florian Weimer <fweimer@redhat.com>
18286
18287 [BZ #14700]
18288 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18289 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18290
e9f37252
MK
182912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18292
18293 * NEWS: Mention BZ #14716.
18294 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18295 when removing AVAILABLE1_USES_J macro.
18296
d394eb74
L
182972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18298
18299 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18300 (__bswap_64): __uint64_t for unsigned 64-bit int.
18301
ca38dc17
AS
183022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18303
18304 * include/string.h (memmem): Declare libc hidden alias.
18305 * string/memmem.c (memmem): Define libc hidden alias.
18306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18307 __read, __close instead of open, read, close.
18308
9a387d1f
L
183092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18310
ac49ecaf
L
18311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18312 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18313 global and hidden.
18314 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18315 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18316 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18317 Likewise.
18318 (__rawmemchr_sse2): Likewise.
18319 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18320 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18321 (__strchr_sse2): Likewise.
18322 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18323 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18324 (__strcasecmp_sse2): Likewise.
18325 (__strncasecmp_sse2): Likewise.
18326 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18327 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18328 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18329 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18330 (__strrchr_sse2): Likewise.
18331 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18332 ifunc-impl-list.c.
18333 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18334 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18335 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18337 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18338 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18341 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18342 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18343 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18344 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18345 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18346 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18347 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18348 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18349 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18350 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18351 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18352 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18353 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18354 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18355 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18356 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18357 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18359 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18360 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18361 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18362 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18363
b090e8ea
L
18364 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18365 global and hidden.
18366 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18367 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18368 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18369 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18370 Likewise.
18371 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18372 Likewise.
18373 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18374 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18375 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18376 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18377 ifunc-impl-list.c.
18378 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18379 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18380 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18381 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18382 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18383 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18384 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18385 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18386 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18387 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18388 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18389 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18390 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18391 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18392 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18394 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18395 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18401 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18403 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18404 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18405 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18406 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18407 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18408 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18409 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18410 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18411 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18418 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18419
11dd4af6
L
18420 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18421 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18422 * include/ifunc-impl-list.h: New file.
18423 * misc/ifunc-impl-list.c: Likewise.
18424 * misc/Makefile (routines): Add ifunc-impl-list.
18425 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18426 * string/test-string.h: Include <ifunc-impl-list.h>.
18427 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18428 impl_array): New variables.
18429 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18430 are defined.
18431 (test_init): Call __libc_ifunc_impl_list to initialize
18432 func_list if TEST_IFUNC and TEST_NAME are defined.
18433
9a387d1f
L
18434 * string/Makefile (strop-tests): Add bcopy and bzero.
18435 * string/test-bcopy.c: New file.
18436 * string/test-bzero.c: Likewise.
18437 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18438 defined.
18439 * string/test-memset.c: Support bzero test if TEST_BZERO is
18440 defined.
18441 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18442 __libc_memmove.
18443 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18444 __libc_memset.
18445 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18446 of memset.
18447
472371b9
JM
184482012-10-10 Joseph Myers <joseph@codesourcery.com>
18449
1e4a9536
JM
18450 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18451 * configure: Regenerated.
18452
d173d12e
JM
18453 * Makeconfig (+link-static-before-libc): Don't include
18454 $(link-static-libc).
18455
472371b9
JM
18456 * libio/libio.h (_IO_pos_t): Remove.
18457
89a3ad0b
AO
184582012-10-10 Alexandre Oliva <aoliva@redhat.com>
18459
18460 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18461 McGrath.
18462
e7451425
AO
184632012-10-10 Alexandre Oliva <aoliva@redhat.com>
18464
18465 * crypt/crypt-entry.c: Include fips-private.h.
18466 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18467 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18468 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18469 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18470
4ba74a35
AO
184712012-10-10 Alexandre Oliva <aoliva@redhat.com>
18472
18473 * crypt/crypt-private.h: Include stdbool.h.
18474 (_ufc_setup_salt_r): Return bool.
18475 * crypt/crypt-entry.c: Include errno.h.
18476 (__crypt_r): Return NULL with EINVAL for bad salt.
18477 * crypt/crypt_util.c (bad_for_salt): New.
18478 (_ufc_setup_salt_r): Check that salt is long enough and within
18479 the specified alphabet.
18480 * crypt/badsalttest.c: New file.
18481 * crypt/Makefile (tests): Add it.
18482 ($(objpfx)badsalttest): New.
18483
f96f1242
MK
184842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18485
18486 * NEWS: Add entry for BZ #14602.
18487
0e8e0c1c
JM
184882012-10-09 Joseph Myers <joseph@codesourcery.com>
18489
18490 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18491 type-generic.
18492 * math/libm-test.inc: Update comment listing what functions and
18493 macros are tested.
18494 (isgreater_test): New function.
18495 (isgreaterequal_test): Likewise.
18496 (isless_test): Likewise.
18497 (islessequal_test): Likewise.
18498 (islessgreater_test): Likewise.
18499 (isunordered_test): Likewise.
18500 (main): Call the new functions.
18501
273edc5e
RM
185022012-10-09 Roland McGrath <roland@hack.frob.com>
18503
b8493de0
RM
18504 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18505 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18506 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18507 * sysdeps/i386/configure: Regenerated.
18508 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18509 * sysdeps/mach/configure: Regenerated.
18510 * sysdeps/mach/hurd/configure: Regenerated.
18511 * sysdeps/powerpc/configure: Regenerated.
18512 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18513 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18514 * sysdeps/s390/s390-32/configure: Regenerated.
18515 * sysdeps/s390/s390-64/configure: Regenerated.
18516 * sysdeps/sh/configure: Regenerated.
18517 * sysdeps/sparc/configure: Regenerated.
18518 * sysdeps/unix/sysv/linux/configure: Regenerated.
18519 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18520 * sysdeps/x86_64/configure: Regenerated.
18521
273edc5e
RM
18522 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18523 defined. Don't check if MAP is NULL.
18524
c8450f70
JM
185252012-10-09 Joseph Myers <joseph@codesourcery.com>
18526
18527 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18528 (_G_stat64): Likewise.
18529 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18530 (_G_stat64): Likewise.
18531 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18532 instead of struct _G_stat64.
18533 * libio/fileops.c (mmap_remap_check): Likewise.
18534 (decide_maybe_mmap): Likewise.
18535 (_IO_new_file_seekoff): Likewise.
18536 (_IO_file_stat): Likewise.
18537 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18538 _G_off64_t.
18539 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18540 instead of struct _G_stat64.
18541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18542
57e605ba
MK
185432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18544
18545 [BZ #14602]
18546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18547 Replace with ...
18548 (CHECK_EOL): New macro.
18549 (two_way_short_needle): Check beginning of haystack for EOL. Use
18550 CHECK_EOL.
18551 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18552 Replace with CHECK_EOL.
18553 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18554 Replace with CHECK_EOL.
18555
ef1bb361
JM
185562012-10-08 Joseph Myers <joseph@codesourcery.com>
18557
18558 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18559 type-generic.
18560 * math/libm-test.inc: Update comment listing what functions and
18561 macros are tested.
18562 (finite_test): New function.
18563 (isinf_test): Likewise.
18564 (isnan_test): Likewise.
18565 (fpclassify_test): Test subnormal input.
18566 (isfinite_test): Likewise.
18567 (isnormal_test): Likewise.
18568 (main): Call the new functions.
18569
55f11534
JN
185702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18571
18572 [BZ #14660]
18573 * Makerules (%.dynsym): Force C locale when running
18574 $(OBJDUMP) --dynamic-syms.
18575
1ab29350
AS
185762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18577
18578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18579 <stdint.h>.
18580
f1ecb7ef
DM
185812012-10-06 David S. Miller <davem@davemloft.net>
18582
18583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18584 upper 32-bits of the length value in %o2 since we use branch-on-register
18585 tests which consider the entire 64-bit register.
18586
5d41d91a
L
185872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18588
18589 * string/test-strstr.c (check2): Add a test for page boundary.
18590
3baddb72
DM
185912012-10-05 David S. Miller <davem@davemloft.net>
18592
18593 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18595 file.
18596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18597 sysdep_routines.
18598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18599 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18600 and bzero when HWCAP_SPARC_CRYPTO is present.
18601
9cee5585
L
186022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18603
d7e0dab9
L
18604 [BZ #14602]
18605 * string/test-strstr.c (check2): New function.
18606 (test_main): Call check2.
18607
03759f47
L
18608 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18609 and bug-strchr1.
18610 * string/bug-strcasestr1.c (do_test): Moved to ...
18611 * string/test-strcasestr.c (check1): Here. New function.
18612 (do_one_test): Break out result checking code into ...
18613 (check_result): This. New function.
18614 (do_one_test): Call check_result.
18615 (test_main): Call check1.
18616 * string/bug-strchr1.c (do_test): Moved to ...
18617 * string/test-strchr.c (check1): Here. New function.
18618 (do_one_test): Break out result checking code into ...
18619 (check_result): This. New function.
18620 (do_one_test): Call check_result.
18621 (test_main): Call check1.
18622 * string/bug-strstr1.c (main): Moved to ...
046f153e 18623 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18624 (do_one_test): Break out result checking code into ...
18625 (check_result): This. New function.
18626 (do_one_test): Call check_result.
18627 (test_main): Call check1.
18628 * string/bug-strcasestr1.c: Removed.
18629 * string/bug-strchr1.c: Likewise.
18630 * string/bug-strstr1.c: Likewise.
18631
53cea63e
L
18632 * elf/Makefile (dl-routines): Add hwcaps.
18633 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18634 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18635 (_dl_important_hwcaps): Moved to ...
18636 * elf/dl-hwcaps.c: Here. New file.
18637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18638
9cee5585 18639 [BZ #14557]
bb859b06
L
18640 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18641 if IS_IN_rtld isn't defined.
18642
9cee5585
L
18643 * elf/dl-support.c (_dl_sysinfo_map): New.
18644 Include "get-dynamic-info.h" and "setup-vdso.h".
18645 (_dl_non_dynamic_init): Call setup_vdso.
18646 * elf/dynamic-link.h: Don't include <assert.h>.
18647 (elf_get_dynamic_info): Moved to ...
18648 * elf/get-dynamic-info.h: Here. New file.
18649 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18650 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18651 * elf/setup-vdso.h: Here. New file.
18652 * elf/rtld.c: Include "setup-vdso.h".
18653 (dl_main): Call setup_vdso.
18654
23c31b76
JM
186552012-10-05 Joseph Myers <joseph@codesourcery.com>
18656
28234b07
JM
18657 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18658 creal in comment listing functions tested. List finite, isinf,
18659 isnan, isless, islessequal, isgreater, isgreaterequal,
18660 islessgreater, isunordered, lgamma_r and pow10 as functions and
18661 macros not tested. Mention which functions not tested are aliases
18662 for other functions. Fix typo. Note that signs of NaNs are not
18663 tested.
18664
23c31b76
JM
18665 * scripts/config.guess: Update from config.git.
18666 * scripts/config.sub: Likewise.
18667
9043e228
RM
186682012-10-04 Roland McGrath <roland@hack.frob.com>
18669
18670 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18671 * misc/madvise.c (madvise): Renamed to __madvise.
18672 Make madvise a weak alias.
18673 * include/sys/mman.h: Declare __madvise.
18674 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18675 * sysdeps/unix/syscalls.list
18676 (madvise): Make __madvise the strong name, and madvise a weak alias.
18677 * sysdeps/unix/sysv/linux/syscalls.list
18678 (madvise, mmap): Remove redundant entries.
18679 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18680 * malloc/malloc.c (mtrim): Likewise.
18681 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18682
f57f8055
RM
186832012-10-03 Roland McGrath <roland@hack.frob.com>
18684
18685 * sysdeps/mach/hurd/dl-cache.c: File removed.
18686 * config.h.in (USE_LDCONFIG): New #undef.
18687 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18688 * configure: Regenerated.
18689 * elf/Makefile (dl-routines): Add dl-cache only under
18690 [$(use-ldconfig) = yes].
18691 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18692 cache on [USE_LDCONFIG].
18693 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18694 [USE_LDCONFIG].
18695 * elf/rtld.c (dl_main): Likewise.
18696
5bb0c10a
PT
186972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18698
18699 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18700 _SC_LEVEL4_CACHE_LINESIZE.
18701
010188c6
RM
187022012-10-03 Roland McGrath <roland@hack.frob.com>
18703
18704 * sysdeps/unix/bsd/confstr.h: File removed.
18705
b6c5ec07
AO
187062012-10-02 Alexandre Oliva <aoliva@redhat.com>
18707
18708 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18709 sys/sdt-config.h.
18710
408223d4
RM
187112012-10-02 Roland McGrath <roland@hack.frob.com>
18712
18713 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18714 Make 'mapoff' field ElfW(Off) rather than off_t.
18715
bb9510dc
DL
187162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18717
fc997c6e
DL
18718 * nscd/Makefile: Remove nscd-cflags and all its users.
18719 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18720 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18721
bb9510dc
DL
18722 [BZ #10631]
18723 * malloc.c (malloc_printerr): Clarify error message.
18724
05699367
L
187252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18726
18727 [BZ #14648]
18728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18729 Set bit_FMA_Usable if FMA is supported.
18730 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18731 macro.
18732 (bit_FMA4_Usable): Updated.
18733 (index_FMA_Usable): New macro.
18734 (CPUID_FMA): Likewise
18735 (HAS_FMA): Defined with bit_FMA_Usable.
18736
51367701
RM
187372012-10-01 Roland McGrath <roland@hack.frob.com>
18738
18739 * bits/types.h (__swblk_t): Type removed.
18740 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18741 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18743 (__SWBLK_T_TYPE): Likewise.
18744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18745 (__SWBLK_T_TYPE): Likewise.
18746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18747 (__SWBLK_T_TYPE): Likewise.
18748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18749 (__SWBLK_T_TYPE): Likewise.
18750
4d57bf63 187512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18752 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18753
18754 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18755 (xdr_mapname): Use YPMAXMAP as maxsize.
18756 (xdr_peername): Use YPMAXPEER as maxsize.
18757 (xdr_keydat): Use YPAXRECORD as maxsize.
18758 (xdr_valdat): Use YPMAXRECORD as maxsize.
18759
93c65d43
RM
187602012-10-01 Roland McGrath <roland@hack.frob.com>
18761
497a03d6
RM
18762 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18763
93c65d43
RM
18764 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18765 * csu/init-first.c: ... here.
18766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18767 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18770 * sysdeps/i386/init-first.c: File removed.
18771 * sysdeps/sh/init-first.c: File removed.
18772
bec749fd
JM
187732012-10-01 Joseph Myers <joseph@codesourcery.com>
18774
18775 [BZ #14645]
18776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18777 if x * y might underflow to zero and z is zero.
18778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18780 * math/libm-test.inc (min_subnorm_value): New variable.
18781 (fma_test): Add more tests.
18782 (fma_test_towardzero): Likewise.
18783 (fma_test_downward): Likewise
18784 (fma_test_upward): Likewise.
18785 (initialize): Set min_subnorm_value.
18786
8ec5b013
JM
187872012-09-29 Joseph Myers <joseph@codesourcery.com>
18788
18789 [BZ #14638]
18790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18791 0 + 0.
18792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18793 mode for addition resulting in exact zero.
18794 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18796 exact 0 + 0.
18797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18799 * math/libm-test.inc (fma_test): Add more tests.
18800 (fma_test_towardzero): New function.
18801 (fma_test_downward): Likewise.
18802 (fma_test_upward): Likewise.
18803 (main): Call the new functions.
18804
b1fa802e
DM
188052012-09-28 David S. Miller <davem@davemloft.net>
18806
18807 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18808
d3b9fd9e
RM
188092012-09-28 Roland McGrath <roland@hack.frob.com>
18810
ea4d37b3
RM
18811 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18812 instead of SIGALRM.
18813
ac51c949
RM
18814 * sysdeps/gnu/_G_config.h: Moved to ...
18815 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18816 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18817 * sysdeps/generic/_G_config.h: ... here.
18818
28c195f7
RM
18819 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18820
848917f9
RM
18821 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18822
6bacf05b
RM
18823 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18824 Conditionalize target on [libnss_test1.so-version].
18825
91363dbb
RM
18826 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18827
cc87f7d8
RM
18828 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18829 (elfobjdir): Move out of conditionals.
18830
b1c608fe
RM
18831 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18832 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18833 (__nss_lookup_function): Conditionalize label remove_from_tree on
18834 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18835
1d9a6d96
DM
188362012-09-28 David S. Miller <davem@davemloft.net>
18837
18838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18840 file.
18841 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18842 sysdep_routines.
18843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18845 when HWCAP_SPARC_CRYPTO is present.
18846
72581615
PT
188472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18848
18849 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18850
715a900c
JL
188512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18852
18853 [BZ #6530]
18854 * stdio-common/vfprintf.c (process_string_arg): Revert
18855 2000-07-22 change.
18856
188572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18858
18859 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18860 for testcase.
18861 * stdio-common/tst-sprintf.c: Include <locale.h>
18862 (main): Test sprintf's handling of incomplete multibyte
18863 characters.
18864
9bac1d86
L
188652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18866
18867 * elf/dl-runtime.c (VERSYMIDX): Removed.
18868 * elf/dl-version.c (VERSYMIDX): Likewise.
18869 * elf/do-rel.h (VERSYMIDX): Likewise.
18870 (VALIDX): Likewise.
18871 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18872 * elf/rtld.c (VALIDX): Likewise.
18873 (ADDRIDX): Likewise.
9bac1d86
L
18874 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18875 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18876 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18877 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18878 (VALIDX): Likewise.
18879 (ADDRIDX): Likewise.
9bac1d86 18880
b31606c0
PT
188812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18882
18883 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18884
11541177
JL
188852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18886
18887 [BZ #11438]
18888 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18889 to global scope.
18890 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18891 addresses are in the same scope as 192.0.2/24.
18892 * posix/gai.conf: Document new scope table defaults.
18893
adb26fae
SP
188942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18895
18896 [BZ #5298]
18897 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18898 for ftell. Compute offsets from write pointers instead.
18899 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18900
4573c6b0
SP
189012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18902
18903 [BZ #14543]
18904 * libio/Makefile (tests): New test case tst-fseek.
18905 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18906 combination works in wide mode.
18907 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18908 state when the external buffer state changes.
18909
aa9bbfe6
DM
189102012-09-27 David S. Miller <davem@davemloft.net>
18911
18912 [BZ #14376]
18913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18914 pass reloc->r_addend in as the 'high' argument to
18915 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18916
784421e7
DM
18917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18918
c39bc8b8
PT
189192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18920
18921 * rt/tst-aio2.c: Include <pthread.h>.
18922 * rt/tst-aio3.c: Likewise.
18923
1ccc2399
SE
189242012-09-27 Steve Ellcey <sellcey@mips.com>
18925
18926 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18927
31ed4153
L
189282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18929
25f5f885
L
18930 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18931 contents on [SHARED].
31ed4153 18932
b7bfe116
MP
189332012-09-26 Marek Polacek <polacek@redhat.com>
18934
18935 [BZ #14530]
18936 [BZ #13741]
18937 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18938 for C++ and GCC <4.3 as well as for non GCC compilers.
18939
43c4edba
MT
189402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18941
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18943
6a1bf82f
RM
189442012-09-25 Roland McGrath <roland@hack.frob.com>
18945
18946 * Makefile.in (all, install): Declare with .PHONY.
18947 Reported by Michael Hope <michael.hope@linaro.org>.
18948
8ad11b9a
TMQMF
189492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18950
18951 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18952 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18953 system header.
18954 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18955 Likewise.
18956 (sydep_routines): Add the new and the internal functions.
18957 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18958 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18960 (GLIBC_2.17): Add the new function.
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18962 (GLIBC_2.17): Likewise.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18964 (GLIBC_2.17): Likewise.
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18966 (GLIBC_2.17): Likewise.
18967 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18968
7e2fca8d
AM
189692012-09-25 Alan Modra <amodra@gmail.com>
18970
18971 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18972 Add release barrier before setting once_control to say
18973 initialisation is done. Add hints on lwarx. Use macro in
18974 place of isync.
18975 (clear_once_control): Add release barrier.
18976
b87c4b24
JM
189772012-09-25 Joseph Myers <joseph@codesourcery.com>
18978
d032e0d2
JM
18979 [BZ #13629]
18980 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18981 specially.
18982 * math/s_clog10.c (__clog10): Likewise.
18983 * math/s_clog10f.c (__clog10f): Likewise.
18984 * math/s_clog10l.c (__clog10l): Likewise.
18985 * math/s_clogf.c (__clogf): Likewise.
18986 * math/s_clogl.c (__clogl): Likewise.
18987 * math/Makefile (libm-calls): Add x2y2m1.
18988 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18989 (__x2y2m1): Likewise.
18990 (__x2y2m1l): Likewise.
18991 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18992 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18996 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18997 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18998 * sysdeps/i386/fpu/libm-test-ulps: Update.
18999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19000
b87c4b24
JM
19001 [BZ #14621]
19002 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19003 int as type of variable DEPTH.
19004 (glob): Use size_t instead of int as type of variables NEWCOUNT
19005 and OLD_PATHC.
19006
6d3bf199
LD
190072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19008
22bf5c17
LD
19009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19010 Add s_sincosf-sse2.
19011 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19013 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19014 macros for using routine as __sincosf_ia32.
19015 Use macro for function declaration and weak_alias.
19016 * sysdeps/i386/fpu/libm-test-ulps: Update.
19017
19018 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19020
19021 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19022 subnormal argument.
19023 * math/s_cexpf.c (__cexpf): Likewise.
19024 * math/s_csinf.c (__csinf): Likewise.
19025 * math/s_csinhf.c (__csinhf): Likewise.
19026 * math/s_ctanf.c (__ctanf): Likewise.
19027 * math/s_ctanhf.c (__ctanhf): Likewise.
19028 * math/s_ccosh.c (__ccoshf): Likewise.
19029 * math/s_cexp.c (__cexpl): Likewise.
19030 * math/s_csin.c (__csin): Likewise.
19031 * math/s_csinh.c (__csinh): Likewise.
19032 * math/s_ctan.c (__ctan): Likewise.
19033 * math/s_ctanh.c (ctanh): Likewise.
19034 * math/s_ccoshl.c (__ccoshl): Likewise.
19035 * math/s_cexpl.c (__cexpl): Likewise.
19036 * math/s_csinl.c (__csinl): Likewise.
19037 * math/s_csinhl.c (__csinhl): Likewise.
19038 * math/s_ctanl.c (__ctanl): Likewise.
19039 * math/s_ctanhl.c (__ctanhl): Likewise.
19040
203e5603
JM
190412012-09-25 Joseph Myers <joseph@codesourcery.com>
19042
19043 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19044 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19045 (_IO_off_t): Define to __off_t, not _G_off_t.
19046 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19047 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19048 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19049 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19050 type of __dummy and __dummy2 fields.
19051 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19052 (_G_ssize_t): Likewise.
19053 (_G_off_t): Likewise.
19054 (_G_pid_t): Likewise.
19055 (_G_uid_t): Likewise.
19056 (_G_wchar_t): Likewise.
19057 (_G_wint_t): Likewise.
19058 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19059 (_G_ssize_t): Likewise.
19060 (_G_off_t): Likewise.
19061 (_G_pid_t): Likewise.
19062 (_G_uid_t): Likewise.
19063 (_G_wchar_t): Likewise.
19064 (_G_wint_t): Likewise.
19065 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19066 (_G_ssize_t): Likewise.
19067 (_G_off_t): Likewise.
19068 (_G_pid_t): Likewise.
19069 (_G_uid_t): Likewise.
19070 (_G_wchar_t): Likewise.
19071 (_G_wint_t): Likewise.
19072
9fab36eb
SP
190732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19074
19075 * malloc/arena.c: Include malloc-sysdep.h.
19076 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19077 is sufficient to shrink the heap or an unmap is needed.
19078 * sysdeps/generic/malloc-sysdep.h: New file. Define
19079 new function check_may_shrink_heap.
19080 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19081 new function check_may_shrink_heap.
19082
2b4f00d1
SP
190832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19084
19085 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19086 comments.
19087
9a9028b1
DL
190882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19089
57c69bef
DL
19090 * catgets/test-gencat.sh: Add "set -e".
19091 * elf/tst-pathopt.sh: Likewise.
19092 * grp/tst_fgetgrent.sh: Likewise.
19093 * iconvdata/run-iconv-test.sh: Likewise.
19094 * intl/tst-gettext.sh: Likewise.
19095 * intl/tst-gettext2.sh: Likewise.
19096 * intl/tst-gettext4.sh: Likewise.
19097 * intl/tst-gettext6.sh: Likewise.
19098 * intl/tst-translit.sh: Likewise.
19099 * io/ftwtest-sh: Likewise.
19100 * libio/test-freopen.sh: Likewise.
19101 * malloc/tst-mtrace.sh: Likewise.
19102 * posix/globtest.sh: Likewise.
19103 * posix/tst-getconf.sh: Likewise.
19104 * posix/wordexp-tst.sh: Likewise.
19105 * stdio-common/tst-printf.sh: Likewise.
19106 * stdio-common/tst-unbputc.sh: Likewise.
19107 * stdlib/tst-fmtmsg.sh: Likewise.
19108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19109 * catgets/Makefile: Do not specify -e option when running
19110 testsuite shell scripts.
19111 * elf/Makefile: Likewise.
19112 * grp/Makefile: Likewise.
19113 * iconvdata/Makefile: Likewise.
19114 * intl/Makefile: Likewise.
19115 * io/Makefile: Likewise.
19116 * libio/Makefile: Likewise.
19117 * malloc/Makefile: Likewise.
19118 * posix/Makefile: Likewise.
19119 * stdio-common/Makefile: Likewise.
19120 * stdlib/Makefile: Likewise.
19121 * sysdeps/x86_64/Makefile: Likewise.
19122
9a9028b1
DL
19123 * io/ftwtest-sh: Add copyright header.
19124 * posix/globtest.sh: Likewise.
19125 * posix/tst-getconf.sh: Likewise.
19126 * posix/wordexp-tst.sh: Likewise.
19127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19128
ced6f16e
L
191292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19130
94b32c39
L
19131 [BZ #13679]
19132 * Makeconfig (+link): Defined as $(+link-static) if
19133 $(build-shared) isn't yes.
19134 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19135 isn't yes.
19136 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19137
189e935b
L
19138 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19139
ced6f16e
L
19140 [BZ #14562]
19141 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19142 new chunk size with MALLOC_ALIGN_MASK.
19143
a9f8e53a
JM
191442012-09-24 Joseph Myers <joseph@codesourcery.com>
19145
19146 [BZ #5044]
19147 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19148 <rounding-mode.h>.
19149 (__printf_fphex): Determine rounding using get_rounding_mode and
19150 round_away.
19151 * stdio-common/tst-printf-round.c (struct hex_test): New
19152 structure.
19153 (hex_tests): New variable.
19154 (test_hex_in_one_mode): New function.
19155 (do_test): Also run tests for hex float output.
19156
43153109
JM
191572012-09-21 Joseph Myers <joseph@codesourcery.com>
19158
19159 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19160 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19161 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19162 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19164 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19165 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19167
8a26625d
JM
191682012-09-20 Joseph Myers <joseph@codesourcery.com>
19169
19170 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19171 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19172 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19173 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19174
f3fd569c
DL
191752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19176
19177 [BZ #14579]
19178 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19179 mode only.
19180 * elf/tst-rtld-load-self.sh: New test.
19181 * elf/Makefile: Run it.
19182
63bbedd4
JM
191832012-09-18 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19186 (tst-writev-ENV): Remove.
19187 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19188
626f8b6a
CM
191892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19190
19191 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19192
b7aaa4d6
JM
191932012-09-17 Joseph Myers <joseph@codesourcery.com>
19194
19195 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19196 unconditional.
19197 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19198 Likewise.
19199 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19200 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19202 Likewise.
19203
65513990
L
192042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19205
19206 [BZ #14587]
19207 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19208 * config.make.in (have-cpp-asm-debuginfo): Removed.
19209 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19210 * configure: Regenerated.
19211
784761be
JM
192122012-09-14 Joseph Myers <joseph@codesourcery.com>
19213
19214 [BZ #5044]
19215 * stdio-common/printf_fp.c: Include <stdbool.h> and
19216 <rounding-mode.h>.
19217 (___printf_fp): Determine rounding using get_rounding_mode and
19218 round_away.
19219 * stdio-common/tst-printf-round.c: New file.
19220 * stdio-common/Makefile (tests): Add tst-printf-round.
19221 (link-libm): New variable.
19222 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19223
9503345f
L
192242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19225
19226 [BZ #14576]
19227 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19228 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19229 Likewise.
19230 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19231 Likewise.
19232
ad35fc00
JM
192332012-09-13 Joseph Myers <joseph@codesourcery.com>
19234
19235 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19236 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19237 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19239
6c9b0f68
JM
192402012-09-12 Joseph Myers <joseph@codesourcery.com>
19241
19242 [BZ #14518]
19243 * include/rounding-mode.h: New file.
19244 * sysdeps/generic/get-rounding-mode.h: Likewise.
19245 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19246 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19247 (MAX_VALUE): New macro.
19248 (MIN_VALUE): Likewise.
19249 (overflow_value): New function.
19250 (underflow_value): Likewise.
19251 (round_and_return): Use overflow_value and underflow_value to
19252 determine return values in overflow and underflow cases. Use
19253 round_away to determine rounding depending on rounding mode.
19254 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19255 determine return values in overflow and underflow cases.
19256 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19257 (struct test_results): New structure.
19258 (struct test): Use struct test_results to store expected results
19259 for all rounding modes.
19260 (TEST): Include expected results for all rounding modes.
19261 (test_in_one_mode): New function.
19262 (do_test): Use test_in_one_mode to compute and check results.
19263 Check results for all rounding modes.
19264 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19265 $(link-libm).
19266
19fcedd5
AM
192672012-12-09 Allan McRae <allan@archlinux.org>
19268
1e9d84cd 19269 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19270
8bbfd2f1
JM
192712012-09-11 Joseph Myers <joseph@codesourcery.com>
19272
19273 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19274 (_G_int32_t): Likewise.
19275 (_G_uint16_t): Likewise.
19276 (_G_uint32_t): Likewise.
19277 (_G_HAVE_BOOL): Likewise.
19278 (_G_HAVE_ATEXIT): Likewise.
19279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19280 (_G_HAVE_IO_FILE_OPEN): Likewise.
19281 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19282 (_G_int32_t): Likewise.
19283 (_G_uint16_t): Likewise.
19284 (_G_uint32_t): Likewise.
19285 (_G_HAVE_BOOL): Likewise.
19286 (_G_HAVE_ATEXIT): Likewise.
19287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19288 (_G_HAVE_IO_FILE_OPEN): Likewise.
19289 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19290 (_G_int32_t): Likewise.
19291 (_G_uint16_t): Likewise.
19292 (_G_uint32_t): Likewise.
19293 (_G_HAVE_BOOL): Likewise.
19294 (_G_HAVE_ATEXIT): Likewise.
19295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19296 (_G_HAVE_IO_FILE_OPEN): Likewise.
19297
b1dc5912
L
192982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 * csu/libc-tls.c: Update copyright years.
19301
0e886ef9
JM
193022012-09-10 Joseph Myers <joseph@codesourcery.com>
19303
28361c5e
JM
19304 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19305 [!_G_USING_THUNKS]: Remove conditional code.
19306 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19307 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19308
0e886ef9
JM
19309 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19310 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19311 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19312 (_G_VTABLE_LABEL_PREFIX): Likewise.
19313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19314 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19316 (_G_VTABLE_LABEL_PREFIX): Likewise.
19317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19318 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19320 (_G_VTABLE_LABEL_PREFIX): Likewise.
19321 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19322
bcba7aa2
L
193232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 * libio/Makefile: Include ../Makeconfig before tests.
19326 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19327 only if $(build-shared) is yes.
19328
06585ee8
L
19329 * iconv/gconv_db.c: Update copyright years.
19330
80ccd52c
LD
193312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19332
19333 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19334 unwind info if defined PIC. Fix special cases description.
19335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19336
19337 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19338 DP_HI_MASK entry.
19339 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19340
691bc9c1
L
193412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19342
3d9b46b3
L
19343 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19344
de2139a9
L
19345 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19346 is NULL.
19347
5ca78dd0
L
19348 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19349 (LDLIBS-tst-chk4): This.
19350 (LDFLAGS-tst-chk5): Renamed to ...
19351 (LDLIBS-tst-chk5): This.
19352 (LDFLAGS-tst-chk6): Renamed to ...
19353 (LDLIBS-tst-chk6): This.
19354 (LDFLAGS-tst-lfschk4): Renamed to ...
19355 (LDLIBS-tst-lfschk4): This.
19356 (LDFLAGS-tst-lfschk5): Renamed to ...
19357 (LDLIBS-tst-lfschk5): This.
19358 (LDFLAGS-tst-lfschk6): Renamed to ...
19359 (LDLIBS-tst-lfschk6): This.
19360
691bc9c1
L
19361 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19362 on $(common-objpfx)soversions.mk.
19363
65cafb1c
JM
193642012-09-07 Joseph Myers <joseph@codesourcery.com>
19365
19366 [BZ #10014]
19367 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19368 example host name.
19369
c78ab094
SP
193702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19371
19372 * malloc/arena.c (arena_get_retry): New function that gets
19373 another arena for the caller to try its request on.
19374 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19375 current arena cannot fulfill the request.
19376 (__libc_memalign): Likewise.
19377 (__libc_memalign): Likewise.
19378 (__libc_pvalloc): Likewise.
19379 (__libc_calloc): Likewise.
19380
01f49f59
JT
193812012-09-05 John Tobey <john.tobey@gmail.com>
19382
19383 [BZ #13542]
19384 * manual/arith.texi (Operations on Complex): Fix description
19385 of carg branch cut.
19386
4c23fed5
JM
193872012-09-06 Joseph Myers <joseph@codesourcery.com>
19388
1d3c8572
JM
19389 [BZ #10014]
19390 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19391 host name.
19392
4c23fed5
JM
19393 [BZ #10038]
19394 * manual/memory.texi (Memory): Make order of menu items match
19395 order of sections.
19396
04570aaa
L
193972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19398
19399 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19400 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19401 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19402
b80af2f4
L
194032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 * csu/libc-tls.c (static_dtv): Renamed to ...
19406 (_dl_static_dtv): This. Make it global.
19407 (_dl_initial_dtv): Removed.
19408 (__libc_setup_tls): Updated.
19409 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19410 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19411 DL_INITIAL_DTV.
19412
2abe9f15
PM
194132012-09-06 Petr Machata <pmachata@redhat.com>
19414
19415 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19416 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19417 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19418 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19419
0948c3af
L
194202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19421
19422 [BZ #14545]
19423 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19424 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19425 freeing dtv[-1].
19426
a5055ad1
L
194272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19428
19429 [BZ #14544]
19430 * Makeconfig (link-static-before-libc): Replace $(+prector)
19431 with $(+prectorT).
19432 (link-static-after-libc): Replace $(+postctor) with
19433 $(+postctorT).
19434 (link-bounded): Replace $(+prector)/$(+postctor) with
19435 $(+prectorT)/$(+postctorT).
19436 (+prectorT): New macro.
19437 (+postctorT): Likewise.
19438
ed8c2ecd
JM
194392012-09-06 Joseph Myers <joseph@codesourcery.com>
19440
19441 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19442 (round_str): Handle values above the maximum for IBM long double
19443 as inexact.
19444 * stdlib/tst-strtod-round.c (tests): Regenerated.
19445
14c996c8
AK
194462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19447
19448 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19449 assembler flag.
19450 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19451 zarch_nohighgprs around the zarch optimized routines.
19452 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19453 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19455 for zarch.
19456
430d6ce6
DM
194572012-09-05 David S. Miller <davem@davemloft.net>
19458
19459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19460
ff04dda4
DM
19461 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19462 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19463 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19464 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19465 entries.
19466
24d4e01b
AO
194672012-09-05 Alexandre Oliva <aoliva@redhat.com>
19468
19469 * malloc/arena.c: Fold copyright years.
19470 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19471
61d58174
AO
194722012-09-05 Alexandre Oliva <aoliva@redhat.com>
19473
19474 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19475
20196a5e
AO
194762012-09-05 Alexandre Oliva <aoliva@redhat.com>
19477
19478 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19479
5c447383
AO
194802012-09-05 Alexandre Oliva <aoliva@redhat.com>
19481
19482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19483 change internal state upon failure.
19484
fad64255
AO
194852012-09-05 Alexandre Oliva <aoliva@redhat.com>
19486
19487 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19488 * malloc/memusage.c (mmap): Likewise.
19489 (mmap64, mremap): Likewise. Adjust name in comment.
19490
1ffb8c90
SP
194912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19492
19493 * libio/fileops.c: Fix typos in comments.
19494 * libio/oldfileops.c: Likewise.
19495 * libio/wfileops.c: Likewise.
19496
6ef9cc37
SP
194972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19498
19499 [BZ #1349]
19500 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19501 (tst-malloc-usable-ENV): Set environment for test case.
19502 * malloc/hooks.c (malloc_check_get_size): New function to get
19503 requested size.
19504 * malloc/malloc.c (musable): Use malloc_check_get_size.
19505 * malloc/tst-malloc-usable.c: New test case.
19506
4d038ae3
AS
195072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19508
19509 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19510
c4e85184
AM
195112012-09-05 Allan McRae <allan@archlinux.org>
19512
b9dafc56 19513 [BZ #13966]
c4e85184
AM
19514 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19515 determine header location.
19516 * configure: Regenerated.
19517
e1343020
AS
195182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19519
19520 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19521 float format.
19522 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19523 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19524 format.
e1343020
AS
19525 (test): Regenerate.
19526
0a9f1987
DM
195272012-09-04 David S. Miller <davem@davemloft.net>
19528
19529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19532
29237804
FW
195332012-09-04 Florian Weimer <fweimer@redhat.com>
19534
19535 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19536 failures.
19537
edb3cb88
FW
19538 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19539
60160d83
JM
195402012-09-04 Joseph Myers <joseph@codesourcery.com>
19541
19542 [BZ #9914]
19543 * libio/iogetdelim.c: Include <limits.h>.
19544 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19545 + len + 1 would overflow.
19546
bcd6c8dc
AJ
195472012-09-03 Andreas Jaeger <aj@suse.de>
19548
19549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19550 * sysdeps/i386/fpu/libm-test-ulps: Update.
19551
4ffffbd2
LD
195522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19553
19554 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19555 Add s_sinf-sse2, s_conf-sse2.
19556
19557 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19558 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19559 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19560 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19561
19562 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19563 for using routine as __sinf_ia32.
19564 Use macro for function declaration and weak_alias.
19565 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19566 for using routine as __cosf_ia32.
19567 Use macro for function declaration and weak_alias.
19568
19569 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19570 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19571
19572 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19573 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19575
19576 * math/libm-test.inc (cos_test): Add more test cases.
19577 (sin_test): Likewise.
19578 (sincos_test): Likewise.
19579
511fa286
AK
195802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19581
19582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19583 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19584 hidden.
19585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19586
5f30cfec
L
195872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19588
19589 [BZ #14538]
19590 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19591 first element of the GOT.
19592 (elf_machine_load_address): Return the difference between
19593 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19594
0786794f
AM
195952012-09-01 Allan McRae <allan@archlinux.org>
19596
5f30cfec
L
19597 [BZ #13412]
19598 * configure.in (AWK): Require gawk version 3.0 or later.
19599 * configure: Regenerated.
0786794f 19600
26889eac
JM
196012012-09-01 Joseph Myers <joseph@codesourcery.com>
19602
19603 * sysdeps/unix/sysv/linux/kernel-features.h
19604 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19606 [__NR_clock_getres]: Make code unconditional.
19607 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19608 (clock_getcpuclockid): Remove code left unreachable by removal of
19609 conditionals.
19610 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19611 code unconditional.
19612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19614 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19615 Make code unconditional.
19616 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19617 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19618 * sysdeps/unix/sysv/linux/clock_settime.c
19619 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19620 conditional code.
19621 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19622 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19623
d22e28b0
L
196242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 [BZ #14476]
19627 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19628 scripts/test-installation.pl.
19629
19630 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19631 and $ld_so_version if it is set.
19632
050af9c4
SP
196332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19634
19635 [BZ #14516]
19636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19637 failure if reading from procfs failed.
19638 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19639
ad845c0b
JM
196402012-08-27 Joseph Myers <joseph@codesourcery.com>
19641
19642 * sysdeps/unix/sysv/linux/kernel-features.h
19643 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19644 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19645 Remove conditional code.
19646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19647 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19648 Remove conditional code.
19649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19650 * sysdeps/unix/sysv/linux/i386/fxstat.c
19651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19653 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19656 * sysdeps/unix/sysv/linux/i386/lxstat.c
19657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19659 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19660 Remove conditional code.
19661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19662 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19663 Remove conditional code.
19664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19665 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19666 <kernel-features.h>.
19667 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19668 Remove.
19669 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19670 Remove conditional code.
19671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19672 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19673 Remove conditional.
19674
5dbf56af
MF
196752012-08-27 Mike Frysinger <vapier@gentoo.org>
19676
19677 [BZ #5400]
19678 * NEWS: Add fixed bug number.
19679
d6e70f43
JM
196802012-08-27 Joseph Myers <joseph@codesourcery.com>
19681
7efb4737
JM
19682 [BZ #14519]
19683 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19684 underflowing exponent in case of negative sign.
19685 * stdlib/tst-strtod-round-data: Add more tests.
19686 * stdlib/tst-strtod-round.c (tests): Regenerated.
19687
af92131a
JM
19688 [BZ #3479]
19689 * stdlib/strtod_l.c (NDIG): Remove.
19690 (HEXNDIG): Likewise.
19691 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19692 smallest representable value.
19693 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19694 lie within an exact representation of 1/2 ulp of the result.
19695 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19696 unconditionally.
19697 (TENS_P9_IDX): Define unconditionally.
19698 (TENS_P9_SIZE): Likewise.
19699 (TENS_P10_IDX): Likewise.
19700 (TENS_P10_SIZE): Likewise.
19701 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19702 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19703 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19704 entries for 10^2^13 and 10^2^14.
19705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19706 (TENS_P13_IDX): Define.
19707 (TENS_P13_SIZE): Likewise.
19708 (TENS_P14_IDX): Likewise.
19709 (TENS_P14_SIZE): Likewise.
19710 (_fpioconst_pow10): Change array size to
19711 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19712 unconditional.
19713 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19714 1024]: Add entries for 10^2^13 and 10^2^14.
19715 [LAST_POW10 > _LAST_POW10]: Remove #error.
19716 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19717 (_fpioconst_pow10): Change array size to
19718 FPIOCONST_POW10_ARRAY_SIZE.
19719 * stdlib/gen-fpioconst.c: New file.
19720 * stdlib/gen-tst-strtod-round.c: Likewise.
19721 * stdlib/tst-strtod-round-data: Likewise.
19722 * stdlib/tst-strtod-round.c: Likewise.
19723 * stdlib/Makefile (tests): Add tst-strtod-round.
19724
d6e70f43
JM
19725 [BZ #14459]
19726 * stdlib/strtod_l.c: Include <stdint.h>.
19727 (NDEBUG): Do not define.
19728 (round_and_return): Change EXPONENT parameter to type intmax_t.
19729 Rearrange calculations to avoid internal overflow possibilities.
19730 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19731 Rearrange calculations to avoid internal overflow possibilities.
19732 Assert that number fits inside MPNSIZE limbs.
19733 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19734 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19735 calculations and add assertions to avoid internal overflow
19736 possibilities. Add casts to avoid signed/unsigned operations.
19737 * stdlib/tst-strtod-overflow.c: New file.
19738 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19739
1f529f7d
MP
197402012-08-25 Marek Polacek <polacek@redhat.com>
19741
19742 * time/time.h: Fix some typos in comments.
19743
59a629f1
RM
197442012-08-23 Roland McGrath <roland@hack.frob.com>
19745
19746 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19747 * posix/tst-rfc3484-2.c: Likewise.
19748 * posix/tst-rfc3484-3.c: Likewise.
19749
d3bafbc9
SM
197502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19751
19752 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19753 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19754
4efcc022
JM
197552012-08-23 Joseph Myers <joseph@codesourcery.com>
19756
19757 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19758 #include of fxstatat64.c.
19759
3cc3ef96
RM
197602012-08-22 Roland McGrath <roland@hack.frob.com>
19761
f04e2132
RM
19762 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19763 * shadow/getspent_r.c: Likewise.
19764 * shadow/getspnam.c: Likewise.
19765 * shadow/getspnam_r.c: Likewise.
19766 * gshadow/getsgent.c: Likewise.
19767 * gshadow/getsgent_r.c: Likewise.
19768 * gshadow/getsgnam.c: Likewise.
19769 * gshadow/getsgnam_r.c: Likewise.
19770 * inet/getnetbyad.c: Likewise.
19771 * inet/getnetbyad_r.c: Likewise.
19772 * inet/getnetbynm.c: Likewise.
19773 * inet/getnetbynm_r.c: Likewise.
19774 * inet/getnetent.c: Likewise.
19775 * inet/getnetent_r.c: Likewise.
19776 * inet/getproto.c: Likewise.
19777 * inet/getproto_r.c: Likewise.
19778 * inet/getprtent.c: Likewise.
19779 * inet/getprtent_r.c: Likewise.
19780 * inet/getprtname.c: Likewise.
19781 * inet/getprtname_r.c: Likewise.
19782 * inet/getrpcbyname.c: Likewise.
19783 * inet/getrpcbyname_r.c: Likewise.
19784 * inet/getrpcbynumber.c: Likewise.
19785 * inet/getrpcbynumber_r.c: Likewise.
19786 * inet/getrpcent.c: Likewise.
19787 * inet/getrpcent_r.c: Likewise.
19788 * inet/getaliasent.c: Likewise.
19789 * inet/getaliasent_r.c: Likewise.
19790 * inet/getaliasname.c: Likewise.
19791 * inet/getaliasname_r.c: Likewise.
19792 * nscd/getgrgid_r.c: Likewise.
19793 * nscd/getgrnam_r.c: Likewise.
19794 * nscd/gethstbyad_r.c: Likewise.
19795 * nscd/gethstbynm3_r.c: Likewise.
19796 * nscd/getpwnam_r.c: Likewise.
19797 * nscd/getpwuid_r.c: Likewise.
19798 * nscd/getsrvbynm_r.c: Likewise.
19799 * nscd/getsrvbypt_r.c: Likewise.
19800 * nscd/gai.c: Likewise.
19801
c53d909c
RM
19802 * configure.in (build_nscd): New substituted variable, set
19803 by --disable-build-nscd and defaults to $use_nscd.
19804 * configure: Regenerated.
19805 * config.make.in (build-nscd): New substituted variable.
19806 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19807 Change conditional to require [$(build-nscd) = yes] as well.
19808 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19809
3cc3ef96
RM
19810 [BZ# 13696]
19811 * configure.in (use_nscd): New substituted variable, set by
19812 --disable-nscd. If enabled, define USE_NSCD.
19813 * configure: Regenerated.
19814 * config.h.in: Add USE_NSCD.
19815 * config.make.in (use-nscd): New substituted variable.
19816 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19817 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19818 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19819 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19820 (CFLAGS-getgrnam_r.c): Likewise.
19821 (CFLAGS-initgroups.c): Likewise.
19822 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19823 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19824 Variables removed.
19825 * inet/getnetgrent_r.c
19826 (nscd_setnetgrent): New function, broken out of ...
19827 (setnetgrent): ... here. Call it.
19828 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19829 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19830 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19831 * nscd/Makefile (routines, aux): Move definitions after include of
19832 Makeconfig. Conditionalize on [$(use-nscd) != no].
19833 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19834 Conditionalize on [USE_NSCD].
19835 (is_nscd, nscd_init_cb): Likewise.
19836 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19837 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19838 * nss/nss_db/db-init.c: Likewise.
19839 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19840 [USE_NSCD].
19841 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19842 (make_request): Use it.
19843 (cache_valid_p): New function.
19844 (__check_pf): Use it.
19845 * NEWS: Add item for --disable-nscd.
19846
07e51550
DL
198472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19848
19849 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19850 to support sed >= 4.2.1-20-ga9bf076.
19851 * configure: Regenerated.
19852
35a5b08b
RM
198532012-08-22 Roland McGrath <roland@hack.frob.com>
19854
19855 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19856 Conditionalize whole body on [IREL].
19857
8479f23a
JL
198582012-08-22 Jeff Law <law@redhat.com>
19859
19860 [BZ #14505]
19861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19862 if the family is PF_UNSPEC.
19863
48da0b21
MF
198642012-08-22 Mike Frysinger <vapier@gentoo.org>
19865
19866 * Makerules (lib-version): Rename from V.
19867 (install-lib-nosubdir): Change V to lib-version.
19868
15d0da8c
WS
198692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19870
19871 [BZ #14252]
19872 * powerpc32/power6/wcschr.c: New file.
19873 * powerpc32/power6/wcscpy.c: New file.
19874 * powerpc32/power6/wcsrchr.c: New file.
19875 * powerpc64/power6/wcschr.c: New file.
19876 * powerpc64/power6/wcscpy.c: New file.
19877 * powerpc64/power6/wcsrchr.c: New file.
19878
bcca0895
MK
198792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19880
19881 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19882 (two_way_short_needle): Use it.
5a4aaa33
RM
19883 * string/strstr.c (AVAILABLE1_USES_J): Define.
19884 * string/strcasestr.c: Likewise.
99677e57
MK
19885
19886 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19887 array references.
19888 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19889
400726de
MK
19890 [BZ #11607]
19891 * NEWS: Add an entry.
19892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19893 define their defaults.
19894 (two_way_short_needle): Detect end-of-string on-the-fly.
19895 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19896 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19897 * string/bug-strcasestr1.c: New test.
19898 * string/Makefile: Run it.
19899
20a71f2c
MK
199002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19901
19902 [BZ #11607]
19903 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19904 the first character.
19905
21ad0558
RM
199062012-08-21 Roland McGrath <roland@hack.frob.com>
19907
19908 * csu/elf-init.c (__libc_csu_irel): Function removed.
19909 * csu/libc-start.c (apply_irel): New function.
19910 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19911
0e1d9911
JM
199122012-08-21 Joseph Myers <joseph@codesourcery.com>
19913
19914 * sysdeps/unix/sysv/linux/kernel-features.h
19915 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19917 <kernel-features.h>.
19918 [__NR_fadvise64_64]: Make code unconditional.
19919 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19920 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19921 !__NR_fadvise64_64)]: Likewise.
19922 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19923 !__NR_fadvise64_64))]: Likewise.
19924 [__NR_fadvise64]: Make code unconditional.
19925 [!__NR_fadvise64]: Remove conditional code.
19926 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19927 <kernel-features.h>.
19928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19929 unconditional.
19930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19931 conditional code.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19933 not include <kernel-features.h>.
19934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19935 unconditional.
19936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19937 conditional code.
19938 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19939 include <kernel-features.h>.
19940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19941 unconditional.
19942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19943 conditional code.
19944
14a50c9d
WS
199452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19946
19947 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19948 slight instruction rearrangements per scrollpipe analysis.
19949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19950
c0f4faf0
RM
199512012-08-20 Roland McGrath <roland@hack.frob.com>
19952
696da859
RM
19953 * manual/syslog.texi (syslog; vsyslog, closelog):
19954 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19955 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19956
c0f4faf0
RM
19957 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19958 DSOCAPS to match condition on defining it.
19959
348363b2
JM
199602012-08-20 Joseph Myers <joseph@codesourcery.com>
19961
a35cbf28
JM
19962 * sysdeps/unix/sysv/linux/kernel-features.h
19963 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19973
445f7ecd
JM
19974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19975 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19976
348363b2
JM
19977 * sysdeps/unix/sysv/linux/kernel-features.h
19978 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19979 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19980 unconditional.
19981 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19985 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19986 Make code unconditional.
19987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19988 (__mmap64) [!__NR_mmap2]: Likewise.
19989 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19990 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19991 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19993 [__NR_mmap2]: Make code unconditional.
19994 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19995 (__mmap64) [!__NR_mmap2]: Likewise.
19996
bc5bc0e5
AK
199972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19998
19999 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20000
88d506de
AJ
200012012-08-18 Andreas Jaeger <aj@suse.de>
20002
20003 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20004
493387d2
MF
200052012-08-18 Mike Frysinger <vapier@gentoo.org>
20006
20007 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20008 * include/unistd.h (__have_sock_cloexec): Likewise.
20009 (__have_pipe2): Likewise.
20010 (__have_dup3): Likewise.
20011
a277af22
MF
200122012-08-18 Mike Frysinger <vapier@gentoo.org>
20013
20014 [BZ #9685]
20015 * include/unistd.h (__have_pipe2): Change define into an extern int.
20016 (__have_dup3): Likewise.
20017 * socket/have_sock_cloexec.c: Include fcntl.h.
20018 (__have_pipe2): New variable.
20019 (__have_dup3): Likewise.
20020
fdab8fd3
MF
200212012-08-17 Mike Frysinger <vapier@gentoo.org>
20022
20023 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20024
31035e80
MP
200252012-08-17 Marek Polacek <polacek@redhat.com>
20026
20027 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20028 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20029
3bd9e993
RM
200302012-08-17 Roland McGrath <roland@hack.frob.com>
20031
c91c505f
RM
20032 * configure.in: Add AC_SUBST for sysheaders.
20033 * configure: Regenerated.
20034 * config.make.in (sysheaders): New substituted variable.
20035
7c6f9d53
RM
20036 * sysdeps/unix/mkfifo.c: Moved ...
20037 * sysdeps/posix/mkfifo.c: ... here.
20038 * sysdeps/unix/mkfifoat.c: Moved ...
20039 * sysdeps/posix/mkfifoat.c: ... here.
20040
20041 * sysdeps/unix/utime.c: Moved ...
20042 * sysdeps/posix/utime.c: ... here.
20043
20044 * sysdeps/unix/time.c: Moved ...
20045 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20046 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20047 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20048
20049 * sysdeps/unix/nice.c: Moved ...
20050 * sysdeps/posix/nice.c: ... here.
20051
20052 * sysdeps/unix/alarm.c: Moved ...
20053 * sysdeps/posix/alarm.c: ... here.
20054
3bd9e993
RM
20055 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20056
d1f09384
JL
200572012-08-17 Jeff Law <law@redhat.com>
20058
20059 * intl/Makefile (codeset_mo): New variable.
20060 ($(codeset_mo)): New target.
20061 (tst-codeset.out): Depend on that. Remove explicit rule.
20062 (tst-gettext3.out, tst-gettext5.out): Likewise.
20063 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20064 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20065 * intl/tst-codeset.sh: Remove.
20066 * intl/tst-gettext3.sh: Likewise.
20067 * intl/tst-gettext5.sh: Likewise.
20068
2ae1ae5c
RM
200692012-08-17 Roland McGrath <roland@hack.frob.com>
20070
c31fdb83
RM
20071 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20072 * sysdeps/unix/syscalls.list: ... here.
20073
a0844057
RM
20074 * sysdeps/posix/getaddrinfo.c
20075 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20076 (gaiconf_init, gaiconf_reload): Use them.
20077 [!_STATBUF_ST_NSEC]
20078 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20079 Define using time_t rather than struct timespec.
20080
750c1f2a
RM
20081 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20082 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20083 Macros removed.
20084 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20085 [!NO_THREADS].
20086 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20087 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20088 Likewise.
20089
2ae1ae5c
RM
20090 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20091 __libc_cleanup_push argument.
20092
e66a42f5
RM
20093 * bits/param.h: New file.
20094 * misc/sys/param.h: New file.
20095 * include/sys/param.h: New file.
20096 * misc/Makefile (headers): Add bits/param.h.
20097 * sysdeps/generic/sys/param.h: File removed.
20098 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20099 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20100 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20101 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20102
b7c08a66
RM
20103 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20104 last change.
20105
b2e1c562
RM
20106 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20107 [_IO_MTSAFE_IO].
20108 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20109 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20110 New macros.
20111
c75ccd4c
RM
20112 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20113 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20114 rather than -D_IO_MTSAFE_IO conditionally.
20115 * stdio-common/Makefile (CPPFLAGS): Likewise.
20116 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20117 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20118 Use $(libio-mtsafe).
20119 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20120 of -D_IO_MTSAFE_IO.
20121 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20122 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20123 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20124 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20125 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20126 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20127 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20128 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20129 (CFLAGS-fread_u_chk.c): Likewise.
20130 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20131 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20132 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20133 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20134 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20135 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20136 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20137 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20138 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20139
20140 * libio/Makefile: Test [$(libc-reentrant) = yes]
20141 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20142
20143 * Makeconfig
20144 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20145 * sysdeps/pthread/configure: File removed.
20146 * sysdeps/pthread/Makeconfig: New file.
20147 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20148 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20149
d9195db8
GB
201502012-08-16 Gary Benson <gbenson@redhat.com>
20151
20152 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20153 unmapping the first object in a namespace.
20154
86466cd9
RM
201552012-08-16 Roland McGrath <roland@hack.frob.com>
20156
20157 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20158 (__internal_setnetgrent): ... this. Add internal_function to
20159 definition. Add libc_hidden_def.
20160 (setnetgrent): Update caller.
20161 (internal_endnetgrent): Renamed to ...
20162 (__internal_endnetgrent): ... this. Add internal_function to
20163 definition. Add libc_hidden_def.
20164 (endnetgrent): Update caller.
20165 (internal_getnetgrent_r): Renamed to ...
20166 (__internal_getnetgrent_r): ... this. Add internal_function to
20167 definition. Add libc_hidden_def.
20168 (__getnetgrent_r): Update caller.
20169 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20170
c3c8283c
JM
201712012-08-16 Joseph Myers <joseph@codesourcery.com>
20172
20173 * stdlib/longlong.h: Update from GCC.
20174
db1ee0a8
RM
201752012-08-16 Roland McGrath <roland@hack.frob.com>
20176
20177 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20178 on _QL, which is set by umul_ppmm but never used.
20179 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20180 variables, which are set by GMP macros but never used.
20181 * stdio-common/_itowa.c (_itowa): Likewise.
20182 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20183 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20184
30f69637
CD
201852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20186
20187 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20188 struct La_sh_regs is not constant.
20189 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20190 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20191 and struct La_sparc64_regs are not constant.
20192
93a78ac4
JM
201932012-08-16 Joseph Myers <joseph@codesourcery.com>
20194
20195 * sysdeps/unix/sysv/linux/kernel-features.h
20196 (__ASSUME_POSIX_TIMERS): Remove.
20197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20199 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20200 Make code unconditional.
20201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20202 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20203 Make code unconditional.
20204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20205 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20206 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20208 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20209 Make code unconditional.
20210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20211 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20212 (__libc_missing_posix_timers): Remove.
20213
dd924cd7
RM
202142012-08-15 Roland McGrath <roland@hack.frob.com>
20215
4b4f2771
RM
20216 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20217 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20218
601c888b
RM
20219 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20220
176790a7
RM
20221 * elf/dl-sym.c: Include <stdlib.h>.
20222
329bc018
RM
20223 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20224 constants, which avoids warnings in 32-bit builds.
20225
e04e272d
RM
20226 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20227 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20228
952bf94a
RM
20229 * misc/lseek.c: File moved to ...
20230 * io/lseek.c: ... here.
20231
7c99b50a
RM
20232 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20233
dd924cd7
RM
20234 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20235 shifting LEN more than 31 bits at once.
20236
b3f479a8
LD
202372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20238
20239 [BZ #14195]
8c4ae0d4
RM
20240 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20241 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20242 * string/test-strncasecmp.c (check1): Renamed to...
20243 (bz12205): ...this.
20244 (bz14195): Add new testcase for two empty input strings and N > 0.
20245 (test_main): Call new testcase, adapt for renamed function.
20246
9c55864e
AJ
202472012-08-15 Andreas Jaeger <aj@suse.de>
20248
20249 [BZ #14090]
20250 * crypt/md5test2.c: New test, based on test supplied by Serge
20251 Belyshev <belyshev@depni.sinp.msu.ru>.
20252 * crypt/Makefile (xtests): Add md5test-giant..
20253 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20254
02dcb6c5
PE
202552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20256
20257 [BZ #14090]
20258 * crypt/md5.c (md5_process_block): Don't assume the buffer
20259 length is less than 2**32.
20260 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20261 length is less than 2**64.
20262
a3f95dcc
RM
202632012-08-15 Roland McGrath <roland@hack.frob.com>
20264
be75d758
RM
20265 * string/str-two-way.h: Include <sys/param.h>.
20266 (MAX): Macro removed.
20267
7312ca90
RM
20268 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20269 Move #define and #undef of memmove to just before and after
20270 including <string.h>.
20271
9a0a5486
RM
20272 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20273 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20274 and after including <string.h>. Move declarations of
20275 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20276 to before #include "string/memmove.c".
20277
67cc348d
RM
20278 * include/dirent.h: Declare __getdirentries.
20279
a3f95dcc
RM
20280 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20281 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20282
ca98e171
MF
202832012-08-14 Mike Frysinger <vapier@gentoo.org>
20284
20285 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20286 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20287 * sysdeps/i386/configure: Regenerated.
20288 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20289 STABS_CURRENT_FILE, and STABS_FUN.
20290 (END): Remove call to STABS_FUN_END.
20291 (STABS_CURRENT_FILE1): Delete.
20292 (STABS_CURRENT_FILE): Likewise.
20293 (STABS_FUN): Likewise.
20294 (STABS_FUN_END): Likewise.
20295 (STABS_FUN2): Likewise.
20296 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20297 * sysdeps/x86_64/configure: Regenerated.
20298
5908bf46
RM
202992012-08-14 Roland McGrath <roland@hack.frob.com>
20300
20301 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20302 * elf/dl-lookup.c: Likewise.
5908bf46 20303
f2c05b9e
JM
203042012-08-14 Joseph Myers <joseph@codesourcery.com>
20305
20306 * sysdeps/unix/sysv/linux/kernel-features.h
20307 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20308 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20309 unconditionally.
20310 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20311 unconditionally.
20312 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20313 condition on __ASSUME_CLONE_THREAD_FLAGS.
20314
e11f5155
AJ
203152012-08-14 Andreas Jaeger <aj@suse.de>
20316
20317 * sysdeps/i386/fpu/libm-test-ulps: Update.
20318
51a9ba86
MK
203192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20320
2fdd4f78
AJ
20321 * include/atomic.h (atomic_exchange_and_add): Split into ...
20322 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20323 New atomic macros.
51a9ba86 20324
ba6cba9e
MT
203252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20326
20327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20328
42443a47
JL
203292012-08-13 Jeff Law <law@redhat.com>
20330
20331 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20332 null byte in the output string.
20333
121dce05
JM
203342012-08-10 Joseph Myers <joseph@codesourcery.com>
20335
20336 * sysdeps/unix/sysv/linux/kernel-features.h
20337 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20338 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20339 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20341 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20342 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20343 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20344
bf51f568
JL
203452012-08-09 Jeff Law <law@redhat.com>
20346
20347 [BZ #13939]
20348 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20349 When avoid_arena is set, don't retry in the that arena. Pick the
20350 next one, whatever it might be.
20351 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20352 (arena_lock): Pass in new parameter to arena_get2.
20353 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20354 arena_get2.
20355 (__libc_malloc): Unify retrying after main arena failure with
20356 __libc_memalign version.
20357 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20358
f85fa270
L
203592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20360
20361 [BZ #14166]
20362 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20363 to __redirect_strstr.
20364 (__strstr_sse42): Use typeof __redirect_strstr.
20365 (__strstr_ia32): Likewise.
20366 (__libc_strstr): New prototype.
20367 (strstr): Renamed to ...
20368 (__libc_strstr): This.
20369 (strstr): New strong alias of __libc_strstr.
20370 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20371 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20372 __redirect_time.
20373 Include <time.h>.
20374 (__libc_time): New prototype.
20375 (time_ifunc): Replace time with __libc_time.
20376 (time): New strong alias and hidden definition of __libc_time.
20377 (__GI_time): Remove strong alias.
20378 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20379 Include <stddef.h>.
20380 (memmove): Redefined to __redirect_memmove.
20381 (__memmove_sse2): Use typeof __redirect_memmove.
20382 (__memmove_ssse3): Likewise.
20383 (__memmove_ssse3_back): Likewise.
20384 (__libc_memmove): New prototype.
20385 (memmove): Renamed to ...
20386 (__libc_memmove): This.
20387 (memmove): New strong alias of __libc_memmove.
20388
33b4a91e
MS
203892012-08-08 Mark Salter <msalter@redhat.com>
20390
20391 * elf/elf.h
20392 (R_MN10300_TLS_GD): Define.
20393 (R_MN10300_TLS_LD): Likewise.
20394 (R_MN10300_TLS_LDO): Likewise.
20395 (R_MN10300_TLS_GOTIE): Likewise.
20396 (R_MN10300_TLS_IE): Likewise.
20397 (R_MN10300_TLS_LE): Likewise.
20398 (R_MN10300_TLS_DTPMOD): Likewise.
20399 (R_MN10300_TLS_DTPOFF): Likewise.
20400 (R_MN10300_TLS_TPOFF): Likewise.
20401 (R_MN10300_SYM_DIFF): Likewise.
20402 (R_MN10300_ALIGN): Likewise.
20403 (R_MN10300_NUM): Update.
20404
b36137f1
JM
204052012-08-08 Joseph Myers <joseph@codesourcery.com>
20406
20407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20408 Remove.
20409
cdd915fd
RM
204102012-08-08 Roland McGrath <roland@hack.frob.com>
20411
a2433aac
RM
20412 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20413
cdd915fd
RM
20414 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20415 sysdeps/unix -> sysdeps/posix move.
20416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20417
bf9b740a
AM
204182012-08-07 Allan McRae <allan@archlinux.org>
20419
20420 [BZ #14303]
20421 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20422 (SUNOS_CPP): Likewise.
20423 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20424 not found.
20425 (open_input): Call CPP using execvp.
20426
93df14ee
JM
204272012-08-07 Joseph Myers <joseph@codesourcery.com>
20428
20429 * sysdeps/unix/sysv/linux/kernel-features.h
20430 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20433 (__ASSUME_WAITID_SYSCALL): Likewise.
20434 * sysdeps/unix/sysv/linux/dl-execstack.c
20435 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20436 code unconditional.
20437 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20438 conditional code.
20439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20440 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20441 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20442 code.
20443 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20444 unconditional.
20445 [__ASSUME_WAITID_SYSCALL]: Likewise.
20446 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20447
d34689de
RM
204482012-08-07 Roland McGrath <roland@hack.frob.com>
20449
a281decc
RM
20450 * sysdeps/unix/closedir.c: Renamed to ...
20451 * sysdeps/posix/closedir.c: ... here.
20452 * sysdeps/unix/dirfd.c: Renamed to ...
20453 * sysdeps/posix/dirfd.c: ... here.
20454 * sysdeps/unix/dirstream.h: Renamed to ...
20455 * sysdeps/posix/dirstream.h: ... here.
20456 * sysdeps/unix/fdopendir.c: Renamed to ...
20457 * sysdeps/posix/fdopendir.c: ... here.
20458 * sysdeps/unix/opendir.c: Renamed to ...
20459 * sysdeps/posix/opendir.c: ... here.
20460 * sysdeps/unix/readdir.c: Renamed to ...
20461 * sysdeps/posix/readdir.c: ... here.
20462 * sysdeps/unix/readdir_r.c: Renamed to ...
20463 * sysdeps/posix/readdir_r.c: ... here.
20464 * sysdeps/unix/rewinddir.c: Renamed to ...
20465 * sysdeps/posix/rewinddir.c: ... here.
20466 * sysdeps/unix/seekdir.c: Renamed to ...
20467 * sysdeps/posix/seekdir.c: ... here.
20468 * sysdeps/unix/telldir.c: Renamed to ...
20469 * sysdeps/posix/telldir.c: ... here.
20470 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20471 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20472 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20473 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20474
22895b47
RM
20475 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20476 * bits/fcntl.h: ... here.
20477
707a53b6
RM
20478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20479 not 0.
20480 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20481 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20482 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20483 (struct flock): Move l_start, l_len to the beginning.
20484 Use __pid_t for l_pid.
20485 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20486 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20487 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20488 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20489 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20490 [__USE_LARGEFILE64] (struct flock64): New type.
20491 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20492
f0bd3e25
RM
20493 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20494 * bits/dirent.h: ... here.
20495
d34689de
RM
20496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20497 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20498
6dad2c06
JM
204992012-08-07 Joseph Myers <joseph@codesourcery.com>
20500
20501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20502 Change from 2.6.0 to 2.6.16.
20503 * sysdeps/unix/sysv/linux/configure: Regenerated.
20504 * sysdeps/unix/sysv/linux/kernel-features.h
20505 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20506 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20507 version.
20508 (__ASSUME_UTIMES): Likewise.
20509 (__ASSUME_CLONE_STOPPED): Remove.
20510 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20511 architectures, not kernel version.
20512 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20513 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20514 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20515 (__ASSUME_WAITID_SYSCALL): Likewise.
20516 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20517 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20518 * README: State 2.6.16 as minimum Linux kernel version. Do not
20519 refer to older versions.
20520
03af9520
RM
205212012-08-06 Roland McGrath <roland@hack.frob.com>
20522
8e49df1d
RM
20523 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20524 Define alphasort64 as an alias.
20525 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20526 Define versionsort64 as an alias.
20527 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20528 Define scandir64 as an alias.
20529 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20530 Define scandirat64 as an alias.
20531 * dirent/alphasort64.c (alphasort64):
20532 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20533 * dirent/versionsort64.c: Likewise.
20534 * dirent/scandir64.c: Likewise.
20535 * dirent/scandirat64.c: Likewise.
20536 * sysdeps/wordsize-64/alphasort.c: File removed.
20537 * sysdeps/wordsize-64/alphasort64.c: File removed.
20538 * sysdeps/wordsize-64/scandir.c: File removed.
20539 * sysdeps/wordsize-64/scandir64.c: File removed.
20540 * sysdeps/wordsize-64/scandirat.c: File removed.
20541 * sysdeps/wordsize-64/scandirat64.c: File removed.
20542 * sysdeps/wordsize-64/versionsort.c: File removed.
20543 * sysdeps/wordsize-64/versionsort64.c: File removed.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20550 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20552
20553 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20555 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20557 [defined __arch64__ || defined __sparcv9]
20558 (__INO_T_MATCHES_INO64_T): New macro.
20559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20560 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20561 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20562 * sysdeps/unix/sysv/linux/bits/dirent.h
20563 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20564 (_DIRENT_MATCHES_DIRENT64): New macro.
20565
03af9520
RM
20566 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20567 Define lockf64 as an alias.
20568 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20569 Define fseeko64 as an alias.
20570 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20571 Define ftello64 as an alias.
20572 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20573 Define _IO_fgetpos64 and fgetpos64 as aliases.
20574 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20575 Define _IO_fsetpos64 and fsetpos64 as aliases.
20576 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20577 Conditionalize body on this.
20578 * libio/fseeko64.c: Likewise.
20579 * libio/ftello64.c: Likewise.
20580 * libio/iofgetpos64.c: Likewise.
20581 * libio/iofsetpos64.c: Likewise.
20582 * sysdeps/wordsize-64/lockf.c: File removed.
20583 * sysdeps/wordsize-64/lockf64.c: File removed.
20584 * sysdeps/wordsize-64/fseeko.c: File removed.
20585 * sysdeps/wordsize-64/fseeko64.c: File removed.
20586 * sysdeps/wordsize-64/ftello.c: File removed.
20587 * sysdeps/wordsize-64/ftello64.c: File removed.
20588 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20589 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20590 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20591 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20602
20603 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20605 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20607 [defined __arch64__ || defined __sparcv9]
20608 (__OFF_T_MATCHES_OFF64_T): New macro.
20609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20610 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20612 (__OFF_T_MATCHES_OFF64_T): New macro.
20613
c5757acd
L
206142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20615
20616 * stdlib/secure-getenv.c (__secure_getenv): Replace
20617 GLIBC_2_16 with GLIBC_2_17.
20618
3a31811e
L
206192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20623
faa2bccb
DM
206242012-08-03 David S. Miller <davem@davemloft.net>
20625
20626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20627
85fe1997
JM
206282012-08-03 Joseph Myers <joseph@codesourcery.com>
20629
20630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20631 Remove.
20632 (__ASSUME_CORRECT_SI_PID): Likewise.
20633 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20634 (__ASSUME_TMPFS_NAME): Likewise.
20635 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20636 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20637 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20638 (HAVE_AUX_SECURE): Make definition unconditional.
20639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20640 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20641
4f75b7a0
RM
206422012-08-03 Roland McGrath <roland@hack.frob.com>
20643
20644 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20645 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20646 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20647 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20648 __eloop_threshold instead of SYMLOOP_MAX.
20649
20650 * sysdeps/generic/eloop-threshold.h: New file.
20651 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20652 of MAXSYMLINKS.
20653 * elf/chroot_canon.c (chroot_canon): Likewise.
20654
7aab07e4
JM
206552012-08-03 Joseph Myers <joseph@codesourcery.com>
20656
20657 [BZ #13717]
20658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20659 Change to 2.6.0 everywhere.
20660 * sysdeps/unix/sysv/linux/configure: Regenerated.
20661 * sysdeps/unix/sysv/linux/kernel-features.h
20662 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20663 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20664 kernel versions.
20665 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20666 (__ASSUME_FUTEX_REQUEUE): Remove.
20667 (__ASSUME_STATFS64): Define unconditionally.
20668 (__ASSUME_AT_SECURE): Likewise.
20669 (__ASSUME_CORRECT_SI_PID): Likewise.
20670 (__ASSUME_TGKILL): Define without depending on kernel version for
20671 i386.
20672 (__ASSUME_UTIMES): Likewise.
20673 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20674 kernel version.
20675 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20676 (__ASSUME_TMPFS_NAME): Likewise.
20677 * README: Update reference to Linux kernel versions.
20678
b67e9372
MP
206792012-08-02 Marek Polacek <polacek@redhat.com>
20680
1f529f7d 20681 [BZ# 14150]
b67e9372
MP
20682 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20683 libc_cv_asm_type_prefix with %.
20684 * configure: Regenerated.
d2441631
RM
20685 * include/libc-symbols.h: Remove comment about
20686 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20687 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20688 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20689 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20690 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20691 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20692 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20694 * elf/tst-unique2mod1.c: Likewise.
20695 * elf/tst-unique1mod2.c: Likewise.
20696 * elf/tst-unique1mod1.c: Likewise.
20697 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20698 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20699 Replace ASM_TYPE_DIRECTIVE with .type.
20700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20701 * sysdeps/i386/sysdep.h: Likewise.
20702 * sysdeps/x86_64/sysdep.h: Likewise.
20703 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20705 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20706 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20707 * sysdeps/powerpc/powerpc32/sysdep.h:
20708 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20711 * sysdeps/i386/fpu/e_powf.S: Likewise.
20712 * sysdeps/i386/fpu/e_expl.S: Likewise.
20713 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20715 * sysdeps/i386/fpu/e_pow.S: Likewise.
20716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20720 * sysdeps/i386/fpu/e_log2.S: Likewise.
20721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20723 * sysdeps/i386/fpu/e_powl.S: Likewise.
20724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20725 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20726 * sysdeps/i386/fpu/e_logl.S: Likewise.
20727 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20732 * sysdeps/i386/fpu/e_log.S: Likewise.
20733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20734 * sysdeps/i386/fpu/e_logf.S: Likewise.
20735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20738 * sysdeps/i386/fpu/e_log10.S: Likewise.
20739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20746 * sysdeps/i386/i686/strtok.S: Likewise.
20747 * sysdeps/i386/i386-mcount.S: Likewise.
20748 * sysdeps/i386/strtok.S: Likewise.
20749 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20753 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20758 * sysdeps/x86_64/_mcount.S: Likewise.
20759 * sysdeps/x86_64/strtok.S: Likewise.
20760 * sysdeps/sh/_mcount.S: Likewise.
20761
2747bf9a
RM
207622012-08-01 Roland McGrath <roland@hack.frob.com>
20763
20764 * libio/iofopen.c: Include <fcntl.h>.
20765 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20766 (_IO_fopen64, fopen64): Define as aliases.
20767 * libio/iofopen64.c: Include <fcntl.h>.
20768 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20769 Conditionalize body on this.
20770 * sysdeps/wordsize-64/iofopen.c: File removed.
20771 * sysdeps/wordsize-64/iofopen64.c: File removed.
20772
3fb791b8
MP
207732012-08-01 Marek Polacek <polacek@redhat.com>
20774
20775 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20776 Use dlfcn directly instead of a variable.
20777 (binfmt-subdir): Do not define.
20778 (dlfcn): Likewise.
20779
a9f1039f
JM
207802012-08-01 Joseph Myers <joseph@codesourcery.com>
20781
23bddc06
JM
20782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20783 Remove all definitions.
20784 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20785 <kernel-features.h>.
20786 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20787 (miss_F_GETOWN_EX): Remove all definitions.
20788 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20789 macro definition.
20790 [!__ASSUME_FCNTL64]: Remove conditional code.
20791 [__ASSUME_FCNTL64]: Make code unconditional.
20792 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20793 <kernel-features.h>.
20794 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20795 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20796 (lockf64) [__NR_fcntl64]: Make code unconditional.
20797 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20798
a9f1039f
JM
20799 * sysdeps/unix/sysv/linux/kernel-features.h
20800 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20801 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20802 Make code unconditional.
20803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20806 [__NR_vfork]: Make code unconditional.
20807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20810 [__NR_vfork]: Make code unconditional.
20811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20813
09c0ee5f
RM
208142012-08-01 Roland McGrath <roland@hack.frob.com>
20815
48aec5b9
RM
20816 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20817 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20818
cd97c966
RM
20819 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20820 Define mkstemp64 as an alias.
3f55550c
RM
20821 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20822 Define mkstemps64 as an alias.
cd97c966
RM
20823 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20824 Define mkostemp64 as an alias.
b8625cfc
RM
20825 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20826 Define mkostemps64 as an alias.
cd97c966
RM
20827 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20828 Conditionalize body on this.
20829 * misc/mkostemp64.c: Likewise.
b8625cfc 20830 * misc/mkostemps64.c: Likewise.
3f55550c 20831 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20832 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20833 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20834 * sysdeps/wordsize-64/mkostemp.c: File removed.
20835 * sysdeps/wordsize-64/mkstemp.c: File removed.
20836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20840
09c0ee5f
RM
20841 [BZ #14138]
20842 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20844 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20845 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20846
20847 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20848 compat_symbol macros from <shlib-compat.h> rather than the underlying
20849 default_symbol_version and symbol_version macros, so that DEFAULT
20850 lines in shlib-versions are respected.
20851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20852
7e66ee51
FW
208532012-08-01 Florian Weimer <fweimer@redhat.com>
20854
20855 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20856 Declare with warn_unused_result.
20857 (setgid, setregid, setegid, setresgid): Likewise.
20858 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20859 Likewise.
20860 * WUR-REPORT: Remove set*id functions.
20861
d2a54255
PT
208622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20863
20864 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20865
7ecdb005
RM
208662012-07-31 Roland McGrath <roland@hack.frob.com>
20867
b4180a5e 20868 [BZ #10191]
789bd351
RM
20869 * include/sys/socket.h (__libc_accept, __libc_accept4):
20870 Add attribute_hidden.
20871 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20872
40ce302d
RM
20873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20874 use of PTR_MANGLE.
20875 * inet/getnetgrent_r.c (setup): Likewise.
20876
7ecdb005
RM
20877 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20878
e2eabb2c
DM
208792012-07-31 David S. Miller <davem@davemloft.net>
20880
20881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20882
d0419dbf
JM
208832012-07-31 Joseph Myers <joseph@codesourcery.com>
20884
20885 [BZ #13629]
20886 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20887 value between 1.0 and 2.0 and smaller part has absolute value less
20888 than 1.0.
20889 * math/s_clog10.c (__clog10): Likewise.
20890 * math/s_clog10f.c (__clog10f): Likewise.
20891 * math/s_clog10l.c (__clog10l): Likewise.
20892 * math/s_clogf.c (__clogf): Likewise.
20893 * math/s_clogl.c (__clogl): Likewise.
20894 * math/libm-test.inc (clog_test): Add more tests.
20895 (clog10_test): Likewise.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898
2bc13872
FW
208992012-07-31 Florian Weimer <fweimer@redhat.com>
20900
20901 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20902 Exit with zero in case no suitable GID is found, and write a
20903 message to standard error.
20904
bea9b193
RM
209052012-07-30 Roland McGrath <roland@hack.frob.com>
20906
20907 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20908 rather than to 1.
20909 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20910 (MAXPATHLEN): Removed.
20911 (NOGROUP, NODEV): New macros.
20912 (setbit, clrbit, isset, isclr): New macros.
20913 (howmany, roundup, powerof2): New macros.
20914 (DEV_BSIZE): New macro.
20915
20916 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20917 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20918
20919 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20920 definition on [!__NO_LONG_DOUBLE_MATH].
20921
20922 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20923 PTR_MANGLE and PTR_DEMANGLE.
20924
20925 * socket/accept4.c (accept4): Rename to __libc_accept4.
20926 Define accept4 as a weak alias.
20927
20928 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20929 on [_DIRENT_HAVE_D_TYPE].
20930 * io/ftw.c (ftw_dir): Likewise.
20931
20932 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20933
20934 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20935
20936 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20937 Use the BSD numbers rather than the arbitrary ones we had.
20938 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20939 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20940 (SIGXCPU, SIGXFSZ): New macros.
20941 (_NSIG): Now 32.
20942
20943 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20944 initializer on [_LIBC_REENTRANT].
20945
20946 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20947 definitions inside [_POSIX_MAPPED_FILES].
20948
20949 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20950
20951 * dirent/opendir.c: Include <fcntl.h>.
20952
20953 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20954 (__libc_getspecific): Likewise.
20955 (__libc_key_create): Likewise.
20956
20957 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20958 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20959 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20960 (tmpfile64): Define as alias.
20961 * sysdeps/wordsize-64/tmpfile.c: File removed.
20962 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20965
20966 * stdio-common/vfscanf.c: Include <stdbool.h>.
20967 * nss/makedb.c: Likewise.
20968 * stdio-common/_i18n_number.h: Likewise.
20969 * argp/argp-help.c: Likewise.
20970 * posix/wordexp.c: Likewise.
20971 * sysdeps/posix/spawni.c: Likewise.
20972 * nss/nss_files/files-initgroups.c: Likewise.
20973 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20974 * nss/nss_files/files-initgroups.c: Likewise.
20975 * nss/nss_db/db-netgrp.c: Likewise.
20976 * nss/nss_db/db-initgroups.c: Likewise.
20977 * io/fchmodat.c: Include <sys/stat.h>.
20978
20979 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20980 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20981
20982 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20983 [HAVE_MMAP].
20984
20985 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20986 Add multiple inclusion protection.
20987
e5abc686
DM
209882012-07-27 David S. Miller <davem@davemloft.net>
20989
20990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20991
815e6fa3
GB
209922012-07-27 Gary Benson <gbenson@redhat.com>
20993
20994 [BZ #14298]
20995 * elf/rtld.c: Include <stap-probe.h>.
20996 (dl_main): Added static probes "init_start" and "init_complete".
20997 * elf/dl-load.c: Include <stap-probe.h>.
20998 (lose): Take new parameter "nsid".
20999 Added static probe "map_failed".
21000 (_dl_map_object_from_fd): Pass namespace id to lose.
21001 Added static probe "map_start".
21002 (open_verify): Pass namespace id to lose.
21003 * elf/dl-open.c: Include <stap-probe.h>.
21004 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21005 and "reloc_complete".
21006 * elf/dl-close.c: Include <stap-probe.h>.
21007 (_dl_close_worker): Added static probes "unmap_start" and
21008 "unmap_complete".
21009 * elf/rtld-debugger-interface.txt: New file documenting the above.
21010
9f98c16c
RM
210112012-07-26 Roland McGrath <roland@hack.frob.com>
21012
21013 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21014 rather than a string variable.
21015 * sunrpc/rpc_main.c (h_output): Likewise.
21016 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21017
f3c22df3
PT
210182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21019
21020 * inet/check_native.c: New file.
21021
3129cfc6
JM
210222012-07-26 Joseph Myers <joseph@codesourcery.com>
21023
da865e95
JM
21024 [BZ #13629]
21025 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21026 if larger part has absolute value 1.0.
21027 * math/s_clog10.c (__clog10): Likewise.
21028 * math/s_clog10f.c (__clog10f): Likewise.
21029 * math/s_clog10l.c (__clog10l): Likewise.
21030 * math/s_clogf.c (__clogf): Likewise.
21031 * math/s_clogl.c (__clogl): Likewise.
21032 * math/libm-test.inc (clog_test): Add more tests.
21033 (clog10_test): Likewise.
21034 * sysdeps/i386/fpu/libm-test-ulps: Update.
21035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036
3129cfc6
JM
21037 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21038 (pltexit): Likewise.
21039 (La_regs): Likewise.
21040 (La_retval): Likewise.
21041 (int_retval): Likewise.
21042 Update #error for removed macros to refer only to definitions in
21043 tst-audit.h.
21044 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21045 macro.
21046 (pltexit): Likewise.
21047 (La_regs): Likewise.
21048 (La_retval): Likewise.
21049 (int_retval): Likewise.
21050 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21051 macro.
21052 (pltexit): Likewise.
21053 (La_regs): Likewise.
21054 (La_retval): Likewise.
21055 (int_retval): Likewise.
21056 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21057 macro.
21058 (pltexit): Likewise.
21059 (La_regs): Likewise.
21060 (La_retval): Likewise.
21061 (int_retval): Likewise.
21062 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21063 macro.
21064 (pltexit): Likewise.
21065 (La_regs): Likewise.
21066 (La_retval): Likewise.
21067 (int_retval): Likewise.
21068 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21069 macro.
21070 (pltexit): Likewise.
21071 (La_regs): Likewise.
21072 (La_retval): Likewise.
21073 (int_retval): Likewise.
21074 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21075 macro.
21076 (pltexit): Likewise.
21077 (La_regs): Likewise.
21078 (La_retval): Likewise.
21079 (int_retval): Likewise.
21080 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21081 macro definitions in tst-audit.h.
21082 * sysdeps/i386/tst-audit.h: New file.
21083 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21084 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21085 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21086 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21087 * sysdeps/sh/tst-audit.h: Likewise.
21088 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21089 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21090 * sysdeps/x86_64/tst-audit.h: Likewise.
21091
bfc07087
AJ
210922012-07-26 Andreas Jaeger <aj@suse.de>
21093
b1b2aaf8
AJ
21094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21095 ptrace.
21096
21097 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21098 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21099 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21100 PTRACE_O_MASK.
21101 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21102 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21103 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21104
bfc07087
AJ
21105 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21106 value.
21107
21108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21109 _sigsys.
21110 (si_call_addr, si_syscall, si_arch): Define new macro.
21111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21112 _sigsys.
21113 (si_call_addr, si_syscall, si_arch): Define new marcro.
21114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21115 _sigsys.
21116 (si_call_addr, si_syscall, si_arch): Define new macro.
21117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21118 _sigsys.
21119 (si_call_addr, si_syscall, si_arch): Define new macro.
21120
89b4b02f
JM
211212012-07-25 Joseph Myers <joseph@codesourcery.com>
21122
21123 [BZ #13717]
21124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21125 Change to 2.4.21 where previously 2.4.1.
21126 * sysdeps/unix/sysv/linux/configure: Regenerated.
21127 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21128 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21129 Linux kernel version.
21130 (__ASSUME_STD_AUXV): Remove.
21131 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21132 kernel version.
21133 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21134 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21135 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21136 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21137 (__ASSUME_NETLINK_SUPPORT): Likewise.
21138 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21139 (__no_netlink_support): Remove conditional definition.
21140 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21141 Remove.
21142 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21143 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21145 (if_nameindex_ioctl): Remove.
21146 (if_nameindex_netlink): Do not handle __no_netlink_support.
21147 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21148 code.
21149 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21150 Remove conditional code.
21151 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21152 code.
21153 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21154 unconditional.
21155 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21156 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21157 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21158 Remove.
21159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21160 [!__ASSUME_STD_AUXV]: Remove conditional code.
21161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21162 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21163 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21166 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21167 code.
21168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21171 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21172 conditional code.
21173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21175 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21176 code.
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21179 conditional code.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21181 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21182 code unconditional.
21183 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21184 conditional code.
21185 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21186 unconditional.
21187 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21188 conditional code.
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21190 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21191 unconditional.
21192 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21193 conditional code.
21194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21195 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21196 code unconditional.
21197 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21198 conditional code.
21199 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21200 unconditional.
21201 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21202 conditional code.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21204 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21205 code unconditional.
21206 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21207 conditional code.
21208 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21209 unconditional.
21210 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21211 conditional code.
21212
842a39cd
AS
212132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21214
21215 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21218 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21219 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21220 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21222 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21223 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21224 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21225 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21226 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21227 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21228 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21230 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21231 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21233 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21235 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21236 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21238
84b3fd84
FW
212392012-07-25 Florian Weimer <fweimer@redhat.com>
21240
21241 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21242 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21243 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21244 Introduce __libc_secure_getenv.
0c7936d5
FW
21245 * stdlib/Versions (2.17): Add secure_getenv
21246 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21247 * stdlib/secure-getenv.c: Rename __secure_getenv to
21248 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21249 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21250 * stdlib/tst-secure-getenv.c: New.
21251 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21252 * manual/startup.texi (Environment Access): Document
21253 secure_getenv.
84b3fd84
FW
21254 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21255 __libc_secure_getenv.
21256 * inet/ruserpass.c (ruserpass): Likewise.
21257 * malloc/mtrace.c (mtrace): Likewise.
21258 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21259 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21260 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21261 * sysdeps/posix/tempname.c: Likewise. Evaluate
21262 HAVE_SECURE_GETENV.
21263 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21264 __secure_getenv to __libc_secure_getenv.
84b3fd84 21265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21267 Likewise.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21269 Likewise.
21270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21277
56e49b71
JM
212782012-07-25 Joseph Myers <joseph@codesourcery.com>
21279
21280 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21281 (struct La_i86_retval): Likewise.
21282 (struct La_x86_64_regs): Likewise.
21283 (struct La_x86_64_retval): Likewise.
21284 (struct La_x32_regs): Likewise.
21285 (struct La_x32_retval): Likewise.
21286 (struct La_ppc32_regs): Likewise.
21287 (struct La_ppc32_retval): Likewise.
21288 (struct La_ppc64_regs): Likewise.
21289 (struct La_ppc64_retval): Likewise.
21290 (struct La_sh_regs): Likewise.
21291 (struct La_sh_retval): Likewise.
21292 (struct La_s390_32_regs): Likewise.
21293 (struct La_s390_32_retval): Likewise.
21294 (struct La_s390_64_regs): Likewise.
21295 (struct La_s390_64_retval): Likewise.
21296 (struct La_sparc32_regs): Likewise.
21297 (struct La_sparc32_retval): Likewise.
21298 (struct La_sparc64_regs): Likewise.
21299 (struct La_sparc64_retval): Likewise.
21300 (struct audit_ifaces): Remove architecture-specific pltenter and
21301 pltexit members.
21302 * sysdeps/i386/ldsodefs.h: New file.
21303 * sysdeps/powerpc/ldsodefs.h: Likewise.
21304 * sysdeps/s390/ldsodefs.h: Likewise.
21305 * sysdeps/sh/ldsodefs.h: Likewise.
21306 * sysdeps/sparc/ldsodefs.h: Likewise.
21307 * sysdeps/x86_64/ldsodefs.h: Likewise.
21308
354691b7
MP
213092012-07-25 Marek Polacek <polacek@redhat.com>
21310
21311 [BZ #6808]
21312 * math/libm-test.inc (yn_test): Add another test.
21313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21314 to ERANGE when the result is +-Inf.
21315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21318 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21319
bf9e2071
JM
213202012-07-24 Joseph Myers <joseph@codesourcery.com>
21321
21322 * conform/data/time.h-data (NULL): Use macro-constant. Require
21323 equal to 0.
21324 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21325 clock_t.
21326 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21327
57633811
TS
213282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21329
21330 * configure.in <sysdeps resolving>: Correct printing
21331 Implies_before.
21332 * configure: Regenerate.
21333
c23c33b0
TS
213342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21335
21336 * math/w_ilogb.c: Include <limits.h>.
21337 * math/w_ilogbl.c: Likewise.
21338
b5982523
JM
213392012-07-20 Joseph Myers <joseph@codesourcery.com>
21340
21341 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21342 va_copy. Document allowing for unavailable va_copy only as
21343 pre-C99 compatibility.
21344 * manual/string.texi (Copying and Concatenation): Use va_copy
21345 instead of __va_copy in concat example.
21346
ac4ea442
PT
213472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21348
21349 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21350 (__sendto): Use create_address_port. Initialize APORT and deallocate
21351 it if not null.
21352
f98eafbd
PT
21353 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21354 with O_NOLINK passed to __file_name_lookup.
21355
898c7aab
PT
21356 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21357 with O_NOLINK passed to __file_name_lookup.
21358
0ced335a
PT
21359 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21360 negative N or less than NGIDS.
21361
b3404dbd
PT
21362 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21363 type to string_t. Set ERANGE as errno and return it if NAME is not big
21364 enough. Use memcpy instead of strncpy.
21365
0f48659e
JM
213662012-07-20 Joseph Myers <joseph@codesourcery.com>
21367
21368 * elf/Makefile (check-data): Remove.
21369 (localplt.data): New vpath directive.
21370 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21371 instead of $(check-data).
21372 * scripts/data/localplt-generic.data: Move to ...
21373 * sysdeps/generic/localplt.data: ... here.
21374 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21375 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21376 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21378 ... here.
21379 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21381 ... here.
21382 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21384 ... here.
21385 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21387 ... here.
21388 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21390 ... here.
21391 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21393 ... here.
21394
d37cbdaa
AZ
213952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21396
21397 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21398 PPC32 and PPC64 files.
21399 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21400 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21401
46f85fc2
AK
214022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21403
21404 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21405 __makecontext_ret to ...
21406 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21407 ... here and call exit if uc_link is NULL. New file.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21409 __makecontext_ret.S.
21410 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21411 __makecontext_ret to ...
21412 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21413 ... here and call exit if uc_link is NULL. New file.
21414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21415 __makecontext_ret.S.
21416
08f43f9b
AK
214172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21418
21419 * elf/elf.h (R_390_IRELATIVE): New definition.
21420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21421 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21422 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21424 (elf_machine_lazy_rel): Likewise.
21425 * sysdeps/s390/dl-irel.h: New file.
21426 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21427 * sysdeps/s390/s390-64/memset.S: New asm code.
21428 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21429 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21431 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21432 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21433 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21435 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21436 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21437 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21438 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21439 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21440 * sysdeps/s390/s390-32/memset.S: New asm code.
21441 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21442
3b05db33
MP
214432012-07-17 Marek Polacek <polacek@redhat.com>
21444
21445 [BZ #14349]
21446 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21447 * sysdeps/s390/s390-64/configure.in: Likewise.
21448 * sysdeps/sparc/configure.in: Likewise.
21449 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21450 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21451 * sysdeps/i386/configure.in: Likewise.
21452 * sysdeps/x86_64/configure.in: Likewise.
21453 * sysdeps/sh/configure.in: Likewise.
21454 * sysdeps/s390/s390-32/configure: Regenerated.
21455 * sysdeps/s390/s390-64/configure: Likewise.
21456 * sysdeps/x86_64/configure: Likewise.
21457 * sysdeps/sh/configure: Likewise.
21458 * sysdeps/powerpc/powerpc64/configure: Likewise.
21459 * sysdeps/powerpc/powerpc32/configure: Likewise.
21460 * sysdeps/sparc/configure: Likwise.
21461 * sysdeps/i386/configure: Likewise.
21462
a66877c6
MP
21463 * elf/dl-open.c: Comment fixes.
21464
cfc82fd8
JM
214652012-07-17 Joseph Myers <joseph@codesourcery.com>
21466
bd29910a
JM
21467 * Makefile [CXX] (check-data): Remove.
21468 [CXX] (c++-types.data): New vpath directive.
21469 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21470 vpath. Do not allow for C++ type data being missing.
21471 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21472 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21473 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21474 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21475 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21476 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21477 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21479 ... here.
21480 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21482 ... here.
21483 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21485 ... here.
21486 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21488 ... here.
21489 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21491 ... here.
21492 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21494 ... here.
21495 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21497 ... here.
21498 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21500
cfc82fd8
JM
21501 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21502 definitions to architecture-specific files.
21503 (TLS_IE): Likewise.
21504 (TLS_LD): Likewise.
21505 (TLS_GD): Likewise.
21506 * sysdeps/i386/tls-macros.h: New file.
21507 * sysdeps/powerpc/tls-macros.h: Likewise.
21508 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21509 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21510 * sysdeps/sh/tls-macros.h: Likewise.
21511 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21512 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21513 * sysdeps/x86_64/tls-macros.h: Likewise.
21514
f7db3170
TS
215152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21516
07cbfc23
TS
21517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21518 zero value for regular exit case.
21519
f7db3170
TS
21520 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21521 (__start_context): Preserve zero value for regular exit case.
21522
dc97c227
TS
215232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21525
21526 * manual/setjmp.texi (setcontext): Clarify normal process
21527 termination when uc_link is the null pointer.
21528 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21529 exit call.
21530
d0cd7d02
AS
215312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21532
21533 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21534 preprocessor. Test for each exception mask separately.
21535
dd318934
AJ
215362012-07-16 Andreas Jaeger <aj@suse.de>
21537
21538 * po/ru.po: Update from translation team.
21539
8048311a
JM
215402012-07-15 Joseph Myers <joseph@codesourcery.com>
21541
21542 * conform/data/string.h-data (NULL): Use macro-constant. Require
21543 equal to 0.
21544 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21546 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21547 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21549
b637d46e
AJ
215502012-07-13 Andreas Jaeger <aj@suse.de>
21551
21552 * po/fr.po: Update from translation team.
21553
541428fe
MP
215542012-07-12 Marek Polacek <polacek@redhat.com>
21555
21556 [BZ #14173]
21557 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21559 loop condition.
21560
ec332e94
JM
215612012-07-12 Joseph Myers <joseph@codesourcery.com>
21562
21563 [BZ #13717]
21564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21565 Change to 2.4.1 where previously 2.4.0.
21566 * sysdeps/unix/sysv/linux/configure: Regenerated.
21567 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21568 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21569 version.
21570 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21571 (__ASSUME_AT_CLKTCK): Remove.
21572 (__ASSUME_AT_PAGESIZE): Likewise.
21573 (__ASSUME_AT_XID): Likewise.
21574 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21575 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21576 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21577 unconditionally.
21578 (HAVE_AUX_PAGESIZE): Likewise.
21579 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21580 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21581 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21582
7b6e99be
JB
215832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21584
21585 [BZ #14307]
21586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21587 the temporary buffer used to invoke __gethostbyname2_r,
21588 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21589 host_data / struct gaih_addrtuple.
21590 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21591 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21592 header file nss/nsswitch.h.
21593 * nss/nsswitch.h (global scope): Add definition of implementation
21594 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21595 resolv/nss_dns/dns-host.c).
21596
608404eb
AJ
215972012-07-11 Andreas Jaeger <aj@suse.de>
21598
21599 * po/fr.po: Update from translation team.
21600
71220aca
AJ
21601 * po/sv.po: Update from translation team
21602 * po/fr.po: Another update from translation team.
21603
28cfe843
AZ
216042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21605
21606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21607 for subnormals or multiply small sinh result by itself.
21608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21610
6b90f981
DM
216112012-07-11 David S. Miller <davem@davemloft.net>
21612
21613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21614
c6825772
AS
216152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21616
21617 [BZ #14347]
21618 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21619 (INTERNAL_MARK): Shift it here.
21620
7b8e0d49
MP
216212012-07-10 Marek Polacek <polacek@redhat.com>
21622
21623 [BZ #14151]
21624 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21625 libc_cv_asm_global_directive with .globl.
21626 * configure: Regenerated.
21627 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21628 with .globl.
21629 * sysdeps/i386/configure: Regenerated.
21630 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21631 with .globl.
21632 * sysdeps/x86_64/configure: Regenerated.
21633 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21634 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21635 * elf/tst-unique2mod2.c: Likewise.
21636 * elf/tst-unique2mod1.c: Likewise.
21637 * elf/tst-unique1mod2.c: Likewise.
21638 * elf/tst-unique1mod1.c: Likewise.
21639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21640 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21643 * sysdeps/mach/sysdep.h: Likewise.
21644 * sysdeps/i386/sysdep.h: Likewise.
21645 * sysdeps/i386/i386-mcount.S: Likewise.
21646 * sysdeps/x86_64/_mcount.S: Likewise.
21647 * sysdeps/x86_64/sysdep.h: Likewise.
21648 * sysdeps/sh/_mcount.S: Likewise.
21649 * sysdeps/sh/sysdep.h: Likewise.
21650 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21651 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21652 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21654 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21655 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21656 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21657 * locale/localeinfo.h: Likewise.
21658 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21659 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21660
6c55cda3
RM
216612012-07-09 Roland McGrath <roland@hack.frob.com>
21662
21663 [BZ #14336]
21664 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21665 system".
21666 * manual/message.texi (The Uniforum approach): Likewise.
21667 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21668 (glibc iconv Implementation): Likewise.
21669
638a572e
JM
216702012-07-09 Joseph Myers <joseph@codesourcery.com>
21671
21672 [BZ #14337]
21673 * math/s_clog.c (__clog): Avoid scaling a value down where that
21674 could result in underflow.
21675 * math/s_clog10.c (__clog10): Likewise.
21676 * math/s_clog10f.c (__clog10f): Likewise.
21677 * math/s_clog10l.c (__clog10l): Likewise.
21678 * math/s_clogf.c (__clogf): Likewise.
21679 * math/s_clogl.c (__clogl): Likewise.
21680 * math/libm-test.inc (clog_test): Add more tests.
21681 (clog10_test): Likewise.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21684
261f4859
AS
216852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21686
0abaf3e4
AS
21687 [BZ #14283]
21688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21689 by 7 not 8 to examine high bit of fractional part.
21690
261f4859
AS
21691 [BZ #14042]
21692 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21693 for call to __mcount_internal.
21694 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21695 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21696 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21697
f17ac40d
JM
216982012-07-06 Joseph Myers <joseph@codesourcery.com>
21699
9ad63c23
JM
21700 [BZ #14154]
21701 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21702 approximation for values within 0x1p-13f of an odd multiple of
21703 pi/4.
21704 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21705 exception. Add more tests.
21706 * sysdeps/i386/fpu/libm-test-ulps: Update.
21707
f17ac40d
JM
21708 [BZ #6778]
21709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21710 inputs and return -1 for them. Do not check for +Inf in case not
21711 reachable for +Inf.
21712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21713 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21715 and return -1 for them. Do not check for +Inf in case not
21716 reachable for +Inf.
21717 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21718 define.
21719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21720 and return -1 for them. Do not check for +Inf in case not
21721 reachable for +Inf.
21722 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21723 spurious underflow.
21724 * sysdeps/i386/fpu/libm-test-ulps: Update.
21725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21726
fb21f89b
MF
217272012-07-06 Mike Frysinger <vapier@gentoo.org>
21728
21729 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21730
cdfe2c5e
JM
217312012-07-05 Joseph Myers <joseph@codesourcery.com>
21732
21733 [BZ #14157]
21734 [BZ #14331]
21735 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21736 could result in spurious underflow. Scale down values above
21737 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21738 * math/s_csqrtf.c (__csqrtf): Likewise.
21739 * math/s_csqrtl.c (__csqrtl): Likewise.
21740 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21741 spurious underflow.
21742 * sysdeps/i386/fpu/libm-test-ulps: Update.
21743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21744
70d35b67
AS
217452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21746
704bc459
AS
21747 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21748 xopen-msg.sed.
21749 * catgets/xopen-msg.awk: New file.
21750 * catgets/xopen-msg.sed: Removed.
21751
70d35b67
AS
21752 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21753 po2text.sed.
21754 * intl/po2test.awk: New file.
21755 * intl/po2test.sed: Removed.
21756
ca61cf32
JM
217572012-07-04 Joseph Myers <joseph@codesourcery.com>
21758
21759 [BZ #14328]
21760 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21761 or multiply small sinh result by itself.
21762 * math/s_ctanf.c (__ctanf): Likewise.
21763 * math/s_ctanh.c (__ctanh): Likewise.
21764 * math/s_ctanhf.c (__ctanhf): Likewise.
21765 * math/s_ctanhl.c (__ctanhl): Likewise.
21766 * math/s_ctanl.c (__ctanl): Likewise.
21767 * math/libm-test.inc (ctan_test_tonearest): New function.
21768 (ctan_test_towardzero): Likewise.
21769 (ctan_test_downward): Likewise.
21770 (ctan_test_upward): Likewise.
21771 (ctanh_test_tonearest): Likewise.
21772 (ctanh_test_towardzero): Likewise.
21773 (ctanh_test_downward): Likewise.
21774 (ctanh_test_upward): Likewise.
21775 (main): Call these new functions.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update.
21777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21778
ca48a46a
MF
217792012-07-03 Mike Frysinger <vapier@gentoo.org>
21780
21781 * .gitignore: Delete /ports entry.
21782
9d63d37d
AJ
217832012-07-03 Andreas Jaeger <aj@suse.de>
21784
21785 * po/bg.po: Update from translation team.
21786 * po/cs.po: Likewise.
21787 * po/de.po: Likewise.
21788 * po/hr.po: Likewise.
21789 * po/nl.pl: Likewise.
21790 * po/pl.po: Likewise.
21791 * po/vi.po: Likewise.
21792
370ca3d2
JM
217932012-07-03 Joseph Myers <joseph@codesourcery.com>
21794
95f5a9a8
JM
21795 * Makeconfig [!+link] (+link-before-libc): New variable.
21796 [!+link] (+link-after-libc): Likewise.
21797 [!+link] (+link-tests): Likewise.
21798 [!+link] (+link): Define in terms of $(+link-before-libc) and
21799 $(+link-after-libc).
21800 [!+link-static] (+link-static-before-libc): New variable.
21801 [!+link-static] (+link-static-after-libc): Likewise.
21802 [!+link-static] (+link-static-tests): Likewise.
21803 [!+link-static] (+link-static): Define in terms of
21804 $(+link-static-before-libc) and $(+link-static-after-libc).
21805 [build-shared] (link-libc-before-gnulib): New variable.
21806 [build-shared] (link-libc-tests): Likewise.
21807 [build-shared] (link-libc): Define in terms of
21808 $(link-libc-before-gnulib).
21809 [!build-shared] (link-libc-tests): New variable.
21810 (link-libc-static-tests): New variable.
21811 [!gnulib] (gnulib-arch): New variable.
21812 [!gnulib] (gnulib-tests): Likewise.
21813 [!gnulib] (static-gnulib-arch): Likewise.
21814 [!gnulib] (static-gnulib-tests): Likewise.
21815 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21816 Define with "=" instead of ":=".
21817 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21818 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21819 * Rules (binaries-all-notests): New variable.
21820 (binaries-all-tests): Likewise.
21821 (binaries-static-notests): Likewise.
21822 (binaries-static-tests): Likewise.
21823 (binaries-all): Define using $(binaries-all-notests) and
21824 $(binaries-all-tests).
21825 (binaries-static): Define using $(binaries-static-notests) and
21826 $(binaries-static-tests).
21827 (binaries-shared-tests): New variable.
21828 (binaries-shared-notests): Likewise.
21829 (binaries-shared): Remove variable.
21830 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21831 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21832 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21833 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21834 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21835 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21836 * elf/Makefile (sln-modules): New variable.
21837 (extra-objs): Add $(sln-modules:=.o).
21838 (ldconfig-modules): Add static-stubs.
21839 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21840 * elf/static-stubs.c: New file.
21841
7a845b2c
JM
21842 [BZ #14283]
21843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21844 by 7 not 8 to examine high bit of fractional part. Use volatile
21845 variables when splitting into final array of floats if
21846 __FLT_EVAL_METHOD__ != 0.
21847 * math/libm-test.inc (cos_test): Add another test.
21848 (sin_test): Likewise.
21849 * sysdeps/i386/fpu/libm-test-ulps: Update.
21850
e2283f38
JM
21851 [BZ #14273]
21852 * math/libm-test.inc (cosh_test): Add more tests.
21853
370ca3d2
JM
21854 * version.h (RELEASE): Set to "development".
21855 (VERSION): Set to "2.16.90".
21856
ee9247c3
CD
218572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21858
21859 * NEWS: Update copyright. Remove last-updated date.
21860 Mention math library bug fixes and timezone data changes.
21861 * README: Mention GNU/Hurd, x32, and HPPA support status.
21862
4648c381
TS
218632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21864
21865 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21866
aac78a43
AJ
218672012-06-27 Andreas Jaeger <aj@suse.de>
21868
21869 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21870
ed3dbfad
AJ
218712012-06-25 Andreas Jaeger <aj@suse.de>
21872
21873 * sysdeps/s390/fpu/libm-test-ulps: Update.
21874
4d0ee855
AS
218752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21876 Thomas Schwinge <thomas@codesourcery.com>
21877
21878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21879 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21881 fanotify_mark.
21882
af1bce34
TS
218832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21884
a9fa33ba
TS
21885 * sysdeps/mach/start.c: Remove file.
21886 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21887 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21888 * sysdeps/sh/init-first.c: Likewise.
21889
58f902b8
TS
21890 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21891 registers for frame unwinding purposes, add CFI directives.
21892 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21894 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21895 Likewise.
21896
1518f58b
TS
21897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21898 __fortify_fail returning.
21899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21900
db9b5059
TS
21901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21902 sysdeps/sh/____longjmp_chk.S.
21903 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21904 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21905 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21906 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21907
967705fe
TS
21908 * sysdeps/sh/abort-instr.h: New file.
21909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21910 process in case exit returns.
21911
a9def8c4
TS
21912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21913 initialize the GOT register before use.
21914
2a649725
TS
21915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21916 calculation of ARGC > 4.
21917
af1bce34
TS
21918 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21919 meaningful names to some local labels.
21920
d230f50a
KK
219212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21922 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21923
21924 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21925 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21926 (__arch_compare_and_exchange_val_16_acq): Likewise.
21927 (__arch_compare_and_exchange_val_32_acq): Likewise.
21928 (atomic_exchange_and_add): Fix gUSA sequence.
21929 (atomic_add): Likewise.
21930 (atomic_add_negative): Likewise.
21931 (atomic_add_zero): Likewise.
21932 (atomic_bit_test_set): Likewise.
21933
0479b305
AS
219342012-06-22 Andreas Schwab <schwab@redhat.com>
21935
21936 [BZ #13579]
21937 * include/link.h (struct link_map): Add l_free_initfini.
21938 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21939 l_initfini.
21940 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21941 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21942 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21943 set.
21944
0e3933b9
CD
219452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21946
21947 * configure.in: Use AC_LANG_SOURCE.
21948 * configure: Regenerate.
21949
4248b1b1
RM
219502012-06-22 Roland McGrath <roland@hack.frob.com>
21951
21952 * configure.in (libc_cv_localstatedir): New substituted variable.
21953 * configure: Regenerated.
21954 * config.make.in (localstatedir): New variable, substituted from
21955 libc_cv_localstatedir.
21956 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21957 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21958 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21959 * sysdeps/gnu/configure: Regenerated.
21960
006dd861
JL
219612012-06-21 Jeff Law <law@redhat.com>
21962
21963 [BZ #14277]
21964 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21965 free. Simplify list management for _LIBC case.
21966
79662d42
JM
219672012-06-21 Joseph Myers <joseph@codesourcery.com>
21968
b7abb4bf
JM
21969 [BZ #14273]
21970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21971 Clear sign bit of 64-bit integer value before comparing against
21972 overflow value.
21973
79662d42
JM
21974 * sysdeps/mach/configure: Regenerated.
21975
1f150908
L
219762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 [BZ #14278]
21979 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21980
28363bbf
JL
219812012-06-21 Jeff Law <law@redhat.com>
21982
21983 [BZ #13882]
21984 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21985 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21987 * elf/dl-open.c (dl_open_worker): Likewise.
21988
09615db4
CD
219892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21990
21991 * scripts/list-sources.sh: Scan PORTS for translations.
21992 * po/libc.pot: Regenerated.
21993
2174c6dd
AJ
219942012-06-21 Andreas Jaeger <aj@suse.de>
21995
21996 [BZ #12194]
21997 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21998 warning.
21999 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22000 * bits/byteswap-16.h (__bswap_16): Likewise.
22001 * bits/byteswap.h (__bswap_constant_16): Likewise.
22002
3ee947b1
L
220032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22004
22005 [BZ #14117]
a2f34833
L
22006 * sysdeps/i386/fpu_control.h: Removed.
22007 * sysdeps/x86_64/fpu_control.h: Moved to ...
22008 * sysdeps/x86/fpu_control.h: Here.
22009
3ee947b1
L
22010 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22011 (_FPU_SETCW): Likewise.
22012
ed1825f8
L
220132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22014
25f1282a
L
22015 [BZ #14117]
22016 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22017 * sysdeps/x86/fpu/bits/mathinline.h: This.
22018 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22019
ed1825f8
L
22020 [BZ #14050]
22021 [BZ #14117]
22022 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22023 functions if __x86_64__ is defined.
22024
36d54b74
CLT
220252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22026
22027 * string/endian.h: Add !__ASSEMBLER__ condition for including
22028 conversion interfaces.
22029
10285c21
JM
220302012-06-15 Joseph Myers <joseph@codesourcery.com>
22031
22032 [BZ #14241]
22033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22034 of ABS(x) in calculating zero to negative powers other than odd
22035 integers.
22036 * math/libm-test.inc (pow_test): Add more tests.
22037
06c5abbd
AJ
220382012-06-15 Andreas Jaeger <aj@suse.de>
22039
22040 * manual/contrib.texi (Contributors): Update entry of Liubov
22041 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22042 Machado Filho.
22043
a3aeac40
CH
220442012-06-15 Cyril Hrubis <metan@ucw.cz>
22045
22046 * string/string.h: Add __wur to GNU version of strerror_r.
22047
49bdf4c1
L
220482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22049
22050 [BZ #14229]
22051 * string/Makefile (tests): Add tst-strtok_r.
22052 * string/tst-strtok_r.c: New file.
22053 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22054 RAX_LP/RDX_LP on SAVE_PTR.
22055
834f9b8d
RM
220562012-06-14 Roland McGrath <roland@hack.frob.com>
22057
22058 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22059
75fa1921
JM
220602012-06-14 Joseph Myers <joseph@codesourcery.com>
22061
22062 * libm_test.inc (csqrt_test): Allow more spurious underflow
22063 exceptions.
22064 (j0_test): Likewise.
22065 (j1_test): Likewise.
22066 (y0_test): Likewise.
22067 (y1_test): Likewise.
22068
771766df
CD
220692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22070
22071 * po/Makefile (libc.pot): Use UTF-8 charset.
22072
ceb9e56b
PP
220732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22074
22075 [BZ #14210]
22076 Suppress sign-conversion warning from FD_SET.
22077 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22078 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22079 not unsigned long int.
22080 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22081
ddb28975
L
220822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 [BZ #14050]
22085 [BZ #14117]
22086 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22087 __extern_always_inline instead of __extern_inline.
22088 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22089 (__signbit): Likewise.
22090 (__signbitl): Support C++ namespace.
22091 (lrintf): New inline function.
22092 (lrint): Likewise.
22093 (llrintf): Likewise.
22094 (llrint): Likewise.
22095 (fmaxf): Likewise.
22096 (fmax): Likewise.
22097 (fminf): Likewise.
22098 (fmin): Likewise.
22099 (rint): Likewise.
22100 (rintf): Likewise.
22101 (ceil): Likewise.
22102 (ceilf): Likewise.
22103 (floor): Likewise.
22104 (floorf): Likewise.
22105 (nearbyint): Likewise.
22106 (nearbyintf): Likewise.
22107
d7b4fb26
TS
221082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22109
22110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22111 non-default versions.
22112
eb55f5c2
RM
221132012-06-11 Roland McGrath <roland@hack.frob.com>
22114
22115 [BZ #14218]
22116 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22117
366af02c
TS
221182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22119
99ff6e5c
TS
22120 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22121 (FE_UPWARD, FE_DOWNWARD): Don't define.
22122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22124
366af02c
TS
22125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22126 reading it.
22127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22129
793ea851
KK
221302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22131
22132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22135 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22136
a728a38f
L
221372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22138
22139 [BZ #14117]
c08010c7
L
22140 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22141 * sysdeps/i386/fpu/Implies: New file.
22142 * sysdeps/x86_64/fpu/Implies: Likewise.
22143 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22144 * sysdeps/x86/fpu/bits/fenv.h: This.
22145
a728a38f
L
22146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22147 __SSE_MATH__.
22148
6e230d11
SP
221492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22150
22151 [BZ #14134]
22152 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22153 character 0xffff that matches the last element of the
22154 conversion table.
22155
1b671feb
AZ
221562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22157
22158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22159 fmodl commit.
22160
6043738b
AZ
221612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22162
22163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22164 values higher than 25.6283.
22165
34ae0b32
AZ
221662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22167
22168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22169 subnormal exponent extraction and add some __builtin_expect.
22170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22171 Fix for subnormal mantissa calculation.
22172
1214ec8f
MF
221732012-06-04 Mike Frysinger <vapier@gentoo.org>
22174
22175 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22176 cpu2 is -1 and errno is not ENOSYS.
22177
f3d1f93c
L
221782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22179
22180 [BZ #14117]
0e4a3cd7
L
22181 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22182 * sysdeps/x86/bits/string.h: This.
22183 * sysdeps/x86_64/bits/string.h: Removed.
22184
6704c645
L
22185 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22186 if not compiling for x86-64, but compiling for >= i486.
22187
48495318
L
22188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22190
14adcbfc
L
22191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22192 New macro from Linux kernel 3.4.0.
22193 (FP_XSTATE_MAGIC2): Likewise.
22194 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22195 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22196 (struct _fpx_sw_bytes): New struct.
22197 (struct _xsave_hdr): Likewise.
22198 (struct _ymmh_state): Likewise.
22199 (struct _xstate): Likewise.
22200
68e408ab
L
22201 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22202 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22204 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22206 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22207
f3d1f93c
L
22208 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22210 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22211 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22212 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22213 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22214
d9dc34cd
TMQMF
222152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22216
22217 [BZ #13743]
22218 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22219 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22220 (sysdep_headers): Include sys/platform/ppc.h.
22221 * sysdeps/powerpc/test-gettimebase.c: Test for
22222 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22223 * manual/Makefile (appendices): Include platform.texi.
22224 * manual/contrib.texi (Contributors): Update @node pointers.
22225 * manual/maint.texi (Maintenance): Likewise.
22226 (Platform): New node.
22227 * manual/platform.texi: New file. Document the new features.
22228
4af3879c
SP
222292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22230 Jakub Jelinek <jakub@redhat.com>
22231
22232 [BZ #14188]
22233 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22234 where __builtin_expect is unavailable.
22235
2fd6ff13
DM
222362012-06-03 David S. Miller <davem@davemloft.net>
22237
22238 * stdlib/longlong.h: Updated from GCC.
22239
173f7220
AS
222402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22241
22242 [BZ #14042]
22243 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22244 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22245 __mcount_internal.
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22247 (GLIBC_2.16): Likewise.
22248
f34a1c6f
L
222492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22252
88a4576f
JM
222532012-06-01 Joseph Myers <joseph@codesourcery.com>
22254
ea32bcdd
JM
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22256 (default-abi): New variable.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22259 variable.
22260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22261 Likewise.
22262 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22263 Likewise.
22264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22265 Likewise.
22266
88a4576f
JM
22267 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22268 definition. Document in comment.
22269
402fe938
DM
222702012-06-01 David S. Miller <davem@davemloft.net>
22271
22272 * stdlib/longlong.h: Updated from GCC.
22273
3553723f
L
222742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22275
22276 [BZ #14117]
3bd872c4
L
22277 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22278 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22279 sys/debugreg.h sys/io.h here.
22280 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22281 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22282 sys/io.h.
22283 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22284 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22286 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22288 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22289
3553723f
L
22290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22291 Define only if __x86_64__ is defined.
22292
4842e4fe
JM
222932012-06-01 Joseph Myers <joseph@codesourcery.com>
22294
c5bfe3d5
JM
22295 [BZ #14048]
22296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22297 Use int64_t for variable i.
22298 * math/libm-test.inc (fmod_test): Add more tests.
22299
4842e4fe
JM
22300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22301 z computation is not scheduled after fetestexcept.
22302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22303 Use math_force_eval instead of asm to ensure calculation scheduled
22304 before exception test.
22305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22306 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22307
efb73488
AJ
223082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22309
22310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22311 computation is not scheduled after fetestexcept.
22312
29bcce7c
L
223132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22314
22315 [BZ #14117]
22316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22317 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22318
73a68f94
AZ
223192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22320
22321 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22323
67b6df78
L
223242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22325
edf2933a 22326 [BZ #14117]
ebc64a18
L
22327 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22328 <bits/wordsize.h>.
22329 (__WCHAR_MIN): Support __WORDSIZE == 64.
22330 (__WCHAR_MAX): Likewise.
22331
edf2933a
L
22332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22334
57c6cf40
L
22335 [BZ #14183]
22336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22337 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22338
67b6df78 22339 [BZ #14117]
8eb6281e
L
22340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22342
aac639f4
L
22343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22345
67b6df78
L
22346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22347 Defined to 1 if __x86_64__ isn't defined.
22348 (_STAT_VER_LINUX_OLD): New.
22349 (st_atime): Remove duplicate.
22350 (st_mtime): Likewise.
22351 (st_ctime): Likewise.
22352
1c2cfe81
DM
223532012-05-31 David S. Miller <davem@davemloft.net>
22354
22355 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22356 entries.
22357
5be8418c
AS
223582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22359
e7725326
AS
22360 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22361 gen-libm-test.pl.
22362
5be8418c
AS
22363 [BZ #14132]
22364 * elf/dl-reloc.c: Include <_itoa.h>.
22365 (_dl_reloc_bad_type): Remove use of INTUSE.
22366 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22367 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22368 * stdio-common/psiginfo.c (psiginfo): Likewise.
22369 * stdio-common/psignal.c (psignal): Likewise.
22370 * string/strsignal.c (strsignal): Likewise.
22371 * include/signal.h (_sys_siglist): Declare hidden proto.
22372 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22373 INTVARDEF with libc_hidden_data_def.
22374 * stdio-common/itoa-udigits.c: Likewise.
22375 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22376 (_itoa_lower_digits_internal): Remove declaration.
22377 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22378 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22379 (_sys_sigabbrev_internal): Remove aliases.
22380 (_sys_siglist): Define hidden alias.
22381
507352f1
MT
223822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22383
22384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22385 bits/sysctl.h.
22386
42bbb1c3
L
223872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 [BZ #14117]
6bd784b6
L
22390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22391 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22392
8bca20f0
L
22393 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22396 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22398 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22399
f9e890a9
L
22400 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22401 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22403
471101a1
L
22404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22405 with __addr.
22406 (insw): Likewise.
22407 (insl): Likewise.
22408 (outsb): Likewise.
22409 (outsw): Likewise.
22410 (outsl): Likewise.
22411
6451c862
L
22412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22415
a254b8c9
L
22416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22417 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22422
b8dfdd92
L
22423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22424 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22425
578cd270
L
22426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22428
de662f5f
L
22429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22432
25653439
L
22433 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22434 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22435 to ...
22436 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22437
6bad24a0
L
22438 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22440 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22441
42bbb1c3
L
22442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22443 for x86-64.
22444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22445
2d10d547
JM
224462012-05-31 Joseph Myers <joseph@codesourcery.com>
22447
22448 * math/math.h (M_El): Use two more decimal places.
22449 (M_LOG2El): Likewise.
22450 (M_LOG10El): Likewise.
22451 (M_LN2l): Likewise.
22452 (M_LN10l): Likewise.
22453 (M_PIl): Likewise.
22454 (M_PI_2l): Likewise.
22455 (M_PI_4l): Likewise.
22456 (M_1_PIl): Likewise.
22457 (M_2_PIl): Likewise.
22458 (M_2_SQRTPIl): Likewise.
22459 (M_SQRT2l): Likewise.
22460 (M_SQRT1_2l): Likewise.
22461
f230c29b
DM
224622012-05-31 David S. Miller <davem@davemloft.net>
22463
22464 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22465 values between float registers.
22466 * sysdeps/sparc/sparc64/memset.S: Likewise.
22467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22468
fed806c3
MF
224692012-05-31 Mike Frysinger <vapier@gentoo.org>
22470
22471 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22472 -D_FORTIFY_SOURCE=1.
22473 (CPPFLAGS-tst-longjmp_chk.c): Define.
22474 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22475 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22476 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22477 CFLAGS-tst-wchar-h.c.
22478
30917259
MP
224792012-05-31 Marek Polacek <polacek@redhat.com>
22480
22481 [BZ #14132]
22482 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22483 __endmntent_internal): Remove declaration.
22484 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22485 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22486 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22487
1c58d5dc
DM
224882012-05-30 David S. Miller <davem@davemloft.net>
22489
22490 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22491 (___Q_simulate_exceptions): Use real FP ops rather than writing
22492 into the %fsr.
22493 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22494 Likewise.
22495
7dc00e0d
L
224962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22497
22498 [BZ #14117]
0bd53985
L
22499 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22500 * sysdeps/x86/bits/xtitypes.h: This.
22501
3a257e66
L
22502 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22503 * sysdeps/x86/bits/wordsize.h: This.
22504
62f62904
L
22505 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22506 * sysdeps/x86/bits/huge_vall.h: This.
22507
404fe9d9
L
22508 * sysdeps/i386/bits/select.h: Removed.
22509 * sysdeps/x86_64/bits/select.h: Renamed to ...
22510 * sysdeps/x86/bits/select.h: This.
22511
d48d0446
L
22512 * sysdeps/i386/bits/setjmp.h: Removed.
22513 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22514 * sysdeps/x86/bits/setjmp.h: This.
22515
7dc00e0d
L
22516 * sysdeps/i386/bits/mathdef.h: Removed.
22517 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22518 * sysdeps/x86/bits/mathdef.h: This.
22519
03277f8f
AS
225202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22521
22522 [BZ #14132]
22523 * include/sys/socket.h (__connect_internal)
22524 (__libc_sa_len_internal): Remove declaration.
22525 (__connect, __libc_sa_len): Declare hidden_proto.
22526 (SA_LEN): Remove use of INTUSE.
22527 * socket/connect.c: Add libc_hidden_def.
22528 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22529 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22530 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22531 alias.
22532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22534 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22535 of adding _internal alias.
22536
13764867
L
225372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 [BZ #14117]
6bd97696
L
22540 * sysdeps/i386/bits/link.h: Removed.
22541 * sysdeps/i386/bits/linkmap.h: Likewise.
22542 * sysdeps/x86_64/bits/link.h: Renamed to ...
22543 * sysdeps/x86/bits/link.h: This.
22544 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22545 * sysdeps/x86/bits/linkmap.h: This.
22546
f726f0bb
L
22547 * sysdeps/i386/bits/endian.h: Removed.
22548 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22549 * sysdeps/x86/bits/endian.h: This.
22550
13764867
L
22551 * sysdeps/i386/bits/byteswap.h: Removed.
22552 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22553 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22554 * sysdeps/x86/bits/byteswap.h: This.
22555 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22556 * sysdeps/x86/bits/byteswap-16.h: This.
22557 * sysdeps/i386/Implies: Add x86.
22558 * sysdeps/x86_64/Implies: Likewise.
22559
ae251b0b
DM
225602012-05-30 David S. Miller <davem@davemloft.net>
22561
22562 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22563 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22565 (FP_TRAPPING_EXCEPTIONS): Define.
22566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22567 (FP_TRAPPING_EXCEPTIONS): Define.
22568 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22569 subnormals only when inexact has been signalled or underflow
22570 exceptions are enabled.
22571 (_FP_PACK_CANONICAL): Likewise.
22572
d5c90867
L
225732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22574
22575 [BZ #14183]
22576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22577 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22578
63f1549e
RH
225792012-05-30 Richard Henderson <rth@twiddle.net>
22580
8d8f2279
RH
22581 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22582 with #ifndef NOT_IN_libc.
22583
63f1549e
RH
22584 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22585 marked to avoid plt entry.
22586
0ab0291b
L
225872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22588
22589 [BZ #14112]
22590 * Makeconfig (default-abi): New macro.
22591 (abi-includes): Likewise.
22592 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22593 $(abi-$(default-abi)-lib-soname) for soname if defined.
22594 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22595 abi-variants.
22596 * Makefile (installed-stubs): Likewise.
22597 * include/stubs-biarch.h: Removed.
22598 * scripts/lib-names.awk: Only handle one library at a time.
22599 * scripts/soversions.awk: Remove WORDSIZE support.
22600 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22601 entries.
22602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22603 Removed.
22604 (syscall-list-default-condition): Likewise.
22605 (syscall-list-default-condition): Likewise.
22606 (syscall-list-includes): Likewise.
22607 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22608 syscall-list-* with abi-*. Handle undefined abi-variants.
22609 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22610 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22611 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22612 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22614 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22615 Removed.
22616 (syscall-list-32-options): Likewise.
22617 (syscall-list-32-condition): Likewise.
22618 (syscall-list-64-options): Likewise.
22619 (syscall-list-64-condition): Likewise.
22620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22621 macro.
22622 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22623 Renamed to ...
22624 (abi-*): This.
22625 (abi-64-ld-soname): New macro.
22626 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22628 Renamed to ...
22629 (abi-*): This.
22630 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22631 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22632
4da0431d
JM
226332012-05-30 Joseph Myers <joseph@codesourcery.com>
22634
3a85279c
JM
22635 * sysdeps/unix/sysv/linux/kernel-features.h
22636 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22637 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22638 include <kernel-features.h>.
22639 [!__NR_ftruncate64]: Remove conditional code.
22640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22641 [__NR_ftruncate64]: Make code unconditional.
22642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22643 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22644 include <kernel-features.h>.
22645 [!__NR_ftruncate64]: Remove conditional code.
22646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22647 [__NR_ftruncate64]: Make code unconditional.
22648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22650 include <kernel-features.h>.
22651 [!__NR_ftruncate64]: Remove conditional code.
22652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22653 [__NR_ftruncate64]: Make code unconditional.
22654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22656 include <kernel-features.h>.
22657 [!__NR_ftruncate64]: Remove conditional code.
22658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22659 [__NR_ftruncate64]: Make code unconditional.
22660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22661
4da0431d
JM
22662 * configure.in (libc_cv_fpie): Weaken to a compile test using
22663 LIBC_TRY_CC_OPTION.
22664 * configure: Regenerated.
22665
11ef492c
AK
226662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22667
22668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22672 Refreshed.
22673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22679 Refreshed.
22680
d66ef399
DM
226812012-05-27 David S. Miller <davem@davemloft.net>
22682
22683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22684 (___Q_zero): New.
22685 (__Q_simulate_exceptions): Return void. Change to simulate
22686 exceptions by writing into the %fsr.
22687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22688 (__Qp_handle_exceptions): Likewise.
22689 (numbers): Delete.
22690 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22691 __Qp_handle_exceptions.
22692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22693 __Qp_handle_exceptions.
22694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22695 as unused and give dummy FP_RND_NEAREST initializer.
22696 (FP_INHIBIT_RESULTS): Define.
22697 (___Q_simulate_exceptions): Update declaration.
22698 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22699 formatting.
22700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22701 as unused and give dummy FP_RND_NEAREST initializer.
22702 (__Qp_handle_exceptions): Update declaration.
22703 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22704 formatting.
22705
04fb54b5
TS
227062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22707
22708 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22709 the temporary FPU control word.
22710 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22711 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22712 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22713 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22716 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22718 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22719 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22721
3f99608f
KK
227222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22723
22724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22725 fields.
22726
65a4de4e
CLT
227272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22728
22729 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22730 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22733 Likewise.
22734 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22735 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22736 Likewise.
22737
15749d40
UD
227382012-05-27 Ulrich Drepper <drepper@gmail.com>
22739
22740 * po/h.po: Update from translation team.
22741
25dbcb27
AS
227422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22743
3d3f8e55
AS
22744 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22745
25dbcb27
AS
22746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22747 handling of denormals.
22748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22755 Likewise.
22756
7ad47a80 227572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22758
22759 [BZ #14152]
22760 * math/libm-test.inc (fma_test): Don't always expect underflow
22761 exception.
22762
9c6ea9fa
SP
227632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22764
22765 [BZ #12416]
22766 * elf/tst-execstack.c: Include stackinfo.h.
22767 (do_test): Adjust test case to ensure that pthread_getattr_np
22768 behaviour remains the same after marking stack executable.
22769
a8239222
JM
227702012-05-25 Joseph Myers <joseph@codesourcery.com>
22771
22772 * sysdeps/unix/sysv/linux/kernel-features.h
22773 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22774 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22775 kernel-features.h.
22776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22778 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22779 kernel-features.h.
22780 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22781 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22782
918b5606
L
227832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22784
22785 * configure.in: Define the default includes to being none.
22786 * configure: Regenerated.
22787
3a097cc7
RM
227882012-05-25 Roland McGrath <roland@hack.frob.com>
22789
8422c9a5
RM
22790 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22791 * sysdeps/x86_64/setjmp.S: Likewise.
22792 * sysdeps/i386/bsd-setjmp.S: Likewise.
22793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22794 * sysdeps/i386/setjmp.S: Likewise.
22795 * sysdeps/i386/__longjmp.S: Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22798
3a097cc7
RM
22799 * include/stap-probe.h: New file.
22800 * configure.in: Handle --enable-systemtap.
22801 * configure: Regenerated.
22802 * config.h.in (USE_STAP_PROBE): New #undef.
22803 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22804 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22806
21708942
JM
228072012-05-25 Joseph Myers <joseph@codesourcery.com>
22808
22809 [BZ #13717]
22810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22811 to 2.4.0 where earlier.
22812 * sysdeps/unix/sysv/linux/configure: Regenerated.
22813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22814 <kernel-features.h>.
22815 [__ASSUME_32BITUIDS]: Make code unconditional.
22816 [!__ASSUME_32BITUIDS]: Remove conditional code.
22817 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22818 <kernel-features.h>.
22819 [__ASSUME_32BITUIDS]: Make code unconditional.
22820 [!__ASSUME_32BITUIDS]: Remove conditional code.
22821 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22822 [__ASSUME_32BITUIDS]: Make code unconditional.
22823 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22824 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22825 <kernel-features.h>.
22826 [__ASSUME_32BITUIDS]: Make code unconditional.
22827 [!__ASSUME_32BITUIDS]: Remove conditional code.
22828 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22829 <kernel-features.h>.
22830 [__ASSUME_32BITUIDS]: Make code unconditional.
22831 [!__ASSUME_32BITUIDS]: Remove conditional code.
22832 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22833 <kernel-features.h>.
22834 [__ASSUME_32BITUIDS]: Make code unconditional.
22835 [!__ASSUME_32BITUIDS]: Remove conditional code.
22836 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22837 <kernel-features.h>.
22838 [__ASSUME_32BITUIDS]: Make code unconditional.
22839 [!__ASSUME_32BITUIDS]: Remove conditional code.
22840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22841 <kernel-features.h>.
22842 [__ASSUME_32BITUIDS]: Make code unconditional.
22843 [!__ASSUME_32BITUIDS]: Remove conditional code.
22844 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22845 <kernel-features.h>.
22846 [__ASSUME_32BITUIDS]: Make code unconditional.
22847 [!__ASSUME_32BITUIDS]: Remove conditional code.
22848 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22849 <kernel-features.h>.
22850 [__ASSUME_32BITUIDS]: Make code unconditional.
22851 [!__ASSUME_32BITUIDS]: Remove conditional code.
22852 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22853 <kernel-features.h>.
22854 [__ASSUME_32BITUIDS]: Make code unconditional.
22855 [!__ASSUME_32BITUIDS]: Remove conditional code.
22856 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
22865 <kernel-features.h>.
22866 [__NR_setresgid] (__setresgid): Do not declare.
22867 [__ASSUME_32BITUIDS]: Make code unconditional.
22868 [!__ASSUME_32BITUIDS]: Remove conditional code.
22869 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22870 <kernel-features.h>.
22871 [__NR_setresuid] (__setresuid): Do not declare.
22872 [__ASSUME_32BITUIDS]: Make code unconditional.
22873 [!__ASSUME_32BITUIDS]: Remove conditional code.
22874 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22875 <kernel-features.h>.
22876 [__ASSUME_32BITUIDS]: Make code unconditional.
22877 [!__ASSUME_32BITUIDS]: Remove conditional code.
22878 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22879 <kernel-features.h>.
22880 [__ASSUME_32BITUIDS]: Make code unconditional.
22881 [!__ASSUME_32BITUIDS]: Remove conditional code.
22882 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22883 <kernel-features.h>.
22884 [__ASSUME_32BITUIDS]: Make code unconditional.
22885 [!__ASSUME_32BITUIDS]: Remove conditional code.
22886 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22887 <kernel-features.h>.
22888 [__ASSUME_32BITUIDS]: Make code unconditional.
22889 [!__ASSUME_32BITUIDS]: Remove conditional code.
22890 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22891 <kernel-features.h>.
22892 [__ASSUME_32BITUIDS]: Make code unconditional.
22893 [!__ASSUME_32BITUIDS]: Remove conditional code.
22894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22895 <kernel-features.h>.
22896 [__ASSUME_32BITUIDS]: Make code unconditional.
22897 [!__ASSUME_32BITUIDS]: Remove conditional code.
22898 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22899 <kernel-features.h>.
22900 [__ASSUME_32BITUIDS]: Make code unconditional.
22901 [!__ASSUME_32BITUIDS]: Remove conditional code.
22902 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22903 <kernel-features.h>.
22904 [__ASSUME_32BITUIDS]: Make code unconditional.
22905 [!__ASSUME_32BITUIDS]: Remove conditional code.
22906 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
22915 (__ASSUME_SETRESUID_SYSCALL): Remove.
22916 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22917 (__ASSUME_32BITUIDS): Likewise.
22918 (__ASSUME_LDT_WORKS): Likewise.
22919 (__ASSUME_O_DIRECTORY): Likewise.
22920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22921 architecture but not kernel version.
22922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22923 (__ASSUME_MMAP2_SYSCALL): Likewise.
22924 (__ASSUME_STAT64_SYSCALL): Likewise.
22925 (__ASSUME_IPC64): Likewise.
22926 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22927 <kernel-features.h>.
22928 [__ASSUME_32BITUIDS]: Make code unconditional.
22929 [!__ASSUME_32BITUIDS]: Remove conditional code.
22930 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22931 <kernel-features.h>.
22932 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22933 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22934 132096]: Remove conditional code.
22935 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22937 <kernel-features.h>.
22938 [__ASSUME_32BITUIDS]: Make code unconditional.
22939 [!__ASSUME_32BITUIDS]: Remove conditional code.
22940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22941 <kernel-features.h>.
22942 [__ASSUME_32BITUIDS]: Make code unconditional.
22943 [!__ASSUME_32BITUIDS]: Remove conditional code.
22944 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22945 <kernel-features.h>.
22946 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22947 unconditional.
22948 (__setresgid): Do not declare.
22949 [__ASSUME_32BITUIDS]: Make code unconditional.
22950 [!__ASSUME_32BITUIDS]: Remove conditional code.
22951 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22952 <kernel-features.h>.
22953 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22954 unconditional.
22955 (__setresuid): Do not declare.
22956 [__ASSUME_32BITUIDS]: Make code unconditional.
22957 [!__ASSUME_32BITUIDS]: Remove conditional code.
22958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_32BITUIDS]: Make code unconditional.
22965 [!__ASSUME_32BITUIDS]: Remove conditional code.
22966
a386f1cc
RH
229672012-05-25 Richard Henderson <rth@twiddle.net>
22968
22969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22970 dl_hwcap to ifunc resolver.
22971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22972 elf_ifunc_invoke.
22973 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22974 dl_hwcap to ifunc resolver.
22975 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22976
b6550497
JM
229772012-05-24 Joseph Myers <joseph@codesourcery.com>
22978
22979 [BZ #14153]
22980 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22981 for |x| <= 2**-26, not 2**-57.
22982 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22983 exception.
22984
b0bc23a1
JL
229852012-05-24 Jeff Law <law@redhat.com>
22986
22987 * stdio-common/Makefile (tests): Add bug25.
22988 * stdio-common/bug25.c: New test.
22989
347c92e9
L
229902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 [BZ #13576]
22993 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22994 multiple of MALLOC_ALIGNMENT in size.
22995 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22996
6bcc8b3f
JM
229972012-05-24 Joseph Myers <joseph@codesourcery.com>
22998
22999 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23000 Require >= 256.
23001 (FILENAME_MAX): Use macro-int-constant.
23002 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23003 (_IOFBF): Use macro-int-constant.
23004 (_IOLBF): Likewise.
23005 (_IONBF): Likewise.
23006 (SEEK_CUR): Likewise.
23007 (SEEK_END): Likewise.
23008 (SEEK_SET): Likewise.
23009 (TMP_MAX): Likewise.
23010 (EOF): Use macro-int-constant. Require < 0.
23011 (NULL): Use macro-constant. Require == 0.
23012 (stdin): Require type to be FILE *.
23013 (stdout): Likewise.
23014 (stderr): Likewise.
23015 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23016 macro-int-constant.
23017 (EXIT_SUCCESS): Likewise.
23018 (NULL): Use macro-constant. Require == 0.
23019 (RAND_MAX): Use macro-int-constant.
23020 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23021 [C99-based standards] (strtof): Require function.
23022 [C99-based standards] (strtold): Likewise.
23023 [C99-based standards] (strtoll): Likewise.
23024 [C99-based standards] (strtoull): Likewise.
23025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23026 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23027 [ISO || ISO99 || ISO11] (math.h): Likewise.
23028 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23029 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23031
d18ea0c5
AS
230322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23033
23034 [BZ #14132]
56d25bb8
AS
23035 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23036 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23037 * intl/dgettext.c (DCGETTEXT): Likewise.
23038 * intl/gettext.c (DCGETTEXT): Likewise.
23039 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23040 * posix/regex_internal.h (gettext): Likewise.
23041 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23042 Remove declaration.
23043 * include/argz.h (__argz_count_internal)
23044 (__argz_stringify_internal): Remove declaration.
23045 (__argz_count, __argz_stringify): Declare hidden proto.
23046 * intl/dcgettext.c: Remove use of INTDEF.
23047 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23048 * string/argz-stringify.c: Likewise.
23049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23051 Declare hidden proto.
d18ea0c5
AS
23052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23054 Declare hidden proto.
23055 * include/stdio.h (__asprintf_internal): Don't declare.
23056 (__asprintf): Don't define as macro. Declare hidden proto.
23057 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23058 (__fsetlocking): Declare hidden proto.
23059 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23060 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23061 hidden proto.
23062 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23063 (_IO_setlinebuf): Remove use of INTUSE.
23064 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23065 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23066 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23067 Remove declaration.
23068 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23069 (_IO_do_flush): Remove use of INTUSE.
23070 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23071 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23072 (_IO_adjust_column, _IO_least_wmarker)
23073 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23074 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23075 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23076 (_IO_default_doallocate, _IO_wdefault_doallocate)
23077 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23078 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23079 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23080 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23081 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23082 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23083 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23084 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23085 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23086 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23087 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23088 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23089 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23090 proto.
23091 (_IO_flush_all_internal, _IO_adjust_column_internal)
23092 (_IO_default_uflow_internal, _IO_default_finish_internal)
23093 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23094 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23095 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23096 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23097 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23098 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23099 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23100 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23101 (_IO_file_close_internal, _IO_file_close_it_internal)
23102 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23103 (_IO_file_init_internal, _IO_file_attach_internal)
23104 (_IO_file_fopen_internal, _IO_file_read_internal)
23105 (_IO_file_sync_internal, _IO_file_seek_internal)
23106 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23107 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23108 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23109 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23110 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23111 (_IO_list_all_internal, _IO_link_in_internal)
23112 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23113 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23114 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23115 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23116 (_IO_do_write_internal, _IO_padn_internal)
23117 (_IO_getline_info_internal, _IO_getline_internal)
23118 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23119 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23120 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23121 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23122 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23123 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23124 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23125 with libc_hidden_ver, remove use of INTUSE.
23126 * libio/genops.c: Likewise.
23127 * libio/freopen.c: Likewise.
23128 * libio/freopen64.c: Likewise.
23129 * libio/iofclose.c: Likewise.
23130 * libio/iofdopen.c: Likewise.
23131 * libio/iofflush.c: Likewise.
23132 * libio/iofflush_u.c: Likewise.
23133 * libio/iofgets.c: Likewise.
23134 * libio/iofgets_u.c: Likewise.
23135 * libio/iofopen.c: Likewise.
23136 * libio/iofopncook.c: Likewise.
23137 * libio/iofread.c: Likewise.
23138 * libio/iofread_u.c: Likewise.
23139 * libio/ioftell.c: Likewise.
23140 * libio/iofwrite.c: Likewise.
23141 * libio/iogetline.c: Likewise.
23142 * libio/iogets.c: Likewise.
23143 * libio/iogetwline.c: Likewise.
23144 * libio/iopadn.c: Likewise.
23145 * libio/iopopen.c: Likewise.
23146 * libio/ioseekoff.c: Likewise.
23147 * libio/ioseekpos.c: Likewise.
23148 * libio/iosetbuffer.c: Likewise.
23149 * libio/iosetvbuf.c: Likewise.
23150 * libio/ioungetc.c: Likewise.
23151 * libio/ioungetwc.c: Likewise.
23152 * libio/iovdprintf.c: Likewise.
23153 * libio/iovsprintf.c: Likewise.
23154 * libio/iovsscanf.c: Likewise.
23155 * libio/memstream.c: Likewise.
23156 * libio/obprintf.c: Likewise.
23157 * libio/oldfileops.c: Likewise.
23158 * libio/oldiofclose.c: Likewise.
23159 * libio/oldiofdopen.c: Likewise.
23160 * libio/oldiofopen.c: Likewise.
23161 * libio/oldiopopen.c: Likewise.
23162 * libio/oldstdfiles.c: Likewise.
23163 * libio/putc.c: Likewise.
23164 * libio/setbuf.c: Likewise.
23165 * libio/setlinebuf.c: Likewise.
23166 * libio/stdfiles.c: Likewise.
23167 * libio/strops.c: Likewise.
23168 * libio/vasprintf.c: Likewise.
23169 * libio/vscanf.c: Likewise.
23170 * libio/vsnprintf.c: Likewise.
23171 * libio/vswprintf.c: Likewise.
23172 * libio/wfiledoalloc.c: Likewise.
23173 * libio/wfileops.c: Likewise.
23174 * libio/wgenops.c: Likewise.
23175 * libio/wmemstream.c: Likewise.
23176 * libio/wstrops.c: Likewise.
23177 * libio/__fpurge.c: Likewise.
23178 * libio/__fsetlocking.c: Likewise.
23179 * assert/assert.c: Likewise.
23180 * debug/fgets_chk.c: Likewise.
23181 * debug/fgets_u_chk.c: Likewise.
23182 * debug/fread_chk.c: Likewise.
23183 * debug/fread_u_chk.c: Likewise.
23184 * debug/gets_chk.c: Likewise.
23185 * debug/obprintf_chk.c: Likewise.
23186 * debug/vasprintf_chk.c: Likewise.
23187 * debug/vdprintf_chk.c: Likewise.
23188 * debug/vsnprintf_chk.c: Likewise.
23189 * debug/vsprintf_chk.c: Likewise.
23190 * malloc/mtrace.c: Likewise.
23191 * misc/error.c: Likewise.
23192 * misc/syslog.c: Likewise.
23193 * stdio-common/asprintf.c: Likewise.
23194 * stdio-common/fxprintf.c: Likewise.
23195 * stdio-common/getw.c: Likewise.
23196 * stdio-common/isoc99_fscanf.c: Likewise.
23197 * stdio-common/isoc99_scanf.c: Likewise.
23198 * stdio-common/isoc99_vfscanf.c: Likewise.
23199 * stdio-common/isoc99_vscanf.c: Likewise.
23200 * stdio-common/isoc99_vsscanf.c: Likewise.
23201 * stdio-common/printf-prs.c: Likewise.
23202 * stdio-common/printf_fp.c: Likewise.
23203 * stdio-common/printf_fphex.c: Likewise.
23204 * stdio-common/printf_size.c: Likewise.
23205 * stdio-common/putw.c: Likewise.
23206 * stdio-common/scanf.c: Likewise.
23207 * stdio-common/sprintf.c: Likewise.
23208 * stdio-common/tmpfile.c: Likewise.
23209 * stdio-common/vfprintf.c: Likewise.
23210 * stdio-common/vfscanf.c: Likewise.
23211 * stdlib/strfmon_l.c: Likewise.
23212 * sunrpc/openchild.c: Likewise.
23213 * sunrpc/xdr_stdio.c: Likewise.
23214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23215 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23216
d6c33fda
RM
232172012-05-24 Roland McGrath <roland@hack.frob.com>
23218
c1487492
RM
23219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23220
23221 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23222 in the third column, to generate for the shared library an IFUNC
23223 that uses _dl_vdso_vsym.
23224 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23225 * Makeconfig (object-suffixes-noshared): New variable.
23226
23227 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23228 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23229 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23230 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23231
d6c33fda
RM
23232 [BZ #14132]
23233 * include/sys/time.h (__gettimeofday): Remove macro.
23234 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23235 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23236 Remove INTDEF.
23237 (__gettimeofday): Add libc_hidden_def.
23238 (gettimeofday): Add libc_hidden_weak.
23239 * sysdeps/mach/gettimeofday.c: Likewise.
23240 * sysdeps/posix/gettimeofday.c: Likewise.
23241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23242 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23244 (__gettimeofday_internal): Remove strong_alias.
23245 (__gettimeofday): Add libc_hidden_def.
23246 (gettimeofday): Add libc_hidden_weak.
23247 * sysdeps/unix/syscalls.list (gettimeofday):
23248 Remove __gettimeofday_internal alias.
23249
b5a2bbe6
L
232502012-05-24 Daniel Jacobowitz <drow@false.org>
23251 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 [BZ #12495]
23254 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23255 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23256 (largebin_index_32_big): New.
23257 (largebin_index): Use it for 16-byte alignment.
23258 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23259 correction with front_misalign.
23260
cfba4fda
L
232612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23262
7f907421
L
23263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23265 Likewise.
23266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23267 Likewise.
23268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23269 Likewise.
23270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23271 Likewise.
23272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23273 Likewise.
23274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23275 Likewise.
23276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23277 Likewise.
23278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23279 Likewise.
23280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23281 Likewise.
23282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23283 Likewise.
23284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23285 Likewise.
23286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23287 Likewise.
23288
cfba4fda
L
23289 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23290 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23291
80bad0cc
JM
232922012-05-24 Joseph Myers <joseph@codesourcery.com>
23293
7a25eb06
JM
23294 [BZ #10846]
23295 [BZ #14036]
23296 * math/libm-test.inc (exp_test): Add test from bug 14036.
23297 (pow_test): Add test from bug 10846.
23298
795405f9
JM
23299 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23300 and other flags.
23301 (special_function): Do not include flags in test name.
23302 (parse_args): Likewise.
23303 * sysdeps/i386/fpu/libm-test-ulps: Update.
23304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23308
80bad0cc
JM
23309 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23310 exceptions.
23311 * math/libm-test.inc ("Philosophy"): Update comment about
23312 exception testing.
23313 (UNDERFLOW_EXCEPTION): New macro.
23314 (UNDERFLOW_EXCEPTION_OK): Likewise.
23315 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23316 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23317 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23318 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23319 (INVALID_EXCEPTION_OK): Update value.
23320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23321 (OVERFLOW_EXCEPTION_OK): Likewise.
23322 (IGNORE_ZERO_INF_SIGN): Likewise.
23323 (test_exceptions): Handle underflow exceptions.
23324 (acos_test): Update for underflow exception expectations.
23325 (cexp_test): Likewise.
23326 (clog_test): Likewise.
23327 (clog10_test): Likewise.
23328 (csqrt_test): Likewise.
23329 (ctan_test): Likewise.
23330 (ctanh_test): Likewise.
23331 (exp_test): Likewise.
23332 (exp10_test): Likewise.
23333 (exp2_test): Likewise.
23334 (expm1_test): Likewise.
23335 (fma_test): Likewise.
23336 (j0_test): Likewise.
23337 (jn_test): Likewise.
23338 (nexttoward_test): Likewise.
23339 (pow_test): Likewise.
23340 (scalbn_test): Likewise.
23341 (scalbln_test): Likewise.
23342 (tan_test): Likewise.
23343 (y1_test): Likewise.
23344 * sysdeps/i386/fpu/libm-test-ulps: Update.
23345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346
9e0e3d0b
DM
233472012-05-23 David S. Miller <davem@davemloft.net>
23348
23349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23350 (__libc_sigaction): Remove unused local variables.
23351
ccd0a08f
L
233522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23353
23354 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23355
62bdf9a6
PE
233562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23357
f8591f80
PE
23358 mktime: avoid signed integer overflow
23359 * time/mktime.c (__mktime_internal): Do not mishandle the case
23360 where diff == INT_MIN.
23361
94c7d826
PE
23362 mktime: simplify computation of average
23363 * time/mktime.c (ranged_convert): Use new time_t_avg function
23364 instead of rolling our own (probably-slower) code.
23365
ce73d683
PE
23366 mktime: do not assume signed right shift propagates sign bit
23367 * time/mktime.c (isdst_differ): New static function.
23368 (__mktime_internal): No need to normalize tm_isdst now.
23369 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23370 tm_isdst values.
23371
72a22e59
PE
23372 mktime: merge another wrapv change from gnulib
23373 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23374 from some compilers.
23375
68605433
PE
23376 mktime: remove incorrect attempt at unusual arithmetics
23377 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23378 The code didn't really work on such machines anyway.
23379 (TYPE_MINIMUM): Assume two's complement.
23380 (twos_complement_arithmetic): Verify that long_int and time_t
23381 are two's complement (or unsigned, in the latter case).
23382
03cf7fe3
PE
23383 mktime: check signed shifts on long_int and time_t, too
23384 * time/mktime.c (SHR): Check that shifts work as desired
23385 on the types long_int and time_t too, as SHR is used on
23386 such types.
23387
f04dfbc2
PE
23388 mktime: do not assume 'long' is wide enough
23389 * time/mktime.c (verify): Move decl up.
23390 (long_int): New type.
23391 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23392 to remove assumption in the code that 'long' is wide enough to
23393 store year values. This assumption is not true on x32 and on
23394 some non-glibc platforms.
23395
62bdf9a6
PE
23396 mktime: merge wrapv change from gnulib
23397 * time/mktime.c (WRAPV): New macro.
23398 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23399 (guess_time_tm, __mktime_internal): Do not assume that signed
23400 integer overflow wraps around; modern compilers generate code
23401 where this assumption is no longer valid.
23402
5e292e4f
L
234032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23404
23405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23406 Replace "jmp L(pseudo_end)" with "ret".
23407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23408 Likewise.
23409
8caf8c87
AJ
234102012-05-23 Andreas Jaeger <aj@suse.de>
23411
23412 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23413 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23414
1a09dc56
AJ
234152012-05-23 Andreas Jaeger <aj@suse.de>
23416 Maximilian Attems <max@stro.at>
23417
23418 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23419 New macros.
23420
1c87aba0
L
234212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23424 code so that pseudo_end is just ret and the stack pointer is
23425 correct also for static library in error case.
23426
40e45bd5
JM
234272012-05-23 Joseph Myers <joseph@codesourcery.com>
23428
c2670533
JM
23429 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23430 move to syscalls.list.
23431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23435
40e45bd5
JM
23436 * manual/install.texi (Running make install): Do not mention Linux
23437 kernel version for which pt_chown is not needed.
23438 (Linux): Do not mention problems with nscd with 2.0 kernels.
23439 * INSTALL: Regenerated.
23440
be08eda5
AJ
234412012-05-23 Andreas Jaeger <aj@suse.de>
23442
23443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23444 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23445 macro.
23446 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23448 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23450 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23456 * sysdeps/unix/sysv/linux/bits/in.h
23457 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23458
a6a056bb
RM
234592012-05-22 Roland McGrath <roland@hack.frob.com>
23460
23461 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23462 (PREPARE_VERSION): Just use assert instead, it will be elided
23463 under [NDEBUG] anyway.
23464
c9009328
L
234652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23466
23467 * sysdeps/unix/sysv/linux/Makefile: Include
23468 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23469 (sysdep_routines): Remove sysctl.
c9009328
L
23470 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23471 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23472 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23473 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23474 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23475
73338355
AJ
234762012-05-22 Andreas Jaeger <aj@suse.de>
23477
23478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23479 that pseudo_end is just ret and the stack pointer is correct also
23480 for static library in error case.
23481
d44638b0
PP
234822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23483
23484 [BZ #14122]
23485 * nss/nsswitch.c (defconfig_entries): New variable.
23486 (__nss_database_lookup): Don't leak defconfig entries.
23487 (nss_parse_service_list): Don't leak on error paths.
23488 (free_database_entries): New function.
23489 (free_defconfig): New function.
23490 (free_mem): Move common code to free_database_entries.
23491
31a39bd8
L
234922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23493
da0331a8
L
23494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23495 Add arch_prctl.
23496 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23497
31a39bd8
L
23498 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23499 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23501 New macro.
23502 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23503 (INTERNAL_SYSCALL_TYPES): Likewise.
23504 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23505 (LOAD_REGS_TYPES_[1-6]): Likewise.
23506 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23507 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23508
45470df3
AZ
235092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23510
23511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23512 copysignl for GLIBC_2_0.
23513 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23514 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23516 logbl for GLIBC_2_0.
23517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23519
98a61bcb
L
235202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23521
a4f6e481
L
23522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23524
f63d5db6
L
23525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23526 Use "neg %eax".
23527
98a61bcb
L
23528 * time/mktime.c: Update copyright years.
23529
95770f14
PE
235302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23531
6226efbd
PE
23532 mktime: merge comment-quoting-style change from gnulib
23533 * time/mktime.c: Quote 'like this' in comments.
23534 The GNU coding standards suggest that we no longer quote `like this',
23535 as "`" and "'" are typically rendered asymmetrically nowadays.
23536 The typical gnulib style is to quote 'like this' when quoting
23537 code, and "like this" when quoting English.
23538
b99e4f78
PE
23539 * time/mktime.c (compile-command): Add "-I.".
23540
643e01e6
PE
23541 mktime: merge mktime-internal.h change from gnulib
23542 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23543
2554247d
PE
23544 mktime: merge time_r change from gnulib
23545 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23546
826dd0ab
PE
23547 mktime: merge DEBUG change from gnulib
23548 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23549 case system <time.h> has a #define.
23550
bd83aabe
PE
23551 mktime: merge <sys/types.h> change from gnulib
23552 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23553 since <time.t> is now guaranteed to define time_t.
23554
95770f14
PE
23555 mktime: merge HAVE_CONFIG_H change from gnulib
23556 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23557
5e1a27a9
L
235582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23559
0e44a77e
L
23560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23561 Use "neg %eax".
23562
5e1a27a9
L
23563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23564 __rlim_t cast.
23565 (struct rusage): Use anonymous union to pad each field to
23566 __syscall_slong_t.
23567
46259bec
DM
235682012-05-21 David S. Miller <davem@davemloft.net>
23569
23570 * Makefules (o-iterator): Remove .s cases.
23571 (compile-command.s): Delete.
23572 (COMPILE.s): Delete.
23573 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23574
59f0c22e
JM
235752012-05-21 Joseph Myers <joseph@codesourcery.com>
23576
23577 * configure.in (libc_cv_predef_stack_protector): Only consider
23578 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23579 * configure: Regenerated.
23580
20c07380
L
235812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23582
bbb3154b
L
23583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23584 New macro. Use R*LP on int and pointer.
23585 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23586 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23587 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23588 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23589
20c07380
L
23590 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23591 [__WORDSIZE_TIME64_COMPAT32] instead of
23592 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23593 (struct utmp): Likewise.
23594 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23595 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23596 Renamed to ...
23597 (__WORDSIZE_TIME64_COMPAT32): This.
23598 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23599 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23600 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23601 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23603 (__WORDSIZE_TIME64_COMPAT32): New macro.
23604
d8d1017e
AJ
236052012-05-21 Andreas Jaeger <aj@suse.de>
23606
23607 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23608 only if [SHARED]. Add prototype for __wcschr_ia32.
23609
6c7fb145
RM
236102012-05-21 Roland McGrath <roland@hack.frob.com>
23611
23612 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23613 of %rbp unmolested in the jmp_buf while mangling the low bits.
23614 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23615 unmolested high bits of %rbp while demangling the low bits.
23616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23617
66274218
AJ
236182012-05-21 Andreas Jaeger <aj@suse.de>
23619
07c58f8f
AJ
23620 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23621 * sunrpc/svc_simple.c: Use it for registerrpc.
23622 * sunrpc/xcrypt.c: Use it for passwd2des.
23623
66274218
AJ
23624 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23625
61f65140
L
236262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23627
23628 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23629 Don't define if [__SYSCALL_WORDSIZE != 32].
23630 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23631 New macro.
23632
5fefb436
AJ
236332012-05-21 Bruno Haible <bruno@clisp.org>
23634 Andreas Jaeger <aj@suse.de>
23635
23636 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23637 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23638 inptr and inend for must_buffer_ch.
23639 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23640 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23641 * stdio-common/Makefile (tests): Remove bug15.
23642 (bug15-ENV): Remove macro.
23643 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23644 anymore.
23645
d8e272ab
AJ
236462012-05-19 Andreas Jaeger <aj@suse.de>
23647 Roland McGrath <roland@hack.frob.com>
23648
23649 * manual/contrib.texi: Completely rewritten. It contains now an
23650 alphabetical list of contributors and their contributions.
23651
4a56a162
RH
236522012-05-21 Richard Henderson <rth@twiddle.net>
23653
23654 * misc/getauxval.c (__getauxval): Use unsigned long int.
23655 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23656 (getauxval): Use unsigned long int.
23657
d024d23c
L
236582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23661
cbc00a03
RM
236622012-05-21 Roland McGrath <roland@hack.frob.com>
23663
23664 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23665 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23666 __alignof__ (long double).
23667
478143fa
AZ
236682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23669
23670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23671
c7683a6d
RH
236722012-05-20 Richard Henderson <rth@twiddle.net>
23673
23674 * misc/getauxval.c: New file.
23675 * misc/sys/auxv.h: New file.
23676 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23677 (routines): Add getauxval.
23678 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23680 * elf/dl-sysdep.c (_dl_auxv): Remove.
23681 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23682 * elf/dl-support.c (_dl_auxv): New variable.
23683 (_dl_aux_init): Initialize it.
23684 * manual/startup.texi (Auxiliary Vector): New node.
23685 * sysdeps/generic/bits/hwcap.h: New file.
23686 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23687 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23688 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23689 * sysdeps/sparc/sysdep.h: ... here. Include it.
23690 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23693 Update.
c7683a6d
RH
23694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23702
a6f1845d
AZ
237032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23704
23705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23706
cbcbe830
DM
237072012-05-19 David S. Miller <davem@davemloft.net>
23708
23709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23710
e0b16cc2
JM
237112012-05-19 Joseph Myers <joseph@codesourcery.com>
23712
23713 [BZ #14123]
23714 * math/s_ccosh.c: Include <float.h>
23715 (__ccosh): Avoid internal overflow calculating sinh and cosh
23716 values before multiplying by sin and cos values.
23717 * math/s_ccoshf.c: Likewise.
23718 * math/s_ccoshl.c: Likewise.
23719 * math/s_csin.c: Likewise.
23720 * math/s_csinf.c: Likewise.
23721 * math/s_csinl.c: Likewise.
23722 * math/s_csinh.c: Likewise.
23723 * math/s_csinhf.c: Likewise.
23724 * math/s_csinhl.c: Likewise.
23725 * math/libm-test.inc (ccos_test): Add more tests.
23726 (ccosh_test): Likewise.
23727 (csin_test): Likewise.
23728 (csinh_test): Likewise.
23729 * sysdeps/i386/fpu/libm-test-ulps: Update.
23730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23731
6ad13e08
L
237322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23733
f66f0ce8
L
23734 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23735 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23736
6ad13e08
L
23737 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23738
b1d072a7
JM
237392012-05-19 Joseph Myers <joseph@codesourcery.com>
23740
23741 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23742 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23743 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23744 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23745 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23746 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23747 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23748 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23749 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23750 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23751 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23752 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23753 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23754 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23755 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23756 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23757 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23758 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23759 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23760 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23761 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23762 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23763 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23764 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23765 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23766 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23767 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23768 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23769 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23770 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23772
9eae47cb
AJ
237732012-05-18 Andreas Jaeger <aj@suse.de>
23774
23775 * csu/.gitignore: Delete.
23776
bb07f69f
L
237772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23778
23779 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23780 (timex): Use __syscall_slong_t.
23781
e6bdb741
AJ
237822012-05-18 Andreas Jaeger <aj@suse.de>
23783 Carlos O'Donell <carlos_odonell@mentor.com>
23784
23785 * manual/install.texi (Configuring and compiling): Update
23786 description about files modified in the source directory.
d6c33fda 23787 * INSTALL: Regenerated.
e6bdb741 23788
1b74487e
L
237892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23790
23791 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23792 value. Use "or" to set return value to -1.
23793 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23794 negate return value.
23795
a88b64b9
TMQMF
237962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23797
23798 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23799 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23800 failure if the compiler has Graphite support disabled.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23802 Likewise.
23803 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23804 CFLAGS-memmove.c): Likewise.
23805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23806 Likewise.
23807
3707636e
L
238082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23809
610b8622
L
23810 * sysdeps/x86_64/x32/_itoa.h: New file.
23811
7cd195df
L
23812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23813 getdents system call only if kernel and user dirents have the
23814 same d_ino and d_off.
23815
94b07d20
L
23816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23817 LLONG_MAX != LONG_MAX.
23818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23819 (_fitoa_word): Likewise.
23820
18298070
L
23821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23822 years.
23823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23826
553c7ea4
L
23827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23828 include <bits/wordsize.h>. Check __x86_64__ instead of
23829 __WORDSIZE.
23830 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23831 if __x86_64__ is defined. Use anonymous union on fpstate.
23832
3707636e
L
23833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23834 anonymous union.
23835
b53ef01a
AS
238362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23837
37fb1dc0
AS
23838 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23839 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23841 Refer to _rtld_local_ro instead of _rtld_global_ro.
23842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23843 Likewise.
23844 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23845 Likewise.
23846 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23847 Likewise.
23848 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23849 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23850 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23851
b53ef01a
AS
23852 * sysdeps/powerpc/powerpc32/dl-machine.c
23853 (__elf_machine_runtime_setup) [PROF]: Don't reference
23854 _dl_prof_resolve.
23855
7a185db2
AJ
238562012-05-18 Andreas Jaeger <aj@suse.de>
23857
23858 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23859 function only available for GCCs before 3.4 since GCC 3.4
23860 introduced a builtin.
23861 (lrint): Likewise.
23862 (llrintf): Likewise.
23863 (llrint): Likewise.
23864 (fmaxf): Likewise.
23865 (fmax): Likewise.
23866 (fminf): Likewise.
23867 (fmin): Likewise.
23868 (rint): Likewise.
23869 (rintf): Likewise.
23870 (nearbyint): Likewise.
23871 (nearbyintf): Likewise.
23872 (ceil): Likewise.
23873 (ceilf): Likewise.
23874 (floor): Likewise.
23875 (floorf): Likewise.
23876
3e5aef87
L
238772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23878
428bd707
L
23879 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23880 on both fields and cast pointer to __syscall_ulong_t.
23881
3e5aef87
L
23882 * bits/types.h (__fsword_t): New type.
23883 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23884 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23886 (__FSWORD_T_TYPE): Likewise.
23887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23888 (__FSWORD_T_TYPE): Likewise.
23889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23890 (__FSWORD_T_TYPE): Likewise.
23891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23892 (__FSWORD_T_TYPE): Likewise.
23893 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23894 __SWORD_TYPE with __fsword_t.
23895 (statfs64): Likewise.
23896
1ba7c3dc
DM
238972012-05-17 David S. Miller <davem@davemloft.net>
23898
23899 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23900
59910343
AJ
239012012-05-17 Andreas Jaeger <aj@suse.de>
23902
23903 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23904 warning.
23905
2e4c1e9e
L
239062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23907
23908 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23909
de7f5ce7
AJ
239102012-05-17 Andreas Jaeger <aj@suse.de>
23911
23912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23913 when it is used.
23914
286abc3d
CM
239152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23916
23917 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23918
477cc68e
L
239192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23922 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23923
1a0994f5
CD
239242012-05-17 Andreas Jaeger <aj@suse.de>
23925 Carlos O'Donell <carlos_odonell@mentor.com>
23926
23927 [BZ #14059]
23928 * sysdeps/x86_64/multiarch/init-arch.h
23929 (bit_YMM_Usable): Rename to...
23930 (bit_AVX_Usable): ... this.
23931 (bit_FMA4_Usable): New macro.
23932 (bit_XMM_state): New macro.
23933 (bit_YMM_state): New macro.
23934 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23935 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23936 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23937 (CPUID_OSXSAVE): New macro.
23938 (CPUID_AVX): New macro.
23939 (CPUID_FMA4): New macro.
23940 (index_YMM_Usable): Rename to...
23941 (index_AVX_Usable): ... this.
23942 (HAS_AVX): Use HAS_ARCH_FEATURE.
23943 (HAS_FMA4): Likewise.
23944 (HAS_YMM_USABLE): Remove.
23945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23946 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23947 are present.
23948 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23949 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23950 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23951 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23952 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23953
0af797de
CM
239542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23955
23956 * math/libm-test.c: Support platforms without multiple rounding modes.
23957 * math/bug-nextafter.c: Support platforms without FP exceptions.
23958 * math/bug-nexttoward.c: Likewise.
23959 * math/test-fenv.c: Likewise.
23960 * math/test-misc.c: Likewise.
23961 * stdlib/bug-getcontext.c: Likewise.
23962
e39745ff
AJ
239632012-05-17 Andreas Jaeger <aj@suse.de>
23964
23965 * manual/examples/search.c (critter_cmp): Change signature to
23966 avoid warnings.
23967 * manual/string.texi (Collation Functions): Likewise.
23968
48970aba
L
239692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 * bits/types.h: Fold copyright years.
23972 * bits/typesizes.h: Likewise.
23973 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23977 * time/time.h: Likewise.
23978
bedee953
PP
239792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23980
23981 [BZ #208]
23982 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23983 in instead of returning them. Return void.
23984 (__libc_mallinfo): Accumulate over all arenas.
23985 (__malloc_stats): Adjust for change in int_mallinfo interface.
23986
61653dfb
RM
239872012-05-16 Roland McGrath <roland@hack.frob.com>
23988
30b99d79
RM
23989 [BZ #10375]
23990 * configure.in (NM): Add AC_CHECK_TOOL for it.
23991 (libc_extra_cflags): New substituted variable.
23992 Check for -fstack-protector being used implicitly.
23993 * configure: Regenerated.
23994 * config.make.in (config-extra-cflags): New variable,
23995 gets @libc_extra_cflags@.
23996 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23997
61653dfb
RM
23998 [BZ #10375]
23999 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24000 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24001 * configure: Regenerated.
24002 * config.make.in (CPPUNDEFS): New substituted variable.
24003 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24004 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24005 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24006
661768bb
L
240072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24010 (mq_attr): Use __syscall_slong_t.
24011
d4261567
L
240122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24013
24014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24015 Check __x86_64__ instead of __WORDSIZE.
24016 (_STAT_VER_LINUX): Likewise.
24017 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24018 __syscall_ulong_t and __syscall_slong_t.
24019 (stat64): Likewise.
24020
cf3ff365
L
240212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24022
24023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24024
76cf3e4d
L
240252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24026
24027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24028
a637753a
L
240292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24030
24031 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24032 __syscall_ulong_t.
24033
d5e05119
L
24034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24035 include <bits/wordsize.h>. Check __x86_64__ instead of
24036 __WORDSIZE.
24037 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24038 defined.
24039 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24040
f62ee380
L
24041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24042 include <bits/wordsize.h>. Check __x86_64__ instead of
24043 __WORDSIZE.
24044 (user_regs_struct): Use "__extension__ unsigned long long"
24045 instead of "unsigned long" if __x86_64__ is defined.
24046 (user): Likewise. Pad after pointer field if __ILP32__ is
24047 defined.
24048
4e124ced
JM
240492012-05-16 Joseph Myers <joseph@codesourcery.com>
24050
6a3951a0
JM
24051 * configure.in (makeinfo): Require version 4.5 or later. Allow
24052 versions 5 to 9.
24053 * configure: Regenerated.
24054 * manual/install.texi (texinfo): Increase version requirement to
24055 4.5 or later.
24056 * INSTALL: Regenerated.
24057
4e124ced
JM
24058 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24059
953ca31a
L
240602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24063
617aca05
L
24064 * sysdeps/x86_64/x32/ffs.c: New file.
24065
5762f7ae
L
24066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24067 __syscall_ulong_t.
24068 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24069 defined. Use __syscall_ulong_t.
24070 (shminfo): Use __syscall_ulong_t.
24071 (shm_info): Likewise.
24072
a26b6856
L
24073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24074 __syscall_ulong_t.
24075
cb2b9ef7
L
24076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24077 <bits/wordsize.h>.
24078 (msgqnum_t): Use __syscall_ulong_t.
24079 (msglen_t): Likewise.
24080 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24081 __syscall_ulong_t.
24082
34683bb0
L
24083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24085
84a68786
L
24086 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24087
48baa5f1
L
24088 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24089 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24090
180be88b
L
24091 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24092 __syscall_slong_t.
24093
5e90c8ad
L
24094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24095 include <bits/wordsize.h>. Check __x86_64__ instead of
24096 __WORDSIZE.
24097
23dfb58b
L
24098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24099 "unsigned long long int" if __x86_64__ is defined.
24100 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24101
ce5d54b0
L
24102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24104 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24105
13dc9eac
L
24106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24107 <stdint.h>.
24108 (GET_PC): Cast to uintptr_t first.
24109 (GET_FRAME): Likewise.
24110 (GET_STACK): Likewise.
24111
a7895d15
L
24112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24141
656416c9
AS
241422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24143
5bd66283
AS
24144 * Makerules (+depfiles): Also collect depfiles from .oS in
24145 $(extra-objs).
24146 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24147 .oS, $(libnldbl-routines)).
24148
656416c9
AS
24149 * Makerules (native-compile-mkdep-flags): Define.
24150 * sunrpc/Makefile (extra-objs): Add $(addprefix
24151 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24152 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24153 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24154 calling $(make-target-directory).
24155
a46f2169
L
241562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24157
24158 * bits/types.h (__snseconds_t): Removed.
24159 * time/time.h (struct timespec): Replace __snseconds_t with
24160 __syscall_slong_t.
24161 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24162 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24163 Likewise.
24164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24165 (__SNSECONDS_T_TYPE): Likewise.
24166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24167 (__SNSECONDS_T_TYPE): Likewise.
24168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24169 (__SNSECONDS_T_TYPE): Likewise.
24170
6af6528b
L
241712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24172
24173 * sysdeps/mach/hurd/bits/typesizes.h
24174 (__SYSCALL_SLONG_TYPE): New macro.
24175 (__SYSCALL_ULONG_TYPE): Likewise.
24176
de986b56
L
241772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24178
24179 * bits/types.h (__syscall_slong_t): New type.
24180 (__syscall_ulong_t): Likewise.
24181
24182 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24183 (__SYSCALL_ULONG_TYPE): Likewise.
24184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24185 (__SYSCALL_SLONG_TYPE): Likewise.
24186 (__SYSCALL_ULONG_TYPE): Likewise.
24187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24188 (__SYSCALL_SLONG_TYPE): Likewise.
24189 (__SYSCALL_ULONG_TYPE): Likewise.
24190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24191 (__SYSCALL_SLONG_TYPE): Likewise.
24192 (__SYSCALL_ULONG_TYPE): Likewise.
24193
85736dc7
L
241942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24197 Add sigaltstack-offsets.sym.
24198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24199 <sigaltstack-offsets.h>.
24200 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24201 longjmp_msg pointer.
24202 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24203 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24204 signal stack.
24205 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24206
cc03b296
JM
242072012-05-15 Joseph Myers <joseph@codesourcery.com>
24208
a9538892
JM
24209 * elf/stackguard-macros.h: Remove file.
24210 * sysdeps/generic/stackguard-macros.h: New file.
24211 * sysdeps/i386/stackguard-macros.h: Likewise.
24212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24218 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24219 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24220 <elf/stackguard-macros.h>.
24221
cc03b296
JM
24222 [BZ #14109]
24223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24224 __aligned__ in attribute.
24225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24226 (gregset_t): Likewise.
24227
93171016
L
242282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24229
24230 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24231 * sysdeps/x86_64/64/Implies-after: Here. New file.
24232 * sysdeps/x86_64/x32/Implies-after: New file.
24233
d86813a0
L
242342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24235
24236 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24237 and access return value for _dl_profile_fixup. Use R10_LP to
24238 load frame size.
24239
2953ec75
L
242402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24243
3b550e9e
L
242442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24245
24246 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24247 * sysdeps/x86_64/x32/sysdep.h: New file.
24248
eda41706
L
242492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24252 * sysdeps/x86_64/setjmp.S: Likewise.
24253
9ea01d93
AZ
242542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24255
24256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24258 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24259 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24260 remove unused global constant.
24261
02a91938
CM
242622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24263
24264 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24265 include of <not-cancel.h>.
24266
6540185f
RM
242672012-05-15 Roland McGrath <roland@hack.frob.com>
24268
24269 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24270
509072a0
AJ
242712012-05-15 Jeff Law <law@redhat.com>
24272 Andreas Jaeger <aj@suse.de>
24273
24274 [BZ #13594]
24275 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24276 out from...
24277 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24278 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24280 code changing __hst_map_handle.map.
24281
ba75122d
RM
242822012-05-15 Roland McGrath <roland@hack.frob.com>
24283
24284 * configure.in (sysnames): Look for Implies-before and Implies-after
24285 files.
24286 * configure: Regenerated.
24287
890d8bd8
L
242882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24289
24290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24291 8-byte data alignment with LP_SIZE alignment.
24292
f6ee6623
L
242932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24296 into R10_LP.
24297
ea2626f6
L
242982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24301
085f715e
L
243022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24307 Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24309
be8498fc
L
243102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24311
24312 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24313 (stackinfo_sub_sp): Likewise.
24314
70bc83b9
L
243152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24318 RAX_LP.
24319
9bc0b730
L
243202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24323 into R*_LP.
24324
6d2850e7
L
243252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24328 sizes into R*_LP.
24329
3cb84561
L
243302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24333
54e2ed81
L
243342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24335
24336 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24337 into R11_LP and load __x86_64_shared_cache_size_half into
24338 R8_LP.
24339
8a17f349
L
243402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24341
24342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24343 R8_LP.
24344
777b1eea
AZ
243452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24346
24347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24348 logb for POWER7.
24349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24350 logbf for POWER7.
24351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24352 logbl for POWER7.
24353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24354 powerpc32/power7/fpu/s_logb.c via #include.
24355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24356 powerpc32/power7/fpu/s_logbf.c via #include.
24357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24358 powerpc32/power7/fpu/s_logbl.c via #include.
24359
d20d4ac2
JM
243602012-05-15 Joseph Myers <joseph@codesourcery.com>
24361
24362 * README.libm: Remove file.
24363
6cdef1ab
L
243642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24365
24366 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24367 count for x32. Use R*_LP and omit operand-size suffix.
24368
0b254d8f
L
243692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24370
24371 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24372 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24373 * sysdeps/x86_64/x32/shlib-versions: New file.
24374
ceb809dc
RM
243752012-05-14 Roland McGrath <roland@hack.frob.com>
24376
24377 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24378 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24379 Use _dl_fatal_printf instead.
24380
37f1abd4
JM
243812012-05-14 Joseph Myers <joseph@codesourcery.com>
24382
24383 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24384 set if not set by the user. Do not allow for being unset.
24385 * sysdeps/unix/sysv/linux/configure: Regenerated.
24386
11de3a33
L
243872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24390 the `q' suffix from lea and replace .quad with ASM_ADDR.
24391
e02f153a
L
243922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24393
24394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24395 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24396 instead of $17.
24397 (PTR_DEMANGLE): Likewise.
24398
520ae0fd
L
243992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24402 (LP_OP): Likewise.
24403 (ASM_ADDR): Likewise.
24404 (RAX_LP): Likewise.
24405 (RBP_LP): Likewise.
24406 (RBX_LP): Likewise.
24407 (RCX_LP): Likewise.
24408 (RDI_LP): Likewise.
24409 (RSI_LP): Likewise.
24410 (RSP_LP): Likewise.
24411 (R8_LP): Likewise.
24412 (R9_LP): Likewise.
24413 (R10_LP): Likewise.
24414 (R10_LP): Likewise.
24415 (R11_LP): Likewise.
24416 (R12_LP): Likewise.
24417 (R13_LP): Likewise.
24418 (R14_LP): Likewise.
24419 (R15_LP): Likewise.
24420
b985be81
L
244212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24422
24423 * sysdeps/x86_64/x32/dl-machine.h: New file.
24424
6a4888ff
AJ
244252012-05-14 Andreas Jaeger <aj@suse.de>
24426
24427 * manual/Makefile (subdir): Remove export of subdir.
24428 (all): Remove target.
24429 (.PHONY): Remove all from list.
24430 (mkinstalldirs): Remove.
24431 (.PHONY): Remove installdirs from list.
24432 ($(inst_infodir)/libc.info): Use make-target-directory.
24433 (installdirs): Remove.
24434 (subdir_%): Remove.
24435 (glibc-targets): Remove.
24436 (lib): Remove.
24437 (stubs): Remove.
24438 ($(objpfx)stubs ../po/manual.pot): Remove.
24439 ($(objpfx)stamp%): Remove.
24440 (make-target-directory): Remove.
24441 (subdir_install): Remove.
24442 (routines): Remove.
24443 (aux): Remove.
24444 (sources): Remove.
24445 (objects): Remove.
24446 (headers): Remove.
24447
24448 [BZ #13750]
24449 * manual/.gitignore: Remove, it's not needed anymore.
24450 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24451 all files in it.
24452 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24453 directory.
24454 (texis): Renamed to $(objpfx)texis.
24455 (texis-path): New, contains path to generated files.
24456 (chapters.%): Use texis-path for complete path, add extra argument
24457 libc-texinfo.sh.
24458 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24459 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24460 (summary,texi, stamp-summary): Use complete path of
24461 files. Generate files in build dir.
24462 (dir-add.texi): Build in build dir.
24463 (libm-err.texi,stamp-libm-err): Likewise.
24464 (version.texi, stamp-version): Likewise.
24465 (.%c.texi): Likewise.
24466 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24467 (mostlyclean): Remove target.
24468 (realclean): Remove target.
24469 (generated): Add new variable with contents from mostlyclean and
24470 realclean, remove entries duplicated in common-mostlyclean, add
24471 stamp-libm-err and stamp-version.
24472 (generated-dirs): Add libc directory.
24473 ($(inst_infodir)/libc.info): Install files from build dir.
24474
24475 * manual/install.texi (Configuring and compiling): Adjust since
24476 the info files are not part of the tar ball anymore.
24477
7ac77294
AJ
244782012-05-14 Andreas Jaeger <aj@suse.de>
24479
24480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24481 variable.
24482
ffb7875d
JM
244832012-05-14 Joseph Myers <joseph@codesourcery.com>
24484
24485 [BZ #13717]
24486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24487 to 2.2.0 where earlier.
24488 * sysdeps/unix/sysv/linux/configure: Regenerated.
24489 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24490 Remove conditional code.
24491 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24492 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24493 Remove conditional code.
24494 [!__NR_lchown]: Likewise.
24495 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24496 [__NR_lchown]: Likewise.
24497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24498 comment referencing __ASSUME_LCHOWN_SYSCALL.
24499 * sysdeps/unix/sysv/linux/i386/sigaction.c
24500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24503 Remove conditional code.
24504 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24505 (__protocol_available): Remove #if 0 code.
24506 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24507 conditional code.
24508 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24509 * sysdeps/unix/sysv/linux/kernel-features.h
24510 (__ASSUME_GETCWD_SYSCALL): Don't define.
24511 (__ASSUME_REALTIME_SIGNALS): Likewise.
24512 (__ASSUME_PREAD_SYSCALL): Likewise.
24513 (__ASSUME_PWRITE_SYSCALL): Likewise.
24514 (__ASSUME_POLL_SYSCALL): Likewise.
24515 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24516 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24517 non-SPARC.
24518 (__ASSUME_SIOCGIFNAME): Don't define.
24519 (__ASSUME_MSG_NOSIGNAL): Likewise.
24520 (__ASSUME_SENDFILE): Define unconditionally.
24521 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24522 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24523 conditional code.
24524 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24525 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24527 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24528 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24530 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24555 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24556 Remove conditional code.
24557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24558 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24559 Remove conditional code.
24560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24562 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24563 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24564 Remove conditional code.
24565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24566 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24567 Remove conditional code.
24568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24569 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24570 Remove conditional code.
24571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24572 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24573 Remove conditional code.
24574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24575 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24576 Remove conditional code.
24577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24578 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24581 * sysdeps/unix/sysv/linux/sigaction.c
24582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24584 * sysdeps/unix/sysv/linux/sigpending.c
24585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24587 * sysdeps/unix/sysv/linux/sigprocmask.c
24588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24590 * sysdeps/unix/sysv/linux/sigsuspend.c
24591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24594 (__libc_missing_rt_sigs): Remove.
24595 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24596 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24597 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24598 Remove conditional code.
24599 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24600 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24601 return 1.
24602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24606
1bfb7291
AJ
246072012-05-14 Andreas Jaeger <aj@suse.de>
24608
caae5a81
AJ
24609 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24610 it's not used in glibc.
24611 (__coshm1): Likewise.
24612 (__acosh1p): Likewise.
24613 (__sgn): Likewise.
24614
1bfb7291
AJ
24615 * manual/string.texi (Copying and Concatenation): Add missing
24616 variable in concat example.
24617 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24618
c044d724
L
246192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24620
144c5467 24621 [BZ #14103]
c044d724
L
24622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24623 __builtin_clzl with __builtin_clzll.
24624
2523c62b
L
246252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24626
24627 [BZ #14104]
24628 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24629 libc_freeres_ptr.
24630
d7bb4c42
LD
246312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24632
24633 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24634 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24635 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24637
9dc4e1fb
MF
246382012-05-14 Mike Frysinger <vapier@gentoo.org>
24639
24640 * NEWS: Update ia64 info.
24641
c7df0112
AS
246422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24643
24644 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24645 used as bcopy.
24646
dc70356c
TS
246472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24648
24649 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24650 * sysdeps/unix/syscalls.list (dup3): Likewise.
24651 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24652 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24653
9fb1a21f
L
246542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24655
24656 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24657 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24658
4822a2a5
L
246592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24660
24661 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24662 thread pointer.
24663 (TLS_IE): Use mov/add instead of movq/addq to load thread
24664 pointer.
24665 (TLS_GD_PREFIX): New.
24666 (TLS_GD): Use it.
24667
842b81d6
DM
246682012-05-11 David S. Miller <davem@davemloft.net>
24669
24670 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24671 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24672 (_FPU_SETCW): Likewise.
24673
1cf463cd
L
246742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24675
24676 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24677 is 32-byte aligned.
24678
60cc4a18
AS
246792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24680
24681 [BZ #11837]
24682 * iconvdata/gb18030.c: Update tables.
24683 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24684 characters specially.
24685 (BODY for TO_LOOP): Add encoding of missing ranges.
24686
febb44a4
TS
246872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24688
24689 [BZ #13673]
24690 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24691 * sysdeps/mach/hurd/dup3.c: Likewise.
24692 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24693 * sysdeps/powerpc/memmove.c:: Likewise.
24694
0a10fb9e
L
246952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24696
24697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24698 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24699
df8a552f
L
247002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24701
24702 * elf/elf.h (R_X86_64_RELATIVE64): New.
24703 (R_X86_64_NUM): Updated.
24704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24705 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24706 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24707 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24708 tst-quad1pie tst-quad2pie
24709 (modules-names): Add tst-quadmod1 tst-quadmod2.
24710 ($(objpfx)tst-quad1): New dependency.
24711 ($(objpfx)tst-quad2): Likewise.
24712 ($(objpfx)tst-quad1pie): Likewise.
24713 ($(objpfx)tst-quad2pie): Likewise.
24714 * sysdeps/x86_64/tst-quad1.c: New file.
24715 * sysdeps/x86_64/tst-quad1pie.c: New file.
24716 * sysdeps/x86_64/tst-quad2.c: Likewise.
24717 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24718 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24719 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24720 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24721 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24722
f34d6f84
ST
247232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24724
f42d41d1
ST
24725 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24726 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24727 * streams/stropts.h (t_scalar_t): Define type.
24728
3c3571fc
ST
24729 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24730 (_PATH_PRESERVE): Set to "/var/lib".
24731 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24732
61f06bd3
ST
24733 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24734 instead of int.
24735
918d4d71
ST
24736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24737 if __dir_mkfile succeeded.
24738
f34d6f84
ST
24739 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24740 checking for _hurd_dtablesize. Unlock it right after having
24741 finished _hurd_dtable allocation.
24742
10589b4a
TS
247432012-05-10 Thomas Schwinge <thomas@schwinge.name>
24744
674cdbc7
TS
24745 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24746 * sysdeps/mach/hurd/configure: Regenerated.
24747 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24748 special-casing to...
24749 * sysdeps/gnu/configure.in: ... this new file.
24750 * sysdeps/unix/sysv/linux/configure: Regenerated.
24751 * sysdeps/gnu/configure: New generated file.
24752
8e41b99f
TS
24753 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24754 for Linux: use nsec instead of usec, as well as:
24755 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24756 members of type struct timespec.
24757 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24758 New macros.
24759 (struct stat64): Likewise.
24760 (_STATBUF_ST_NSEC): New macro.
24761 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24762
10589b4a
TS
24763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24764 __strtoul_internal rather than strtoul.
24765
63643c85
PT
247662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24767
24768 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24769 and reject them.
24770
3faebe6a
ST
247712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24772
24773 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24774 which preserves existing values.
24775 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24776
c6474b07
PT
247772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24778
24779 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24780 TIMEOUT values. Return EINVAL for NFDS values either negative or
24781 greater than FD_SETSIZE.
24782
1043890b
ST
247832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24784
24785 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24786 allocated, call __vm_protect to finish enabling the existing space, and
24787 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24788 allocate the remainder.
24789
37ed8b9b
PT
247902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24791
24792 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24793 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24794
db653660
ST
247952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24796
37ed8b9b
PT
24797 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24798 sysdeps/mach/hurd/readlink.c.
b29d4053 24799
db653660
ST
24800 * posix/tst-sysconf.c (posix_options): Only use
24801 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24802 _POSIX_SYNCHRONIZED_IO when they are defined
24803 * sysdeps/mach/hurd/bits/posix_opt.h:
24804 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24805 (_XOPEN_REALTIME): Undefine macro.
24806 (_XOPEN_REALTIME_THREADS): Undefine macro.
24807 (_XOPEN_SHM): Undefine macro.
24808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24809 macro to -1.
24810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24811 macro to -1.
24812 (_POSIX_ASYNC_IO): Undefine macro.
24813 (_POSIX_PRIORITIZED_IO): Undefine macro.
24814 (_POSIX_SPIN_LOCKS): Define macro to -1.
24815
ee16e894
ST
24816 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24817 SA_NODEFER, SA_RESETHAND.
24818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24819 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24820 F_DUPFD_CLOEXEC.
24821
6103ae3b
TS
248222012-05-10 Thomas Schwinge <thomas@schwinge.name>
24823
24824 * elf/Makefile (pldd-modules): Define unconditionally.
24825
80b4e5f3
TS
248262012-05-10 Thomas Schwinge <thomas@schwinge.name>
24827
24828 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24829
edadcbd6
ST
248302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24831
24832 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24833 Return ENOENT when name is empty.
24834 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24835
80694780
TS
248362012-05-10 Thomas Schwinge <thomas@schwinge.name>
24837
1792c087
TS
24838 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24839
80694780
TS
24840 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24841
6b645f0d
ST
248422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24843
80694780
TS
24844 Fix mlock in all cases except non-readable pages.
24845 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24846 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24847
6b645f0d
ST
24848 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24849 (__mkdir): When path is `/', just fail with EEXIST.
24850 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24851
e468f8a3
TS
248522012-05-10 Thomas Schwinge <thomas@schwinge.name>
24853
24854 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24855 <sys/uio.h> (for writev).
24856 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24857 and <sys/param.h> (for MIN).
24858
a4186cff
PT
248592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24860
24861 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24862 REQUESTED_TIME. Properly set the remaining time and return EINTR
24863 if interrupted.
24864
510bbf14
TS
248652012-05-10 Thomas Schwinge <thomas@schwinge.name>
24866
24867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24868 Depend on against $(link-rpcuserlibs).
24869
5d5722e8
ST
248702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24871
a4186cff
PT
24872 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24873 (__libc_stack_end): Do not use attribute_relro.
24874 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24875 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24876 to libthread-provided value.
a4186cff
PT
24877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24878 attribute_relro.
5d5722e8 24879
37233df9
TS
248802012-05-10 Thomas Schwinge <thomas@schwinge.name>
24881
be971a2b
TS
24882 [BZ #3748]
24883 * bits/libc-lock.h (__libc_once_get): New macro.
24884 * sysdeps/mach/bits/libc-lock.h: Likewise.
24885 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24887 instead of using implementation details.
24888
37233df9
TS
24889 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24890 * libio/freopen.c: Likewise.
24891 * libio/freopen64.c: Likewise.
24892 * misc/syslog.c: Likewise.
24893 * nscd/connections.c: Likewise.
24894 * nscd/netgroupcache.c: Likewise.
24895 * sysdeps/posix/getcwd.c: Likewise.
24896
38de94a5
RM
248972012-05-10 Roland McGrath <roland@hack.frob.com>
24898
24899 * math/w_ilogbf.c: Add #include <limits.h>.
24900
67530489
ST
249012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24902
a4186cff 24903 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24904 path instead of returning without unlocking.
24905
67530489
ST
24906 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24907 immediate-write ioctls.
24908 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24909
5aa3a74a
TS
249102012-05-10 Thomas Schwinge <thomas@schwinge.name>
24911
18bad2ae
TS
24912 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24913 __builtin_frame_address instead of making assumptions about the
24914 location of the return address relative to DATA. Force early load of
24915 the return address.
24916 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24917 __builtin_frame_address.
24918
5aa3a74a
TS
24919 dup3 for GNU Hurd.
24920 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24921 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24922 implement dup3 and do some further code clean-ups.
24923 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24925
ecd0de9a
ST
249262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24927
cd9fa985
ST
24928 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24929
a4186cff
PT
24930 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24931 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24932 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24933 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24934 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24935 d->port.lock.
802ca5a5 24936
a4186cff
PT
24937 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24938 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24939 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24940
bcf55240
TS
249412012-05-10 Thomas Schwinge <thomas@schwinge.name>
24942
6960eb42
TS
24943 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24944 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24945 definitions.
24946
eb43375f
TS
24947 accept4 for GNU Hurd.
24948 * include/sys/socket.h (__libc_accept4): New prototype.
24949 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24950 to implement __libc_accept4.
24951 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24952 __libc_accept4.
24953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24954
bcf55240
TS
24955 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24956 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24957 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24958 signal-defines.sym.
24959
6178c55b
ST
249602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24961
a4186cff 24962 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24963
6f080c2f
TS
249642012-05-10 Thomas Schwinge <thomas@schwinge.name>
24965
24966 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24967 assertion on O_CLOEXEC flag.
24968 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24969 * hurd/intern-fd.c: Likewise.
24970 * hurd/port2fd.c: Likewise.
24971
bcfe3a54
ST
249722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24973
24974 [BZ #3906]
24975 * bits/in.h (IPV6_PKTINFO): Define new macro.
24976 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24977
89c9aa49
AZ
249782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24979
24980 [BZ #13954]
24981 [BZ #13955]
24982 [BZ #13956]
24983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24985 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24986 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24989 * math/libm-test.inc (logb_test) : Additional logb tests.
24990
021db4be
AJ
249912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24992 Andreas Jaeger <aj@suse.de>
24993
24994 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24995 * configure: Regenerated.
24996 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24997 * config.make.in (link-obsolete-rpc): New substituted variable.
24998 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24999 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25000 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25001 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25002 so that libc.a contains the symbols.
25003 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25004 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25005 * sunrpc/auth_none.c: Likewise.
25006 * sunrpc/auth_unix.c: Likewise.
25007 * sunrpc/authdes_prot.c: Likewise.
25008 * sunrpc/authuxprot.c: Likewise.
25009 * sunrpc/clnt_gen.c: Likewise.
25010 * sunrpc/clnt_perr.c: Likewise.
25011 * sunrpc/clnt_raw.c: Likewise.
25012 * sunrpc/clnt_simp.c: Likewise.
25013 * sunrpc/clnt_tcp.c: Likewise.
25014 * sunrpc/clnt_udp.c: Likewise.
25015 * sunrpc/clnt_unix.c: Likewise.
25016 * sunrpc/des_crypt.c: Likewise.
25017 * sunrpc/des_soft.c: Likewise.
25018 * sunrpc/get_myaddr.c: Likewise.
25019 * sunrpc/key_call.c: Likewise.
25020 * sunrpc/key_prot.c: Likewise.
25021 * sunrpc/netname.c: Likewise.
25022 * sunrpc/pm_getmaps.c: Likewise.
25023 * sunrpc/pm_getport.c: Likewise.
25024 * sunrpc/pmap_clnt.c: Likewise.
25025 * sunrpc/pmap_prot.c: Likewise.
25026 * sunrpc/pmap_prot2.c: Likewise.
25027 * sunrpc/pmap_rmt.c: Likewise.
25028 * sunrpc/publickey.c: Likewise.
25029 * sunrpc/rpc_cmsg.c: Likewise.
25030 * sunrpc/rpc_common.c: Likewise.
25031 * sunrpc/rpc_dtable.c: Likewise.
25032 * sunrpc/rpc_prot.c: Likewise.
25033 * sunrpc/rpc_thread.c: Likewise.
25034 * sunrpc/rtime.c: Likewise.
25035 * sunrpc/svc.c: Likewise.
25036 * sunrpc/svc_auth.c: Likewise.
25037 * sunrpc/svc_raw.c: Likewise.
25038 * sunrpc/svc_run.c: Likewise.
25039 * sunrpc/svc_tcp.c: Likewise.
25040 * sunrpc/svc_udp.c: Likewise.
25041 * sunrpc/svc_unix.c: Likewise.
25042 * sunrpc/svcauth_des.c: Likewise.
25043 * sunrpc/xcrypt.c: Likewise.
25044 * sunrpc/xdr.c: Likewise.
25045 * sunrpc/xdr_array.c: Likewise.
25046 * sunrpc/xdr_float.c: Likewise.
25047 * sunrpc/xdr_intXX_t.c: Likewise.
25048 * sunrpc/xdr_mem.c: Likewise.
25049 * sunrpc/xdr_rec.c: Likewise.
25050 * sunrpc/xdr_ref.c: Likewise.
25051 * sunrpc/xdr_sizeof.c: Likewise.
25052 * sunrpc/xdr_stdio.c: Likewise.
25053
b5c086a2
RM
250542012-05-10 Roland McGrath <roland@hack.frob.com>
25055
25056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25057 change. Update copyright years.
25058
6d74dd09
JM
250592012-05-10 Joseph Myers <joseph@codesourcery.com>
25060
25061 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25062
28e72501
MK
250632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25064 Joseph Myers <joseph@codesourcery.com>
25065 Paul Pluzhnikov <ppluzhnikov@google.com>
25066
25067 [BZ #14012]
25068 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25069 requiring rpcgen.
25070 [cross-compiling] (extra-libs): Likewise.
25071 [cross-compiling] (extra-libs-others): Likewise.
25072 [cross-compiling] (librpcsvc-routines): Likewise.
25073 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25074 [cross-compiling] (omit-deps): Likewise.
25075 (sunrpc-CPPFLAGS): New variable.
25076 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25077 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25078 (cross-rpcgen-objs): New variable.
25079 (extra-objs): Append $(cross-rpcgen-objs).
25080 ($(cross-rpcgen-objs)): New rule.
25081 ($(objpfx)cross-rpcgen): Likewise.
25082 (rpcgen-cmd): Define to use $(built-program-file). Expand
25083 comment.
25084 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25085 ($(objpfx)x%.stmp): Likewise.
25086 * sunrpc/proto.h [IS_IN_build] (_): Define.
25087 [IS_IN_build] (_libc_intl_domainname): Likewise.
25088
c8c59454
L
250892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25090
25091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25092 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25093 and R_X86_64_TPOFF64.
25094
6f27cd16
JM
250952012-05-10 Joseph Myers <joseph@codesourcery.com>
25096
25097 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25098 sysdeps/unix/sysv/syscalls.list.
25099 (stime): Likewise.
25100 (utime): Likewise.
25101 * sysdeps/unix/sysv/syscalls.list: Remove file.
25102
02467e1c
PE
251032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25104
25105 [BZ #3440]
25106 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25107 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25108 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25109 (__LC_IDENTIFICATION): Make these macros useful in #if
25110 expressions, as required by C99.
25111
da392631
AS
251122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25113
25114 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25115 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25116 after this.
25117
8115f29b
L
251182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25119
25120 * stdlib/longlong.h: Updated from GCC.
25121
bdd74070
AJ
251222012-05-09 Andreas Jaeger <aj@suse.de>
25123
edfe0dbe
AJ
25124 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25125 default is first entry.
25126 (run_mode): Set type.
25127 (main): Remove informal message about syslog.
25128 (options): Fix typo.
25129
bcfe3a54
ST
25130 [BZ #14053]
25131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25132 to asm.
bcfe3a54
ST
25133 (lrint): Likewise.
25134 (llrintf): Likewise.
25135 (llrint): Likewise.
25136 (rint): Likewise.
25137 (rintf): Likewise.
25138 (nearbyint): Likewise.
25139 (nearbyintf): Likewise.
bdd74070 25140
91d8d69e
AJ
251412012-05-09 Andreas Jaeger <aj@suse.de>
25142 Pedro Alves <palves@redhat.com>
25143
25144 * nscd/nscd.c (run_mode): Use enum.
25145 (main): Cleanup coding style issue.
25146
bb90b80b
AJ
251472012-05-09 Alexandre Oliva <aoliva@redhat.com>
25148 Andreas Jaeger <aj@suse.de>
25149
bcfe3a54
ST
25150 * nscd/nscd.c (go_background): Replaced with...
25151 (run_mode): ... this.
bb90b80b 25152 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25153 (options): Add -F --foreground.
25154 (main): Implement it.
25155 (parse_opt): Parse it.
bb90b80b 25156
1a4b75a1
AJ
251572012-05-09 Andreas Jaeger <aj@suse.de>
25158
25159 [BZ #14083]
25160 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25161 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25162 -Wconversion warning.
25163 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25164 Likewise.
25165
b1cc2472
JM
251662012-05-09 Joseph Myers <joseph@codesourcery.com>
25167
25168 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25169 == 0.
25170 (LC_ALL): Use macro-int-constant.
25171 (LC_COLLATE): Likewise.
25172 (LC_CTYPE): Likewise.
25173 (LC_MESSAGES): Likewise.
25174 (LC_MONETARY): Likewise.
25175 (LC_NUMERIC): Likewise.
25176 (LC_TIME): Likewise.
25177 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25178 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25180 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25181 Specify type.
25182 [C99-based standards] (float_t): Expect type.
25183 [C99-based standards] (double_t): Expect type.
25184 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25185 type.
25186 [C99-based standards] (HUGE_VALL): Likewise.
25187 [C99-based standards] (INFINITY): Likewise.
25188 [C99-based standards] (NAN): Likewise.
25189 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25190 [C99-based standards] (FP_NAN): Likewise.
25191 [C99-based standards] (FP_NORMAL): Likewise.
25192 [C99-based standards] (FP_SUBNORMAL): Likewise.
25193 [C99-based standards] (FP_ZERO): Likewise.
25194 [C99-based standards] (FP_FAST_FMA): Use
25195 optional-macro-int-constant. Specify type. Require == 1.
25196 [C99-based standards] (FP_FAST_FMAF): Likewise.
25197 [C99-based standards] (FP_FAST_FMAL): Likewise.
25198 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25199 [C99-based standards] (FP_ILOGBNAN): Likewise.
25200 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25201 Specify type.
25202 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25203 [C99-based standards] (math_errhandling): Specify type.
25204 [ISO99 || ISO11] (signgam): Do not allow.
25205 [non-C99-based standards] (copysignf): Do not allow.
25206 [non-C99-based standards] (exp2f): Likewise.
25207 [non-C99-based standards] (log2f): Likewise.
25208 [non-C99-based standards] (modff): Allow.
25209 [non-C99-based standards] (erff): Do not allow.
25210 [non-C99-based standards] (erfcf): Likewise.
25211 [non-C99-based standards] (gammaf): Likewise.
25212 [non-C99-based standards] (hypotf): Likewise.
25213 [non-C99-based standards] (j0f): Likewise.
25214 [non-C99-based standards] (j1f): Likewise.
25215 [non-C99-based standards] (jnf): Likewise.
25216 [non-C99-based standards] (lgammaf): Likewise.
25217 [non-C99-based standards] (tgammaf): Likewise.
25218 [non-C99-based standards] (y0f): Likewise.
25219 [non-C99-based standards] (y1f): Likewise.
25220 [non-C99-based standards] (ynf): Likewise.
25221 [non-C99-based standards] (isnanf): Likewise.
25222 [non-C99-based standards] (acoshf): Likewise.
25223 [non-C99-based standards] (asinhf): Likewise.
25224 [non-C99-based standards] (atanhf): Likewise.
25225 [non-C99-based standards] (cbrtf): Likewise.
25226 [non-C99-based standards] (expm1f): Likewise.
25227 [non-C99-based standards] (ilogbf): Likewise.
25228 [non-C99-based standards] (log1pf): Likewise.
25229 [non-C99-based standards] (logbf): Likewise.
25230 [non-C99-based standards] (nextafterf): Likewise.
25231 [non-C99-based standards] (remainderf): Likewise.
25232 [non-C99-based standards] (rintf): Likewise.
25233 [non-C99-based standards] (scalbf): Likewise.
25234 [non-C99-based standards] (copysignl): Likewise.
25235 [non-C99-based standards] (exp2l): Likewise.
25236 [non-C99-based standards] (log2l): Likewise.
25237 [non-C99-based standards] (modfl): Allow.
25238 [non-C99-based standards] (erfl): Do not allow.
25239 [non-C99-based standards] (erfcl): Likewise.
25240 [non-C99-based standards] (gammal): Likewise.
25241 [non-C99-based standards] (hypotl): Likewise.
25242 [non-C99-based standards] (j0l): Likewise.
25243 [non-C99-based standards] (j1l): Likewise.
25244 [non-C99-based standards] (jnl): Likewise.
25245 [non-C99-based standards] (lgammal): Likewise.
25246 [non-C99-based standards] (tgammal): Likewise.
25247 [non-C99-based standards] (y0l): Likewise.
25248 [non-C99-based standards] (y1l): Likewise.
25249 [non-C99-based standards] (ynl): Likewise.
25250 [non-C99-based standards] (isnanl): Likewise.
25251 [non-C99-based standards] (acoshl): Likewise.
25252 [non-C99-based standards] (asinhl): Likewise.
25253 [non-C99-based standards] (atanhl): Likewise.
25254 [non-C99-based standards] (cbrtl): Likewise.
25255 [non-C99-based standards] (expm1l): Likewise.
25256 [non-C99-based standards] (ilogbl): Likewise.
25257 [non-C99-based standards] (log1pl): Likewise.
25258 [non-C99-based standards] (logbl): Likewise.
25259 [non-C99-based standards] (nextafterl): Likewise.
25260 [non-C99-based standards] (remainderl): Likewise.
25261 [non-C99-based standards] (rintl): Likewise.
25262 [non-C99-based standards] (scalbl): Likewise.
25263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25264 [non-C99-based standards] (FP_*): Do not allow.
25265 [C99-based standards] (FP_*): Change to
25266 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25267 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25268 allow.
25269 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25270 (SIG_ERR): Likewise.
25271 [X/Open-based standards] (SIG_HOLD): Likewise.
25272 (SIG_IGN): Likewise.
25273 (SIGABRT): Use macro-int-constant. Specify type. Require
25274 positive value.
25275 (SIGFPE): Likewise.
25276 (SIGILL): Likewise.
25277 (SIGINT): Likewise.
25278 (SIGSEGV): Likewise.
25279 (SIGTER): Likewise.
25280 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25281 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25282 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25283 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25285 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25286 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25287 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25288 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25289 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25290 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25298 [X/Open-based standards] (SIGTRAP): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25303 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25304 allow.
25305
b9f1922d
IW
253062012-05-08 Ian Wienand <ianw@vmware.com>
25307
25308 [BZ #14080]
25309 * time/tzset.c (__tzset_parse_tz): Update default rules for
25310 daylight time changes in the Energy Policy Act of 2005.
25311
1db86e88
AJ
253122012-05-09 Andreas Jaeger <aj@suse.de>
25313
25314 [BZ #13983]
25315 * elf/ldconfig.c (parse_conf): Change string to make clear that
25316 ldconfig only issued a warning if ld.so.conf does not exist.
25317
dee4a4e3
DM
253182012-05-08 David S. Miller <davem@davemloft.net>
25319
ee0db190
DM
25320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25321 movxtod instead of popping the value on the stack.
25322
dee4a4e3
DM
25323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25324
6a43ec98
CD
253252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25326
25327 * config.h.in: Add HAVE_ARM_PCS_VFP.
25328
05c2c961
RMG
253292012-05-08 Roland Mc Grath <roland@hack.frob.com>
25330
bcfe3a54
ST
25331 [BZ #13979]
25332 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25333 checking but the checks are disabled for any reason.
05c2c961 25334
4b30f61a
L
253352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25336
25337 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25338 and ELF64_R_TYPE with ELFW(R_TYPE).
25339
eee2bc67
JM
253402012-05-08 Joseph Myers <joseph@codesourcery.com>
25341
7ea5391a
JM
25342 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25343 (ulimit): Likewise.
25344
eee2bc67
JM
25345 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25346 (settimeofday): Likewise.
25347
abb66a67
MF
253482012-05-08 Mike Frysinger <vapier@gentoo.org>
25349
25350 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25351 a struct th_u2 inside the union, and move tu_block/tu_code into
25352 a new th_u3 union of tu_block/tu_code inside of that. Move
25353 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25354 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25355 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25356 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25357 (th_stuff): Change to th_u1.tu_stuff.
25358 (th_data): Define.
25359 (th_msg): Change to th_u1.th_u2.tu_data.
25360
7f18b530
DM
253612012-05-07 David S. Miller <davem@davemloft.net>
25362
05760585
DM
25363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25364
7f18b530
DM
25365 [BZ #14074]
25366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25367 (SETUP_PIC_REG): Use it.
25368 (SETUP_PIC_REG_LEAF): Use it.
25369
495fd99f
JM
253702012-05-07 Joseph Myers <joseph@codesourcery.com>
25371
25372 [BZ #13885]
25373 [BZ #13923]
25374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25375 USE_AS_EXPM1L.
25376 (EXPL_FINITE): Likewise.
25377 (FLDLOG): Likewise.
25378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25379 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25380 e_expl.S.
25381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25382 USE_AS_EXPM1L.
25383 (EXPL_FINITE): Likewise.
25384 (FLDLOG): Likewise.
25385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25386 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25387 e_expl.S.
25388 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25389 test of -max_value argument for long double.
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392
6693d694
DM
253932012-05-06 David S. Miller <davem@davemloft.net>
25394
25395 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25396 quad soft-float symbols whose references which are compiler
25397 generated.
25398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25399
6c23e11c
JM
254002012-05-06 Joseph Myers <joseph@codesourcery.com>
25401
d8b82cad
JM
25402 [BZ #13884]
25403 [BZ #13914]
25404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25405 USE_AS_EXP10L.
25406 (EXPL_FINITE): Likewise.
25407 (FLDLOG): Likewise.
25408 (c0): Likewise.
25409 (c1): Likewise.
25410 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25411 Adjust comments for base varying.
25412 (__expl_finite): Change alias to EXPL_FINITE.
25413 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25414 e_expl.S.
25415 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25416 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25418 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25420 USE_AS_EXP10L.
25421 (EXPL_FINITE): Likewise.
25422 (FLDLOG): Likewise.
25423 (c0): Likewise.
25424 (c1): Likewise.
25425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25426 Adjust comments for base varying.
25427 (__expl_finite): Change alias to EXPL_FINITE.
25428 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25429 tests for bugs.
25430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25431
6c23e11c
JM
25432 [BZ #14064]
25433 * math/libm-test.inc (check_float_internal): Correct ulp
25434 calculation for subnormal expected results.
25435
29ba805c
AJ
254362012-05-06 Andreas Jaeger <aj@suse.de>
25437
25438 * Makeconfig (+math-flags): New, set to -frounding-math.
25439 (+cflags): Add +math-flags so that all of glibc gets compiled with
25440 it.
25441
25442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25443
7b17aeda
JM
254442012-05-05 Joseph Myers <joseph@codesourcery.com>
25445
5779f134
JM
25446 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25447 Disable one test.
25448
41498f4d
JM
25449 [BZ #13787]
25450 [BZ #13922]
25451 [BZ #14036]
25452 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25453 (__ieee754_expl): Allow for and saturate large arguments.
25454 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25455 (u_threshold): Likewise.
25456 (__exp): Call __ieee754_exp before checking for overflow and
25457 underflow.
25458 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25459 (u_threshold): Likewise.
25460 (__expf): Call __ieee754_expf before checking for overflow and
25461 underflow.
25462 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25463 (u_threshold): Likewise.
25464 (__expl): Call __ieee754_expl before checking for overflow and
25465 underflow.
25466 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25467 (__ieee754_expl): Allow for and saturate large arguments.
25468 * math/libm-test.inc (exp_test): Add another test. Do not allow
25469 missing overflow exception on overflow.
25470 (expm1_test): Do not allow missing overflow exception on overflow.
25471
6698b8bf
JM
25472 * sysdeps/i386/fpu/e_expl.c: Move to ...
25473 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25474 rather than using inline asm.
25475 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25476 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25477 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25478
7b17aeda
JM
25479 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25480 (nice): Likewise.
25481 (poll): Likewise.
25482 (signal): Likewise.
25483 (time): Likewise.
25484 (times): Likewise.
25485
f7c85819
JM
254862012-05-04 Joseph Myers <joseph@codesourcery.com>
25487
25488 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25489 sysdeps/unix/common/syscalls.list.
25490 (fchmod): Likewise.
25491 (fchown): Likewise.
25492 (ftruncate): Likewise.
25493 (getrusage): Likewise.
25494 (gettimeofday): Likewise.
25495 (setpgid): Likewise.
25496 (setregid): Likewise.
25497 (setreuid): Likewise.
25498 (sigaction): Likewise.
25499 (truncate): Likewise.
25500 (vhangup): Likewise.
25501 * sysdeps/unix/common/syscalls.list: Remove file.
25502 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25503 * sysdeps/unix/sysv/linux/Implies: Likewise.
25504
336270d0
L
255052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25506
25507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25510 Moved to ...
25511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25512 Here.
25513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25514 to ...
25515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25517 to ...
25518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25520 to ...
25521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25523 to ...
25524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25525 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25526 to ...
25527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25528 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25529 to ...
25530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25532 to ...
25533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25534 Here.
25535 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25536 to ...
25537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25538 Here.
25539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25540 to ...
25541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25542 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25543 Moved to ...
25544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25545 Here.
25546 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25547 to ...
25548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25549
d128e450
JM
255502012-05-04 Joseph Myers <joseph@codesourcery.com>
25551
fa8ee516
JM
25552 * sysdeps/unix/common/bits/dirent.h: Remove file.
25553 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25554
d128e450
JM
25555 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25556 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25557 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25558 * sysdeps/unix/bsd/isatty.c: Likewise.
25559 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25560 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25561 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25562
ff8faaf0 255632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25564
62881be4 25565 [BZ #13563]
31dc8730
AZ
25566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25567 long double comparison inaccuracies.
25568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25570
6fef930c
AS
255712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25572
25573 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25575
8f203e6c
JM
255762012-05-04 Joseph Myers <joseph@codesourcery.com>
25577
25578 [BZ #14049]
25579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25580 nonzero digits before rounding a hex value.
25581 * stdlib/tst-strtod.c (tests): Add another test.
25582
5197d9c2
AK
255832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25584
25585 * sysdeps/s390/fpu/libm-test-ulps: Update.
25586
f0c1dedf
AJ
255872012-05-03 Andreas Jaeger <aj@suse.de>
25588
25589 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25590 does not get optimized out.
25591 (malloc_opt_barrier): New.
25592
a65ef2ae 255932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25594 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25595
2b942cb7 25596 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25597 intermediate file deletion.
2b942cb7 25598 (generated): Add .symlist files.
a65ef2ae 25599
54b71e02
JM
256002012-05-03 Joseph Myers <joseph@codesourcery.com>
25601
25602 [BZ #13775]
25603 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25604 Redirect under this condition.
25605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25606 [__USE_GNU] (__dprintf_chk): Not under this condition.
25607 [__USE_GNU] (__vdprintf_chk): Likewise.
25608 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25609 under this condition.
25610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25611 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25612 [__USE_XOPEN2K8] (vdprintf): Likewise.
25613 [__USE_GNU] (__dprintf_chk): Not under this condition.
25614 [__USE_GNU] (__vdprintf_chk): Likewise.
25615 [__USE_GNU] (dprintf): Likewise.
25616 [__USE_GNU] (vdprintf): Likewise.
25617
d3dfcc41
RM
256182012-05-03 Roland McGrath <roland@hack.frob.com>
25619
25620 * elf/Makefile (common-generated): Set this instead of generated for
25621 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25622 $(all-built-dso)-derived lists.
25623
7ac30cc5
AJ
256242012-05-03 Andreas Jaeger <aj@suse.de>
25625
0c51e550
AJ
25626 * sysdeps/i386/fpu/libm-test-ulps: Update.
25627
7ac30cc5
AJ
25628 * FAQ: Removed.
25629 * FAQ.in: Likewise.
25630 * scripts/gen-FAQ.pl: Likewise.
25631 * manual/install.texi (Installation): Point to online location of
25632 FAQ.
25633 * Makefile (files-for-dist): Remove FAQ.
25634 (FAQ): Remove.
25635
d4c2917f
AM
256362012-05-02 Allan McRae <allan@archlinux.org>
25637
25638 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25639 (LDFLAGS-reldepmod5.so): Likewise.
25640 (LDFLAGS-reldep6mod1.so): Likewise.
25641 (LDFLAGS-reldep6mod4.so): Likewise.
25642 (LDFLAGS-reldep8mod3.so): Likewise.
25643 (LDFLAGS-unload4mod1.so): Likewise.
25644 (LDFLAGS-unload4mod2.so): Likewise.
25645 (LDFLAGS-tst-initorder): Likewise.
25646 (LDFLAGS-tst-initordera2.so): Likewise.
25647 (LDFLAGS-tst-initordera3.so): Likewise.
25648 (LDFLAGS-tst-initordera4.so): Likewise.
25649 (LDFLAGS-tst-initorderb2.so): Likewise.
25650 (LDFLAGS-noload): Likewise.
25651 (LDFLAGS-next): Likewise.
25652 (LDFLAGS-order2mod1.so): Likewise.
25653 (LDFLAGS-order2mod2.so): Likewise.
25654 (LDFLAGS-tst-initorder2): Likewise.
25655 (LDFLAGS-tst-initorder2a.so): Likewise.
25656 (LDFLAGS-tst-initorder2b.so): Likewise.
25657 (LDFLAGS-tst-initorder2c.so): Likewise.
25658 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25659
d77f993f
DM
256602012-05-02 David S. Miller <davem@davemloft.net>
25661
25662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25663
171a70b4
PP
256642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25665
25666 [BZ #14055]
25667 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25668
0be196ad
AJ
256692012-05-02 Andreas Jaeger <aj@suse.de>
25670
25671 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25672 since we manipulate rounding mode.
25673 (CPPFLAGS-test-idouble.c): Likewise.
25674 (CPPFLAGS-test-ifloat.c): Likewise.
25675 (CFLAGS-test-ldouble.c): Likewise.
25676 (CFLAGS-test-double.c): Likewise.
25677 (CFLAGS-test-float.c): Likewise.
25678 (CFLAGS-test-misc.c): Likewise.
25679 (CFLAGS-test-test-fenv.c): Likewise.
25680
4f9d04aa
AZ
256812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25682
2b942cb7
RM
25683 [BZ #2550]
25684 [BZ #2570]
25685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25686 comparisons to determine direction to adjust input.
4f9d04aa 25687
82a79e7d
RM
256882012-05-01 Roland McGrath <roland@hack.frob.com>
25689
f5a01ca9
RM
25690 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25691 output to the target.
25692
90fe4186
RM
25693 * scripts/localplt.awk: New file.
25694 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25695 (check-localplt-CFLAGS): Variable removed.
25696 ($(all-built-dso:=.jmprel)): New static pattern rule.
25697 (generated): Add those targets.
25698 (localplt-built-dso): New variable.
25699 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25700
25701 * elf/check-localplt.c: File removed.
25702
82397ed6
RM
25703 * scripts/check-execstack.awk: New file.
25704 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25705 (check-execstack-CFLAGS): Variable removed.
25706 ($(objpfx)check-execstack.h): Target removed.
25707 ($(objpfx)execstack-default): New target.
25708 (generated): Add that instead of check-execstack.h.
25709 ($(all-built-dso:=.phdr)): New static pattern rule.
25710 (generated): Add those targets.
25711 * elf/check-execstack.c: File removed.
25712
82a79e7d
RM
25713 * scripts/check-textrel.awk: New file.
25714 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25715 (check-textrel-CFLAGS): Variable removed.
25716 (all-built-dso): Use := to define.o
25717 ($(all-built-dso:=.dyn)): New static pattern rule.
25718 (generated): Add those targets.
25719 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25720 * config.make.in (READELF): New substituted variable.
25721 * elf/check-textrel.c: File removed.
25722
62fde54f 257232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25724
615605c9
JM
25725 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25726 allow.
25727 * conform/data/ctype.h-data [C99-based standards] (isblank):
25728 Expect function.
25729 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25730 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25732 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25733 Specify type. Require positive value.
25734 (EILSEQ): Likewise.
25735 (ERANGE): Likewise.
25736 [ISO || POSIX] (EILSEQ): Do not expect.
25737 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25738 Specify type. Require positive value.
25739 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25753 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25757 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25758 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25759 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25760 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25761 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25762 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25763 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25764 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25765 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25766 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25767 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25768 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25769 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25770 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25771 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25772 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25773 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25775 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25776 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25777 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25778 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25779 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25780 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25781 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25782 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25783 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25784 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25785 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25786 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25787 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25788 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25789 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25790 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25791 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25792 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25793 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25797 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25799 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25800 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25801 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25802 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25803 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25804 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25805 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25807 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25808 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25809 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25810 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25811 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25812 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25813 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25814 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25815 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25816 Require >= 2.
25817 (FLT_ROUNDS): Expect as macro, not constant.
25818 (FLT_MANT_DIG): Use macro-int-constant.
25819 (DBL_MANT_DIG): Likewise.
25820 (LDBL_MANT_DIG): Likewise.
25821 (FLT_DIG): Likewise.
25822 (DBL_DIG): Likewise.
25823 (LDBL_DIG): Likewise.
25824 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25825 (DBL_MIN_EXP): Likewise.
25826 (LDBL_MIN_EXP): Likewise.
25827 (FLT_MAX_EXP): Use macro-int-constant.
25828 (DBL_MAX_EXP): Likewise.
25829 (LDBL_MAX_EXP): Likewise.
25830 (FLT_MAX_10_EXP): Likewise.
25831 (DBL_MAX_10_EXP): Likewise.
25832 (LDBL_MAX_10_EXP): Likewise.
25833 (FLT_MAX): Use macro-constant.
25834 (DBL_MAX): Likewise.
25835 (LDBL_MAX): Likewise.
25836 (FLT_EPSILON): Use macro-constant. Give upper bound.
25837 (DBL_EPSILON): Likewise.
25838 (LDBL_EPSILON): Likewise.
25839 (FLT_MIN): Likewise.
25840 (DBL_MIN): Likewise.
25841 (LDBL_MIN): Likewise.
25842 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25843 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25844 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25845 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25846 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25847 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25848 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25849 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25850 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25851 [ISO11] (FLT_TRUE_MIN): Likewise.
25852 [ISO11] (LDBL_TRUE_MIN): Likewise.
25853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25854 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25855 (SCHAR_MIN): Use macro-int-constant. Specify type.
25856 (SCHAR_MAX): Likewise.
25857 (UCHAR_MAX): Likewise.
25858 (CHAR_MIN): Likewise.
25859 (CHAR_MAX): Likewise.
25860 (MB_LEN_MAX): Use macro-int-constant.
25861 (SHRT_MIN): Use macro-int-constant. Specify type.
25862 (SHRT_MAX): Likewise.
25863 (USHRT_MAX): Likewise.
25864 (INT_MAX): Likewise.
25865 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25866 bound negative.
25867 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25868 bound with "U".
25869 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25870 bound with "L".
25871 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25872 bound negative. Suffix upper bound with "L".
25873 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25874 bound with "UL".
25875 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25876 Specify type.
25877 [C99-based standards] (LLONG_MAX): Likewise.
25878 [C99-based standards] (ULLONG_MAX): Likewise.
25879 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25880 == 0.
25881 [ISO11] (max_align_t): Require type.
25882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25883
c9140a62
JM
25884 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25885 from $CFLAGS, without defining away __attribute__ calls.
25886 (checknamespace): Use $CFLAGS_namespace.
25887
9af0bf29
JM
25888 * conform/conformtest.pl (@keywords): Only include C99 keywords
25889 for standards based on C99 or C11.
25890
343222a2
JM
25891 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25892 Disable tests.
25893 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25894 UNIX98]: Likewise.
25895
661f8cf0
JM
25896 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25897 usability of symbols in #if.
25898
ee74b9cb
JM
25899 * conform/conformtest.pl: If macro or constant types start
25900 "promoted:", expect the symbol to be of the following type
25901 promoted by the integer promotions.
62fde54f 25902
aafc49b3
JM
25903 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25904 in one place. Also handle "macro-constant".
25905
fefdf574
JM
25906 * conform/conformtest.pl: Only accept expected macro values with
25907 "==". Parse all "macro" lines in one place.
25908 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25909
f2d922fe
JM
25910 * conform/conformtest.pl: Handle braced types on "constant" lines
25911 instead of handling "typed-constant".
25912 * conform/data/signal.h-data: Use "constant" instead of
25913 "typed-constant".
25914
d22956c9
JM
25915 * conform/conformtest.pl: Handle "optional-" at start of lines in
25916 one place rather than duplicating several cases. Handle each
25917 format of "macro" line with initial "optional-".
25918
028e2e38
JM
25919 * conform/conformtest.pl: Only accept expected constant or
25920 optional-constant values with "==". Parse all "constant" lines in
25921 one place. Parse all "optional-constant" lines in one place.
25922 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25923 * conform/data/fmtmsg.h-data: Likewise.
25924 * conform/data/netinet/in.h-data: Likewise.
25925 * conform/data/tar.h-data: Likewise.
25926 * conform/data/limits.h-data: Use "==" form on "constant" and
25927 "optional-constant" lines.
25928
1b8f2850
JM
25929 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25930 Use -std=c99 for XOPEN2K.
25931 (@knownproblems): Remove.
25932 (newtoken): Don't check %isknown.
25933
a05a144b
JM
25934 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25935 Do not expect macro.
25936 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25948 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25949 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25966 [XPG3] (acosh): Likewise.
25967 [XPG3] (asinh): Likewise.
25968 [XPG3] (atanh): Likewise.
25969 [XPG3] (cbrt): Likewise.
25970 [XPG3] (expm1): Likewise.
25971 [XPG3] (ilogb): Likewise.
25972 [XPG3] (log1p): Likewise.
25973 [XPG3] (logb): Likewise.
25974 [XPG3] (nextafter): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25977 [XPG3] (remainder): Likewise.
25978 [XPG3] (rint): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25986 [UNIX98 || XOPEN2K] (scalb): Expect.
25987 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25988 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26084 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26087 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26088 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26124
73c5ebe3
JM
26125 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26126 _XOPEN_SOURCE_EXTENDED for XPG4.
26127
39c33b6c
JM
26128 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26129
62fde54f
JM
26130 * Makeconfig (localtime): Remove variable.
26131 (inst_localtime-file): Likewise.
26132
0741d64c
AS
261332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26134
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26136 Update.
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26138 Update.
26139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26140 Update.
26141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26142 Update.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26144 Update.
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26146 Update.
26147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26148 Update.
26149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26150 Update.
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26152 Update.
26153
7cb029ee
JM
261542012-05-01 Joseph Myers <joseph@codesourcery.com>
26155
26156 [BZ #2550]
26157 [BZ #2570]
26158 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26159 comparisons to determine direction to adjust input.
26160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26161 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26163 Likewise.
26164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26165 Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26167 Likewise.
26168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26170 Likewise.
26171 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26172 Likewise.
26173 * math/libm-test.inc (nexttoward_test): Add more tests.
26174
412bd966
AS
261752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26176
26177 [BZ #14040]
26178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26179 in version GLIBC_2.1, not GLIBC_2.0.
26180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26181 Likewise.
26182
9568c0c2
JM
261832012-04-30 Joseph Myers <joseph@codesourcery.com>
26184
adfbc8ac
JM
26185 [BZ #13942]
26186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26187 (1 - x) * (1 + x).
26188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26189 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26190 * math/libm-test.inc (acos_test): Add more tests.
26191 (asin_test): Likewise.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update.
26193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26194
5ba3cc69
JM
26195 [BZ #14034]
26196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26197 of square root.
26198 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26200 * math/libm-test.inc (acos_test_tonearest): New function.
26201 (acos_test_towardzero): Likewise.
26202 (acos_test_downward): Likewise.
26203 (acos_test_upward): Likewise.
26204 (asin_test_tonearest): Likewise.
26205 (asin_test_towardzero): Likewise.
26206 (asin_test_downward): Likewise.
26207 (asin_test_upward): Likewise.
26208 (main): Call the new functions.
26209 * sysdeps/i386/fpu/libm-test-ulps: Update.
26210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26211
9568c0c2
JM
26212 [BZ #13884]
26213 [BZ #13924]
26214 * math/e_exp10.c: Include <float.h>.
26215 (__ieee754_exp10): Handle underflow here rather than multiplying
26216 large negative argument by M_LN10.
26217 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26218 of __ieee754_expf.
26219 * math/e_exp10l.c: Include <float.h>.
26220 (__ieee754_exp10l): Handle underflow here rather than multiplying
26221 large negative argument by M_LN10l.
26222 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26223 spurious overflow exception on underflow.
26224
5ac3ea17
MP
262252012-04-29 Marek Polacek <polacek@redhat.com>
26226
26227 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26228 (__fortify_function): New macro.
26229 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26230 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26231 __extern_always_inline.
26232 * libio/bits/stdio2.h: Likewise.
26233 * libio/bits/stdio.h: Likewise.
26234 * string/string.h: Likewise.
26235 * string/bits/string3.h: Likewise.
26236 * include/stdio.h: Likewise.
26237 * stdlib/bits/stdlib.h: Likewise.
26238 * stdlib/stdlib.h: Likewise.
26239 * rt/bits/mqueue2.h: Likewise.
26240 * rt/mqueue.h: Likewise.
26241 * posix/bits/unistd.h: Likewise.
26242 * posix/unistd.h: Likewise.
26243 * io/bits/poll2.h: Likewise.
26244 * io/bits/fcntl2.h: Likewise.
26245 * io/fcntl.h: Likewise.
26246 * io/sys/poll.h: Likewise.
26247 * misc/bits/syslog.h: Likewise.
26248 * misc/bits/syslog-ldbl.h: Likewise.
26249 * misc/sys/syslog.h: Likewise.
26250 * socket/bits/socket2.h: Likewise.
26251 * socket/sys/socket.h: Likewise.
26252 * debug/tst-chk1.c: Likewise.
26253 * wcsmbs/bits/wchar2.h: Likewise.
26254 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26255 * wcsmbs/wchar.h: Likewise.
26256
ecf0ebfb
AJ
262572012-04-29 Andreas Jaeger <aj@suse.de>
26258
26259 * Makerules (tests): Remove enable-check-abi protection.
26260 (check-abi-warn): Remove.
26261 (check-abi-%): Remove check-abi-warn usage.
26262
26263 * configure.in: Remove check-abi configure option.
26264 * configure: Regenerated.
26265 * config.make.in (enable-check-abi): Remove.
26266
6d5c57fa
AS
262672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26268
24c5d07e 26269 [BZ #14033]
ded5180a
AS
26270 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26271 double functions to double *_finite functions.
26272
7e0d315d
AS
26273 [BZ #13941]
26274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26275 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26276 LDBL_MIN_EXP.
26277 * stdio-common/Makefile (tests): Add tst-sprintf3.
26278 * stdio-common/tst-sprintf3.c: New file.
26279
6d5c57fa
AS
26280 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26281 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26282
0749ff8b
JM
262832012-04-28 Joseph Myers <joseph@codesourcery.com>
26284
26285 * conform/conformtest.pl: Remove duplicate typed-constant
26286 handling.
26287
8dbd5d7b
DM
262882012-04-28 David S. Miller <davem@davemloft.net>
26289
26290 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26291 (check-abi-%): Remove AWK script prerequisite and explicit
26292 abilist directory.
26293 (check-abi): Rewrite to just diff the symlist with the abilist.
26294 (config-tls, config-abi-config): Delete, no longer used.
26295 (update-abi-%): Remove AWK script and explicit abilist directory.
26296 (update-abi): Rewrite to simply compare and conditionally copy the
26297 symlist and the sysdep abilist file. Remove update-abi-config
26298 checks.
26299 * abilist/ld.abilist: Remove.
26300 * abilist/libBrokenLocale.abilist: Remove.
26301 * abilist/libanl.abilist: Remove.
26302 * abilist/libcrypt.abilist: Remove.
26303 * abilist/libdl.abilist: Remove.
26304 * abilist/librt.abilist: Remove.
26305 * abilist/libthread_db.abilist: Remove.
26306 * abilist/libutil.abilist: Remove.
26307 * scripts/extract-abilist.awk: Remove.
26308 * scripts/merge-abilist.awk: Remove.
26309 * sysdeps/generic/libcidn.abilist: New file.
26310 * sysdeps/generic/libnss_compat.abilist: New file.
26311 * sysdeps/generic/libnss_db.abilist: New file.
26312 * sysdeps/generic/libnss_dns.abilist: New file.
26313 * sysdeps/generic/libnss_files.abilist: New file.
26314 * sysdeps/generic/libnss_hesiod.abilist: New file.
26315 * sysdeps/generic/libnss_nis.abilist: New file.
26316 * sysdeps/generic/libnss_nisplus.abilist: New file.
26317 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26319 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26320 file.
26321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26323 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26324 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26326 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26327 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26329 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26330 file.
26331 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26335 file.
26336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26340 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26342 file.
26343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26344 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26346 file.
26347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26349 New file.
26350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26351 New file.
26352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26353 New file.
26354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26355 New file.
26356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26357 New file.
26358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26359 New file.
26360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26361 New file.
26362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26363 New file.
26364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26365 New file.
26366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26367 New file.
26368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26369 New file.
26370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26371 New file.
26372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26373 New file.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26375 file.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26377 New file.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26379 New file.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26381 file.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26383 New file.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26385 New file.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26387 file.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26389 New file.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26391 New file.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26393 New file.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26395 New file.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26397 New file.
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26399 New file.
26400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26402 file.
26403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26404 New file.
26405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26406 file.
26407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26408 file.
26409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26410 file.
26411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26412 file.
26413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26414 file.
26415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26416 New file.
26417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26418 file.
26419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26420 file.
26421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26422 New file.
26423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26424 file.
26425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26427 file.
26428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26429 New file.
26430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26431 file.
26432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26433 file.
26434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26435 file.
26436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26437 file.
26438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26439 file.
26440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26441 New file.
26442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26443 file.
26444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26445 file.
26446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26447 New file.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26449 file.
26450 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26452 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26453 file.
26454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26456 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26459 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26460 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26462 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26463 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26466 file.
26467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26468 New file.
26469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26470 file.
26471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26472 file.
26473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26474 file.
26475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26476 file.
26477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26478 file.
26479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26480 New file.
26481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26482 New file.
26483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26484 file.
26485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26486 New file.
26487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26488 file.
26489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26491 file.
26492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26493 New file.
26494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26495 file.
26496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26497 file.
26498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26499 file.
26500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26501 file.
26502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26503 file.
26504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26505 New file.
26506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26507 New file.
26508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26509 file.
26510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26511 New file.
26512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26513 file.
26514
41d73a1b
JM
265152012-04-28 Joseph Myers <joseph@codesourcery.com>
26516
26517 * conform/conformtest.pl: Fix typo in handling typed-constant from
26518 allow-header.
26519
28aeeda4
JM
265202012-04-27 Joseph Myers <joseph@codesourcery.com>
26521
adae8f5e
JM
26522 * README: Cut down references to pre-2.6 Linux kernels and
26523 Linuxthreads. Update lists of configurations in libc and ports
26524 and sort alphabetically. Say "or newer" with Linux kernel version
26525 requirements.
26526
28aeeda4
JM
26527 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26528
a462cb63
RA
265292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26530
26531 [BZ #887]
26532 * math/libm-test.inc (logb_test_downward): New test to expose
26533 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26534 rounding mode.
26535
6ad3493e
JM
265362012-04-27 Joseph Myers <joseph@codesourcery.com>
26537
26538 [BZ #14027]
26539 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26540 to be done.
26541 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26542 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26543
2ce4f015
JM
265442012-04-26 Joseph Myers <joseph@codesourcery.com>
26545
5aeb141a
JM
26546 * sysdeps/unix/i386/brk.S: Remove file.
26547 * sysdeps/unix/i386/dl-brk.S: Likewise.
26548 * sysdeps/unix/i386/pipe.S: Likewise.
26549 * sysdeps/unix/i386/sigreturn.S: Likewise.
26550 * sysdeps/unix/i386/syscall.S: Likewise.
26551 * sysdeps/unix/i386/vfork.S: Likewise.
26552 * sysdeps/unix/i386/wait.S: Likewise.
26553
7143acae
JM
26554 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26555 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26556
2ce4f015
JM
26557 * configure.in (arm*-none*): Do not allow without
26558 --enable-hacker-mode.
26559 (netbsd*): Remove case setting base_os.
26560 (386bsd*): Likewise.
26561 (freebsd*): Likewise.
26562 (bsdi*): Likewise.
26563 (osf*): Likewise.
26564 (sunos*): Likewise.
26565 (ultrix*): Likewise.
26566 (newsos*): Likewise.
26567 (dynix*): Likewise.
26568 (*bsd*): Likewise.
26569 (sysv*): Likewise.
26570 (isc*): Likewise.
26571 (esix*): Likewise.
26572 (sco*): Likewise.
26573 (minix*): Likewise.
26574 (irix4*): Likewise.
26575 (irix6*): Likewise.
26576 (solaris[2-9]*): Likewise.
26577 (none): Likewise.
26578 * configure: Regenerated.
26579
0ac229c8
AZ
265802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26581
26582 [BZ #11521]
26583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26584 overflow or cancellation in calculating denominator.
26585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26587 down expression to avoid unexpected rounding in newer GCCs.
26588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26589
33f244f4
DM
265902012-04-26 David S. Miller <davem@davemloft.net>
26591
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26593 long-double compat symbols.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26607
cfa1f3e8
DM
266082012-04-25 David S. Miller <davem@davemloft.net>
26609
26610 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26611 HWCAP_* values only after the memory barriers have been defined.
26612 (atomic_full_barrier): Define.
26613 (atomic_read_barrier): Define.
26614 (atomic_write_barrier): Define.
26615
6e236b92
SP
266162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26617
26618 * shlib-versions: Add libgcc_s version information.
26619 * sysdeps/generic/libgcc_s.h: Remove.
26620 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26621 libgcc_s.h.
26622 * sysdeps/gnu/unwind-resume.c: Likewise.
26623 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26624
aab39a09
DM
266252012-04-25 David S. Miller <davem@davemloft.net>
26626
26627 * sysdeps/unix/sparc/brk.S: Delete.
26628 * sysdeps/unix/sparc/dl-brk.S: Delete.
26629 * sysdeps/unix/sparc/pipe.S: Delete.
26630 * sysdeps/unix/sparc/sysdep.S: Delete.
26631 * sysdeps/unix/sparc/sysdep.h: Delete.
26632 * sysdeps/unix/sparc/vfork.S: Delete.
26633 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26634 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26636 ret_ERRVAL, r0, r1, MOVE): Define.
26637 (JUMPTARGET): Remove.
26638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26639 sysdeps/unix/sparc/sysdep.h
26640 (ENTRY, END): Remove.
26641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26642
a3cc4f48
JM
266432012-04-25 Joseph Myers <joseph@codesourcery.com>
26644
2ed8cda2
JM
26645 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26646 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26647 -DIS_IN_build.
26648
35d76d59
JM
26649 * timezone/README: Update upstream location and email address for
26650 tzcode and tzdata.
26651 * timezone/zdump.c: Update from tzcode 2012b.
26652 * timezone/zic.c: Likewise.
26653
a3cc4f48
JM
26654 * configure.in (libc_cv_as_needed): Remove test.
26655 * configure: Regenerated.
26656 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26657 conditional definition.
26658 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26659 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26660 * config.make.in (have-as-needed): Remove variable.
26661
ceab42c3
SP
266622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26663 Paul Pluzhnikov <ppluzhnikov@google.com>
26664
26665 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26666 strings correctly.
26667
3ce2865f
CLT
266682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26669
26670 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26671 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26672 * sysdeps/sh/strlen.S: Likewise.
26673
f37e0d68
JM
266742012-04-24 Joseph Myers <joseph@codesourcery.com>
26675
ae186e9a
JM
26676 * sysdeps/unix/fork.S: Remove file.
26677 * sysdeps/unix/i386/fork.S: Likewise.
26678 * sysdeps/unix/sparc/fork.S: Likewise.
26679
b96914af
JM
26680 * sysdeps/unix/system.c: Remove file.
26681 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26682
f37e0d68
JM
26683 * sysdeps/unix/getegid.S: Remove file.
26684 * sysdeps/unix/geteuid.S: Likewise.
26685
87ef29ca
RM
266862012-04-24 Roland McGrath <roland@hack.frob.com>
26687
83bcd236
RM
26688 * scripts/check-localplt.awk: New file.
26689 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26690 of diff.
26691 * scripts/data/localplt-generic.data: Add a comment.
26692
87ef29ca
RM
26693 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26694 NODE when __dir_mkfile failed.
26695 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26696 Reported by Ludovic Courtès <ludo@gnu.org>.
26697
e5a6e567
AJ
266982012-04-24 Andreas Jaeger <aj@suse.de>
26699
26700 * Makerules (common-clean): Also remove gen-as-const-headers
26701 files.
26702
c1820385
JM
267032012-04-24 Joseph Myers <joseph@codesourcery.com>
26704
26705 * Makerules (native-compile): Do not change working directory for
26706 build. Use $(OUTPUT_OPTION) in command.
26707 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26708
94e02fc4
AZ
267092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26710
26711 [BZ #13886]
26712 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26713 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26714 * math/libm-test.inc (floor_test): Add more tests.
26715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26716
3a533ca3
JM
267172012-04-24 Joseph Myers <joseph@codesourcery.com>
26718
940ab4b3
JM
26719 * sysdeps/unix/getdents.c: Remove file.
26720 * sysdeps/unix/sysv/getdents.c: Likewise.
26721 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26722
90e037bd
JM
26723 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26724 sysdeps/unix/mman/syscalls.list.
26725 (mmap): Likewise.
26726 (mprotect): Likewise.
26727 (msync): Likewise.
26728 (munmap): Likewise.
26729 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26730 * sysdeps/unix/mman/syscalls.list: Remove.
26731 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26732
3a533ca3
JM
26733 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26734 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26735 * configure: Regenerated.
26736 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26737 $(libgcc_s_suffix).
26738 * config.make.in (libgcc_s_suffix): Remove variable.
26739
1ad743de
JM
267402012-04-23 Joseph Myers <joseph@codesourcery.com>
26741
4ad451e2
JM
26742 * sysdeps/unix/sysv/gethostname.c: Move to ...
26743 * sysdeps/posix/gethostname.c: ... here.
26744
5e37ce39
JM
26745 * sysdeps/unix/execve.S: Remove file.
26746
1ad743de
JM
26747 * sysdeps/unix/_exit.S: Remove file.
26748
4e681b5b
AJ
267492012-04-23 Andreas Jaeger <aj@suse.de>
26750
26751 [BZ #13739]
26752 * manual/Makefile: Remove make dist support, there's no
26753 need for a stand-alone documentation tar ball.
26754 (TEXI2DVI): Define always, it's not in Makeconfig.
26755 (dist): Removed.
26756 (tar-it): Removed.
26757 (edition): Removed.
26758 (glibc-doc-$(edition).tar): Removed
26759 (%.Z): Removed.
26760 (%.gz): Removed.
26761 (%.uu): Removed.
26762 (ETAGS): Remove, it's in Makeconfig.
26763 (move-if-change): Remove, it's in Makeconfig.
26764
38686a03 267652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26766
26767 [BZ #13970]
26768 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26769 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26770 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26771 (strtod_l, strtof_l, strtold_l): Remove __wur.
26772 It is not necessarily an error to ignore strtol's return value.
26773 One can reliably look at the stored endptr to decide whether
26774 the number had valid syntax.
26775
7c0616fa
AJ
267762012-04-21 Andreas Jaeger <aj@suse.de>
26777
803cb6b7 26778 [BZ #13739]
7c0616fa
AJ
26779 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26780
b0fe253f
JM
267812012-04-21 Joseph Myers <joseph@codesourcery.com>
26782
26783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26784 * sysdeps/unix/sysv/Versions: Remove file.
26785
8280f22d
MT
267862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26787
26788 [BZ #13927]
26789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26790
75ce411f 267912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26792
26793 [BZ #7064]
26794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26795 version from __vm86.
26796
097d59fa
JM
267972012-04-20 Joseph Myers <joseph@codesourcery.com>
26798
a90f3bcb
JM
26799 * sysdeps/unix/common/lxstat.c: Remove file.
26800 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26801
edc7ea78
JM
26802 * sysdeps/unix/sysv/Makefile: Remove file.
26803
cb78c221
JM
26804 * sysdeps/unix/sysv/direct.h: Remove file.
26805
efa6a45f
JM
26806 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26807 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26808 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26809 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26810 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26811 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26812 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26813
9c9f2d0c
JM
26814 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26815
4541c83b
JM
26816 * sysdeps/unix/xmknod.c: Remove file.
26817 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26818
f5d153a0
JM
26819 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26820
aa746595
JM
26821 * sysdeps/unix/sysv/i386/time.S: Remove file.
26822
cce5905e
JM
26823 * sysdeps/unix/fxstat.c: Remove file.
26824 * sysdeps/unix/xstat.c: Likewise.
26825 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26826
37fa3841
JM
26827 * sysdeps/unix/sysv/sigaction.c: Remove file.
26828
ff1962a3
JM
26829 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26830 (sysdep_headers): Remove variable.
26831 [termio.h not in sysdep_headers] (generated): Likewise.
26832 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26833 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26834 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26835 * sysdeps/unix/sysv/tcflow.c: Likewise.
26836 * sysdeps/unix/sysv/tcflush.c: Likewise.
26837 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26838 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26839 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26840 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26841 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26842
e7740d31
JM
26843 * sysdeps/unix/siglist.c: Remove file.
26844
ee06f18b
JM
26845 * sysdeps/unix/getppid.S: Remove file.
26846
097d59fa
JM
26847 * sysdeps/unix/mkdir.c: Remove file.
26848 * sysdeps/unix/rmdir.c: Likewise.
26849
ff3d51ec
AS
268502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26851
26852 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26853 ERR_MAX value.
26854 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26855 errlist-compat value.
26856
50f81fd7
DM
268572012-04-18 David S. Miller <davem@davemloft.net>
26858
26859 * sysdeps/generic/memcopy.h (reg_char): Delete.
26860 * debug/strcat_chk.c: Use char, not reg_char.
26861 * debug/strcpy_chk.c: Likewise.
26862 * debug/strncat_chk.c: Likewise.
26863 * debug/strncpy_chk.c: Likewise.
26864 * string/memchr.c: Likewise.
26865 * string/memrchr.c: Likewise.
26866 * string/rawmemchr.c: Likewise.
26867 * string/strcat.c: Likewise.
26868 * string/strchr.c: Likewise.
26869 * string/strchrnul.c: Likewise.
26870 * string/strcmp.c: Likewise.
26871 * string/strcpy.c: Likewise.
26872 * string/strncat.c: Likewise.
26873 * string/strncmp.c: Likewise.
26874 * string/strncpy.c: Likewise.
26875
8ff41c46
WS
268762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26877
26878 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26879 __builtin_memcopy is called when src and dest ranges are known to not
26880 overlap.
26881
6b652f46
WS
268822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26883
26884 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26885 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26886 fwd_align_merge macro call.
26887 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26888 bwd_align_merge macro call.
26889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26890
b282631e
WS
268912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26892
26893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26894 bwd_align_merge macros.
26895 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26896 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26898
95aa737c
DM
268992012-04-18 David S. Miller <davem@davemloft.net>
26900
26901 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26902
7a99a614
AJ
269032012-04-18 Andreas Jaeger <aj@suse.de>
26904
26905 [BZ# 6794]
26906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26909
26910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26911 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26913
26914 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26915 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26916 Adjust for changed ldbl-128 files.
26917
26918 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26919 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26921
e5270c23
DM
269222012-04-17 David S. Miller <davem@davemloft.net>
26923
26924 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26925
fb5e92c9
AS
269262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26927
26928 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26929 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26930 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26931 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26933 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26934
76da7265
AZ
269352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26936
26937 [BZ #6794]
26938 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26939 * math/libm-test.inc: Add ilogb errno and exception tests.
26940 * math/w_ilogb.c: New file: ilogb wrapper.
26941 * math/w_ilogbf.c: New file: ilogbf wrapper.
26942 * math/w_ilogbl.c: New file: ilogbl wrapper.
26943 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26944 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26945 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26946 exception being thrown with 0.0 as argument.
26947 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26948 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26949 exception being thrown with 0.0 as argument.
26950 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26951 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26952 exception being thrown with 0.0 as argument.
26953 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26954 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26955 exception being thrown with 0.0 as argument.
26956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26957 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26959 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26962 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26963 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26964 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26965
0396e69d
PB
269662012-04-17 Petr Baudis <pasky@ucw.cz>
26967
26968 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26969 with altivec.
26970
750b5926
MP
269712012-04-16 Marek Polacek <polacek@redhat.com>
26972
26973 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26974
751728a1
MP
269752012-04-16 Marek Polacek <polacek@redhat.com>
26976
26977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26978 operands of fdivp instruction.
26979
34a27407
L
269802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26981
26982 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26983 * elf/tst-auditmod3b.c: Likewise.
26984 * elf/tst-auditmod4b.c: Likewise.
26985 * elf/tst-auditmod5b.c: Likewise.
26986 * elf/tst-auditmod6b.c: Likewise.
26987 * elf/tst-auditmod6c.c: Likewise.
26988 * elf/tst-auditmod7b.c: Likewise.
26989 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26990 * sysdeps/x86_64/preconfigure.in: Likewise.
26991 * sysdeps/x86_64/preconfigure: Regenerated.
26992
7e73e17d
L
269932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26994
26995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26996 __ILP32__.
26997
c7a6ab72
AB
269982012-04-13 Antoine Balestrat <merkil33@gmail.com>
26999
27000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27001 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27002
a9e8e0e0
CL
270032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27004
27005 [BZ #13973]
27006 * locale/iso-639.def: Fix gl language name. Spotted by
27007 Yaron Shahrabani.
27008
ec98af7d
RM
270092012-04-12 Roland McGrath <roland@hack.frob.com>
27010
27011 [BZ #2074]
27012 * libio/libio.h (__io_write_fn): Update comment.
27013
247c3ede
PB
270142012-04-12 Petr Baudis <pasky@ucw.cz>
27015
27016 [BZ #2074]
27017 * stdio.texi (Hook Functions): The user provided writer function
27018 is not allowed to return -1.
27019
55939d6d
DM
270202012-04-11 David S. Miller <davem@davemloft.net>
27021
27022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27023
90020f5a
MF
270242012-04-11 Mike Frysinger <vapier@gentoo.org>
27025
27026 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27027 Add a leading slash to rtkaio.
27028
288f9098
JM
270292012-04-11 Jim Meyering <meyering@redhat.com>
27030
90020f5a
MF
27031 [BZ #11959]
27032 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27033 It is not necessarily an error to ignore fwrite's return
27034 value. One can reliably use ferror to test for errors after
27035 the fact.
288f9098 27036
4be2b570
L
270372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 * bits/types.h (__snseconds_t): New type.
27040 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27041
27042 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27044 (__SNSECONDS_T_TYPE): Likewise.
27045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27046 (__SNSECONDS_T_TYPE): Likewise.
27047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27048 (__SNSECONDS_T_TYPE): Likewise.
27049
288f9098 270502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27051
27052 [BZ #2636]
27053 * manual/time.texi (Processor Time): Return type of times is
27054 elapsed real time since an arbitrary point in the past.
27055 (CPU Time): Move CLK_TCK from here...
27056 (Processor Time): ...to here. Correct description.
27057 * manual/conf.texi (Constants for Sysconf): Correct description of
27058 _SC_CLK_TCK.
27059
d7dd4413
DM
270602012-04-10 David S. Miller <davem@davemloft.net>
27061
27062 [BZ #13967]
27063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27064 where the is a gap between DT_REL(A) and DT_JMPREL.
27065
b46068fc
L
270662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27069 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27070 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27071
73d65cc3
SP
270722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27073
27074 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27075 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27076 (dl_main): Handle --inhibit-cache.
27077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27078 _dl_inhibit_cache.
27079 * elf/dl-load.c (_dl_map_object): Use it.
27080 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27081
bcc8d661
JM
270822012-04-09 Joseph Myers <joseph@codesourcery.com>
27083
8f9a2fae
JM
27084 [BZ #13872]
27085 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27086 (__ieee754_powl): Saturate large exponents rather than testing for
27087 overflow of y*log2(x).
27088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27089 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27090 exceptions.
27091
bcc8d661
JM
27092 [BZ #11521]
27093 * math/s_ctan.c: Include <float.h>.
27094 (__ctan): Avoid internal overflow or cancellation in calculating
27095 denominator.
27096 * math/s_ctanf.c: Likewise.
27097 * math/s_ctanl.c: Likewise.
27098 * math/s_ctanh.c: Likewise.
27099 * math/s_ctanhf.c: Likewise.
27100 * math/s_ctanhl.c: Likewise.
27101 * math/libm-test.inc (ctan_test): Add more tests.
27102 (ctanh_test): Likewise.
27103 * sysdeps/i386/fpu/libm-test-ulps: Update.
27104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105
823fbbb4
AJ
271062012-04-09 Andreas Jaeger <aj@suse.de>
27107
03879793
AJ
27108 [BZ #6894]
27109 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27110 is an optional BSD extension.
27111
823fbbb4
AJ
27112 [BZ #10254]
27113 * manual/stdio.texi (Opening Streams): Document additional fopen
27114 parameters.
27115
8de131cb
RM
271162012-04-09 Roland McGrath <roland@hack.frob.com>
27117
27118 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27119 %eax without telling the compiler.
27120
c0ed9d7d
CD
271212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27122
27123 [BZ # 13963]
27124 * manual/install.texi: Use sourceware.org.
27125
c483f6b4
JM
271262012-04-09 Joseph Myers <joseph@codesourcery.com>
27127
d7dd9453
JM
27128 [BZ #13873]
27129 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27130 (__ieee754_pow): Generate overflow and underflow using huge*huge
27131 and tiny*tiny rather than just returning constant infinity or zero
27132 for large exponents.
27133 * math/libm-test.inc (pow_test): Require overflow exceptions for
27134 applicable cases of large exponents.
27135
c483f6b4
JM
27136 [BZ #706]
27137 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27138 (__ieee754_pow): Use iterative multiplication algorithm only for
27139 integer exponents with absolute value below 1024. Check for odd
27140 integer exponents when using algorithm for real exponents.
27141 * math/libm-test.inc (pow_test): Add more tests.
27142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27143
d2de7579
JM
271442012-04-08 Joseph Myers <joseph@codesourcery.com>
27145
27146 [BZ #13705]
27147 * math/libm-test.inc (exp_test): Do not allow overflow exception
27148 on underflow test.
27149
f77f1232
AJ
271502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27151
27152 [BZ #13705]
27153 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27154 instead of __kernel_standard_f.
27155
3884932b
MF
271562012-04-08 Mike Frysinger <vapier@gentoo.org>
27157
27158 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27159 * sysdeps/x86_64/memset_chk.S: Likewise.
27160
54472e9c
AJ
271612012-04-08 Andreas Jaeger <aj@suse.de>
27162
6ab0fbfc
AJ
27163 [BZ #10153]
27164 * manual/startup.texi (Environment Access): Describe return value
27165 for putenv and setenv.
27166
61efba8c
AJ
27167 [BZ #6895]
27168 * manual/filesys.texi (Directory Entries): Add description for
27169 DT_LNK.
27170
95c3f29a
AJ
27171 [BZ #6890]
27172 * manual/filesys.texi (Directory Entries): Clarify that it's file
27173 system not operating system in the description of DT_UNKNOWN.
27174
54472e9c
AJ
27175 [BZ #6578]
27176 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27177
624254b1
SC
271782012-04-08 Stephen Compall <s11@member.fsf.org>
27179
27180 [BZ #6649]
27181 * manual/llio.texi (Opening and Closing Files): Add cross
27182 reference to explain mode argument.
27183
1e4920e0
MF
271842012-04-07 Mike Frysinger <vapier@gentoo.org>
27185
27186 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27187 * sysdeps/x86_64/memset_chk.S: Likewise.
27188
5ed848f3
DM
271892012-04-07 David S. Miller <davem@davemloft.net>
27190
27191 * elf/elf.h (R_SPARC_WDISP10): Define.
27192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27193 R_SPARC_SIZE32.
27194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27195 R_SPARC_SIZE64 and R_SPARC_H34.
27196
96154cd8
CD
271972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27198
27199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27200 conditions and remove no longer applicable assertion.
27201
9904dc47
L
272022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27203
27204 * bits/byteswap.h: Include <features.h>.
27205 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27206 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27207
f8887d0a
L
272082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27209
27210 * bits/byteswap.h (__bswap_16): Removed.
27211 Include <bits/byteswap-16.h> to get __bswap_16.
27212 * sysdeps/i386/bits/byteswap.h: Likewise.
27213 * sysdeps/s390/bits/byteswap.h: Likewise.
27214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27215 * bits/byteswap-16.h: New file.
27216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27217 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27218 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27219 * string/Makefile (headers): Add bits/byteswap-16.h.
27220
62470f60
PP
272212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27222
27223 [BZ #13895]
27224 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27225 extra indirection.
27226 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27227 * nss/tst-nss-static.c: New.
27228
4dad7bab
RM
272292012-04-06 Robert Millan <rmh@gnu.org>
27230
27231 [BZ #6486]
27232 * manual/llio.texi (File Position Primitive): lseek
27233 refers to WHENCE when it really means OFFSET.
27234
e9142a17
AJ
272352012-04-06 Andreas Jaeger <aj@suse.de>
27236
2c040eff
AJ
27237 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27238 strncmp declarations.
27239
e9142a17
AJ
27240 * abilist/libc.abilist: Add __poll and __ppoll.
27241
ff9f1c5f
DM
272422012-04-05 David S. Miller <davem@davemloft.net>
27243
dcd2ae90
DM
27244 * scripts/check-local-headers.sh: Accept a host triplet in the
27245 path matched by the exclude regexp.
27246
993eb054
DM
27247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27248 definition.
27249 * sysdeps/powerpc/powerpc32/dl-machine.h
27250 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27251 * sysdeps/s390/s390-32/dl-machine.h
27252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27253 * sysdeps/sparc/sparc32/dl-machine.h
27254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27255 * sysdeps/sparc/sparc64/dl-machine.h
27256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27257
ff9f1c5f
DM
27258 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27259 lazy binding.
48e2e132 27260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27261 undefined symbol errors.
27262
48e2e132 27263 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27264 DT_NEEDED entries.
27265
e80d6f94
MM
272662012-04-05 Michael Matz <matz@suse.de>
27267
27268 [BZ #13592]
27269 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27270
349fa79f
AJ
272712012-04-05 Andreas Jaeger <aj@suse.de>
27272
27273 [BZ #13908]
27274 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27275 comment.
27276
f402708f
KK
272772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27278
27279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27280 which ROUND is no valid rounding mode.
27281
2ecccfc9
KK
272822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27283
27284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27285 read again.
27286 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27287
8a53f50f
KK
272882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27289
27290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27291 an exception using FPU order intentionally.
27292
272932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27294
27295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27296 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27297 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27298 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27299
d653abb7
SJ
273002012-04-05 Simon Josefsson <simon@josefsson.org>
27301
27302 [BZ #12340]
27303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27304 EINVAL when BUFLEN is too smal.
27305
c3b1bf7d
TS
273062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27307
27308 [BZ #13553]
27309 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27310 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27311
b1aa60f3
AJ
273122012-04-03 Andreas Jaeger <aj@suse.de>
27313
c3b1bf7d 27314 [BZ #13938]
67f60a26
AJ
27315 * manual/setjmp.texi (System V contexts): Fix sentence.
27316
b1aa60f3
AJ
27317 [BZ #13926]
27318 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27319 New macro for this case.
27320 [!__GNUC__] (__bswap_64): New inline function for this case.
27321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27322 * bits/byteswap.h: Likewise.
27323 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27324 ull, guard with __GLIBC_HAVE_LONG_LONG.
27325
27326 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27327 __GLIBC_HAVE_LONG_LONG.
27328
27329 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27330 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27331
39c59c35
TMQMF
273322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27333
27334 [BZ #13691]
27335 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27336 inptr and inend, rather than using last_ch.
27337
135ffda8
DM
273382012-04-02 David S. Miller <davem@davemloft.net>
27339
27340 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27341 * stdio-common/printf-parse.h (read_int): Change return type to
27342 'int', return -1 on INT_MAX overflow.
27343 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27344 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27345 overflows INT_MAX. Check for overflow of in-format-string precision
27346 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27347 SIZE_MAX not INT_MAX for integer overflow test.
27348 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27349 skip the construct in the format string but do not record anything.
27350 * stdio-common/bug22.c: Adjust to test both width/prevision
27351 INT_MAX overflow as well as total length INT_MAX overflow. Check
27352 explicitly for proper errno values.
27353
228c019e
TS
273542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27355
302cadd3
TS
27356 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27357 CHAR_MAX.
27358 * string/test-strcmp.c [! WIDE]: Likewise.
27359 * time/tst-mktime2.c: Likewise for INT_MAX.
27360 * string/test-string.h: #include <sys/param.h> for MIN.
27361
228c019e
TS
27362 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27363 * sysdeps/i386/init-first.c (init): Likewise.
27364 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27365 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27366 * sysdeps/sh/init-first.c (init): Likewise.
27367
cfa633f5
UD
273682012-04-01 Ulrich Drepper <drepper@gmail.com>
27369
27370 * po/ru.po: Update from translation team.
d1635ef8 27371 * po/vi.po: Likewise.
cfa633f5 27372
6cd0a5ea
SP
273732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27374
27375 * resolv/nss_dns/dns-host.c: Merge copyright years.
27376
4b43400f
LD
273772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27378
27379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27380 Optimize memcpy with prefetch if
27381 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27382 src, dst pointers have unequal 16 byte alignments.
27383
48c41d04
SP
273842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27385
27386 [BZ #13928]
27387 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27388 from a CNAME entry and return the minimum ttl for the query.
27389 (gaih_getanswer_slice): Likewise.
27390
b8dc394d
JL
273912012-03-30 Jeff Law <law@redhat.com>
27392
27393 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27394 due to long keys.
27395 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27396 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27397
2f5a5ed0
JL
27398 * resolv/nss_dns/dns-host.c: Update copyright year.
27399
1d39e359
UD
274002012-03-30 Ulrich Drepper <drepper@gmail.com>
27401
c030f70c 27402 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27403 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27404
1d39e359
UD
27405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27406 comments for sendmmsg.
27407
274082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27409
27410 [BZ #13691]
27411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27412 with only 1 character between 0x0041 and 0x01b0.
27413 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27414 * wcsmbs/tst-mbsnrtowcs.c: New file.
27415
20fde227
DM
274162012-03-29 David S. Miller <davem@davemloft.net>
27417
27418 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27419 small copies by hand.
27420
984a4237
JL
274212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27422
27423 [BZ #13761]
27424 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27425 _nss_compat_initgroups_dyn): Fall back to malloc/free
27426 for large group memberships.
27427
18c9d62b
DM
274282012-03-28 David S. Miller <davem@davemloft.net>
27429
88d85d4f
DM
27430 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27431 that branches into memcpy.
27432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27437 bits.
27438 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27439 implementation too.
27440 * sysdeps/sparc/mempcpy.S: New file.
27441
e5aa83e1
DM
27442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27443 the IFUNC routine in the libc case.
27444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27445
88570753
DM
27446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27448 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27449 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27450 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27451 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27452 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27453 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27454
249d7567
DM
27455 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27456 loop to 256 bytes instead of 64 bytes and fix test signedness.
27457
18c9d62b
DM
27458 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27459 * sysdeps/sparc/sparc32/Makefile: rather than here...
27460 * sysdeps/sparc/sparc64/Makefile: and here.
27461
05f3d1f6
UD
274622012-03-28 Ulrich Drepper <drepper@gmail.com>
27463
27464 * malloc/mallocbug.c: Avoid warnings about unused variables.
27465
86ae07a8
JL
274662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27467
27468 [BZ #13760]
27469 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27470 in the right place. Discard and retry query if response is
27471 larger than input buffer size.
27472
41bf21a1
JM
274732012-03-28 Joseph Myers <joseph@codesourcery.com>
27474
d6270972
JM
27475 [BZ #369]
27476 [BZ #2678]
27477 [BZ #3866]
27478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27479 x for large integer exponent.
27480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27482 sign of result as needed afterwards.
27483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27485 result for underflowing pow the same as for overflow.
27486 (__kernel_standard_l): Handle powl overflow and underflow here
27487 rather than calling __kernel_standard.
27488 * math/libm-test.inc (pow_test): Add more tests.
27489
414fca03 27490 [BZ #3868]
41bf21a1
JM
27491 [BZ #13879]
27492 [BZ #13910]
27493 [BZ #13911]
27494 [BZ #13912]
27495 [BZ #13913]
27496 [BZ #13915]
27497 [BZ #13916]
27498 [BZ #13917]
27499 [BZ #13918]
27500 [BZ #13919]
27501 [BZ #13920]
27502 [BZ #13921]
27503 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27504 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27505 (__kernel_standard_l): New function.
27506 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27507 __kernel_standard.
27508 * math/w_acosl.c (__acosl): Likewise.
27509 * math/w_asinl.c (__asinl): Likewise.
27510 * math/w_atan2l.c (__atan2l): Likewise.
27511 * math/w_atanhl.c (__atanhl): Likewise.
27512 * math/w_coshl.c (__coshl): Likewise.
27513 * math/w_exp10l.c (__exp10l): Likewise.
27514 * math/w_exp2l.c (__exp2l): Likewise.
27515 * math/w_fmodl.c (__fmodl): Likewise.
27516 * math/w_hypotl.c (__hypotl): Likewise.
27517 * math/w_j0l.c (__j0l, __y0l): Likewise.
27518 * math/w_j1l.c (__j1l, __y1l): Likewise.
27519 * math/w_jnl.c (__jnl, __ynl): Likewise.
27520 * math/w_lgammal.c (__lgammal): Likewise.
27521 * math/w_log10l.c (__log10l): Likewise.
27522 * math/w_log2l.c (__log2l): Likewise.
27523 * math/w_logl.c (__logl): Likewise.
27524 * math/w_powl.c (__powl): Likewise.
27525 * math/w_remainderl.c (__remainderl): Likewise.
27526 * math/w_scalbl.c (sysv_scalbl): Likewise.
27527 * math/w_sinhl.c (__sinhl): Likewise.
27528 * math/w_sqrtl.c (__sqrtl): Likewise.
27529 * math/w_tgammal.c (__tgammal): Likewise.
27530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27531 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27532 * math/libm-test.inc (acos_test): Add more tests.
27533 (acosh_test): Likewise.
27534 (asin_test): Likewise.
27535 (atanh_test): Likewise.
27536 (exp_test): Likewise.
27537 (exp10_test): Likewise.
27538 (exp2_test): Likewise.
27539 (expm1_test): Likewise.
27540 (lgamma_test): Likewise.
27541 (log_test): Likewise.
27542 (log10_test): Likewise.
27543 (log1p_test): Likewise.
27544 (log2_test): Likewise.
27545 (pow_test): Do not allow some spurious overflow exceptions.
27546 (sqrt_test): Add more tests.
27547 (tgamma_test): Likewise.
27548 (y0_test): Likewise.
27549 (y1_test): Likewise.
27550 (yn_test): Likewise.
27551
dd62fda6
AB
275522012-03-27 Anton Blanchard <anton@samba.org>
27553
27554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27555 MAP_HUGETLB.
27556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27559
1e3cdfda
AJ
275602012-03-27 David S. Miller <davem@davemloft.net>
27561
b855ab85
DM
27562 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27563
1e3cdfda
AJ
27564 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27565 have-as-vis3 check.
27566
275672012-03-27 Andreas Jaeger <aj@suse.de>
27568
27569 * sysdeps/x86_64/elf/configure.in: Moved to ...
27570 * sysdeps/x86_64/configure.in: ... here.
27571 * sysdeps/x86_64/elf/start.S: Moved to ...
27572 * sysdeps/x86_64/start.S: ... here.
27573 * sysdeps/x86_64/elf/configure: Delete.
27574
27575 * sysdeps/x86_64/configure.in: Merge contents from
27576 sysdeps/i386/configure.in (without i686 check).
27577
27578 * sysdeps/i386/elf/Versions: Merge into ...
27579 * sysdeps/i386/Versions: ... this.
27580 * sysdeps/i386/elf/Versions: Delete file.
27581 * sysdeps/i386/elf/start.S: Moved to ...
27582 * sysdeps/i386/start.S: ...here.
27583 * sysdeps/i386/elf/configure.in: Merge into...
27584 * sysdeps/i386/configure.in: ...here.
27585 * sysdeps/i386/elf/configure.in: Delete file.
27586 * sysdeps/i386/elf/configure: Delete file.
27587
27588 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27589 * debug/backtracesyms.c: ... here.
27590 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27591 * debug/backtracesymsfd.c: ... here.
27592 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27593 * sysdeps/generic/ifunc-sel.h: ... here.
27594
27595 * sysdeps/unix/i386/start.c: Delete file.
27596 * sysdeps/unix/sparc/start.c: Delete file.
27597 * sysdeps/unix/start.c: Delete file.
27598
27599 * sysdeps/sh/elf/configure.in: Moved to ...
27600 * sysdeps/sh/configure.in: ... here.
27601 * sysdeps/sh/elf/start.S: Moved to ...
27602 * sysdeps/sh/start.S: ... here.
27603 * sysdeps/sh/elf/configure: Delete file.
27604
27605 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27606 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27607 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27608 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27609 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27610 * sysdeps/powerpc/powerpc64/start.S: here.
27611 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27612 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27613 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27614 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27615 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27616
27617 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27618 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27619 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27620 * sysdeps/powerpc/powerpc32/start.S: ... here.
27621 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27622 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27623 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27624
27625 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27626 * sysdeps/powerpc/ifunc-sel.h: ... here.
27627 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27628 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27629
27630 * sysdeps/sparc/elf/configure.in: Moved to ...
27631 * sysdeps/sparc/configure.in: ... here.
27632 * sysdeps/sparc/elf/configure: Delete file.
27633 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27634 * sysdeps/sparc/sparc32/start.S: ... here.
27635 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27636 * sysdeps/sparc/sparc64/start.S: ... here.
27637 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27638 * sysdeps/sparc/sparc32/Makefile: ... this.
27639 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27640 * sysdeps/sparc/sparc64/Makefile: ... this.
27641
27642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27643 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27645 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27646 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27647 * sysdeps/s390/s390-32/setjmp.S: ... here.
27648 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27649 * sysdeps/s390/s390-32/configure.in: ... here.
27650 * sysdeps/s390/s390-32/elf/configure: Delete file.
27651 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27652 * sysdeps/s390/s390-32/start.S: ... here.
27653
27654 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27655 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27656 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27657 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27658 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27659 * sysdeps/s390/s390-64/setjmp.S: ... here.
27660 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27661 * sysdeps/s390/s390-64/configure.in: ... here
27662 * sysdeps/s390/s390-64/elf/configure: Delete file.
27663 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27664 * sysdeps/s390/s390-64/start.S: ... here.
27665 * sysdeps/s390/s390-64/elf/configure: Delete.
27666
27667 * configure.in: Remove support for elf directories in sysdeps.
27668
27669 * configure: Regenerated.
27670 * sysdeps/i386/configure: Regenerated.
27671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27673 * sysdeps/s390/s390-32/configure: Regenerated.
27674 * sysdeps/s390/s390-64/configure: Regenerated.
27675 * sysdeps/sh/configure: Regenerated.
27676 * sysdeps/sparc/configure: Regenerated.
27677 * sysdeps/x86_64/configure: Regenerated.
27678
a3f61311
AS
276792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27680
c876e002
AS
27681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27682
a3f61311
AS
27683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27684 denormal result into account.
27685
ac4c54f0
RM
276862012-03-25 Roland McGrath <roland@hack.frob.com>
27687
27688 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27689 Reported by Allan McRae <allan@archlinux.org>.
27690
6a9b9c02
JL
276912012-03-23 Jeff Law <law@redhat.com>
27692
27693 * nss/getnssent.c (__nss_getent): Fix typo.
27694
4c42a0c1
DM
276952012-03-23 David S. Miller <davem@davemloft.net>
27696
27697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27698
1532c7ac
L
276992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27700
27701 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27702 to pad to uint64_t for each field.
27703 (dl_tls_index): Replace unsigned long with uint64_t.
27704
3ff42526
PP
277052012-03-23 Daniel Jacobowitz <dmj@google.com>
27706 Paul Pluzhnikov <ppluzhnikov@google.com>
27707
27708 [BZ #6528]
27709 * grp/Makefile (otherlibs): Don't set it.
27710 * inet/Makefile (otherlibs): Likewise.
27711 * login/Makefile (otherlibs): Likewise.
27712 * nscd/Makefile (otherlibs): Likewise.
27713 * posix/Makefile (otherlibs): Likewise.
27714 * pwd/Makefile (otherlibs): Likewise.
27715 * rt/Makefile (otherlibs): Likewise.
27716 * sunrpc/Makefile (otherlibs): Likewise.
27717 * nss/Makefile (otherlibs): Likewise.
27718 Add libnss_files to routines and static-only-routines.
27719 ($(objpfx)getent): Remove rule.
27720 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27721 static-only-routines.
27722
7c69cd14
JM
277232012-03-22 Joseph Myers <joseph@codesourcery.com>
27724
27725 [BZ #13892]
27726 * math/s_cexp.c: Include <float.h>.
27727 (__cexp): Handle exp result overflowing not necessarily
27728 overflowing both real and imaginary parts of result.
27729 * math/s_cexpf.c: Likewise.
27730 * math/s_cexpl.c: Likewise.
27731 * math/libm-test.inc (cexp_test): Add more tests.
27732 * sysdeps/i386/fpu/libm-test-ulps: Update.
27733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27734
81b035fe
L
277352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27736
27737 * include/link.h (ELFW): New macro.
27738 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27739 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27740
1da7940c
L
277412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27742
27743 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27744 with uint64_t.
27745
b749dbb9
L
277462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27747
27748 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27749 declaration.
27750 (struct La_x32_retval): Likewise.
27751
2ff87f3f
L
277522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27753
27754 * sysdeps/x86_64/preconfigure.in: New file.
27755 * sysdeps/x86_64/preconfigure: New generated file.
27756
c0df8e69
JM
277572012-03-22 Joseph Myers <joseph@codesourcery.com>
27758
48e44791
JM
27759 [BZ #13824]
27760 * math/e_exp2l.c: Include <float.h>.
27761 (__ieee754_exp2l): Handle overflow and underflow cases
27762 separately. Only pass fractional part of argument to
27763 __ieee754_expl.
27764 * math/libm-test.inc (exp2_test): Add more tests.
27765
c0df8e69
JM
27766 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27767 negating x to take absolute value.
27768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27769 Likewise.
27770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27772 Likewise.
27773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27774 computing low part if x was negated.
27775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27776
c8e43ba7
L
277772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27780 la_x32_gnu_pltexit.
27781 (pltexit): Cast int_retval to ptrdiff_t.
27782 * elf/tst-auditmod3b.c: Likewise.
27783 * elf/tst-auditmod4b.c: Likewise.
27784 * elf/tst-auditmod5b.c: Likewise.
27785 * elf/tst-auditmod6b.c: Likewise.
27786 * elf/tst-auditmod6c.c: Likewise.
27787 * elf/tst-auditmod7b.c: Likewise.
27788
27789 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27790 and x32_gnu_pltexit.
27791
27792 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27793 __ELF_NATIVE_CLASS.
27794 (La_x32_regs): New macro.
27795 (La_x32_retval): Likewise.
27796 (la_x32_gnu_pltenter): New function prototype.
27797 (la_x32_gnu_pltexit): Likewise.
27798
7998fa78
AS
277992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27800
dcb33988
AS
27801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27802 exponent.
27803
233fc563
AS
27804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27805
7998fa78
AS
27806 * configure.in (libc_cv_cc_nofma): Check for option to disable
27807 generation of FMA instructions.
27808 * configure: Regenerate.
27809 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27810 * sysdeps/ieee754/dbl-64/Makefile: New file.
27811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27812 Remove brandred-fma4.
27813 (CFLAGS-brandred-fma4.c): Remove.
27814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27816 define.
27817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27818 define.
27819
8e95c99a
L
278202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27821
27822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27823 LLONG_MAX != LONG_MAX.
27824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27825 (_fitoa_word): Likewise.
27826 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27827 LLONG_MAX != LONG_MAX.
27828 * stdio-common/_itowa.h: Include <_itoa.h>.
27829 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27830 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27831 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27832 only if not defined.
27833 (_ITOA_WORD_TYPE): Likewise.
27834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27835 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27836
6f4db457
DM
278372012-03-21 David S. Miller <davem@davemloft.net>
27838
27839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27840
7785fe5a
L
278412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27842
27843 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27844 of x86_64 when setting libc_cv_slibdir, libdir and
27845 libc_cv_localedir.
27846 * sysdeps/unix/sysv/linux/configure: Regenerated.
27847
4535cd55
JM
278482012-03-21 Joseph Myers <joseph@codesourcery.com>
27849
27850 * manual/lang.texi (Old Varargs): Remove section.
27851 (How Variadic): Update menu.
27852 (va_start): Do not mention varargs.h.
27853
17228132
TS
278542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27855 Joseph Myers <joseph@codesourcery.com>
27856
27857 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27858 link test.
27859 * configure: Regenerated.
27860
8149f976
TS
278612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27862
05f3d1f6
UD
27863 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27864 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27865 conformtest.pl
8149f976 27866
1a4ac776
JM
278672012-03-21 Joseph Myers <joseph@codesourcery.com>
27868
be22ce65
JM
27869 * NOTES: Remove.
27870 * Makefile (files-for-dist): Remove NOTES.
27871 (NOTES): Remove rule.
27872 * README: Don't refer to NOTES.
27873 * manual/creature.texi: Don't include macros.texi.
27874 * manual/intro.texi (creature.texi): Remove comment referring to
27875 NOTES.
27876
40b601fb
JM
27877 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27878 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27879 * configure: Regenerated.
27880 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27881 LIBC_TRY_CC_OPTION.
27882 (libc_cv_as_i686): Likewise.
27883 (libc_cv_cc_avx): Likewise.
27884 (libc_cv_cc_sse2avx): Likewise.
27885 (libc_cv_cc_fma4): Likewise.
27886 (libc_cv_cc_novzeroupper): Likewise.
27887 * sysdeps/i386/configure: Regenerated.
27888
1a4ac776
JM
27889 [BZ #13883]
27890 * sysdeps/i386/fpu/s_cexp.S: Remove.
27891 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27893 * math/libm-test.inc (cexp_test): Add more tests.
27894 * sysdeps/i386/fpu/libm-test-ulps: Update.
27895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27896
a458e7fe
AM
278972012-03-21 Allan McRae <allan@archlinux.org>
27898
27899 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27900
0cb7efc5
JM
279012012-03-21 Joseph Myers <joseph@codesourcery.com>
27902
27903 [BZ #13871]
27904 * math/w_exp2.c: Do not include <float.h>.
27905 (o_threshold, u_threshold): Remove.
27906 (__exp2): Calculate result before checking finiteness and calling
27907 __kernel_standard.
27908 * math/w_exp2f.c: Likewise.
27909 * math/w_exp2l.c: Likewise.
27910 * math/libm-test.inc (exp2_test): Require overflow exception for
27911 1e6 input.
2460d3aa
JM
27912
27913 [BZ #3866]
27914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27915 range of signed 64-bit integers before using fistpll. Remove
27916 checks for whether integers fit in mantissa bits.
27917 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27918 the range of signed 32-bit integers before using fistpl. Remove
27919 checks for whether integers fit in mantissa bits.
27920 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27921 (__ieee754_powl): Test for y outside the range of signed 64-bit
27922 integers before using fistpll. Reduce 64-bit values to 63-bit
27923 ones as needed.
27924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27925 divide-by-zero is raised for zero to large negative powers.
27926 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27927 (__ieee754_powl): Test for y outside the range of signed 64-bit
27928 integers before using fistpll. Reduce 64-bit values to 63-bit
27929 ones as needed.
27930 * math/libm-test.inc (pow_test): Add more tests.
27931
eb96ffb0
L
279322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27935 <stdio-common/_itoa.h>.
27936 * debug/segfault.c: Likewise.
27937 * elf/dl-cache.c: Likewise.
27938 * elf/dl-minimal.c: Likewise.
27939 * elf/dl-misc.c: Likewise.
27940 * elf/dl-sysdep.c: Likewise.
27941 * elf/dl-version.c: Likewise.
27942 * elf/rtld.c: Likewise.
27943 * hurd/hurdsock.c: Likewise.
27944 * hurd/lookup-retry.c: Likewise.
27945 * malloc/malloc.c: Likewise.
27946 * malloc/mtrace.c: Likewise.
27947 * nscd/nscd_getgr_r.c: Likewise.
27948 * nscd/nscd_getpw_r.c: Likewise.
27949 * nscd/nscd_getserv_r.c: Likewise.
27950 * posix/getopt_init.c: Likewise.
27951 * posix/wordexp.c: Likewise.
27952 * stdio-common/_itoa.c: Likewise.
27953 * stdio-common/printf_fphex.c: Likewise.
27954 * stdio-common/vfprintf.c: Likewise.
27955 * string/_strerror.c: Likewise.
27956 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27957 * sysdeps/i386/i686/hp-timing.h: Likewise.
27958 * sysdeps/mach/_strerror.c: Likewise.
27959 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27960 * sysdeps/mach/hurd/sethostid.c: Likewise.
27961 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27962 * sysdeps/mach/xpg-strerror.c: Likewise.
27963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27965 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27966 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27968 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27969 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27970 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27971 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27972 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27973 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27974 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27979 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27980 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27983 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27984
27985 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27986
27987 * stdio-common/_itoa.h: Moved to ...
27988 * sysdeps/generic/_itoa.h: Here.
27989
27990 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27991
27992 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27993 instead of "_itoa.h" and "_itowa.h".
27994 * stdio-common/vfprintf.: Likewise.
27995
d1af992d
L
279962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27997
27998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27999 <bits/wordsize.h>.
28000 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28001 (__signbit): Likwise.
28002 (llrintf): Likwise.
28003 (llrint): Likwise.
28004
114883e0
L
280052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28006
28007 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28008 __WORDSIZE != 64.
28009
c135cc1b
JM
280102012-03-20 Joseph Myers <joseph@codesourcery.com>
28011
28012 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28013 OVERFLOW_EXCEPTION_OK.
28014 * math/libm-test.inc ("Philosophy"): Update comment about
28015 exception testing.
28016 (OVERFLOW_EXCEPTION): Define.
28017 (OVERFLOW_EXCEPTION_OK): Likewise.
28018 (INVALID_EXCEPTION_OK): Renumber.
28019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28020 (IGNORE_ZERO_INF_SIGN): Likewise.
28021 (test_exceptions): Handle FE_OVERFLOW.
28022 (exp10_test): Expect overflow exceptions.
28023 (exp2_test): Likewise.
28024 (expm1_test): Likewise.
28025 (nextafter_test): Likewise.
28026 (pow_test): Likewise.
28027 (scalbn_test): Likewise.
28028 (scalbln_test): Likewise.
28029
95443d88
L
280302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28031
28032 * sysdeps/x86_64/bits/atomic.h
28033 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28034 64bit integer.
28035 (atomic_exchange_acq): Likewise.
28036 (__arch_exchange_and_add_body): Likewise.
28037 (__arch_add_body): Likewise.
28038 (atomic_add_negative): Likewise.
28039 (atomic_add_zero): Likewise.
28040
490df6c4
L
280412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28042
c2722551 28043 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28044 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28045
5e52b189
L
280462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28047
28048 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28049 Check __x86_64__ instead of __WORDSIZE.
28050
a9879d4c
L
280512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28054
5df98260
DM
280552012-03-19 David S. Miller <davem@davemloft.net>
28056
e1497744
DM
28057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28058
5df98260
DM
28059 * sysdeps/sparc/fpu/fenv_private.h: New file.
28060 * sysdeps/sparc/fpu/math_private.h: Use it.
28061 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28062 Remove.
28063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28064 (libc_feholdexcept_setroundl): Remove.
28065 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28066 Remove.
28067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28069
b4c35121
L
280702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28073 int64_t instead of long int.
28074 (INSERT_WORDS64): Likwise.
28075
56965fd7
L
280762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28077
28078 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28079 _Unwind_GetCFA return to _Unwind_Ptr first.
28080
83d1aec8
JM
280812012-03-19 Joseph Myers <joseph@codesourcery.com>
28082
1897ad44
JM
28083 [BZ #13629]
28084 * math/s_clog.c: Include <float.h>.
28085 (__clog): Scale large or subnormal inputs.
28086 * math/s_clogf.c: Likewise.
28087 * math/s_clogl.c: Likewise.
28088 * math/s_clog10.c: Include <float.h>.
28089 (M_LOG10_2): Define.
28090 (__clog10): Scale large or subnormal inputs.
28091 * math/s_clog10f.c: Likewise.
28092 * math/s_clog10l.c: Likewise.
28093 * math/libm-test.inc (clog_test): Add more tests.
28094 (clog10_test): Likewise.
28095 * sysdeps/i386/fpu/libm-test-ulps: Update.
28096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28097
7726d6a9
JM
28098 [BZ #11451]
28099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28100 x and y.
28101 * math/libm-test.inc (atan2_test): Add another test.
28102
83d1aec8
JM
28103 * Makerules (common-objdir-compile): Remove.
28104 * sysdeps/unix/Makefile (config-generated): Do not add
28105 $(unix-generated) to variable.
28106 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28107 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28108 Remove rule.
28109 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28110 Likewise.
28111 [generic bits/local_lim.h] (before-compile): Do not append to
28112 variable.
28113 [generic bits/local_lim.h] (common-generated): Likewise.
28114 [generic sys/param.h] (before-compile): Do not append to variable.
28115 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28116 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28119 include.
28120 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28121 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28122 [generic sys/param.h] ($(addprefix
28123 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28124 [generic sys/param.h] (common-generated): Do not append to
28125 variable.
28126 [generic sys/param.h] (sysdep_headers): Likewise.
28127 [generic bits/errno.h] (before-compile): Do not append to
28128 variable.
28129 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28130 rule.
28131 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28132 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28133 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28134 [generic bits/errno.h] (common-generated): Do not append to
28135 variable.
28136 [generic bits/ioctls.h] (before-compile): Do not append to
28137 variable.
28138 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28139 rule.
28140 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28141 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28143 rule.
28144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28145 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28146 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28147 [generic bits/ioctls.h] (common-generated): Do not append to
28148 variable.
28149 [generic sys/syscall.h] (syscall.h): Remove variable.
28150 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28151 rule.
28152 [generic sys/syscall.h] (before-compile): Do not append to
28153 variable.
28154 [generic sys/syscall.h] (common-generated): Likewise.
28155 * sysdeps/unix/errnos-tmpl.c: Remove file.
28156 * sysdeps/unix/errnos.awk: Likewise.
28157 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28158 * sysdeps/unix/ioctls.awk: Likewise.
28159 * sysdeps/unix/mk-local_lim.c: Likewise.
28160 * sysdeps/unix/snarf-ioctls: Likewise.
28161
4851a949
RH
281622012-03-19 Richard Henderson <rth@twiddle.net>
28163
bd37f2ee
RH
28164 * sysdeps/i386/fpu/fenv_private.h: New file.
28165 * sysdeps/i386/fpu/math_private.h: Use it.
28166 (math_opt_barrier, math_force_eval): Remove.
28167 (libc_feholdexcept_setround_53bit): Remove.
28168 (libc_feupdateenv_53bit): Remove.
28169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28170 (math_opt_barrier, math_force_eval): Remove.
28171 (libc_feholdexcept): Remove.
28172 (libc_feholdexcept_setround): Remove.
28173 (libc_fetestexcept, libc_fesetenv): Remove.
28174 (libc_feupdateenv_test): Remove.
28175 (libc_feupdateenv, libc_feholdsetround): Remove.
28176 (libc_feresetround): Remove.
28177
d0adc922
RH
28178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28179 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28180
0fe0f1f8
RH
28181 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28182 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28183 (libc_feupdateenv_testl): New.
28184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28185 (libc_feupdateenv_testf): New.
28186 (libc_feupdateenv): Use libc_feupdateenv_test.
28187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28189
eb92c487
RH
28190 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28191 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28192 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28193 (libc_feresetround_noex): New.
28194 (libc_feresetround_noexf): New.
28195 (libc_feresetround_noexl): New.
28196 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28197 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28198 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28200 SET_RESTORE_ROUND.
28201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28203 (__cos): Likewise.
28204 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28206 SET_RESTORE_ROUND_NOEX.
28207 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28208 SET_RESTORE_ROUND_NOEXF.
28209 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28210 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28211 (libc_feholdsetroundf): New.
28212 (libc_feresetround, libc_feresetroundf): New.
28213
7d2e8012
RH
28214 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28215 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28216 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28217
b4dabbb4
RH
28218 * sysdeps/generic/math_private.h: Include <fenv.h>.
28219 (default_libc_feholdexcept): New.
28220 (default_libc_feholdexcept_setround): New.
28221 (default_libc_fesetenv, default_libc_feupdateenv): New.
28222 (libc_feholdexcept): Only define if undefined.
28223 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28225 (libc_feholdexcept_setroundl): Likewise.
28226 (libc_feholdexcept_setround_53bit): Likewise.
28227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28230 (libc_feupdateenv_53bit): Likewise.
28231 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28232 (libc_feholdexcept): Convert from macro to inline function.
28233 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28234 (libc_fesetenv, libc_feupdateenv): Likewise.
28235
4851a949
RH
28236 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28237 not previously defined.
28238 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28239 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28240 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28242 * sysdeps/ieee754/flt-32/math_private.h: New file.
28243 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28244 math_private.h below SET_FLOAT_WORD.
28245 (__isnan, __isinf_ns, __finite): Remove.
28246 (__isnanf, __isinf_nsf, __finitef): Remove.
28247
e79d442e
AS
282482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28249
28250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28251
90b80344
DM
282522012-03-17 David S. Miller <davem@davemloft.net>
28253
28254 [BZ #6471]
28255 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28256 for 2.16.
28257
edc21804
DM
282582012-03-16 David S. Miller <davem@davemloft.net>
28259
77e927af
DM
28260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28261 warnings.
28262
374976dd
DM
28263 [BZ #6471]
28264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28265 properly.
28266 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28267 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28268 sysdep_routines when subdir is sysvipc.
28269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28270 __getshmlba helper.
28271
edc21804
DM
28272 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28273
473c3ef3
L
282742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28275
28276 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28277 [__LP64__].
28278
eb0f39b6
L
282792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28280
28281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28282 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28283 (__lround): Renamed to ...
28284 (__llround): This. Replace long int with long long int.
28285 Define lround functions as aliases of llround functions.
28286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28287
6b6cd74b
L
282882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28291 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28292 adresses to uintptr_t. Replace "long int" and "unsigned long
28293 int" with "greg_t" on va_arg.
28294
f1a77b01
L
282952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28298 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28299
28300 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28301 Move e_machine check before EI_CLASS check. Handle x32
28302 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28303 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28304 SKIP_EM_IA_64 and include
28305 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28306
28307 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28308 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28309 (add_system_dir): New macro.
28310
28311 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28313
11b90b9f
JM
283142012-03-16 Joseph Myers <joseph@codesourcery.com>
28315
c36e1d23
JM
28316 [BZ #2551]
28317 [BZ #2552]
28318 [BZ #2553]
28319 [BZ #2554]
28320 [BZ #2562]
28321 [BZ #2563]
28322 [BZ #2565]
28323 [BZ #2566]
28324 [BZ #2576]
28325 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28326 (y0): Likewise.
28327 * math/w_j0f.c (j0f): Likewise.
28328 (y0f): Likewise.
28329 * math/w_j0l.c (__j0l): Likewise.
28330 (__y0l): Likewise.
28331 * math/w_j1.c (j1): Likewise.
28332 (y1): Likewise.
28333 * math/w_j1f.c (j1f): Likewise.
28334 (y1f): Likewise.
28335 * math/w_j1l.c (__j1l): Likewise.
28336 (__y1l): Likewise.
28337 * math/w_jn.c (jn): Likewise.
28338 (yn): Likewise.
28339 * math/w_jnf.c (jnf): Likewise.
28340 (ynf): Likewise.
28341 * math/w_jnl.c (__jnl): Likewise.
28342 (__ynl): Likewise.
28343 * math/libm-test.inc (j0_test): Add more tests.
28344 (j1_test): Likewise.
28345 (jn_test): Likewise. Add trailing semicolon to existing test.
28346 (y0_test): Likewise.
28347 (y1_test): Likewise.
28348 * sysdeps/i386/fpu/libm-test-ulps: Update.
28349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28350
11b90b9f
JM
28351 [BZ #13851]
28352 [BZ #13854]
28353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28354 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28355 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28357 (__tanl): Set errno for infinite argument.
28358 * sysdeps/i386/fpu/mptan.c: Remove.
28359 * sysdeps/i386/fpu/s_tan.S: Likewise.
28360 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28361 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28362 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28363 * math/libm-test.inc (tan_test): Add more tests and enable more
28364 tests for double and long double.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28367
6a1bd2a1
JK
283682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28369
28370 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28371 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28372
10a803e0
RM
283732012-03-16 Roland McGrath <roland@hack.frob.com>
28374
28375 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28376 * configure.in: Use it for both main tree and add-ons.
28377 * configure: Regenerated.
28378
f196c7f7
L
283792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28380
28381 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28382
8848d99d
JM
283832012-03-16 Joseph Myers <joseph@codesourcery.com>
28384
96cbe7f4
JM
28385 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28386 in comment.
28387
8848d99d
JM
28388 [BZ #13851]
28389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28390 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28394 infinite argument.
28395 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28397 != 0 for prec == 2.
28398 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28399 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28400 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28401 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28402 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28403 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28404 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28405 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28406 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28407 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28408 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28409 * math/libm-test.inc (cos_test): Add more tests and enable more
28410 tests for long double.
28411 (sin_test): Likewise.
28412 (sincos_test): Likewise.
28413 * sysdeps/i386/fpu/libm-test-ulps: Update.
28414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28415
dd7f4703
DM
284162012-03-16 David S. Miller <davem@davemloft.net>
28417
28418 * sysdeps/sparc/fpu/math_private.h: New file.
28419
006f1daa
DM
284202012-03-15 David S. Miller <davem@davemloft.net>
28421
c0c83bc8
DM
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28423 file.
e6a62e18 28424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28426 file.
e6a62e18
DM
28427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28433 sysdep routines.
28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28435
88cb87d9
DM
28436 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28437 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28438
006f1daa 28439 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28441 sparc-ifunc.h
006f1daa 28442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28444 Likewise.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28446 Likewise.
006f1daa
DM
28447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28451 Likewise.
006f1daa
DM
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28457 Likewise.
28458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28459 Likewise.
006f1daa
DM
28460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28484
11e0098e
AS
284852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28486
28487 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28488 scaling.
28489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28490
e85b09d0
AJ
284912012-03-15 Andreas Jaeger <aj@suse.de>
28492
28493 [BZ #13852]
28494 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28495 ieee754/flt-32 implementation for sin, cos and sincos.
28496 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28497 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28498 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28499 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28500 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28501 ieee754/flt-32 implementation for tan.
28502
28503 * math/libm-test.inc (cos_test): Enable some large input tests for
28504 float as well
28505 (sin_test): Likewise.
28506 (sincos_test): Likewise.
28507 (tan_test): Add tests for large input.
28508
28509 * sysdeps/i386/fpu/libm-test-ulps: Update.
28510
81c64153
AJ
285112012-03-15 Andreas Jaeger <aj@suse.de>
28512
28513 [BZ #13658]
28514 * math/libm-test.inc (cos_test): Add more test cases.
28515 (sin_test): Likewise.
28516 (sincos_test): Likewise.
28517
7bbfa5c6
AJ
285182012-03-15 Andreas Jaeger <aj@suse.de>
28519
28520 [BZ #13837]
28521 * math/libm-test.inc (cos_test): Add a test case for large input
28522 value.
28523 (sin_test): Likewise.
28524 (sincos_test): Likewise.
28525
285262012-03-15 Andreas Jaeger <aj@suse.de>,
28527 Joseph Myers <joseph@codesourcery.com>
28528
28529 [BZ #13658]
0671f479 28530 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28531 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28532 * sysdeps/i386/fpu/branred.c: Likewise.
28533 * sysdeps/i386/fpu/dosincos.c: Likewise.
28534 * sysdeps/i386/fpu/mpa.c: Likewise.
28535 * sysdeps/i386/fpu/s_cos.S: Likewise.
28536 * sysdeps/i386/fpu/s_sin.S: Likewise.
28537 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28538 * sysdeps/i386/fpu/sincos32.c: Likewise.
28539
28540 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28541 Define.
28542 (libc_feupdateenv_53bit): Define.
28543 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28544 Define.
28545 (libc_feupdateenv_53bit): Define.
28546
28547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28548 53 bit (without extend i386 double precision).
28549
28550 * math/libm-test.inc (sincos_test): Add tests for large input.
28551 (sin): Likewise.
28552 (cos): Likewise.
28553
28554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28555
9cad04ea
AS
285562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28557
28558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28559
f7062b9a
DM
285602012-03-15 David S. Miller <davem@davemloft.net>
28561
28562 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28563 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28564 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28565 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28578 file.
f7062b9a 28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28581 file.
f7062b9a 28582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28584 file.
f7062b9a 28585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28587 file.
f7062b9a
DM
28588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28590 fmin/fmax sysdep routines.
28591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28592
7bd951ff
DM
285932012-03-14 David S. Miller <davem@davemloft.net>
28594
559398ab
DM
28595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28624 routines.
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28626 file.
559398ab 28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28629 file.
559398ab 28630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28632 file.
559398ab 28633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28635 file.
559398ab 28636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28638 file.
559398ab 28639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28641 file.
28642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28643 file.
28644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28645 file.
28646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28647 file.
28648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28649 New file.
28650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28651 file.
28652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28653 file.
559398ab 28654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28656 file.
559398ab 28657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28659 file.
559398ab 28660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28662 file.
559398ab 28663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28665 VIS3 routines.
559398ab
DM
28666
28667 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28668 New file.
28669
5a1c1e32
DM
28670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28671
eae47a36
DM
28672 * sysdeps/sparc/configure.in: New file.
28673 * sysdeps/sparc/configure: Generate.
28674 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28675 * configure: Regenerate.
28676 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28677 * config.make.in (have-as-vis3): New.
28678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28679 available use -Av9d instead of -Av9a.
28680 * sysdeps/sparc/sparc64/Makefile: Likewise.
28681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28683 New file.
28684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28685 file.
28686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28687 New file.
28688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28689 file.
eae47a36
DM
28690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28695
c0c83bc8
DM
28696 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28697 fzeros/fnegs to load 0x80000000 into a float register instead of
28698 using the stack.
7bd951ff
DM
28699 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28700
bd951ccb
JM
287012012-03-14 Joseph Myers <joseph@codesourcery.com>
28702
28703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28704 bits/syscall.h.
28705 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28706 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28707 ($(inst_includedir)/bits/syscall.h): Remove rule.
28708 ($(objpfx)bits/syscall.d): Include instead of
28709 $(objpfx)syscall-list.d.
28710 (generated): Change syscall-list.h and syscall-list.d to
28711 bits/syscall.h and bits/syscall.d.
28712
bb4e6db2
RM
287132012-03-14 Roland McGrath <roland@hack.frob.com>
28714
28715 [BZ #13846]
28716 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28717
aa4a2ae1
JM
287182012-03-14 Joseph Myers <joseph@codesourcery.com>
28719
e456826d
JM
28720 [BZ #13841]
28721 * math/s_csqrt.c: Include <float.h>.
28722 (__csqrt): Scale large or subnormal inputs.
28723 * math/s_csqrtf.c: Likewise.
28724 * math/s_csqrtl.c: Likewise.
28725 * math/libm-test.inc (csqrt_test): Add more tests.
28726 * sysdeps/i386/fpu/libm-test-ulps: Update.
28727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28728
aa4a2ae1
JM
28729 [BZ #13840]
28730 * math/libm-test.inc (hypot_test): Add more tests.
28731
7c10fd35
DM
287322012-03-13 David S. Miller <davem@davemloft.net>
28733
28734 [BZ #13840]
28735 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28736 double-precision for the calculation instead of scaling.
28737
f453b98b
JM
287382012-03-13 Joseph Myers <joseph@codesourcery.com>
28739
28740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28741 manipulate bits before adding and subtracting TWO52[sx].
28742 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28744 Likewise.
28745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28746
09a3453f
DM
287472012-03-13 David S. Miller <davem@davemloft.net>
28748
8e59da90
DM
28749 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28750 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28752 rtld-global-offsets.h
28753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28754
2a8ab7f2
DM
28755 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28756 large parameters.
28757
10f62770
DM
28758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28759
5f0bdb18
DM
28760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28761 'err' in the ifdef scope in which it is actually used.
28762
09a3453f
DM
28763 * nss/nss_db/db-init.c: Include string.h
28764
b4b2eb5e
DM
287652012-03-12 David S. Miller <davem@davemloft.net>
28766
98bb2f1c
DM
28767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28768 masking out of the most significant byte of random value used.
28769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28770 Fix coding style in previous change.
28771
b4b2eb5e
DM
28772 * sysdeps/unix/sysv/linux/kernel-features.h
28773 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28774 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28775 expression.
28776 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28777 later.
28778
6e226b09
DM
287792012-03-11 David S. Miller <davem@davemloft.net>
28780
a1bcbd40
DM
28781 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28782 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28784 for 'resultvar' otherwise things get truncated on 64-bit.
28785
cb9d6174
DM
28786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28787 Fix masking out of the most significant byte of random value used.
28788
6e226b09
DM
28789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28790
058c132d
AS
287912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28792
28793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28794
2d2cd515
DM
287952012-03-09 David S. Miller <davem@davemloft.net>
28796
28797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28798 variables with appropriate CPP guards.
28799 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28800 frame pointer, not the stack pointer. Correct layout comments. Fix test
28801 on resulting framesize and the management of the outregs buffer for pltexit.
28802 Preserve floating point return values across _dl_call_pltexit call.
28803 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28804 framesize and the management of the outregs buffer for pltexit.
28805 Preserve floating point return values across _dl_call_pltexit
28806 call.
28807 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28808 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28809 (print_exit): Fix format string for return register value.
28810
9a07f9d0
JM
288112012-03-10 Joseph Myers <joseph@codesourcery.com>
28812
28813 * sunrpc/Makefile (others): Add rpcgen.
28814 ($(objpfx)rpcgen): Remove special build rule and dependency on
28815 libc.
28816 * sunrpc/rpcgen.c: New file.
28817
547b5e30
PE
288182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28819
c524201a
PE
28820 [BZ #13673]
28821 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28822 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28823 * sysdeps/i386/crti.S: Likewise.
28824 * sysdeps/i386/crtn.S: Likewise.
28825 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28826 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28827 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28828 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28829 * sysdeps/sh/crti.S: Likewise.
28830 * sysdeps/sh/crtn.S: Likewise.
28831 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28832
7b6235f2
PE
28833 [BZ #13673]
28834 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28835 with URL.
28836 * locale/programs/locfile-kw.gperf: Likewise.
28837 * locale/programs/charmap-kw.h: Regenerated.
28838 * locale/programs/locfile-kw.h: Likewise.
28839
547b5e30
PE
28840 [BZ #13673]
28841 * intl/plural.y: Replace FSF snail mail address with URL.
28842 * intl/plural.c: Regenerated.
28843
5f0a5dae
RH
288442012-03-09 Richard Henderson <rth@twiddle.net>
28845
28846 * include/math_private.h: Remove file.
28847 * math/math_private.h: Move file ...
28848 * sysdeps/generic/math_private.h: ... here.
28849
b8c03620
RH
28850 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28851 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28852 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28853
4e234f5d 28854 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28855 and <math_private.h>.
28856 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28857 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28858 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28859 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28860 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28889 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28890 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28927 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28930 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28936 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28938 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28949 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28951 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28952 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28953 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28955 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28956 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28957 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28958 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28959 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28960 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28968 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28970 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28973 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28974 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28975 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28976 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28977 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28978 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28979 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28981 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28983 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28985 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28986 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28987 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28988 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28989 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28990 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28993 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28996 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28997 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28998 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28999 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29000 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29001 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29002 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29003 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29004 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29005 * sysdeps/ieee754/k_standard.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29097 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29099 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29116 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29120 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29121 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29125 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29126 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29131 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29133 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29142 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29149 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29155 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29166 * sysdeps/ieee754/s_lib_version.c: Likewise.
29167 * sysdeps/ieee754/s_matherr.c: Likewise.
29168 * sysdeps/ieee754/s_signgam.c: Likewise.
29169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29171 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29172 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29173 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29175 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29176 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29177 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29178 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29179 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29180 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29181 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29182 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29183 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29185 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29186 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29187 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29188 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29190
1991fa03
JM
291912012-03-09 Joseph Myers <joseph@codesourcery.com>
29192
29193 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29194 * sunrpc/rpc_main.c: Likewise.
29195 * sunrpc/rpc_svcout.c: Likewise.
29196
60d6f5a6
DM
291972012-03-09 David S. Miller <davem@davemloft.net>
29198
29199 * include/math_private.h: New file.
29200
4962050e
JM
292012012-03-09 Joseph Myers <joseph@codesourcery.com>
29202
02a6f887
JM
29203 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29204 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29205 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29206 from <bits/socket_type.h>.
29207 (enum __socket_type): Don't define here.
29208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29210 bits/socket_type.h.
29211
c6e013c1
JM
29212 [BZ #13566]
29213 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29214 checking __USE_GNU.
29215
4962050e
JM
29216 * Makerules ($(inst_includedir)/%.h): New rule.
29217 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29218 (install-others): Remove variable setting.
29219 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29220
38842f45
RH
292212012-03-08 Richard Henderson <rth@twiddle.net>
29222
67bb6da6
RH
29223 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29224 from macro to inline function; merge with the
29225 !__LIBC_INTERNAL_MATH_INLINES version.
29226 (__ieee754_sqrtf): Likewise.
29227
15194b4b
RH
29228 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29229 to inline function.
29230 (__rintf, __floor, __floorf): Likewise.
29231
64e21ede
RH
29232 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29233 macro to inline function.
29234 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29235
38842f45
RH
29236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29237 not <math/math_private.h>.
29238
c64bf5fe
DM
292392012-03-08 David S. Miller <davem@davemloft.net>
29240
29241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29242 copyright year.
29243 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29244
82d86f28
TS
292452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29246
29247 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29248 normalization.
29249 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29250 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29251
aea5d727
UD
292522012-03-08 Ulrich Drepper <drepper@gmail.com>
29253
29254 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29255 be defined individually, they must be defined as a block. Define
29256 S for printing a string instead of hidint the different by using a
29257 macro for adding the 'l'.
29258 * stdio-common/tst-fphex-wide.c: Adjust.
29259
70bca0a3
MP
292602012-03-07 Marek Polacek <polacek@redhat.com>
29261
29262 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29263
65b81130
MP
292642012-03-08 Marek Polacek <polacek@redhat.com>
29265
29266 [BZ #13806]
29267 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29268 * stdio-common/tst-fphex.c: Define a few macros to make the
29269 test reusable. Use them.
29270 * stdio-common/tst-fphex-wide.c: New file.
29271
07037eeb
JM
292722012-03-08 Joseph Myers <joseph@codesourcery.com>
29273
a7a93d50
JM
29274 [BZ #6911]
29275 * manual/macros.texi (gnusystems): New macro.
29276 (nongnusystems): Likewise.
29277 (gnulinuxhurdsystems): Likewise.
29278 (gnuhurdsystems): Likewise..
29279 (gnulinuxsystems): Likewise.
29280 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29281 variants of the GNU system, not "GNU system".
29282 * manual/conf.texi: Likewise.
29283 * manual/errno.texi: Likewise. Update example of errno macro
29284 expansion.
29285 * manual/filesys.texi: Likewise.
29286 (getumask): Document as specific to GNU/Hurd.
29287 * manual/install.texi: Likewise. Reword some references to
29288 GNU/Linux.
29289 * manual/intro.texi: Likewise.
29290 * manual/io.texi: Likewise.
29291 (File Name Portability): Detail which constraints are inapplicable
29292 to all GNU systems and which are only inapplicable to GNU/Hurd.
29293 * manual/job.texi: Likewise.
29294 * manual/llio.texi: Likewise.
29295 (O_NOCTTY): Document as present on GNU/Linux.
29296 * manual/maint.texi: Likewise.
29297 * manual/memory.texi: Likewise.
29298 * manual/pattern.texi: Likewise.
29299 * manual/pipe.texi: Likewise.
29300 * manual/process.texi: Likewise.
29301 * manual/resource.texi: Likewise.
29302 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29303 child on GNU/Hurd.
29304 * manual/setjmp.texi: Likewise.
29305 * manual/signal.texi: Likewise.
29306 * manual/startup.texi: Likewise.
29307 * manual/stdio.texi: Likewise.
29308 * manual/terminal.texi: Likewise.
29309 (ONLCR): Document as POSIX.
29310 (OXTABS): Document availability on GNU/Linux as XTABS.
29311 (ONOEOT): Document availability separately from other bits.
29312 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29313 * manual/time.texi: Likewise.
29314 * manual/users.texi: Likewise.
29315 * INSTALL: Regenerated.
29316 * sysdeps/gnu/errlist.c: Regenerated.
29317
07037eeb
JM
29318 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29319 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29320 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29321 puts.
29322 * configure: Regenerated.
29323
d1d3431a
JM
293242012-03-07 Joseph Myers <joseph@codesourcery.com>
29325
af6a1e37
JM
29326 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29327 default includes instead of AC_HEADER_CHECK.
29328 * sysdeps/i386/configure: Regenerated.
29329
d1d3431a
JM
29330 [BZ #10716]
29331 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29332 * math/s_cacoshf.c (__cacoshf): Likewise.
29333 * math/s_cacoshl.c (__cacoshl): Likewise.
29334 * math/s_casinh.c (__casinh): Set signs of result from argument.
29335 * math/s_casinhf.c (__casinhf): Likewise.
29336 * math/s_casinhl.c (__casinhl): Likewise.
29337 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29338 (casinh_test): Add more tests.
29339 * sysdeps/i386/fpu/libm-test-ulps: Update.
29340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341
482ff4da
UD
293422012-03-07 Ulrich Drepper <drepper@gmail.com>
29343
872fda05
UD
29344 * po/zh_TW.po: Update from translation team.
29345
a4300c7a
UD
29346 * login/Makefile (distribute): Remove variable.
29347 * catgets/Makefile: Likewise.
29348 * mach/Makefile: Likewise.
29349 * malloc/Makefile: Likewise.
29350 * misc/Makefile: Likewise.
29351 * iconv/Makefile: Likewise.
29352 * nscd/Makefile: Likewise.
29353 * hurd/Makefile: Likewise.
29354 * manual/Makefile: Likewise.
29355 * locale/Makefile: Likewise.
29356 * intl/Makefile: Likewise.
29357 * conform/Makefile: Likewise.
29358 * nss/Makefile: Likewise.
29359 * time/Makefile: Likewise.
29360 * soft-fp/Makefile: Likewise.
29361 * dirent/Makefile: Likewise.
29362 * gmon/Makefile: Likewise.
29363 * po/Makefile: Likewise.
29364 * rt/Makefile: Likewise.
29365 * socket/Makefile: Likewise.
29366 * math/Makefile: Likewise.
29367 * signal/Makefile: Likewise.
29368 * debug/Makefile: Likewise.
29369 * elf/Makefile: Likewise.
29370 * timezone/Makefile: Likewise.
29371 * stdlib/Makefile: Likewise.
29372 * iconvdata/Makefile: Likewise.
29373 * sunrpc/Makefile: Likewise.
29374 * io/Makefile: Likewise.
29375 * argp/Makefile: Likewise.
29376 * inet/Makefile: Likewise.
29377 * hesiod/Makefile: Likewise.
29378 * grp/Makefile: Likewise.
29379 * csu/Makefile: Likewise.
29380 * wctype/Makefile: Likewise.
29381 * crypt/Makefile: Likewise.
29382 * libio/Makefile: Likewise.
29383 * string/Makefile: Likewise.
29384 * nis/Makefile: Likewise.
29385 * resolv/Makefile: Likewise.
29386 * stdio-common/Makefile: Likewise.
29387 * wcsmbs/Makefile: Likewise.
29388 * dlfcn/Makefile: Likewise.
29389 * posix/Makefile: Likewise.
29390
3b7c4e74 29391 [BZ #6959]
482ff4da
UD
29392 * timezone/Makefile: Don't install timezone files, just the programs
29393 and scripts.
29394
f72ed77d
UD
293952012-03-06 Ulrich Drepper <drepper@gmail.com>
29396
a000466f
UD
29397 * nss/databases.def: Add missing gshadow entry.
29398
f72ed77d
UD
29399 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29400
a53b7a4e
MP
294012012-03-06 Marek Polacek <polacek@redhat.com>
29402
29403 [BZ #13726]
29404 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29405 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29406 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29407 * stdio-common/tst-long-dbl-fphex.c: New file.
29408
e9258400
DM
294092012-03-06 David S. Miller <davem@davemloft.net>
29410
29411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29412 (set_obp_int): New function.
29413 (get_obp_int): New function.
29414 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29416 Avoid unused variable warnings on 'val' and use builtin_expect.
29417 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29418 __builtin_expect.
e9258400
DM
29419 (INLINE_CLONE_SYSCALL): Likewise.
29420
3bd2c723
DM
294212012-03-05 David S. Miller <davem@davemloft.net>
29422
29423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29424
bbb78d03
AS
294252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29426
884c5db4
AS
29427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29428
bbb78d03
AS
29429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29430 only for |x| >= 40.
29431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29432
1c9f702a 294332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29434
29435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29436 Replace gettimeofday with __vdso_gettimeofday.
29437
7be16f82
RM
29438 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29439 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29440 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29441
29442 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29443 time with __vdso_time.
29444
ed58a00f
JM
294452012-03-05 Joseph Myers <joseph@codesourcery.com>
29446
29447 * manual/lang.texi (size_t): Note types to which size_t may be
29448 equivalent with the GNU C Library, but do not describe when
29449 differences between them are significant.
29450
30ee4ced
AJ
294512012-03-05 Andreas Jaeger <aj@suse.de>
29452
29453 * sysdeps/i386/fpu/libm-test-ulps: Update.
29454
b7cd39e8
JM
294552012-03-05 Joseph Myers <joseph@codesourcery.com>
29456
29457 [BZ #3976]
29458 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29459 (__ieee754_pow): Save and restore rounding mode and use
29460 round-to-nearest for main computations.
29461 * math/libm-test.inc (pow_test_tonearest): New function.
29462 (pow_test_towardzero): Likewise.
29463 (pow_test_downward): Likewise.
29464 (pow_test_upward): Likewise.
29465 (main): Call the new functions.
29466 * sysdeps/i386/fpu/libm-test-ulps: Update.
29467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29468
29469 [BZ #3976]
29470 * math/libm-test.inc (cosh_test_tonearest): New function.
29471 (cosh_test_towardzero): Likewise.
29472 (cosh_test_downward): Likewise.
29473 (cosh_test_upward): Likewise.
29474 (sinh_test_tonearest): Likewise.
29475 (sinh_test_towardzero): Likewise.
29476 (sinh_test_downward): Likewise.
29477 (sinh_test_upward): Likewise.
29478 (main): Call the new functions.
29479 * sysdeps/i386/fpu/libm-test-ulps: Update.
29480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29481
6c6a98c9
TV
294822012-03-05 Tom de Vries <tom@codesourcery.com>
29483
29484 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29485 default stack guard is set in last bytes.
29486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29487
21bb2d2e 294882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29489
21bb2d2e 29490 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29491
21bb2d2e
AJ
29492 [BZ #13656]
29493 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29494 possibly allocate from heap instead of stack.
29495 * stdio-common/bug-vfprintf-nargs.c: New file.
29496 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29497
c6922934
AS
294982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29499
29500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29501
bc957d53
MP
295022012-03-03 Marek Polacek <polacek@redhat.com>
29503
29504 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29505 * math/math_private.h: Likewise.
29506 * stdlib/tst-strtod.c: Likewise.
29507 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29508 * sysdeps/x86_64/bits/atomic.h: Likewise.
29509
6358490d
DM
295102012-03-02 David S. Miller <davem@davemloft.net>
29511
29512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29517 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29520
01ae168d
RM
295212012-03-02 Roland McGrath <roland@hack.frob.com>
29522
d9a17c07
RM
29523 [BZ #13792]
29524 * manual/examples/README: New file, says the example source files
29525 can be used under GPL>=2.
29526 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29527 line containing just "*/".
29528 * manual/examples/add.c: Add copyright header (GPL>=2).
29529 * manual/examples/argp-ex1.c: Likewise.
29530 * manual/examples/argp-ex2.c: Likewise.
29531 * manual/examples/argp-ex3.c: Likewise.
29532 * manual/examples/argp-ex4.c: Likewise.
29533 * manual/examples/atexit.c: Likewise.
29534 * manual/examples/db.c: Likewise.
29535 * manual/examples/dir.c: Likewise.
29536 * manual/examples/dir2.c: Likewise.
29537 * manual/examples/execinfo.c: Likewise.
29538 * manual/examples/filecli.c: Likewise.
29539 * manual/examples/filesrv.c: Likewise.
29540 * manual/examples/fmtmsgexpl.c: Likewise.
29541 * manual/examples/genpass.c: Likewise.
29542 * manual/examples/inetcli.c: Likewise.
29543 * manual/examples/inetsrv.c: Likewise.
29544 * manual/examples/isockad.c: Likewise.
29545 * manual/examples/longopt.c: Likewise.
29546 * manual/examples/memopen.c: Likewise.
29547 * manual/examples/memstrm.c: Likewise.
29548 * manual/examples/mkfsock.c: Likewise.
29549 * manual/examples/mkisock.c: Likewise.
29550 * manual/examples/mygetpass.c: Likewise.
29551 * manual/examples/pipe.c: Likewise.
29552 * manual/examples/popen.c: Likewise.
29553 * manual/examples/rprintf.c: Likewise.
29554 * manual/examples/search.c: Likewise.
29555 * manual/examples/select.c: Likewise.
29556 * manual/examples/setjmp.c: Likewise.
29557 * manual/examples/sigh1.c: Likewise.
29558 * manual/examples/sigusr.c: Likewise.
29559 * manual/examples/stpcpy.c: Likewise.
29560 * manual/examples/strdupa.c: Likewise.
29561 * manual/examples/strftim.c: Likewise.
29562 * manual/examples/strncat.c: Likewise.
29563 * manual/examples/subopt.c: Likewise.
29564 * manual/examples/swapcontext.c: Likewise.
29565 * manual/examples/termios.c: Likewise.
29566 * manual/examples/testopt.c: Likewise.
29567 * manual/examples/testpass.c: Likewise.
29568 * manual/examples/timeval_subtract.c: Likewise.
29569
01ae168d
RM
29570 [BZ #13792]
29571 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29572 function to ...
29573 * manual/timeval_subtract.c.texi: ... here, new file.
29574
49efa33d
DM
295752012-03-02 David S. Miller <davem@davemloft.net>
29576
29577 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29578
28afd92d
JM
295792012-03-02 Joseph Myers <joseph@codesourcery.com>
29580
804360ed
JM
29581 [BZ #3976]
29582 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29583 (__sin): Save and restore rounding mode and use round-to-nearest
29584 for all computations.
29585 (__cos): Save and restore rounding mode and use round-to-nearest
29586 for all computations.
29587 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29588 <fenv.h>.
29589 (tan): Save and restore rounding mode and use round-to-nearest for
29590 all computations.
29591 * math/libm-test.inc (cos_test_tonearest): New function.
29592 (cos_test_towardzero): Likewise.
29593 (cos_test_downward): Likewise.
29594 (cos_test_upward): Likewise.
29595 (sin_test_tonearest): Likewise.
29596 (sin_test_towardzero): Likewise.
29597 (sin_test_downward): Likewise.
29598 (sin_test_upward): Likewise.
29599 (tan_test_tonearest): Likewise.
29600 (tan_test_towardzero): Likewise.
29601 (tan_test_downward): Likewise.
29602 (tan_test_upward): Likewise.
29603 (main): Call the new functions.
29604 * sysdeps/i386/fpu/libm-test-ulps: Update.
29605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29606
a6d06d7b
JM
29607 [BZ #10135]
29608 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29609 small n, then large n, before computing and testing k+n.
29610 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29612 Likewise.
29613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29614 Likewise.
29615 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29616 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29619 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29623 * math/libm-test.inc (scalbn_test): Add more tests.
29624 (scalbln_test): Likewise.
29625
07e12bb3
JM
29626 * manual/filesys.texi (mode_t): Describe constraints on size and
29627 signedness, not exact equivalence to a particular type.
29628 (ino_t): Likewise.
29629 (ino64_t): Likewise.
29630 (dev_t): Likewise.
29631 (nlink_t): Likewise.
29632 (blkcnt_t): Likewise.
29633 (blkcnt64_t): Likewise.
29634 * manual/llio.texi (off_t): Likewise.
29635
28afd92d
JM
29636 [BZ #3976]
29637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29638 (__ieee754_exp): Save and restore rounding mode and use
29639 round-to-nearest for all computations.
29640 * math/libm-test.inc (exp_test_tonearest): New function.
29641 (exp_test_towardzero): Likewise.
29642 (exp_test_downward): Likewise.
29643 (exp_test_upward): Likewise.
29644 (main): Call the new functions.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29647
b1eeb65d
CD
296482012-03-01 Chris Demetriou <cgd@google.com>
29649
29650 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29651 have predictable order.
29652
53362a4b
DM
296532012-03-01 David S. Miller <davem@davemloft.net>
29654
3c969083
DM
29655 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29656
759707de
DM
29657 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29658 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29659 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29660 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29661
dfdb8ff2
DM
29662 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29663 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29664 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29666 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29667 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29668 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29669 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29670 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29671
ead89f96
DM
29672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29673
7f66bd07
DM
29674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29675 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29676 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29677
53362a4b
DM
29678 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29679 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29680 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29681 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29682 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29685 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29686 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29687 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29688 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29691 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29692 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29694 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29695 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29696 * sysdeps/sparc/elf/configure: Regenerated.
29697
7b1902cb
JM
296982012-03-01 Joseph Myers <joseph@codesourcery.com>
29699
bec039bc
JM
29700 * configure.in (AS, LD): Require binutils 2.20 or later.
29701 * configure: Regenerated.
29702 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29703 as required minimum version.
29704 * INSTALL: Regenerated.
29705
7b1902cb
JM
29706 [BZ #2541]
29707 [BZ #4108]
29708 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29709 before squaring exponent.
29710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29711 bottom long double and 27 bits of top long double before squaring
29712 exponent.
29713 * math/libm-test.inc (erfc_test): Add more tests.
29714 * sysdeps/i386/fpu/libm-test-ulps: Update.
29715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29717
f775c276
KT
297182012-03-01 Kai Tietz <ktietz@redhat.com>
29719
29720 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29721 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29722 containing bit-fields.
29723 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29724 * soft-fp/single.h (_FP_UNION_S): Likewise.
29725 * soft-fp/double.h (_FP_UNION_D): Likewise.
29726
5b8a4d4a
JM
297272012-02-29 Joseph Myers <joseph@codesourcery.com>
29728
0bab47b6
JM
29729 [BZ #13786]
29730 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29731 not include ../strcmp.S.
29732 [USE_AS_STRNCASECMP_L]: Likewise.
29733 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29734 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29735 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29736 (__strncasecmp_l_ia32): Define as alias to
29737 __strncasecmp_l_nonascii.
29738
0fcad3e2
JM
29739 [BZ #5794]
29740 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29741 * sysdeps/i386/fpu/libm-test-ulps: Update.
29742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29743
5b8a4d4a
JM
29744 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746
8fdceb2e
JL
297472012-02-29 Jeff Law <law@redhat.com>
29748
29749 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29750 out of bounds read.
29751
1f393a11
MP
297522012-02-29 Marek Polacek <polacek@redhat.com>
29753
29754 [BZ #13706]
29755 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29756 * elf/Makefile: Add rules to run tst-unused-dep.out.
29757
8847f037
DM
297582012-02-28 David S. Miller <davem@davemloft.net>
29759
29760 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29761 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29765 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29766
169d7f11
JM
297672012-02-29 Joseph Myers <joseph@codesourcery.com>
29768
29769 * math/libm-test.inc (llround_test): Move one test from
29770 lround_test. Use TEST_f_L in moved test.
29771 (lround_test): Move misplaced test to llround_test. Add testcase
29772 from bug 2561.
29773
39adf059
UD
297742012-02-28 Ulrich Drepper <drepper@gmail.com>
29775
29776 * sysdeps/x86_64/fpu/e_expf.S: New file.
29777 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29778
71b5d1c5
SB
297792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29780
29781 [BZ #13637]
29782 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29783 of remain_len that may cause incomplete multi-byte character and
29784 false match.
29785 * posix/bug-regex33.c: New file.
29786 * posix/Makefile (tests): Add bug-regex33.
29787
1f77f049
JM
297882012-02-28 Joseph Myers <joseph@codesourcery.com>
29789
29790 * manual/macros.texi: New file.
29791 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29792 * manual/libc.texinfo: Include macros.texi.
29793 * manual/creatute.texi: Likewise.
29794 * manual/install.texi: Likewise.
29795 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29796 @glibcadj{} in references to the GNU C Library.
29797 * manual/charset.texi: Likewise.
29798 * manual/conf.texi: Likewise.
29799 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29800 when not using those macros.
29801 * manual/creature.texi: Likewise.
29802 * manual/crypt.texi: Likewise.
29803 * manual/errno.texi: Likewise.
29804 * manual/filesys.texi: Likewise.
29805 * manual/header.texi: Likewise.
29806 * manual/install.texi: Likewise.
29807 * manual/intro.texi: Likewise.
29808 * manual/io.texi: Likewise.
29809 * manual/job.texi: Likewise.
29810 * manual/lang.texi: Likewise.
29811 * manual/libc.texiinfo: Likewise.
29812 * manual/llio.texi: Likewise.
29813 * manual/locale.texi: Likewise.
29814 * manual/maint.texi: Likewise.
29815 * manual/math.texi: Likewise.
29816 * manual/memory.texi: Likewise.
29817 * manual/message.texi: Likewise.
29818 * manual/nss.texi: Likewise.
29819 * manual/pattern.texi: Likewise.
29820 * manual/process.texi: Likewise.
29821 * manual/resource.texi: Likewise.
29822 * manual/search.texi: Likewise.
29823 * manual/setjmp.texi: Likewise.
29824 * manual/signal.texi: Likewise.
29825 * manual/socket.texi: Likewise.
29826 * manual/startup.texi: Likewise.
29827 * manual/stdio.texi: Likewise.
29828 * manual/string.texi: Likewise.
29829 * manual/sysinfo.texi: Likewise.
29830 * manual/syslog.texi: Likewise.
29831 * manual/terminal.texi: Likewise.
29832 * manual/time.texi: Likewise.
29833 * manual/users.texi: Likewise.
29834 * INSTALL: Regenerated.
29835 * NOTES: Regenerated.
d40c5d54 29836 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29837
450bf206
AS
298382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29839
29840 * include/dirent.h: Include <dirstream.h> before
29841 <dirent/dirent.h>.
29842
741a235b
DM
298432012-02-28 David S. Miller <davem@davemloft.net>
29844
29845 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29846 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29847 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29848 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29849
d6b5aa58
DM
298502012-02-27 David S. Miller <davem@davemloft.net>
29851
1aff59a3
DM
29852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29854 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29855 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29856
d6b5aa58
DM
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29858 frame pointer instead of stack pointer relative arg slot.
29859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29860 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29861 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29862
433f48bf
CD
298632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29864
29865 [BZ #3992]
29866 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29867
d674b76d
DM
298682012-02-27 David S. Miller <davem@davemloft.net>
29869
29870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29876 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29877 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29878
0e7727f7
JM
298792012-02-27 Joseph Myers <joseph@codesourcery.com>
29880
29881 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29882 later. Allow versions 5-9.
43be4ca2 29883 * configure: Regenerated.
0e7727f7
JM
29884 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29885 required minimum version and 4.6 as recommended version. Do not
29886 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29887 * INSTALL: Regenerated.
0e7727f7 29888
a78bc654
DM
298892012-02-27 David S. Miller <davem@davemloft.net>
29890
428d5830
DM
29891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29897 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29899
a78bc654
DM
29900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29901 manipulate bits before adding and subtracting TWO112[sx].
29902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29903
4579f81c
RM
299042012-02-27 Roland McGrath <roland@hack.frob.com>
29905
36c8acb4
RM
29906 [BZ #13775]
29907 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29908 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29909 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29910 being in POSIX, because they are in 1003.1-2008.
29911
84ad622b
RM
29912 * rt/tst-aio.c: Include <fcntl.h>.
29913 * rt/tst-aio7.c: Likewise.
29914 * rt/tst-aio64.c: Likewise.
29915
4579f81c
RM
29916 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29917
abd923db
JM
299182012-02-27 Joseph Myers <joseph@codesourcery.com>
29919
29920 * manual/install.texi (--with-headers): Describe headers as
29921 interface headers, not private headers.
29922 (Specific advice for GNU/Linux systems): Describe use of headers
29923 from "make headers_install", not private headers from older
29924 kernels.
43be4ca2 29925 * INSTALL: Regenerated.
abd923db
JM
29926 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29927 Change to 2.6.19.
29928 * sysdeps/unix/sysv/linux/configure: Regenerated.
29929
6664049b
JM
29930 * manual/llio.texi (fclean): Remove documentation.
29931
bb8b6697
JM
29932 * manual/Makefile (libc-texi-generated): New variable. Include
29933 version.texi.
29934 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29935 $(libc-texi-generated), not duplicated list of files.
29936 (version.texi, stamp-version): New rules.
29937 (realclean): Remove $(libc-texi-generated), not individual files
29938 from that list. Do not remove dir-add.texinfo.
29939 * manual/libc.texinfo: Comment out uses of edition numbers and
29940 references to printed manual. Remove last-updated dates.
29941 (EDITION): Comment out.
29942 (ISBN): Likewise.
29943 (VERSION, UPDATED): Remove.
29944 (version.texi): Include.
29945
12e5c3b9
AS
299462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29947
29948 * sysdeps/posix/spawni.c: Include <signal.h>.
29949 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29950 * sysdeps/pthread/aio_fsync.c: Likewise.
29951
4efeffc1 299522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29953
ba63ba08
UD
29954 * conform/Makefile (tests): Run only when not cross-compiling and
29955 when fast-check is not defined.
29956
d94a4670
UD
29957 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29958 * conform/data/limits.h-data: Fixes for POSIX2008.
29959 * conform/run-conformtest.sh: Run all tests.
29960 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29961 headers.
29962 * include/bits/dlfcn.h: Likewise.
29963 * include/langinfo.h: Likewise.
29964 * include/monetary.h: Likewise.
29965 * include/sys/poll.h: Likewise.
29966
29967 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29968 for __USE_GNU.
29969 * posix/spawn.h: Define __need_sigset_t.
29970 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29971 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29972 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29973 to get sigevent_t only.
29974 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29975 only for __USE_GNU.
29976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29977 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29978 process_vm_writev only for __USE_GNU.
29979 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29980
29981 * conform/Makefile: For now ignore errors from run-conformtest.
29982 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29983 POSIX to avoid namespace pollution. Don't prepend headers.
29984 * conform/data/aio.h-data: Fixes for POSIX testing.
29985 * conform/data/fcntl.h-data: Likewise.
29986 * conform/data/glob.h-data: Likewise.
29987 * conform/data/grp.h-data: Likewise.
29988 * conform/data/pthread.h-data: Likewise.
29989 * conform/data/pwd.h-data: Likewise.
29990 * conform/data/signal.h-data: Likewise.
29991 * conform/data/spawn.h-data: Likewise.
29992 * conform/data/stdio.h-data: Likewise.
29993 * conform/data/stdlib.h-data: Likewise.
29994 * conform/data/stropts.h-data: Likewise.
29995 * conform/data/sys/mman.h-data: Likewise.
29996 * conform/data/sys/stat.h-data: Likewise.
29997 * conform/data/sys/types.h-data: Likewise.
29998 * conform/data/sys/wait.h-data: Likewise.
29999 * conform/data/time.h-data: Likewise.
30000 * conform/data/unistd.h-data: Likewise.
30001 * conform/data/utime.h-data: Likewise.
30002
30003 * io/sys/stat.h: fchmod was always in POSIX.
30004 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30005 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30006 * rt/aio.h: Define __need_timespec before including <time.h>.
30007 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30008 struct. Add forward declaration of pthread_attr_t and use it in
30009 sigevent.
30010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30012 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30013 always remove CLK_TCK definition.
30014
c20105c3
AS
300152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30016
30017 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30018
7a270350
UD
300192012-02-25 Ulrich Drepper <drepper@gmail.com>
30020
31341567
UD
30021 * conform/run-conformtest.sh: New file.
30022 * conform/Makefile: Run run-conformtest for tests.
30023 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30024 support.
30025
30026 * conform/data/uchar.h-data: New file.
30027 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30028 * conform/data/arpa/inet.h-data: Likewise.
30029 * conform/data/assert.h-data: Likewise.
30030 * conform/data/complex.h-data: Likewise.
30031 * conform/data/cpio.h-data: Likewise.
30032 * conform/data/ctype.h-data: Likewise.
30033 * conform/data/dirent.h-data: Likewise.
30034 * conform/data/dlfcn.h-data: Likewise.
30035 * conform/data/errno.h-data: Likewise.
30036 * conform/data/fcntl.h-data: Likewise.
30037 * conform/data/float.h-data: Likewise.
30038 * conform/data/fmtmsg.h-data: Likewise.
30039 * conform/data/fnmatch.h-data: Likewise.
30040 * conform/data/ftw.h-data: Likewise.
30041 * conform/data/glob.h-data: Likewise.
30042 * conform/data/grp.h-data: Likewise.
30043 * conform/data/iconv.h-data: Likewise.
30044 * conform/data/inttypes.h-data: Likewise.
30045 * conform/data/langinfo.h-data: Likewise.
30046 * conform/data/libgen.h-data: Likewise.
30047 * conform/data/limits.h-data: Likewise.
30048 * conform/data/locale.h-data: Likewise.
30049 * conform/data/math.h-data: Likewise.
30050 * conform/data/monetary.h-data: Likewise.
30051 * conform/data/mqueue.h-data: Likewise.
30052 * conform/data/ndbm.h-data: Likewise.
30053 * conform/data/net/if.h-data: Likewise.
30054 * conform/data/netdb.h-data: Likewise.
30055 * conform/data/netinet/in.h-data: Likewise.
30056 * conform/data/nl_types.h-data: Likewise.
30057 * conform/data/poll.h-data: Likewise.
30058 * conform/data/pthread.h-data: Likewise.
30059 * conform/data/pwd.h-data: Likewise.
30060 * conform/data/regex.h-data: Likewise.
30061 * conform/data/sched.h-data: Likewise.
30062 * conform/data/search.h-data: Likewise.
30063 * conform/data/semaphore.h-data: Likewise.
30064 * conform/data/setjmp.h-data: Likewise.
30065 * conform/data/signal.h-data: Likewise.
30066 * conform/data/spawn.h-data: Likewise.
30067 * conform/data/stdarg.h-data: Likewise.
30068 * conform/data/stdio.h-data: Likewise.
30069 * conform/data/stdlib.h-data: Likewise.
30070 * conform/data/string.h-data: Likewise.
30071 * conform/data/strings.h-data: Likewise.
30072 * conform/data/stropts.h-data: Likewise.
30073 * conform/data/sys/ipc.h-data: Likewise.
30074 * conform/data/sys/mman.h-data: Likewise.
30075 * conform/data/sys/msg.h-data: Likewise.
30076 * conform/data/sys/resource.h-data: Likewise.
30077 * conform/data/sys/select.h-data: Likewise.
30078 * conform/data/sys/sem.h-data: Likewise.
30079 * conform/data/sys/shm.h-data: Likewise.
30080 * conform/data/sys/socket.h-data: Likewise.
30081 * conform/data/sys/stat.h-data: Likewise.
30082 * conform/data/sys/statvfs.h-data: Likewise.
30083 * conform/data/sys/time.h-data: Likewise.
30084 * conform/data/sys/timeb.h-data: Likewise.
30085 * conform/data/sys/times.h-data: Likewise.
30086 * conform/data/sys/types.h-data: Likewise.
30087 * conform/data/sys/uio.h-data: Likewise.
30088 * conform/data/sys/un.h-data: Likewise.
30089 * conform/data/sys/utsname.h-data: Likewise.
30090 * conform/data/sys/wait.h-data: Likewise.
30091 * conform/data/syslog.h-data: Likewise.
30092 * conform/data/tar.h-data: Likewise.
30093 * conform/data/termios.h-data: Likewise.
30094 * conform/data/utime.h-data: Likewise.
30095 * conform/data/utmpx.h-data: Likewise.
30096 * conform/data/varargs.h-data: Likewise.
30097 * conform/data/wchar.h-data: Likewise.
30098 * conform/data/wctype.h-data: Likewise.
30099 * conform/data/wordexp.h-data: Likewise.
30100
30101 * include/stropts.h: New file.
30102 * include/uchar.h: New file.
30103 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30104 * include/assert.h: Likewise.
30105 * include/ctype.h: Likewise.
30106 * include/dirent.h: Likewise.
30107 * include/dlfcn.h: Likewise.
30108 * include/fcntl.h: Likewise.
30109 * include/fnmatch.h: Likewise.
30110 * include/glob.h: Likewise.
30111 * include/grp.h: Likewise.
30112 * include/libio.h: Likewise.
30113 * include/locale.h: Likewise.
30114 * include/math.h: Likewise.
30115 * include/net/if.h: Likewise.
30116 * include/netdb.h: Likewise.
30117 * include/netinet/in.h: Likewise.
30118 * include/pthread.h: Likewise.
30119 * include/pwd.h: Likewise.
30120 * include/regex.h: Likewise.
30121 * include/sched.h: Likewise.
30122 * include/search.h: Likewise.
30123 * include/setjmp.h: Likewise.
30124 * include/signal.h: Likewise.
30125 * include/stdio.h: Likewise.
30126 * include/stdlib.h: Likewise.
30127 * include/string.h: Likewise.
30128 * include/sys/cdefs.h: Likewise.
30129 * include/sys/mman.h: Likewise.
30130 * include/sys/msg.h: Likewise.
30131 * include/sys/resource.h: Likewise.
30132 * include/sys/select.h: Likewise.
30133 * include/sys/socket.h: Likewise.
30134 * include/sys/stat.h: Likewise.
30135 * include/sys/statvfs.h: Likewise.
30136 * include/sys/time.h: Likewise.
30137 * include/sys/times.h: Likewise.
30138 * include/sys/uio.h: Likewise.
30139 * include/sys/utsname.h: Likewise.
30140 * include/sys/wait.h: Likewise.
30141 * include/termios.h: Likewise.
30142 * include/time.h: Likewise.
30143 * include/ulimit.h: Likewise.
30144 * include/unistd.h: Likewise.
30145 * include/utime.h: Likewise.
30146 * include/wchar.h: Likewise.
30147 * include/wctype.h: Likewise.
30148 * include/wordexp.h: Likewise.
30149
30150 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30151
7a270350
UD
30152 * time/time.h: TIME_UTC must be a macro.
30153 Make timespec_get available for ISO C11 only as well.
30154
7724defc
UD
301552012-02-24 Ulrich Drepper <drepper@gmail.com>
30156
30157 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30158 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30159
6b1d1d46
JM
301602012-02-24 Joseph Myers <joseph@codesourcery.com>
30161
30162 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30163
0f8bbd69
JM
301642012-02-24 Joseph Myers <joseph@codesourcery.com>
30165
30166 * manual/texinfo.tex: Update to version 2012-01-19.16.
30167
66ab80bc
JM
301682012-02-24 Joseph Myers <joseph@codesourcery.com>
30169
30170 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30171
74981cc5
RM
301722012-02-24 Roland McGrath <roland@hack.frob.com>
30173
ee968201
RM
30174 [BZ #13738]
30175 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30176 * manual/fdl-1.3.texi: New file.
30177 * manual/fdl-1.1.texi: File removed.
30178
74981cc5
RM
30179 [BZ #13738]
30180 * manual/libc.texinfo (FDL_VERSION): New @set.
30181 Use it for mention of FDL in cover text.
30182 (Documentation License): Use it in @include file name.
30183
7bb764bc
JM
301842012-02-22 Joseph Myers <joseph@codesourcery.com>
30185 Roland McGrath <roland@hack.frob.com>
30186
30187 [BZ #5461]
30188 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30189 not LONG_LONG_MAX and LONG_LONG_MIN.
30190 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30191 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30192 name.
30193 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30194
6cbeae47
JM
301952012-02-22 Joseph Myers <joseph@codesourcery.com>
30196
30197 [BZ #2547]
30198 [BZ #11365]
30199 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30200 manipulate bits before adding and subtracting TWO23[sx].
30201 * math/libm-test.inc (nearbyint_test): Add more tests.
30202
fe45ce09
JM
302032012-02-22 Joseph Myers <joseph@codesourcery.com>
30204
30205 [BZ #2548]
30206 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30207 bits before adding and subtracting TWO23[sx].
30208 * math/libm-test.inc (rint_test): Add more tests.
30209 (rint_test_tonearest): Likewise.
30210 (rint_test_towardzero): Likewise.
30211 (rint_test_downward): Likewise.
30212 (rint_test_upward: Likewise.
30213
ff3b3d82
JM
302142012-02-22 Joseph Myers <joseph@codesourcery.com>
30215
30216 [BZ #10110]
30217 * include/stdc-predef.h: New file. Extracted from features.h.
30218 * include/features.h: Include stdc-predef.h.
30219 * Makefile (headers): Add stdc-predef.h.
30220 * CONFORMANCE (Compiler limitations): Update.
30221
ef0aab35
JM
302222012-02-22 Joseph Myers <joseph@codesourcery.com>
30223
30224 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30225
58639409
DM
302262012-02-21 David S. Miller <davem@davemloft.net>
30227
30228 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30229 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30230
c0e70b25
DM
302312012-02-20 David S. Miller <davem@davemloft.net>
30232
30233 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30234 using a normal save/restore sequence, rather than allocating a
30235 dummy stack frame just to store a frame pointer and restore.
30236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30237
fb06851d
JM
302382012-02-21 Joseph Myers <joseph@codesourcery.com>
30239
30240 * manual/install.texi: Fix stray word in line-wrapped comment.
30241
7a8b71c3
DM
302422012-02-20 David S. Miller <davem@davemloft.net>
30243
d510c123
DM
30244 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30245 both binutils and gcc support GOTDATA.
30246
0722d7c2
DM
30247 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30248 "rd %pc" in the PIC register setup sequences.
30249
3d2b3019
DM
30250 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30251 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30253 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30259 (SYSCALL_ERROR_HANDLER): Likewise.
30260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30261 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30263 (SYSCALL_ERROR_HANDLER): Likewise.
30264
c80098a9
DM
30265 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30266 (HAVE_GCC_GOTDATA): New.
30267 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30268 relocation support in both binutils and gcc.
30269 * sysdeps/sparc/elf/configure: Regenerate.
30270
3a2545a0
DM
30271 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30272 * sysdeps/sparc/sparc32/elf/configure: Delete.
30273 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30274 * sysdeps/sparc/sparc64/elf/configure: Delete.
30275 * sysdeps/sparc/elf/configure.in: New file.
30276 * sysdeps/sparc/elf/configure: Generate.
30277
7a8b71c3
DM
30278 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30279 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30280 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30281 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30282 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30283
f1e86fca
JM
302842012-02-21 Joseph Myers <joseph@codesourcery.com>
30285
30286 * manual/install.texi: Do not mention specific glibc version
30287 numbers.
30288 * manual/libc.texinfo (VERSION, UPDATED): Update.
30289 (@copying): Use @copyright{} and range of years.
30290
0e7dfaef
JM
302912012-02-21 Joseph Myers <joseph@codesourcery.com>
30292
30293 [BZ #13695]
30294 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30295 [crti.S not in sysdirs] (generated): Do not append.
30296 [crti.S not in sysdirs] (omit-deps): Likewise.
30297 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30298 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30299 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30300 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30301 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30302 Likewise.
30303 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30304 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30305 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30306 * csu/defs.awk: Remove file.
30307 * sysdeps/generic/initfini.c: Likewise.
30308 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30309 variable.
30310 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30311 Likewise.
30312
599af3ca
JM
303132012-02-20 Joseph Myers <joseph@codesourcery.com>
30314
30315 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30316 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30317 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30320 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30321 <bits/epoll.h>.
30322 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30323 (__EPOLL_PACKED): Define to empty if not defined by
30324 <bits/epoll.h>.
30325 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30327 bits/epoll.h.
30328
0e499750
JM
303292012-02-20 Joseph Myers <joseph@codesourcery.com>
30330
30331 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30332 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30333 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30334 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30335 <bits/timerfd.h>.
30336 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30338 bits/timerfd.h.
30339
5ad91f6e
JM
303402012-02-20 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30343 in C locale.
30344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30348
06b99b02
AJ
303492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30350
30351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30353
7638c0fd
AS
303542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30355
30356 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30357 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30358 defined.
30359 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30360 Likewise.
30361 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30362 entry for 2.16.
30363
92221550
AJ
303642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30365
30366 * math/w_acos.c: Use non-signaling floating-point comparisons.
30367 * math/w_acosf.c: Likewise.
30368 * math/w_acosh.c: Likewise.
30369 * math/w_acoshf.c: Likewise.
30370 * math/w_acoshl.c: Likewise.
30371 * math/w_acosl.c: Likewise.
30372 * math/w_asin.c: Likewise.
30373 * math/w_asinf.c: Likewise.
30374 * math/w_asinl.c: Likewise.
30375 * math/w_atanh.c: Likewise.
30376 * math/w_atanhf.c: Likewise.
30377 * math/w_atanhl.c: Likewise.
30378 * math/w_exp2.c: Likewise.
30379 * math/w_exp2f.c: Likewise.
30380 * math/w_exp2l.c: Likewise.
30381 * math/w_j0.c: Likewise.
30382 * math/w_j0f.c: Likewise.
30383 * math/w_j0l.c: Likewise.
30384 * math/w_j1.c: Likewise.
30385 * math/w_j1f.c: Likewise.
30386 * math/w_j1l.c: Likewise.
30387 * math/w_jn.c: Likewise.
30388 * math/w_jnf.c: Likewise.
30389 * math/w_log.c: Likewise.
30390 * math/w_log10.c: Likewise.
30391 * math/w_log10f.c: Likewise.
30392 * math/w_log10l.c: Likewise.
30393 * math/w_log2.c: Likewise.
30394 * math/w_log2f.c: Likewise.
30395 * math/w_log2l.c: Likewise.
30396 * math/w_logf.c: Likewise.
30397 * math/w_logl.c: Likewise.
30398 * math/w_sqrt.c: Likewise.
30399 * math/w_sqrtf.c: Likewise.
30400 * math/w_sqrtl.c: Likewise.
30401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30402 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30404 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30405 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30406
ebaf36eb
JM
304072012-02-19 Joseph Myers <joseph@codesourcery.com>
30408
30409 [BZ #9739]
30410 * manual/string.texi (strnlen): Use correct parameter name in
30411 equivalent expression.
30412
71c254a6
JM
304132012-02-19 Joseph Myers <joseph@codesourcery.com>
30414
30415 [BZ #11174]
30416 * manual/users.texi (seteuid): Consistently use neweuid for
30417 argument name.
30418
16d2c631
JM
304192012-02-19 Joseph Myers <joseph@codesourcery.com>
30420
30421 [BZ #13704]
30422 * manual/nss.texi (Services in the NSS configuration): Correct
30423 list of services in example configuration file.
30424
cd837b09
NB
304252012-02-19 Nick Bowler <nbowler@draconx.ca>
30426
30427 [BZ #11322]
30428 * manual/arith.texi: Remove statements about negative zero
30429 behaving identically to zero.
30430
02c4bbad
JM
304312012-02-18 Joseph Myers <joseph@codesourcery.com>
30432
30433 [BZ #5993]
30434 * manual/install.texi: Do not document upgrading from libc5.
30435
366842e7
JM
304362012-02-18 Joseph Myers <joseph@codesourcery.com>
30437
30438 [BZ #4596]
30439 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30440
dd54084d
DM
304412012-02-18 David S. Miller <davem@davemloft.net>
30442
30443 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30444 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30445 %o7 across the call.
30446 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30447 instead.
30448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30449 SETUP_PIC_REG_LEAF.
30450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30451 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30452 * sysdeps/sparc/crtn.S: Likewise.
30453
2bcc53a3
UD
304542012-02-17 Ulrich Drepper <drepper@gmail.com>
30455
30456 * aout/Makefile: Remove.
30457
09c093b5
RK
304582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30459
30460 [BZ #13058]
30461 * manual/examples/argp-ex1.c (main): Format definition in GNU
30462 style.
30463 * manual/examples/argp-ex2.c (main): Likewise.
30464 * manual/examples/argp-ex3.c (main): Likewise.
30465 * manual/examples/argp-ex4.c (main): Likewise.
30466 * manual/examples/longopt.c (main): Use new-style prototype
30467 definition.
30468 * manual/examples/strncat.c (main): Specify return type and use
30469 (void) for arguments.
30470 * manual/examples/subopt.c (main): Use char **argv argument.
30471
2ee633a2
JM
304722012-02-17 Joseph Myers <joseph@codesourcery.com>
30473
30474 [BZ #5077]
30475 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30476 rounding modes.
30477
0520adde
FB
304782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30479
30480 [BZ #6907]
30481 * manual/string.texi (strchr): Change when strchrnul is
30482 recommended.
30483
3f4081cd
DGM
304842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30485
30486 [BZ #174]
30487 * manual/locale.texi (setlocale): Document LOCPATH.
30488
d1b10e78
JM
304892012-02-17 Joseph Myers <joseph@codesourcery.com>
30490
30491 [BZ #10210]
30492 * manual/process.texi (execle): Move @dots{} before last argument.
30493
79c6869c
PB
304942012-02-17 Paul Bolle <pebolle@tiscali.nl>
30495
30496 [BZ #12047]
30497 * manual/charset.texi (Generic Charset Conversion): Fix typo
30498 (LC_TYPE -> LC_CTYPE).
30499
cc6e48bc
NB
305002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30501
30502 [BZ #5805]
30503 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30504 (scalbnf): Likewise.
30505 (scalbnl): Likewise.
30506 (scalbln): Likewise.
30507 (scalblnf): Likewise.
30508 (scalblnl): Likewise.
30509 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30510 (vwarnx): Likewise.
30511 (verr): Likewise.
30512 (verrx): Likewise.
30513 * manual/filesys.texi (telldir): Use braces around return type.
30514 * manual/llio.texi (mmap): Add space after comma.
30515 (mmap64): Likewise.
30516 * manual/math.texi (jn): Use @var{} on parameter names.
30517 (jnf): Likewise.
30518 (jnl): Likewise.
30519 (yn): Likewise.
30520 (ynf): Likewise.
30521 (ynl): Likewise.
30522 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30523 line.
30524 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30525 "...".
30526 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30527 (sched_get_priority_max): Likewise.
30528 * manual/signal.texi (sigvec): Add space after comma.
30529 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30530 names.
30531 (if_indextoname): Likewise.
30532 (if_freenameindex): Likewise.
30533 (sendto): Use ',' instead of '.' in prototype.
30534 * manual/startup.texi (syscall): Use @dots{} instead of literal
30535 "...".
30536 * manual/stdio.texi (__fpending): Separate initial words of
30537 paragraph from @deftypefun line.
30538 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30539 "...".
30540 (vsyslog): Use @var{} on parameter names.
30541 * manual/terminal.texi (stty): Use @var{} on parameter names.
30542 * manual/users.texi (getutmp): Use @var{} on parameter names.
30543 (getutmpx): Likewise.
30544
5b23062f
JM
305452012-02-17 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #6884]
30548 * manual/stdio.texi (fopen): Fix typos in description of
30549 ",ccs=STRING".
30550
8dee4833
AJ
305512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30552
30553 [BZ #4026]
30554 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30555 get clock_id definition.
30556
9078ce93
TS
305572012-02-17 Thomas Schwinge <thomas@schwinge.name>
30558
30559 [BZ #4822]
30560 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30561 (madvise): Cast every argument to void on its own.
30562
3835c55f
JM
305632012-02-17 Joseph Myers <joseph@codesourcery.com>
30564
30565 [BZ #9902]
30566 * manual/startup.texi (Exit Status): Fix typo.
30567
35c47e37
JM
305682012-02-17 Joseph Myers <joseph@codesourcery.com>
30569
30570 [BZ #10140]
30571 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30572 * manual/examples/argp-ex2.c: Likewise.
30573 * manual/examples/argp-ex3.c: Likewise.
30574
e3b69ca7
RH
305752012-02-16 Richard Henderson <rth@redhat.com>
30576
30577 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30578 * sysdeps/s390/s390-32/initfini.c: Remove.
30579 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30580 * sysdeps/s390/s390-64/initfini.c: Remove.
30581
df83af67
KK
305822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30583
30584 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30585 compiler output for sysdeps/generic/initfini.c.
30586 * sysdeps/sh/elf/initfini.c: Remove file.
30587
f63f3380
DM
305882012-02-16 David S. Miller <davem@davemloft.net>
30589
fb59b3a4
DM
30590 [BZ #11494]
30591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30592
f63f3380
DM
30593 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30594 * sysdeps/sparc/crti.S: New file.
30595 * sysdeps/sparc/crtn.S: New file.
30596 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30597 * sysdeps/sparc/sparc64/Makefile: Likewise.
30598
df6a4a4a
MF
305992012-02-15 Mike Frysinger <vapier@gentoo.org>
30600
6dd8f3dc 30601 [BZ #3335]
df6a4a4a
MF
30602 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30603
1cac7236
RM
306042012-02-15 Roland McGrath <roland@hack.frob.com>
30605
d2c736f8
RM
30606 [BZ #4822]
30607 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30608
1cac7236
RM
30609 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30610 (write, read, close): Likewise.
30611 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30612
8e475601
JM
306132012-02-15 Joseph Myers <joseph@codesourcery.com>
30614
30615 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30616 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30617 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30618 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30619 <bits/signalfd.h>.
30620 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30622 bits/signalfd.h.
30623
ed656b40
MP
306242012-02-14 Marek Polacek <polacek@redhat.com>
30625
30626 * sysdeps/x86_64/crti.S: New file.
30627 * sysdeps/x86_64/crtn.S: New file.
30628 * sysdeps/x86_64/elf/initfini.c: Remove file.
30629
2a979d3a
JM
306302012-02-13 Joseph Myers <joseph@codesourcery.com>
30631
30632 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30633 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30634 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30635 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30636 <bits/inotify.h>.
30637 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30639 bits/inotify.h.
30640
2a418ac3
JM
306412012-02-13 Joseph Myers <joseph@codesourcery.com>
30642
30643 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30644 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30645 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30646 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30647 <bits/eventfd.h>.
30648 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30650 bits/eventfd.h.
30651
fb779be7
TS
306522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30653
e19e83c5
RM
30654 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30655 __feraiseexcept instead of feraiseexcept.
7c35ffed 30656
fb779be7
TS
30657 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30658 nanosleep invocations.
30659 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30660 strings, and add error checking for a nanosleep invocations.
30661
59ba27a6
PE
306622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30663
30664 Replace FSF snail mail address with URLs, as per GNU coding standards.
30665 Most of the snail mail addresses were wrong anyway, and omitting
30666 them makes the source code easier to maintain. Almost all of the
30667 changes are to license notices and to locale LC_IDENTIFICATION
30668 addresses, except for this one:
30669 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30670 not its snail mail address.
30671
57b957eb
RH
306722012-02-09 Richard Henderson <rth@twiddle.net>
30673
af850b1c
RH
30674 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30675 of kernel-features.h.
30676
57b957eb
RH
30677 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30678
6b73181a
MP
306792012-02-08 Marek Polacek <polacek@redhat.com>
30680
30681 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30682 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30683 * sysdeps/gnu/_G_config.h: Likewise.
30684 * sysdeps/generic/_G_config.h: Likewise.
30685
26ecc33a
AS
306862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30687
6c6dbc63
AS
30688 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30689 tests.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691
e216c012
AS
30692 * sysdeps/powerpc/powerpc32/crti.S: New file.
30693 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30694 * sysdeps/powerpc/powerpc64/crti.S: New file.
30695 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30696
26ecc33a
AS
30697 * Makeconfig (have-initfini): Don't set.
30698 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30699 * configure.in (nopic_initfini): Don't substitute.
30700 * config.h.in (HAVE_INITFINI): Don't #undef.
30701 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30702 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30703
3add8e13
JM
307042012-02-08 Joseph Myers <joseph@codesourcery.com>
30705
30706 Support crti.S and crtn.S provided directly by architectures.
30707 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30708 [crti.S in sysdirs] (omit-deps): Likewise.
30709 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30710 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30711 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30712 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30713 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30714 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30715 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30716 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30717 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30718 compiler output for sysdeps/generic/initfini.c.
30719 * sysdeps/i386/elf/Makefile: Remove file.
30720 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30721
a22f12b4
MP
307222012-02-07 Marek Polacek <polacek@redhat.com>
30723
30724 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30725 * sysdeps/gnu/_G_config.h: Likewise.
30726 * sysdeps/mach/hurd/_G_config.h: Likewise.
30727
148cf100
MP
307282012-02-07 Marek Polacek <polacek@redhat.com>
30729
30730 * math/Makefile (tests): Add tst-CMPLX2.
30731 * math/tst-CMPLX2.c: New file.
30732
cfdc0dd7
AS
307332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30734
84ba42c4
AS
30735 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30736
cfdc0dd7
AS
30737 * math/libm-test.inc (jn_test): Add missing L suffix.
30738
622c86f4
MP
307392012-02-06 Marek Polacek <polacek@redhat.com>
30740
30741 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30742 * sysdeps/i386/fpu/e_powf.S: Likewise.
30743 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30746 * sysdeps/i386/fpu/e_pow.S: Likewise.
30747 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30749 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30750 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30751 * sysdeps/i386/fpu/e_log2.S: Likewise.
30752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30753 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30754 * sysdeps/i386/fpu/e_powl.S: Likewise.
30755 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30756 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30757 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30758 * sysdeps/i386/fpu/e_logl.S: Likewise.
30759 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30760 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30761 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30762 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30765 * sysdeps/i386/fpu/e_log.S: Likewise.
30766 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30768 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30769 * sysdeps/i386/fpu/e_logf.S: Likewise.
30770 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30771 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30772 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30773 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30774 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30775 * sysdeps/i386/fpu/e_log10.S: Likewise.
30776 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30777 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30778 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30779 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30780 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30781 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30782 * sysdeps/i386/asm-syntax.h: Likewise.
30783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30786 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30787 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30792 * sysdeps/powerpc/sysdep.h: Likewise.
30793 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30795
d4a54ac6
JM
307962012-02-06 Joseph Myers <joseph@codesourcery.com>
30797
30798 [BZ #411]
30799 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30800
314054ea
JM
308012012-02-06 Joseph Myers <joseph@codesourcery.com>
30802
30803 * sysdeps/i386/sysdep.h: Include <features.h>.
30804 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30805 version.
30806
d8e0ca50
JM
308072012-02-05 Joseph Myers <joseph@codesourcery.com>
30808
30809 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30810 Define.
30811 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30812 LOAD_PIC_REG_STR.
30813
b1da7dd9
JM
308142012-02-03 Joseph Myers <joseph@codesourcery.com>
30815
30816 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30817 (SETUP_PIC_REG): Use GET_PC_THUNK.
30818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30819 macro.
30820
9a1d9254
JM
308212012-02-03 Joseph Myers <joseph@codesourcery.com>
30822
30823 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30824 for non-PIC compilation.
30825 (SETUP_PIC_REG): Add .p2align directive.
30826 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30827 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30828 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30831 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30834 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30835 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30836 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30837 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30838 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30840 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30841 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30842 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30843 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30844 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30845 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30846 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30848 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30853 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30867
65dc3b75
JM
308682012-02-03 Joseph Myers <joseph@codesourcery.com>
30869
30870 * math/tst-CMPLX.c: Include <stdio.h>.
30871
d55bf177
JM
308722012-01-31 Joseph Myers <joseph@codesourcery.com>
30873
30874 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30875 float.
30876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30877 * sysdeps/sparc/bits/mathdef.h: Likewise.
30878
69db4f8f
MP
308792012-01-31 Marek Polacek <polacek@redhat.com>
30880
30881 * libio/libio.h: Don't define _PARAMS.
30882 * locale/programs/config.h: Don't define PARAMS.
30883 * stdlib/strtol_l.c: Likewise.
30884 (__strtol_l): Remove PARAMS from the prototype.
30885
41b81892
UD
308862012-01-31 Ulrich Drepper <drepper@gmail.com>
30887
3b49edc0
UD
30888 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30889 names. Just use the correct names. Remove unnecessary wrapper
30890 functions.
30891 * malloc/arena.c: Likewise.
30892 * malloc/hooks.c: Likewise.
30893
41b81892
UD
30894 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30895 ARENA_TEST says not to. Simplify test for creation of a new arena.
30896 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30897
27a25b6e
UD
308982012-01-30 Ulrich Drepper <drepper@gmail.com>
30899
30900 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30901 into tail calls.
30902 (update_get_addr): New function.
30903 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30904 GET_ADDR_MODULE parameter.
30905
c8a89e7d
JM
309062012-01-30 Joseph Myers <joseph@codesourcery.com>
30907
30908 * crypt/cert.c: Remove __STDC__ conditionals.
30909 * crypt/crypt-entry.c: Likewise.
30910 * crypt/crypt_util.c: Likewise.
30911 * libio/filedoalloc.c: Likewise.
30912 * libio/fileops.c: Likewise.
30913 * libio/genops.c: Likewise.
30914 * libio/iofclose.c: Likewise.
30915 * libio/iofdopen.c: Likewise.
30916 * libio/iofopen.c: Likewise.
30917 * libio/iofopen64.c: Likewise.
30918 * libio/iogetdelim.c: Likewise.
30919 * libio/iopopen.c: Likewise.
30920 * libio/obprintf.c: Likewise.
30921 * libio/oldfileops.c: Likewise.
30922 * libio/oldiofclose.c: Likewise.
30923 * libio/oldiofdopen.c: Likewise.
30924 * libio/oldiofopen.c: Likewise.
30925 * libio/oldiopopen.c: Likewise.
30926 * libio/wfiledoalloc.c: Likewise.
30927 * libio/wgenops.c: Likewise.
30928 * locale/programs/xmalloc.c: Likewise.
30929 * misc/syslog.c: Likewise.
30930 * stdio-common/xbug.c: Likewise.
30931 * string/memchr.c: Likewise.
30932 * string/memcmp.c: Likewise.
30933 * string/memrchr.c: Likewise.
30934 * string/rawmemchr.c: Likewise.
30935 * sysdeps/posix/getcwd.c: Likewise.
30936 * time/strftime_l.c: Likewise.
30937
3b100462
JM
309382012-01-30 Joseph Myers <joseph@codesourcery.com>
30939
30940 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30941 * config.make.in (config-cflags-sse2avx): Define.
30942 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30943 Fix typo.
30944
607998af
CM
309452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30946
30947 * scripts/config.guess: Update from upstream config git repository.
30948 * scripts/config.sub: Likewise.
30949
3601428f
CM
309502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30951
3ac8b282
CM
30952 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30953 (EM_NUM): Update.
30954 (R_TILEPRO_*, R_TILEGX_*): New macros.
30955
e034841e
CM
30956 * scripts/firstversions.awk: Fix bug in version range handling.
30957
540d7568
CM
30958 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30959
3601428f
CM
30960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30961
463de862
CM
30962 * include/sys/epoll.h: New file.
30963 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30964 libc_hidden_def.
30965
73139a76
UD
309662012-01-28 Ulrich Drepper <drepper@gmail.com>
30967
96bc5b45
UD
30968 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30969 Avoid unnecessary __WORDSIZE == 64 test.
30970 (fmaxf): Use VEX format if possible.
30971 (fmax): Likewise.
30972 (fminf): Likewise.
30973 (fmin): Likewise.
30974
56f6f6a2
UD
30975 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30976 * math/math_private.h: Remove libc_fegetround* and
30977 libc_fesetround*.
30978 * sysdeps/i386/configure.in: Check for -msse2avx.
30979 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30980 also if SSE2AVX is defined.
30981 Remove libc_fegetround* and libc_fesetround*.
30982 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30983 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30985 of HAS_YMM_USABLE.
30986 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30987 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30988 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30991
73139a76
UD
30992 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30993
d73f93a4
AZ
309942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30995
30996 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30997 size is not set.
30998 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30999
6ee65ed6
UD
310002012-01-27 Ulrich Drepper <drepper@gmail.com>
31001
31002 [BZ #13618]
31003 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31004 relocation.
31005 * Makeconfig (libm): Define.
31006 * elf/Makefile: Add rules to build and run tst-relsort1.
31007 * elf/tst-relsort1.c: New file.
31008 * elf/tst-relsort1mod1.c: New file.
31009 * elf/tst-relsort1mod2.c: New file.
31010
8db21882
JM
310112012-01-27 Joseph Myers <joseph@codesourcery.com>
31012
31013 * math/s_ldexp.c: Remove __STDC__ conditionals.
31014 * math/s_ldexpf.c: Likewise.
31015 * math/s_ldexpl.c: Likewise.
31016 * math/s_nextafter.c: Likewise.
31017 * math/s_nexttowardf.c: Likewise.
31018 * math/s_significand.c: Likewise.
31019 * math/s_significandf.c: Likewise.
31020 * math/s_significandl.c: Likewise.
31021 * math/w_jnl.c: Likewise.
31022 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31023 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31024 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31025 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31026 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31043 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31044 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31045 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31046 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31047 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31048 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31049 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31050 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31051 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31052 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31053 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31056 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31059 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31060 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31061 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31062 * sysdeps/ieee754/k_standard.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31112 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31138 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31142 * sysdeps/ieee754/s_matherr.c: Likewise.
31143 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31144 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31147
965a54a4
JM
311482012-01-26 Joseph Myers <joseph@codesourcery.com>
31149
31150 * crypt/md5.h: Remove __STDC__ conditionals.
31151 * libio/libioP.h: Likewise.
31152 * locale/programs/config.h: Likewise.
31153 * sysdeps/generic/sysdep.h: Likewise.
31154 * sysdeps/i386/asm-syntax.h: Likewise.
31155 * sysdeps/s390/asm-syntax.h: Likewise.
31156 * sysdeps/unix/sysdep.h: Likewise.
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31159
7071ad79
JM
311602012-01-26 Joseph Myers <joseph@codesourcery.com>
31161
31162 * libio/libio.h: Remove __STDC__ conditionals.
31163 * malloc/obstack.h: Likewise.
31164 * math/complex.h: Likewise.
31165 * math/math.h: Likewise.
31166 * sysdeps/generic/_G_config.h: Likewise.
31167 * sysdeps/gnu/_G_config.h: Likewise.
31168 * sysdeps/mach/hurd/_G_config.h: Likewise.
31169 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31171 * sysdeps/sparc/bits/mathdef.h: Likewise.
31172
afc5ed09
UD
311732012-01-26 Ulrich Drepper <drepper@gmail.com>
31174
31175 [BZ #13583]
31176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31177 Clean up HAS_* macros.
afc5ed09 31178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31179 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31180 possible.
31181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31182 HAS_AVX.
31183 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31184 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31188
bdb6de1d
JM
311892012-01-25 Joseph Myers <joseph@codesourcery.com>
31190
31191 * elf/tst-unique3.cc (gets): Remove declaration.
31192 * elf/tst-unique3lib.cc (gets): Likewise.
31193 * elf/tst-unique3lib2.cc (gets): Likewise.
31194 * elf/tst-unique4.cc (gets): Likewise.
31195
b15549e6
UD
311962012-01-24 Ulrich Drepper <drepper@gmail.com>
31197
31198 * include/stdio.h: Add C++ protection. Add gets declarations and
31199 definitions.
31200 * debug/tst-chk1.c: Don't declare gets here.
31201 * stdio-common/tst-gets.c: Likewise.
31202
a037381f
JM
312032012-01-24 Joseph Myers <joseph@codesourcery.com>
31204
31205 * posix/glob: Remove directory.
31206
f1d4aa75
JM
312072012-01-24 Joseph Myers <joseph@codesourcery.com>
31208
31209 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31210
81c0c964
PT
312112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31212
31213 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31214 of the non-standard EPFNOSUPPORT.
31215
0ea698ae
ST
312162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31217
31218 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31219 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31220 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31221
d220b117
UD
312222012-01-21 Ulrich Drepper <drepper@gmail.com>
31223
31224 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31225
3e1aa84e
UD
312262012-01-20 Ulrich Drepper <drepper@gmail.com>
31227
31228 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31229 transient errors.
31230 * nscd/grpcache.c (cache_addgr): Likewise.
31231 * nscd/hstcache.c (cache_addhst): Likewise.
31232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31233 * nscd/pwdcache.c (cache_addpw): Likewise.
31234 * nscd/servicescache.c (cache_addserv): Likewise.
31235
400aa020
UD
312362012-01-16 Ulrich Drepper <drepper@gmail.com>
31237
d77e7869
UD
31238 * malloc/malloc.c: Various cleanups.
31239 * malloc/hooks.c: Likewise.
31240
400aa020
UD
31241 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31242 * stdlib/bug-fmtmsg1.c: New file.
31243
31244 * stdlib/fmtmsg.c (init): Add missing unlock.
31245 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31246
e0a309cf
MP
312472012-01-12 Marek Polacek <polacek@redhat.com>
31248
31249 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31250 and _GNU_SOURCE.
31251
929d11c7
WS
312522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31253
31254 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31255 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31256 macro to ensure uniqueness of label name.
31257 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31258 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31259
41d0e869
UD
312602012-01-11 Ulrich Drepper <drepper@gmail.com>
31261
0cc5ed3b
UD
31262 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31263
41d0e869
UD
31264 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31265 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31268
a47a831a
UD
312692012-01-10 Ulrich Drepper <drepper@gmail.com>
31270
daa891c0
UD
31271 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31272
31273 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31274 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31275 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31276
e58ef0f2
UD
31277 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31278
a47a831a 31279 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31280 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31283
31284 * math/bits/math-finite.h: Add ldexp support.
31285
a0bfc9c7
MP
312862012-01-10 Marek Polacek <polacek@redhat.com>
31287
31288 * locale/programs/localedef.h (show_archive_content): Add noreturn
31289 attribute.
31290
d6e97a1d
UD
312912012-01-09 Ulrich Drepper <drepper@gmail.com>
31292
31293 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31294
d5835c26
UD
312952012-01-08 Ulrich Drepper <drepper@gmail.com>
31296
e5f484c6
UD
31297 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31298
d5835c26
UD
31299 * io/Makefile (headers): Add bits/poll2.h.
31300
d1f741e9
WS
313012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31302
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31304 typo #include statement.
31305
ec09c1c4
UD
313062012-01-08 Ulrich Drepper <drepper@gmail.com>
31307
31308 * include/sys/cdefs.h: Define __attribute_alloc_size.
31309 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31310 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31311 * elf/pldd.c: Likewise.
31312 * iconv/iconv_charmap.c: Likewise.
31313 * iconv/iconvconfig.c: Likewise.
31314 * iconv/strtab.c: Likewise.
31315 * locale/programs/locale.c: Likewise.
31316 * locale/programs/localedef.h: Likewise.
31317 * locale/programs/simple-hash.c: Likewise.
31318 * nscd/nscd.h: Likewise.
31319 * nss/makedb.c: Likewise.
31320 * sysdeps/generic/ldconfig.h: Likewise.
31321 * locale/programs/localedef.c: Remove xmalloc prototype.
31322 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31323
20b38e03
PP
313242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31325
31326 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31327 appropriate.
31328
a0da5fe1
UD
313292012-01-08 Ulrich Drepper <drepper@gmail.com>
31330
1d5a644a 31331 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31332 * math/tst-CMPLX.c: New file.
1d5a644a 31333
8784a6db
UD
31334 * math/complex.h (CMPLXL): Fix typo.
31335
d9a216c0
UD
31336 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31337 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31338 GLIBC_2.16.
31339 * debug/tst-chk1.c: Add poll and ppoll tests.
31340 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31341 * include/sys/poll.h: Add hidden proto for ppoll.
31342 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31343 * sysdeps/mach/hurd/ppoll.c: Likewise.
31344 * io/ppoll.c: Likewise.
31345 * debug/poll_chk.c: New file.
31346 * debug/ppoll_chk.c: New file.
31347 * include/bits/poll2.h: New file.
31348 * io/bits/poll2.h: New file.
31349
ac097f5c
UD
31350 [BZ #1350]
31351 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31352
2119dcfa
UD
31353 * configure.in: static is always set to yes. Remove.
31354 * config.make.in: Don't set build-static.
31355 * Makeconfig: Remove use of build-static.
31356 * dlfcn/Makefile: Likewise.
31357 * elf/Makefile: Likewise.
31358 * math/Makefile: Likewise.
31359 * misc/Makefile: Likewise.
31360 * nptl/Makefile: Likewise.
31361 * sysdeps/mach/hurd/Makefile: Likewise.
31362
121766a9
UD
31363 * configure.in: PWD_P is not used anymore.
31364 * config.make.in: Remove PWD_P entry.
31365
51a1d39c 31366 * configure.in: Remove last remnants of RANLIB.
8720d066 31367 No need to check for signed size_t anymore.
215f4bdc
UD
31368 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31369 and IA-64.
3857022a 31370 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31371 * aclocal.m4: Likewise.
31372
d3ed7225
UD
31373 * wcsmbs/mbrtoc16.c: Implement using towc function.
31374 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31375 * wcsmbs/wcsmbsload.c: Likewise.
31376 * iconv/gconv_simple.c: Likewise.
31377 * iconv/gconv_int.h: Likewise.
31378 * iconv/gconv_builtin.h: Likewise.
31379 * iconv/iconv_prog.c: Remove CHAR16 handling.
31380
31381 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31382
31383 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31384
a0da5fe1
UD
31385 * configure.in: Remove --with-elf and --enable-bounded options.
31386 Dont set base_machine for ia64. More non-ELF conditions removed.
31387 Remove testing and setting of leading underscore information.
31388 * config.make.in (build-bounded): Set to no.
31389 * config.h.in: Remove NO_UNDERSCORES entry.
31390 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31391 them.
31392 * csu/start.c: Remove !NO_UNDERSCORE code.
31393 * locale/localeinfo.h: Likewise.
31394 * sysdeps/generic/machine-gmon.h: Likewise.
31395 * sysdeps/generic/sysdep.h: Likewise.
31396 * sysdeps/i386/sysdep.h: Likewise.
31397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31398 * sysdeps/mach/sysdep.h: Likewise.
31399 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31401 * sysdeps/sh/sysdep.h: Likewise.
31402 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31403 * sysdeps/unix/i386/sysdep.S: Likewise.
31404 * sysdeps/unix/sparc/start.c: Likewise.
31405 * sysdeps/unix/sparc/sysdep.S: Likewise.
31406 * sysdeps/unix/sparc/sysdep.h: Likewise.
31407 * sysdeps/unix/start.c: Likewise.
31408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31409 * sysdeps/x86_64/sysdep.h: Likewise.
31410
df78418a
UD
314112012-01-07 Ulrich Drepper <drepper@gmail.com>
31412
a784e502
UD
31413 [BZ #13553]
31414 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31415 for non-gcc.
31416 * argp/argp-fmtstream.h: Use const instead __const.
31417 * argp/argp.h: Likewise.
31418 * assert/assert.h: Likewise.
31419 * bits/fenv.h: Likewise.
31420 * bits/sched.h: Likewise.
31421 * bits/sigset.h: Likewise.
31422 * bits/sigthread.h: Likewise.
31423 * catgets/nl_types.h: Likewise.
31424 * conform/data/pthread.h-data: Likewise.
31425 * crypt/crypt-private.h: Likewise.
31426 * crypt/crypt.h: Likewise.
31427 * crypt/crypt_util.c: Likewise.
31428 * ctype/ctype.h: Likewise.
31429 * debug/execinfo.h: Likewise.
31430 * debug/mbsnrtowcs_chk.c: Likewise.
31431 * debug/mbsrtowcs_chk.c: Likewise.
31432 * debug/wcsnrtombs_chk.c: Likewise.
31433 * debug/wcsrtombs_chk.c: Likewise.
31434 * debug/wcstombs_chk.c: Likewise.
31435 * dirent/dirent.h: Likewise.
31436 * dlfcn/dlfcn.h: Likewise.
31437 * elf/neededtest4.c: Likewise.
31438 * grp/grp.h: Likewise.
31439 * gshadow/gshadow.h: Likewise.
31440 * iconv/gconv.h: Likewise.
31441 * iconv/gconv_int.h: Likewise.
31442 * iconv/gconv_simple.c: Likewise.
31443 * iconv/iconv.h: Likewise.
31444 * iconv/loop.c: Likewise.
31445 * iconv/skeleton.c: Likewise.
31446 * include/aio.h: Likewise.
31447 * include/aliases.h: Likewise.
31448 * include/argz.h: Likewise.
31449 * include/arpa/inet.h: Likewise.
31450 * include/assert.h: Likewise.
31451 * include/dirent.h: Likewise.
31452 * include/dlfcn.h: Likewise.
31453 * include/execinfo.h: Likewise.
31454 * include/fcntl.h: Likewise.
31455 * include/fenv.h: Likewise.
31456 * include/glob.h: Likewise.
31457 * include/grp.h: Likewise.
31458 * include/libintl.h: Likewise.
31459 * include/mntent.h: Likewise.
31460 * include/netdb.h: Likewise.
31461 * include/pwd.h: Likewise.
31462 * include/rpc/netdb.h: Likewise.
31463 * include/sched.h: Likewise.
31464 * include/search.h: Likewise.
31465 * include/shadow.h: Likewise.
31466 * include/signal.h: Likewise.
31467 * include/stdio.h: Likewise.
31468 * include/stdlib.h: Likewise.
31469 * include/string.h: Likewise.
31470 * include/sys/socket.h: Likewise.
31471 * include/sys/stat.h: Likewise.
31472 * include/sys/statfs.h: Likewise.
31473 * include/sys/statvfs.h: Likewise.
31474 * include/sys/syslog.h: Likewise.
31475 * include/sys/time.h: Likewise.
31476 * include/sys/uio.h: Likewise.
31477 * include/time.h: Likewise.
31478 * include/unistd.h: Likewise.
31479 * include/utmp.h: Likewise.
31480 * include/wchar.h: Likewise.
31481 * include/wctype.h: Likewise.
31482 * inet/aliases.h: Likewise.
31483 * inet/arpa/inet.h: Likewise.
31484 * inet/netinet/ether.h: Likewise.
31485 * inet/netinet/in.h: Likewise.
31486 * intl/libintl.h: Likewise.
31487 * io/bits/fcntl2.h: Likewise.
31488 * io/fcntl.h: Likewise.
31489 * io/ftw.h: Likewise.
31490 * io/sys/poll.h: Likewise.
31491 * io/sys/stat.h: Likewise.
31492 * io/sys/statfs.h: Likewise.
31493 * io/sys/statvfs.h: Likewise.
31494 * io/utime.h: Likewise.
31495 * libio/bits/stdio.h: Likewise.
31496 * libio/bits/stdio2.h: Likewise.
31497 * libio/libio.h: Likewise.
31498 * libio/libioP.h: Likewise.
31499 * libio/stdio.h: Likewise.
31500 * locale/lc-ctype.c: Likewise.
31501 * locale/locale.h: Likewise.
31502 * login/utmp.h: Likewise.
31503 * malloc/arena.c: Likewise.
31504 * malloc/malloc.c: Likewise.
31505 * malloc/malloc.h: Likewise.
31506 * malloc/mcheck.c: Likewise.
31507 * malloc/mtrace.c: Likewise.
31508 * math/bits/mathcalls.h: Likewise.
31509 * math/fenv.h: Likewise.
31510 * math/math_private.h: Likewise.
31511 * misc/bits/error.h: Likewise.
31512 * misc/bits/syslog.h: Likewise.
31513 * misc/err.h: Likewise.
31514 * misc/error.h: Likewise.
31515 * misc/fstab.h: Likewise.
31516 * misc/mntent.h: Likewise.
31517 * misc/regexp.h: Likewise.
31518 * misc/search.h: Likewise.
31519 * misc/sgtty.h: Likewise.
31520 * misc/sys/mman.h: Likewise.
31521 * misc/sys/syslog.h: Likewise.
31522 * misc/sys/uio.h: Likewise.
31523 * misc/sys/xattr.h: Likewise.
31524 * misc/ttyent.h: Likewise.
31525 * nis/rpcsvc/ypclnt.h: Likewise.
31526 * nss/nss.h: Likewise.
31527 * posix/bits/unistd.h: Likewise.
31528 * posix/fnmatch.h: Likewise.
31529 * posix/glob.h: Likewise.
31530 * posix/sched.h: Likewise.
31531 * posix/spawn.h: Likewise.
31532 * posix/sys/wait.h: Likewise.
31533 * posix/unistd.h: Likewise.
31534 * posix/wordexp.h: Likewise.
31535 * pwd/pwd.h: Likewise.
31536 * resolv/netdb.h: Likewise.
31537 * resource/sys/resource.h: Likewise.
31538 * rt/aio.h: Likewise.
31539 * rt/bits/mqueue2.h: Likewise.
31540 * rt/mqueue.h: Likewise.
31541 * shadow/shadow.h: Likewise.
31542 * signal/signal.h: Likewise.
31543 * socket/send.c: Likewise.
31544 * socket/sendto.c: Likewise.
31545 * socket/sys/socket.h: Likewise.
31546 * stdio-common/printf.h: Likewise.
31547 * stdlib/bits/stdlib.h: Likewise.
31548 * stdlib/fmtmsg.h: Likewise.
31549 * stdlib/monetary.h: Likewise.
31550 * stdlib/stdlib.h: Likewise.
31551 * stdlib/ucontext.h: Likewise.
31552 * streams/stropts.h: Likewise.
31553 * string/argz.h: Likewise.
31554 * string/bits/string2.h: Likewise.
31555 * string/string.h: Likewise.
31556 * string/strings.h: Likewise.
31557 * sunrpc/rpc/auth.h: Likewise.
31558 * sunrpc/rpc/auth_des.h: Likewise.
31559 * sunrpc/rpc/clnt.h: Likewise.
31560 * sunrpc/rpc/netdb.h: Likewise.
31561 * sunrpc/rpc/pmap_clnt.h: Likewise.
31562 * sunrpc/rpc/xdr.h: Likewise.
31563 * sysdeps/generic/inttypes.h: Likewise.
31564 * sysdeps/generic/net/if.h: Likewise.
31565 * sysdeps/generic/sys/swap.h: Likewise.
31566 * sysdeps/gnu/net/if.h: Likewise.
31567 * sysdeps/gnu/utmpx.h: Likewise.
31568 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31569 * sysdeps/i386/i486/bits/string.h: Likewise.
31570 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31571 * sysdeps/s390/bits/string.h: Likewise.
31572 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31573 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31574 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31575 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31576 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31577 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31578 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31579 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31580 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31581 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31582 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31583 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31584 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31585 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31586 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31587 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31588 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31594 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31595 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31596 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31597 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31600 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31601 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31602 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31603 * sysvipc/sys/ipc.h: Likewise.
31604 * sysvipc/sys/msg.h: Likewise.
31605 * sysvipc/sys/sem.h: Likewise.
31606 * sysvipc/sys/shm.h: Likewise.
31607 * termios/termios.h: Likewise.
31608 * time/sys/time.h: Likewise.
31609 * time/time.h: Likewise.
31610 * wcsmbs/bits/wchar2.h: Likewise.
31611 * wcsmbs/uchar.h: Likewise.
31612 * wcsmbs/wchar.h: Likewise.
31613 * wctype/wctype.h: Likewise.
31614
0269750c
UD
31615 [BZ #13551]
31616 * Makeconfig: Remove all but ELF support including AIX support.
31617 * Makerules: Likewise.
31618 * config.h.in: Likewise.
31619 * config.make.in: Likewise.
31620 * configure: Likewise.
31621 * configure.in: Likewise.
31622 * csu/Makefile: Likewise.
31623 * csu/version.c: Likewise.
31624 * debug/Makefile: Likewise.
31625 * dlfcn/Makefile: Likewise.
31626 * elf/Makefile: Likewise.
31627 * extra-lib.mk: Likewise.
31628 * iconv/Makefile: Likewise.
31629 * include/libc-symbols.h: Likewise.
31630 * include/shlib-compat.h: Likewise.
31631 * resolv/Makefile: Likewise.
31632 * resolv/res_libc.c: Likewise.
31633 * rt/Makefile: Likewise.
31634 * sysdeps/i386/asm-syntax.h: Likewise.
31635 * sysdeps/i386/sysdep.h: Likewise.
31636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31637 * sysdeps/mach/sysdep.h: Likewise.
31638 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31639 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31640 * sysdeps/s390/asm-syntax.h: Likewise.
31641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31642 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31643 * sysdeps/sh/sysdep.h: Likewise.
31644 * sysdeps/unix/sparc/sysdep.h: Likewise.
31645 * sysdeps/wordsize-32/divdi3.c: Likewise.
31646 * sysdeps/x86_64/sysdep.h: Likewise.
31647
00bbd29b
UD
31648 * argp/Versions: Remove _argp_unlock_xxx.
31649
31650 [BZ #13559]
31651 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31652 * abilist/libBrokenLocale.abilist: Likewise.
31653 * abilist/libanl.abilist: Likewise.
31654 * abilist/libc.abilist: Likewise.
31655 * abilist/libcrypt.abilist: Likewise.
31656 * abilist/libdl.abilist: Likewise.
31657 * abilist/libm.abilist: Likewise.
31658 * abilist/libnsl.abilist: Likewise.
31659 * abilist/libpthread.abilist: Likewise.
31660 * abilist/libresolv.abilist: Likewise.
31661 * abilist/librt.abilist: Likewise.
31662 * abilist/libthread_db.abilist: Likewise.
31663 * abilist/libutil.abilist: Likewise.
31664 * abilist/libnss_db.abilist: New file.
31665
31666 * scripts/abilist.awk: Add support for indirect functions.
31667
a2693a0e
UD
31668 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31669
3f05895f
UD
31670 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31671
ecb6fb48
UD
31672 * shlib-versions: Remove entries for ports architectures.
31673
664f8cb9
UD
31674 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31675 files in ports.
31676 * elf/stackguard-macros.h: Remove support for IA-64.
31677 * elf/tst-auditmod1.c: Likewise.
31678 * sysdeps/generic/ldsodefs.h: Likewise.
31679
7ae81d88
UD
31680 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31681 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31682 configure files.
31683
bdeba135
UD
31684 [BZ #13552]
31685 * configure.in: Remove --enable-omitfp support.
31686 * FAQ.in: Adjust.
31687 * config.make.in: Likewise.
31688 * Makeconfig: Likewise.
31689 * manual/install.texi: Likewise.
31690
d75a0a62
UD
31691 In case anyone cares, the IA-64 architecture could move to ports.
31692 * sysdeps/ia64/*: Removed.
31693 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31694 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31695
dcc9756b
UD
31696 [BZ #13555]
31697 * configure.in: Remove entries for unsupported architectures.
31698
d3761ebc 31699 [BZ #13533]
9954432e
UD
31700 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31701 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31702 routines.
31703 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31704 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31705 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31706 fall back to using wcrtomb.
31707 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31708 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31709 renaming.
31710 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31711 * wcsmbs/tst-c16c32-1.c: New file.
31712
31713 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31714 local variable.
31715
c3a87236
UD
31716 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31717
28926a1b
UD
31718 * elf/tst-unique3.cc: Add explicit declaration of gets.
31719 * elf/tst-unique3lib.cc: Likewise.
31720 * elf/tst-unique3lib2.cc: Likewise.
31721 * elf/tst-unique4.cc: Likewise.
31722
df78418a
UD
31723 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31724
8ecd6b2a
JM
317252012-01-06 Joseph Myers <joseph@codesourcery.com>
31726
31727 [BZ #13566]
31728 * assert/assert.h (static_assert): Don't define for C++.
31729 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31730 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31731
9f115170
UD
317322012-01-03 Ulrich Drepper <drepper@gmail.com>
31733
5e0d0300
UD
31734 * iconv/loop.c (single loop): Fix assertion in storing of
31735 remaining bytes.
31736
9f115170
UD
31737 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31738
81fb02b0
UD
317392012-01-01 Ulrich Drepper <drepper@gmail.com>
31740
31741 * posix/getconf.c: Update copyright year.
31742 * nss/getent.c: Likewise.
a316c1f6 31743 * nss/makedb.c: Likewise.
81fb02b0
UD
31744 * iconv/iconvconfig.c: Likewise.
31745 * iconv/iconv_prog.c: Likewise.
31746 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31747 * elf/pldd.c: Likewise.
31748 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31749 * catgets/gencat.c: Likewise.
31750 * csu/version.c: Likewise.
31751 * elf/ldd.bash.in: Likewise.
31752 * elf/sprof.c (print_version): Likewise.
31753 * locale/programs/locale.c: Likewise.
31754 * locale/programs/localedef.c: Likewise.
a316c1f6 31755 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31756 * nscd/nscd.c (print_version): Likewise.
31757 * debug/xtrace.sh: Likewise.
31758 * malloc/memusage.sh: Likewise.
31759 * malloc/mtrace.pl: Likewise.
31760 * debug/catchsegv.sh: Likewise.
31761
2ba92745
JJ
317622011-12-30 Jakub Jelinek <jakub@redhat.com>
31763
31764 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31765 pure attribute.
31766
dadebdae
UD
317672011-12-24 Ulrich Drepper <drepper@gmail.com>
31768
d3761ebc 31769 [BZ #13533]
db6af3eb
UD
31770 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31771 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31772 transformations.
31773 * iconv/gconv_int.h: Likewise.
31774 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31775 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31776 from libc for GLIBC_2.16.
31777 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31778 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31779 * wcsmbs/uchar.h: Really define mbstate_t.
31780 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31781 * wcsmbs/c16rtomb.c: New file.
31782 * wcsmbs/mbrtoc16.c: New file.
31783 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31784 for C/POSIX locale.
31785 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31786 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31787
dadebdae
UD
31788 * wcsmbs/wchar.h: Add missing __restrict.
31789
67371b56
UD
317902011-12-23 Ulrich Drepper <drepper@gmail.com>
31791
74033a25
UD
31792 [BZ #13532]
31793 * time/Makefile (routines): Add timespec_get.
31794 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31795 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31796 timespec for ISO C11.
31797 * time/timespec_get.c: New file.
31798 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31799 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31800
380d7e87
UD
31801 [BZ #13531]
31802 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31803 * stdlib/stdlib.h: Declare aligned_alloc.
31804 * Versions.def: Add GLIBC_2.16 for libc.
31805 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31806
4e9e7a35
UD
31807 [BZ 13527]
31808 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31809 ISO C11.
31810
380d7e87 31811 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31812 code.
31813
03a71829
UD
31814 [BZ #13528]
31815 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31816
839e283e
UD
31817 [BZ #13529]
31818 * assert/assert.h (static_assert): Define.
31819
ce5294e2 31820 * version.h: Update for 2.16 development version.
90fa7312 31821
8d44e150 31822 [BZ #13526]
d7809905
UD
31823 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31824 _ISOC11_SOURCE.
31825
c0da14cd
UD
31826 * version.h (RELEASE): Bump for 2.15 release.
31827 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31828
530a3249
MP
31829 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31830 Patch by Marek Polacek <mpolacek@redhat.com>.
31831
67371b56
UD
31832 * bits/byteswap.h: Protect long long constants with __extension__.
31833 * sysdeps/i386/bits/byteswap.h: Likewise.
31834 * sysdeps/ia64/bits/byteswap.h: Likewise.
31835 * sysdeps/s390/bits/byteswap.h: Likewise.
31836 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31837
15db4de1
LD
318382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31839
31840 [BZ #13540]
bbe315ea
LD
31841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31842 destination buffer.
15db4de1
LD
31843 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31844
2b2596b1
MP
318452011-12-23 Marek Polacek <polacek@redhat.com>
31846
31847 * elf/dl-addr.c (determine_info): Add inline keyword.
31848 * elf/tst-auditmod4b.c (check_avx): Likewise.
31849 * elf/tst-auditmod6b.c (check_avx): Likewise.
31850 * elf/tst-auditmod6c.c (check_avx): Likewise.
31851 * elf/tst-auditmod7b.c (check_avx): Likewise.
31852
70c6c246
UD
318532011-12-23 Ulrich Drepper <drepper@gmail.com>
31854
31855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31856 !__SSE_MATH__.
31857
c044cf14
LD
318582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31859
15db4de1 31860 [BZ #13540]
c044cf14
LD
31861 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31862 processing for last bytes.
31863
6b13d9d9
BH
318642011-08-06 Bruno Haible <bruno@clisp.org>
31865
d455f537
BH
31866 [BZ #13061]
31867 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31868 U+0385, not to U+1FEE.
31869
6b13d9d9
BH
31870 [BZ #13062]
31871 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31872 entry for U+00A5 U+0301.
31873
db910efd
UD
318742011-12-22 Ulrich Drepper <drepper@gmail.com>
31875
27deeafc
UD
31876 [BZ #13166]
31877 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31878 buffer for the output is too small.
31879
aed9d171
UD
31880 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31881 optimization.
31882
db910efd
UD
31883 [BZ #13185]
31884 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31885 SSE flags if possible.
31886
2bd779ae
LD
318872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31888
e7f9dac3 31889 [BZ #13540]
2bd779ae
LD
31890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31891 processing for last bytes.
31892
154bfc16
JM
318932011-12-22 Joseph Myers <joseph@codesourcery.com>
31894
31895 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31896 (syscall-list-default-options, syscall-list-default-condition)
31897 (syscall-list-includes): Define.
31898 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31899 list of ABIs and options and #if conditions for each ABI. Do not
31900 handle common syscalls between ABIs specially.
31901 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31902 Remove.
31903 (syscall-list-variants, syscall-list-32bit-options)
31904 (syscall-list-32bit-condition, syscall-list-64bit-options)
31905 (syscall-list-64bit-condition): Define.
31906 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31907 (syscall-list-variants, syscall-list-32bit-options)
31908 (syscall-list-32bit-condition, syscall-list-64bit-options)
31909 (syscall-list-64bit-condition): Define.
31910 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31911 Remove.
31912 (syscall-list-variants, syscall-list-32bit-options)
31913 (syscall-list-32bit-condition, syscall-list-64bit-options)
31914 (syscall-list-64bit-condition): Define.
31915 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31916 Remove.
31917 (syscall-list-variants, syscall-list-32bit-options)
31918 (syscall-list-32bit-condition, syscall-list-64bit-options)
31919 (syscall-list-64bit-condition): Define.
31920
21eaf3a5
UD
319212011-12-22 Ulrich Drepper <drepper@gmail.com>
31922
16c6f992
UD
31923 * locale/iso-639.def: Add brx entry.
31924
41043168
UD
31925 [BZ #13328]
31926 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31927 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31928
21eaf3a5
UD
31929 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31930 __feraiseexcept_renamed.
31931
e3a851a2
UD
319322011-12-21 Ulrich Drepper <drepper@gmail.com>
31933
4920765e
UD
31934 [BZ #13538]
31935 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31936 EPOLLET with unsigned values.
31937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31939
e3a851a2
UD
31940 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31941 to large cancellation.
31942 * math/s_cacoshf.c: Likewise.
31943 * math/s_cacoshl.c: Likewise.
31944
b27e24b8
RK
319452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31946
31947 [BZ #13305]
aebefeee 31948 [BZ #12786]
b27e24b8
RK
31949 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31950 * math/s_cacoshf.c: Likewise.
31951 * math/s_cacoshl.c: Likewise.
31952
ee190f67
UD
319532011-12-21 Ulrich Drepper <drepper@gmail.com>
31954
31955 [BZ #13439]
31956 * iconv/gconv.h: Define __GCONV_SWAP.
31957 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31958 * iconvdata/utf-16.c: Likewise.
31959 * iconvdata/utf-32.c: Likewise.
31960
707f25df
AS
319612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31962
31963 [BZ #13524]
31964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31965 numerator after shifting it by one limb.
31966
d2daaa1e
RÁE
319672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31968
31969 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31970 under [__USE_EXTERN_INLINES].
31971
a4647e72
UD
319722011-12-17 Ulrich Drepper <drepper@gmail.com>
31973
31974 [BZ #13446]
31975 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31976
f0b264f1
AZ
319772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31978
31979 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31980 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31981 optimized code.
31982 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31983 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31984 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31985 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31986 for strncasecmp/strncasecmp_l compilation.
31987 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31988 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31989
8ef4f244
MP
319902011-12-08 Marek Polacek <mpolacek@redhat.com>
31991
31992 [BZ #13484]
31993 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31994 of __asm__.
31995
97ac2654
UD
319962011-12-17 Ulrich Drepper <drepper@gmail.com>
31997
31998 [BZ #13506]
31999 * time/tzfile.c (__tzfile_read): Check values from file header.
32000
91d2a845
WS
320012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32002
32003 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32004 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32005 * powerpc/powerpc32/dl-start.S: Likewise.
32006 * powerpc/powerpc32/elf/start.S: Likewise.
32007 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32008 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32009 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32010 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32011 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32012 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32013 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32014 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32015 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32016 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32017 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32018 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32019 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32020 * powerpc/powerpc32/memset.S: Likewise.
32021 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32022 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32023 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32024 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32025 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32026 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32027 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32028 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32029 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32030 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32031 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32032 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32033 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32034
a1267ba1
AZ
320352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32036
32037 * math/libm-test.inc: Added more nearbyint tests.
32038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32042
ad8ac1bd
RL
320432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32044
32045 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32046 FD_CLOEXEC.
32047
1d3e4b61
UD
320482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32049
32050 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32051 Add wcscpy-ssse3 wcscpy-c.
32052 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32053 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32054 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32055 * sysdeps/x86_64/wcschr.S: New file.
32056 * sysdeps/x86_64/wcsrchr.S: New file.
32057 * string/test-strcmp.c: Remove checking of wcscmp function for
32058 wrong alignments.
32059 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32060 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32061 wcsrchr-sse2 wcsrchr-c.
32062 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32063 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32064 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32065 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32066 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32067 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32068 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32069 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32070 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32071 * wcsmbc/wcschr.c (WCSCHR): New macro.
32072
5b330a2d
UD
320732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32074
32075 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32076 * wcsmbs/test-wcsrchr.c: New file.
32077 * string/test-strrchr.c: Add wcsrchr support.
32078 (WIDE): New macro.
32079 * wcsmbs/test-wcscpy.c: New file.
32080 * string/test-strcpy.c: Add wcscpy support.
32081 (WIDE): New macro.
26428b7c 32082
f039c043
UD
320832011-12-10 Ulrich Drepper <drepper@gmail.com>
32084
32085 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32086 the inner loop.
32087
850fb039
AS
320882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32089
32090 [BZ #13472]
32091 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32092
4efbd5cb
UD
320932011-12-04 Ulrich Drepper <drepper@gmail.com>
32094
52ff5dd0 32095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32096 Minor optimizations.
52ff5dd0 32097
4efbd5cb
UD
32098 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32099 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32100 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32101
8a426e12
UD
321022011-12-03 Ulrich Drepper <drepper@gmail.com>
32103
aff2453d
UD
32104 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32105 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32106 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32107 for gcc to avoid warnings.
32108 * inet/Makefile (tests): Add tst-checks.
32109 * inet/tst-checks.c: New file.
32110
32111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32112 warning.
32113
32114 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32115 __wmemcmp_sse2.
32116
32117 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32118 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32119
8a426e12
UD
32120 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32121
9bea3473
UD
321222011-12-02 Ulrich Drepper <drepper@gmail.com>
32123
3a965496
UD
32124 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32125 problem.
32126
9bea3473
UD
32127 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32128
f101631b
UD
321292011-11-29 Joseph Myers <joseph@codesourcery.com>
32130
32131 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32132 conditional on GCC version.
32133 (__arch_compare_and_exchange_val_8_acq)
32134 (__arch_compare_and_exchange_val_16_acq)
32135 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32136 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32137 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32138
a98275aa
UD
321392011-12-02 Joseph Myers <joseph@codesourcery.com>
32140
32141 * sysdeps/sh/backtrace.c: New file.
32142
d4cc29a2
AS
321432011-12-02 Andreas Schwab <schwab@redhat.com>
32144
32145 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32146 parenthesis.
32147
6257af2d
AS
321482011-12-01 Andreas Schwab <schwab@redhat.com>
32149
32150 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32151 falling back to utime.
32152
b5f44c1a
AS
321532011-11-30 Andreas Schwab <schwab@redhat.com>
32154
32155 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32156 expectations for float.
32157
f3a6cc0a
AS
321582011-11-29 Andreas Schwab <schwab@redhat.com>
32159
32160 * locale/weight.h (findidx): Add parameter len.
32161 * locale/weightwc.h (findidx): Likewise.
32162 * posix/fnmatch_loop.c (FCT): Adjust caller.
32163 * posix/regcomp.c (build_equiv_class): Likewise.
32164 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32165 * posix/regexec.c (check_node_accept_bytes): Likewise.
32166 * string/strcoll_l.c (STRCOLL): Likewise.
32167 * string/strxfrm_l.c (STRXFRM): Likewise.
32168
9d65ea3a
UD
321692011-11-17 Ulrich Drepper <drepper@gmail.com>
32170
32171 * Makefile.in: Remove CVSOPT handling.
32172 * configure.in: Remove use of AC_REVISION.
32173 * iconvdata/Makefile (distribute): No need to filter out CVS.
32174 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32175 handling.
32176
5583a086
AS
321772011-11-16 Andreas Schwab <schwab@redhat.com>
32178
32179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32180 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32181 [USE_AS_STRNCASECMP_L]: Likewise.
32182 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32183 NO_TLS_DIRECT_SEG_REFS.
32184 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32185 Fix argument offsets for non-PIC.
32186 [USE_AS_STRNCASECMP_L]: Likewise.
32187 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32188 NO_TLS_DIRECT_SEG_REFS.
32189
d62a8200
UD
321902011-11-15 Ulrich Drepper <drepper@gmail.com>
32191
9d65ea3a 32192 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32193 O_CLOEXEC.
32194 * locale/loadlocale.c (_nl_load_locale): Likewise.
32195
09f93bd3
AS
321962011-11-15 Andreas Schwab <schwab@redhat.com>
32197
446514f9
AS
32198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32199 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32201 (SYSCALL_GETTIME): Set errno on error.
32202
09f93bd3
AS
32203 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32204 count references to noai6ai_cached.
32205
312be3f9
UD
322062011-11-15 Ulrich Drepper <drepper@gmail.com>
32207
32208 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32209
32210 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32211 FD_CLOEXEC for /proc/self/maps.
32212
32213 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32214 FD_CLOEXEC for /proc/meminfo.
32215
32216 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32217 gai.conf.
32218
32219 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32220 FD_CLOEXEC for given file.
32221
32222 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32223
32224 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32225 FD_CLOEXEC for /etc/hosts.
32226 (_gethtent): Likewise.
32227
32228 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32229
32230 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32231 cancellation and set FD_CLOEXEC for /etc/netgroup.
32232
32233 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32234 reading /etc/publickey.
32235
32236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32237 allow cancellation when reading /etc/group.
32238
32239 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32240 cancellation.
32241 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32242
32243 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32244 when using data file.
32245
32246 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32247
32248 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32249 (write_nis_obj): Use "c" and "e" in fopen.
32250
32251 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32252
32253 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32254
32255 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32256
32257 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32258
32259 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32260 locale.alias.
32261
32262 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32263
32264 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32265
32266 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32267
32268 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32269 file parsing and set FD_CLOEXEC.
32270
82af0fa8
UD
322712011-11-14 Ulrich Drepper <drepper@gmail.com>
32272
32273 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32274
a5fb313c
AS
322752011-11-14 Andreas Schwab <schwab@redhat.com>
32276
32277 * malloc/arena.c (arena_get2): Don't call reused_arena when
32278 _int_new_arena failed.
32279
6abf3465
UD
322802011-11-14 Ulrich Drepper <drepper@gmail.com>
32281
32282 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32283 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32284 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32286 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32288 to compile strcasecmp and strncasecmp.
32289 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32290 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32291
32292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32293
76e3966e
UD
322942011-11-13 Ulrich Drepper <drepper@gmail.com>
32295
32296 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32297 locale-defines.sym to gen-as-const-headers.
32298 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32299 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32301 to compile strcasecmp and strncasecmp.
32302 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32303 strcasecmp_l and strncasecmp_l.
32304 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32305 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32306 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32307 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32308 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32310 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32311 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32312 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32313 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32314 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32315
ab26144e
UD
323162011-11-12 Ulrich Drepper <drepper@gmail.com>
32317
7edb22ef
UD
32318 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32319 result of SYSDEP_GETTIME_CPU to retval.
32320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32321 parameter list to macro. Remove trailing semicolon. Adjust users.
32322
9694fc44
UD
32323 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32324 variable.
32325
8ad89ef8
UD
32326 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32327 mantissa words.
32328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32329
0c822ef9
UD
32330 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32331 from unused variable.
32332
874e0564
UD
32333 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32334 DWARF definitions.
32335 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32336 for assembling.
32337
3a2edc79
UD
32338 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32339 over namespaces.
32340
f3c2577f
UD
32341 * sunrpc/rpc_prot.c (rejected): Fix case value.
32342
294ce126
UD
32343 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32344 unsigned long long int to avoid warnings in shift.
32345
5e2b63c6
UD
32346 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32347 of use of trans.
32348 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32349 variable tmp.
32350
e7f4b08e
UD
32351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32352 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32353 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32354
ab26144e
UD
32355 * nis/nis_table.c (nis_list): Use variable of correct type for
32356 result of __follow_path call.
32357
8a6d5255
AZ
323582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32359
32360 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32361 of math functions ceil, trunc, floor, round, and sqrt, when
32362 avaliable on the platform.
32363 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32364 name clash.
32365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32366 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32367 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32368
aaddc98c
MP
323692011-10-30 Marek Polacek <mpolacek@redhat.com>
32370
32371 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32373
95b7042b
RM
323742011-11-11 Roland McGrath <roland@hack.frob.com>
32375
32376 * include/unistd.h: Fix __readlink return type.
32377 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32378
57769839
UD
323792011-11-11 Ulrich Drepper <drepper@gmail.com>
32380
32381 * stdlib/ucontext.h: Undo last change for makecontext.
32382
edc5984d
AS
323832011-11-11 Andreas Schwab <schwab@redhat.com>
32384
98591e58
AS
32385 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32386
edc5984d
AS
32387 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32388 * setjmp/setjmp.h: Mark functions as non-leaf.
32389 * setjmp/bits/setjmp2.h: Likewise.
32390 * stdlib/ucontext.h: Likewise.
32391
77cdc054
AS
323922011-11-10 Andreas Schwab <schwab@redhat.com>
32393
32394 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32395 (reused_arena): Don't check arena limit.
32396 (arena_get2): Atomically check arena limit.
32397
fe72eebd
UD
323982011-11-08 Ulrich Drepper <drepper@gmail.com>
32399
5f078c32
UD
32400 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32401 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32402
fe72eebd
UD
32403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32404 instructions.
32405
ae1bc2fa
AS
324062011-11-07 Andreas Schwab <schwab@redhat.com>
32407
7583a88d
AS
32408 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32409 handler when locking.
32410
ae1bc2fa
AS
32411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32412 Fix size of allocated buffer.
32413
10fb0bfa
AS
324142011-11-04 Andreas Schwab <schwab@redhat.com>
32415
998832a4
AS
32416 [BZ #10103]
32417 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32418 declarations for long double functions.
32419 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32420
10fb0bfa
AS
32421 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32422
3d7ba52b
AS
324232011-11-03 Andreas Schwab <schwab@redhat.com>
32424
a9ae54a1
AS
32425 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32426 installed.
32427
3d7ba52b
AS
32428 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32429 is disabled.
32430
bc8db248
ST
324312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32432
32433 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32434
45b96dd6
AS
324352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32436
647776f6
AS
32437 * include/alloca.h (stackinfo_alloca_round): Define.
32438 (extend_alloca): Use it.
32439 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32440 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32441 here.
32442
d91a8b93
AS
32443 * scripts/check-local-headers.sh: Ignore libaudit.h.
32444
45b96dd6
AS
32445 * nscd/Makefile (extra-objs): Make recursively expanded.
32446
432d41ce
UD
324472011-11-01 Ulrich Drepper <drepper@gmail.com>
32448
34372fc6
UD
32449 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32451
fadb59f8
UD
32452 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32453 * posix/tst-rfc3484-2.c: Likewise.
32454 * posix/tst-rfc3484-3.c: Likewise.
32455
78239589
UD
32456 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32457 process_vm_writev.
32458 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32459 process_vm_writev.
32460 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32461 process_vm_writev from libc using GLIBC_2.15 version.
32462
432d41ce
UD
32463 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32464
02f9c6cf
PP
324652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32466
32467 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32468 stack usage.
32469
3a2c0242
UD
324702011-10-31 Ulrich Drepper <drepper@gmail.com>
32471
f4ec4833
UD
32472 [BZ #13367]
32473 * nss/getent.c (initgroups_keys): Show error message in case no group
32474 names are given.
32475
3a2c0242
UD
32476 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32477 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32478 __bump_nl_timestamp.
32479 * nscd/connections (nscd_init): When host database is served open
32480 netlink socket and request notification about configuration changes.
32481 (main_loop_poll): Track netlink file descriptor and bump timestamp
32482 in case data becomes available.
32483 (main_loop_epoll): Likewise.
32484 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32485 (database_pers_head): Add extra_data fileds.
32486 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32487 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32488 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32489 Adjust caller.
32490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32491 in6ai data, call __free_in6ai.
32492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32493 Add -DHAVE_NETLINK.
32494 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32495 interface information. Reuse previous data if netlink timestamp
32496 is not changed.
32497 (__bump_nl_timestamp): New function.
32498 (__free_in6ai): New function.
32499
636064eb
UD
325002011-10-30 Ulrich Drepper <drepper@gmail.com>
32501
32502 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32503 close_not_cancel_no_status here.
32504 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32505
9beb2334
UD
325062011-10-29 Ulrich Drepper <drepper@gmail.com>
32507
6ef76f3b
UD
32508 [BZ #13276]
32509 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32510 return value.
32511
0ffc4f3e 32512 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32513 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32514 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32515
cb95113e
UD
325162011-07-03 Andreas Jaeger <aj@suse.de>
32517
32518 [BZ #10709]
32519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32520 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32521 * math/libm-test.inc (sin_test): Add test case.
32522
a1b560ff
UD
325232011-10-29 Ulrich Drepper <drepper@gmail.com>
32524
c9aaface
UD
32525 [BZ #13337]
32526 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32528
d272e7f1
UD
32529 * elf/chroot_canon.c (chroot_canon): Cleanups.
32530
1bc33071
UD
32531 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32532
1760874d
TJ
32533 [BZ #13335]
32534 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32535 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32536
51d91b18
UD
32537 * string/test-strchr.c: Make usable for strchrnul testing.
32538 * string/test-strchrnul.c: New file.
32539 * string/Makefile (strop-tests): Add strchrnul.
32540
a1b560ff 32541 * po/it.po: Update from translation team.
b611fb81 32542 * po/es.po: Likewise.
a1b560ff 32543
a5b81e1f
UD
325442011-10-28 Ulrich Drepper <drepper@gmail.com>
32545
fd52bc6d
UD
32546 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32547 the three constants needed as parameters. Drop the others.
32548 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32549 __m128i_strloadu_tolower.
52e4b9eb
UD
32550 Create and initialize variable zero and use it in all the places
32551 where _mm_setzero_si128 was used.
fd52bc6d 32552
a5b81e1f
UD
32553 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32554 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32555 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32556 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32557 anymore.
32558 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32559 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32560 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32561 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32562 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32563 __mpranred, __mptan.
32564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32568 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32569 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32572 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32573
b4343346
AS
325742011-10-28 Andreas Schwab <schwab@redhat.com>
32575
0c92d8a8
AS
32576 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32577 redefine if SHARED.
32578 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32579
b4343346
AS
32580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32581 wide char related routines to wcsmbs subdir.
32582
3871f58f
AS
325832011-10-27 Andreas Schwab <schwab@redhat.com>
32584
32585 [BZ #13344]
32586 * misc/sys/cdefs.h (__THROWNL): Define.
32587 * posix/unistd.h: Use __THREADNL instead of __THREAD
32588 for memory synchronization functions.
32589
94d44d9f
RM
325902011-10-26 Roland McGrath <roland@hack.frob.com>
32591
21b64b15 32592 [BZ #13349]
94d44d9f
RM
32593 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32594 doesn't exist.
32595 * manual/stdio.texi (Obstack Streams): Node removed.
32596
f6ce9294
AS
325972011-10-26 Andreas Schwab <schwab@redhat.com>
32598
80479147
AS
32599 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32602
f6ce9294
AS
32603 * math/math_private.h (math_force_eval): Allow non-addressable
32604 arguments.
32605 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32606
618280a1
UD
326072011-10-25 Ulrich Drepper <drepper@gmail.com>
32608
e0016b11
UD
32609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32610 file is not needed.
32611
32612 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32614 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32615 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32618 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32619 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32620 Add AVX variants.
32621 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32623 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32624 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32625 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32626 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32627 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32628 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32629 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32630 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32631 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32632 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32634 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32635 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32636 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32637 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32639 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32640
32641 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32642 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32643
618280a1
UD
32644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32645 place. Use VEX encoding when compiling for AVX.
32646
37822576
AS
326472011-10-25 Andreas Schwab <schwab@redhat.com>
32648
1f1e1947
AS
32649 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32650 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32651
37822576
AS
32652 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32653
31ea014d
UD
326542011-10-25 Ulrich Drepper <drepper@gmail.com>
32655
d7826aa1 32656 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32657 useless if() expression.
d7826aa1
UD
32658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32659 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32663 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32670 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32676 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32677
31ea014d
UD
32678 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32679
16437fec
AS
326802011-10-25 Andreas Schwab <schwab@redhat.com>
32681
32682 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32683 condition.
32684 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32685
31d3cc00
UD
326862011-10-25 Ulrich Drepper <drepper@gmail.com>
32687
32688 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32689 .text section. Avoid duplicate constants.
32690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32698 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32699 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32701 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32702 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32703 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32704 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32706 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32707 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32723 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32734 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32735
58985aa9
UD
327362011-10-24 Ulrich Drepper <drepper@gmail.com>
32737
202c9deb
UD
32738 * sysdeps/x86_64/dla.h: Move to ...
32739 * sysdeps/x86_64/fpu/dla.h: ...here.
32740 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32741 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32742
af968f62
UD
32743 * config.make.in: Add have-mfma4 entry.
32744 * configure.in: Substitute libc_cv_cc_fma4.
32745 * math/Makefile (dbl-only-routines): Add sincostab.
32746 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32747 Use __sincostab not sincos.
32748 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32749 name is a macro.
32750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32754 using __copysign.
32755 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32756 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32757 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32758 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32759 and __inv.
32760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32761 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32762 __copysign.
32763 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32764 define aliases when function name is a macro.
32765 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32766 sysdeps/ieee754/dbl-64/sincos.tbl.
32767 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32768 fma4-enabled routines.
32769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32770 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32771 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32772 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32774 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32778 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32779 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32781 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32783 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32787 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32789 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32792 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32793 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32795 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32796 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32797 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32798 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32799
58985aa9
UD
32800 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32801 rename.
32802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32810
a201fbcf
AS
328112011-10-24 Andreas Schwab <schwab@redhat.com>
32812
32813 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32814
fc2ee42a
LD
328152011-10-23 Ulrich Drepper <drepper@gmail.com>
32816
bb3129bd
UD
32817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32818
0275fff8
UD
32819 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32820 prediction.
32821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32822
2fa2ae85
UD
32823 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32824 Remove unused variable magic_bits.
32825 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32826
fc2ee42a
LD
32827 * string/strnlen.c: Define and use STRNLEN macro.
32828 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32829 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32831 * wcsmbs/wcslen.c: Define and use WCSLEN.
32832 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32833 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32834 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32835 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32836 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32837 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32838 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32839
ce7dd29f
LD
328402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32841
32842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32843 strnlen-sse2-no-bsf.
32844 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32846 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32847 Add strnlen support.
32848 (USE_AS_STRNLEN): New macro.
32849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32850 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32851 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32852 * sysdeps/x86_64/wcslen.S: New file.
32853
979c70a3
MZ
328542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32855
32856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32857 XMM-moves are used for copying on small sizes.
32858
2d09f82f
LD
328592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32860
32861 * wcsmbs/Makefile (strop-tests): Add wcschr.
32862 * wcsmbs/test-wcschr.c: New file.
32863 * string/test-strchr.c: Update.
32864 Add wcschr support.
32865 (WIDE): New macro.
32866
619fccca
LD
328672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32868
2d09f82f 32869 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32870 * wcsmbs/test-wcslen.c: New file.
32871 * string/test-strlen.c: Update.
32872 Add wcslen support.
32873 (WIDE): New macro.
32874
09f699ea
UD
328752011-10-23 Ulrich Drepper <drepper@gmail.com>
32876
32877 * po/it.po: Update from translation team.
32878
95584d3b
LD
328792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32880
32881 * sysdeps/x86_64/wcscmp.S: Update.
32882 Fix wrong comparison semantics.
32883 wcscmp shall use signed comparison not unsigned.
32884 Don't use substraction to avoid overflow bug.
32885 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32886 * wcsmbc/wcscmp.c: Likewise.
32887 * string/test-strcmp.c: Likewise.
32888 Add new tests to check cases with negative values.
32889
c8b3296b
UD
328902011-10-23 Ulrich Drepper <drepper@gmail.com>
32891
32892 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32893 * sysdeps/x86_64/dla.h: ...here. New file.
32894 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32903
246ad57a
AS
329042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32905
32906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32907 __ynl_finite aliases.
32908
a1a87169
UD
329092011-10-22 Ulrich Drepper <drepper@gmail.com>
32910
0d355eb7
UD
32911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32912
a1a87169
UD
32913 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32914 define DLA_FMA.
32915 [DLA_FMA] (EMULV): Use DLA_FMA.
32916 [DLA_FMA] (MUL12): Use EMULV.
32917 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32918 that are not needed.
32919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32926
ee2aafe0
AS
329272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32928
32929 * math/s_nan.c: Undef __nan.
32930 * math/s_nanf.c: Undef __nanf.
32931 * math/s_nanl.c: Undef __nanl.
32932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32933 "math_private.h".
32934
bc62c2fb
UD
329352011-10-22 Ulrich Drepper <drepper@gmail.com>
32936
77425c63
UD
32937 * math/s_catan.c: Add branch predictions.
32938 * math/s_catanf.c: Likewise.
32939 * math/s_catanh.c: Likewise.
32940 * math/s_catanhf.c: Likewise.
32941 * math/s_catanhl.c: Likewise.
32942 * math/s_catanl.c: Likewise.
32943 * math/s_cexp.c: Likewise.
32944 * math/s_cexpf.c: Likewise.
32945 * math/s_cexpl.c: Likewise.
32946 * math/s_clog.c: Likewise.
32947 * math/s_clog10.c: Likewise.
32948 * math/s_clog10f.c: Likewise.
32949 * math/s_clog10l.c: Likewise.
32950 * math/s_clogf.c: Likewise.
32951 * math/s_clogl.c: Likewise.
32952 * math/s_csqrt.c: Likewise.
32953 * math/s_csqrtf.c: Likewise.
32954 * math/s_csqrtl.c: Likewise.
32955 * math/s_ctanf.c: Likewise.
32956 * math/s_ctanh.c: Likewise.
32957 * math/s_ctanhf.c: Likewise.
32958 * math/s_ctanhl.c: Likewise.
32959 * math/s_ctanl.c: Likewise.
32960
bc62c2fb
UD
32961 * math/math_private.h: Define __nan, __nanf, __nanl.
32962 * math/s_cacosh.c: Include <math_private.h>.
32963 * math/s_cacoshl.c: Likewise.
32964 * math/s_casinh.c: Likewise.
32965 * math/s_casinhf.c: Likewise.
32966 * math/s_casinhl.c: Likewise.
32967 * math/s_ccos.c: Rely entire on ccosh.
32968 * math/s_ccosf.c: Rely entire on ccoshf.
32969 * math/s_ccosl.c: Rely entirely on ccoshl.
32970 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32971 Remove tests for FE_INVALID.
32972 * math/s_ccoshf.c: Likewise.
32973 * math/s_ccoshl.c: Likewise.
32974 * math/s_csin.c: Likewise.
32975 * math/s_csinf.c: Likewise.
32976 * math/s_csinh.c Likewise.
32977 * math/s_csinhf.c: Likewise.
32978 * math/s_csinhl.c: Likewise.
32979 * math/s_csinl.c: Likewise.
32980 * math/s_ctan.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32982 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32984
8ec250a4
UD
329852011-10-21 Ulrich Drepper <drepper@gmail.com>
32986
c196fed8
UD
32987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32988 compilation problems.
32989
8ec250a4
UD
32990 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32991 __builtin_expect.
32992
8d4f46c6
UD
329932011-10-20 Ulrich Drepper <drepper@gmail.com>
32994
ed72b654
UD
32995 * sysdeps/i386/configure.in: Test for -mfma4 option.
32996 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32997 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32998 COMMON_CPUID_INDEX_80000001.
32999 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33000 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33001 use it if FMA3 is not supported.
33002 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33003
8d4f46c6
UD
33004 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33005 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33006
d45c60c2
AS
330072011-10-20 Andreas Schwab <schwab@redhat.com>
33008
33009 [BZ #12892]
33010 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33011 it would create a cycle with a link time dependency.
33012
d9a4d2ab
UD
330132011-10-19 Ulrich Drepper <drepper@gmail.com>
33014
855d1560
UD
33015 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33016 instruction.
33017 * string/Makefile (strop-tests): Add rawmemchr.
33018 * string/test-rawmemchr.c: New file.
33019
d9a4d2ab
UD
33020 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33022 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33023 when compiling str{,n}casecmp and when AVX is available. Hook up
33024 new optimized code in initializers.
33025
8f3b1ffe
AS
330262011-10-19 Andreas Schwab <schwab@redhat.com>
33027
33028 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33029 __feraiseexcept instead of feraiseexcept.
33030
d38f1dba
UD
330312011-10-18 Ulrich Drepper <drepper@gmail.com>
33032
d9a8d0ab
UD
33033 * math/math_private.h: Define defaults for libc_fetestexcept and
33034 libc_feupdateenv.
33035 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33036 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33038 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33040 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33041 libc_fetestexcept and libc_feupdateenv.
33042
4855e3dd
UD
33043 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33044 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33045 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33046 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33047 libc_feholdexcept_setround.
33048
581d30e3
UD
33049 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33050 Add s_nearbyint-c and s_nearbyintf-c.
33051 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33052 nearbyintf inlines.
33053 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33054 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33055 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33057
d38f1dba
UD
33058 * math/math_private.h: Define defaults for libc_fegetround,
33059 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33060 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33061 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33063 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33064 standard functions.
33065 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33066 Remove comments and hacks for old compiler versions.
33067 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33068 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33069 libc_feholdexceptl.
33070
caa6c9d8
AS
330712011-10-18 Andreas Schwab <schwab@redhat.com>
33072
33073 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33074 (__feraiseexcept_renamed): Add __NTH.
33075 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33076 namespace violations.
33077
97c066e6
UD
330782011-10-17 Ulrich Drepper <drepper@gmail.com>
33079
99ce7b04
UD
33080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33081
1004d182
UD
33082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33083
228a984d
UD
33084 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33085 recently added interfaces.
33086 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33087
c8553a6a
UD
33088 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33089 about macro parameter expansion.
33090
ed22dcf6
UD
33091 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33092 __NO_MATH_INLINES is defined. Cleanups.
33093
33094 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33095 and __floorf is target has SSE4.1.
33096 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33100
b171c137
UD
33101 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33102 name.
33103 (floorf): Likewise.
33104
97c066e6
UD
33105 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33106
629f62ef
AS
331072011-10-17 Andreas Schwab <schwab@redhat.com>
33108
49a43d80
AS
33109 * misc/sys/cdefs.h: Fix last change.
33110
629f62ef
AS
33111 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33112 database lookup.
33113
e453f6cd
UD
331142011-10-16 Ulrich Drepper <drepper@gmail.com>
33115
aa78043a
UD
33116 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33117
ad0f5cad
UD
33118 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33126 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33127 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33128 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33129 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33130 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33131 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33132 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33133 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33134 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33135 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33136 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33137 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33138 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33139 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33140
33141 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33142 ceil, ceilf, floor, floorf.
33143
33144 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33145 Perform IRELATIVE relocations last.
33146
e453f6cd
UD
33147 * elf/do-rel.h: Add another parameter nrelative, replacing the
33148 local variable with the same name. Change name of the function
33149 to end in Rel or Rela (uppercase).
33150 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33151 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33152 elf_dynamic_do_##reloc function.
33153
fd5bdc09
UD
331542011-10-15 Ulrich Drepper <drepper@gmail.com>
33155
79b195b5
UD
33156 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33157 is sufficient, at least on modern CPUs.
33158
d4a28569
UD
33159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33160
b61099b5
UD
33161 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33162 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33163
bcf01e6d
UD
33164 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33165 __expl_finite.
33166 * math/bits/math-finite.h: Add entries for exp.
33167 * math/e_expl.c: Add __*_finite alias.
33168 * sysdeps/i386/fpu/e_exp.S: Likewise.
33169 * sysdeps/i386/fpu/e_expf.S: Likewise.
33170 * sysdeps/i386/fpu/e_expl.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33175 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33176 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33177 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33178
ba1a0d59
UD
33179 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33180 is sufficient, at least on modern CPUs.
33181
fd5bdc09
UD
33182 * ctype/ctype-info.c (__ctype_init): Define.
33183 * include/ctype.h (__ctype_init): Declare.
33184 (__ctype_b_loc): The variable is always initialized.
33185 (__ctype_toupper_loc): Likewise.
33186 (__ctype_tolower_loc): Likewise.
33187 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33188 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33189
7872cfb0
AS
331902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33191
b468825a
AS
33192 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33193
7872cfb0
AS
33194 * configure.in: Also look in $cxxmachine/include for C++ system
33195 headers.
33196
be13f7bf
LD
331972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33198
33199 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33200 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33201 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33202 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33203 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33204 (USE_AS_WMEMCMP): New macro.
33205 Fixing indents.
33206 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33207 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33208 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33209 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33211 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33212 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33213 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33214 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33215 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33217 (USE_AS_WMEMCMP): New macro.
33218 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33219 * sysdeps/string/test-memcmp.c: Update.
33220 Fix simple_wmemcmp.
33221 Add new tests.
33222 * wcsmbs/wmemcmp.c: Update.
33223 (WMEMCMP): New macro.
33224 Fix overflow bug.
33225
556a2007
AJ
332262011-10-12 Andreas Jaeger <aj@suse.de>
33227
33228 [BZ #13268]
33229 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33230
538faaa7
UD
332312011-10-15 Ulrich Drepper <drepper@gmail.com>
33232
ab6737ff
UD
33233 * libio/iofwide.c (do_length): Avoid warning.
33234
538faaa7
UD
33235 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33236
396a21b1
UD
332372011-10-14 Ulrich Drepper <drepper@gmail.com>
33238
cdf2901f
UD
33239 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33240
38ad40ce
UD
33241 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33242 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33243 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33244 * sysdeps/i386/i686/fpu/e_log.S: New file.
33245 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33246 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33247
396a21b1
UD
33248 * ctype/ctype.h: Add support for inlined isXXX functions when
33249 compiling C++ code.
33250
6b1f68c9
AS
332512011-10-14 Andreas Schwab <schwab@redhat.com>
33252
349290c0
AS
33253 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33254
6b1f68c9
AS
33255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33256
f2282d42
RM
332572011-10-13 Roland McGrath <roland@hack.frob.com>
33258
33259 [BZ #13291]
33260 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33261
5298ffa8
AS
332622011-10-13 Andreas Schwab <schwab@redhat.com>
33263
714fad23
AS
33264 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33265 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33266 feraiseexcept.
33267
81dcc7fb
AS
33268 * sysdeps/x86_64/memrchr.S: Check for zero size.
33269
5298ffa8
AS
33270 * string/stratcliff.c: Add memrchr tests.
33271
951fbcec
LD
332722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33273
33274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33275 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33276 rawmemchr-sse2 rawmemchr-sse2-bsf.
33277 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33278 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33279 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33280 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33281 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33282 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33283 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33284 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33285 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33286 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33287 * string/memrchr.c (MEMRCHR): New macro.
33288
0ac5ae23
UD
332892011-10-12 Ulrich Drepper <drepper@gmail.com>
33290
33291 Add integration with gcc's -ffinite-math-only and optimize wrapper
33292 functions in libm.
33293 * Versions.def: Define GLIBC_2.15 version for libm.
33294 * math/Makefile (headers): Add bits/math-finite.h.
33295 * math/bits/math-finite.h: New file.
33296 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33297 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33298 * math/e_acoshl.c: Add __*_finite alias.
33299 * math/e_acosl.c: Likewise.
33300 * math/e_asinl.c: Likewise.
33301 * math/e_atan2l.c: Likewise.
33302 * math/e_atanhl.c: Likewise.
33303 * math/e_coshl.c: Likewise.
33304 * math/e_exp10.c: Likewise.
33305 * math/e_exp10f.c: Likewise.
33306 * math/e_exp10l.c: Likewise.
33307 * math/e_exp2l.c: Likewise.
33308 * math/e_fmodl.c: Likewise.
33309 * math/e_gammal_r.c: Likewise.
33310 * math/e_hypotl.c: Likewise.
33311 * math/e_j0l.c: Likewise.
33312 * math/e_j1l.c: Likewise.
33313 * math/e_jnl.c: Likewise.
33314 * math/e_lgammal_r.c: Likewise.
33315 * math/e_log10l.c: Likewise.
33316 * math/e_log2l.c: Likewise.
33317 * math/e_logl.c: Likewise.
33318 * math/e_powl.c: Likewise.
33319 * math/e_sinhl.c: Likewise.
33320 * math/e_sqrtl.c: Likewise.
33321 * math/e_scalb.c: Completely rewritten and optimized.
33322 * math/e_scalbf.c: Likewise.
33323 * math/e_scalbl.c: Likewise.
33324 * math/w_acos.c: Likewise.
33325 * math/w_acosf.c: Likewise.
33326 * math/w_acosl.c: Likewise.
33327 * math/w_acosh.c: Likewise.
33328 * math/w_acoshf.c: Likewise.
33329 * math/w_acoshl.c: Likewise.
33330 * math/w_asin.c: Likewise.
33331 * math/w_asinf.c: Likewise.
33332 * math/w_asinl.c: Likewise.
33333 * math/w_atan2.c: Likewise.
33334 * math/w_atan2f.c: Likewise.
33335 * math/w_atan2l.c: Likewise.
33336 * math/w_atanh.c: Likewise.
33337 * math/w_atanhf.c: Likewise.
33338 * math/w_atanhl.c: Likewise.
33339 * math/w_exp10.c: Likewise.
33340 * math/w_exp10f.c: Likewise.
33341 * math/w_exp10l.c: Likewise.
33342 * math/w_fmod.c: Likewise.
33343 * math/w_fmodf.c: Likewise.
33344 * math/w_fmodl.c: Likewise.
33345 * math/w_j0.c: Likewise.
33346 * math/w_j0f.c: Likewise.
33347 * math/w_j0l.c: Likewise.
33348 * math/w_j1.c: Likewise.
33349 * math/w_j1f.c: Likewise.
33350 * math/w_j1l.c: Likewise.
33351 * math/w_jn.c: Likewise.
33352 * math/w_jnf.c: Likewise.
33353 * math/w_log.c: Likewise.
33354 * math/w_logf.c: Likewise.
33355 * math/w_logl.c: Likewise.
33356 * math/w_log10.c: Likewise.
33357 * math/w_log10f.c: Likewise.
33358 * math/w_log10l.c: Likewise.
33359 * math/w_log2.c: Likewise.
33360 * math/w_log2f.c: Likewise.
33361 * math/w_log2l.c: Likewise.
33362 * math/w_pow.c: Likewise.
33363 * math/w_powf.c: Likewise.
33364 * math/w_powl.c: Likewise.
33365 * math/w_remainder.c: Likewise.
33366 * math/w_remainderf.c: Likewise.
33367 * math/w_remainderl.c: Likewise.
33368 * math/w_scalb.c: Likewise.
33369 * math/w_scalbf.c: Likewise.
33370 * math/w_scalbl.c: Likewise.
33371 * math/w_sqrt.c: Likewise.
33372 * math/w_sqrtf.c: Likewise.
33373 * math/w_sqrtl.c: Likewise.
33374 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33375 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33376 used.
33377 * math/math_private.h: Declare __kernel_standard_f.
33378 * math/w_cosh.c: Remove cruft and optimize a bit.
33379 * math/w_coshf.c: Likewise.
33380 * math/w_coshl.c: Likewise.
33381 * math/w_exp2.c: Likewise.
33382 * math/w_exp2f.c: Likewise.
33383 * math/w_exp2l.c: Likewise.
33384 * math/w_hypot.c: Likewise.
33385 * math/w_hypotf.c: Likewise.
33386 * math/w_hypotl.c: Likewise.
33387 * math/w_lgamma.c: Likewise.
33388 * math/w_lgamma_r.c: Likewise.
33389 * math/w_lgammaf.c: Likewise.
33390 * math/w_lgammaf_r.c: Likewise.
33391 * math/w_lgammal.c: Likewise.
33392 * math/w_lgammal_r.c: Likewise.
33393 * math/w_sinh.c: Likewise.
33394 * math/w_sinhf.c: Likewise.
33395 * math/w_sinhl.c: Likewise.
33396 * math/w_tgamma.c: Likewise.
33397 * math/w_tgammaf.c: Likewise.
33398 * math/w_tgammal.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33401 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33402 Minor optimizations. Pretty printing. Remove cruft.
33403 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33404 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33406 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33407 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33408 * sysdeps/i386/fpu/e_asin.S: Likewise.
33409 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33410 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33411 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33412 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33416 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33417 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33418 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33419 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33420 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33421 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33422 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33423 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33424 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33425 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33426 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33427 * sysdeps/i386/fpu/e_log.S: Likewise.
33428 * sysdeps/i386/fpu/e_log10.S: Likewise.
33429 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33431 * sysdeps/i386/fpu/e_log2.S: Likewise.
33432 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33434 * sysdeps/i386/fpu/e_logf.S: Likewise.
33435 * sysdeps/i386/fpu/e_logl.S: Likewise.
33436 * sysdeps/i386/fpu/e_pow.S: Likewise.
33437 * sysdeps/i386/fpu/e_powf.S: Likewise.
33438 * sysdeps/i386/fpu/e_powl.S: Likewise.
33439 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33440 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33441 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33445 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33446 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33447 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33448 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33453 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33454 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33455 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33456 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33465 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33469 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33470 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33471 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33472 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33473 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33474 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33475 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33476 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33477 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33479 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33482 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33483 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33484 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33485 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33486 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33487 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33488 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33489 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33526 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33531 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33533 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33536 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33539 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33540 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33541 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33542 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33543 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33544 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33545 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33546 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33547 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33548 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33549 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33550 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33551 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33552 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33553 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33556 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33558 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33559 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33560 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33561 (__isnanf): Likewise.
33562 (__isinf_ns): Likewise.
33563 (__isinf_nsf): Likewise.
33564 (__finite): Likewise.
33565 (__finitef): Likewise.
33566 (__ieee754_sqrt): Define as macro.
33567 (__ieee754_sqrtf): Define as macro.
33568 (__ieee754_sqrtl): Define as macro.
33569 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33570 inlined copy.
33571 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33572 __FINITE_MATH_ONLY__ consistent.
33573 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33574
12cc2fcd
AS
335752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33576
a843a204
AS
33577 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33578 of rawmemchr.
33579
12cc2fcd
AS
33580 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33581
c853acd5
UD
335822011-10-09 Ulrich Drepper <drepper@gmail.com>
33583
33584 * po/ja.po: Update from translation team.
33585
c658d255
RM
335862011-10-08 Roland McGrath <roland@hack.frob.com>
33587
110946e4
RM
33588 * locale/programs/locarchive.c (prepare_address_space): New function.
33589 (create_archive, enlarge_archive, open_archive): Use it.
33590
50604220
RM
33591 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33592 inside [SHARED], where it is used.
33593
c658d255
RM
33594 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33595
33596 * nss/getent.c (netgroup_keys): Remove unused variable.
33597 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33598
6a621eb7
UD
335992011-10-08 Ulrich Drepper <drepper@gmail.com>
33600
7edb55ce
UD
33601 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33602 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33605 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33606 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33607 * math/Makefile (libm-calls): Add s_isinf_ns.
33608 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33609 * math/multc3.c: Likewise.
33610 * math/s_casin.c: Likewise.
33611 * math/s_casinf.c: Likewise.
33612 * math/s_casinl.c: Likewise.
33613 * math/s_ccos.c: Likewise.
33614 * math/s_ccosf.c: Likewise.
33615 * math/s_ccosl.c: Likewise.
33616 * math/s_ctan.c: Likewise.
33617 * math/s_ctanf.c: Likewise.
33618 * math/s_ctanh.c: Likewise.
33619 * math/s_ctanhf.c: Likewise.
33620 * math/s_ctanhl.c: Likewise.
33621 * math/s_ctanl.c: Likewise.
33622 * math/w_fmod.c: Likewise.
33623 * math/w_fmodf.c: Likewise.
33624 * math/w_fmodl.c: Likewise.
33625 * math/w_remainder.c: Likewise.
33626 * math/w_remainderf.c: Likewise.
33627 * math/w_remainderl.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33629 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33632 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33633 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33634 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33635 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33636
187da0ae
UD
33637 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33638 of the number.
33639 * stdio-common/printf_fphex.c: Likewise.
33640 * stdio-common/printf_size.c: Likewise.
33641
9277c064
UD
33642 * math/e_exp10.c: Include math_private.h using <...> not "...".
33643 * math/e_exp10f.c: Likewise.
33644 * math/e_exp10l.c: Likewise.
33645 * math/e_exp2l.c: Likewise.
33646 * math/e_j0l.c: Likewise.
33647 * math/e_j1l.c: Likewise.
33648 * math/e_jnl.c: Likewise.
33649 * math/e_lgammal_r.c: Likewise.
33650 * math/e_rem_pio2l.c: Likewise.
33651 * math/e_scalb.c: Likewise.
33652 * math/e_scalbf.c: Likewise.
33653 * math/e_scalbl.c: Likewise.
33654 * math/k_cosl.c: Likewise.
33655 * math/k_sinl.c: Likewise.
33656 * math/k_tanl.c: Likewise.
33657 * math/s_cacoshf.c: Likewise.
33658 * math/s_catan.c: Likewise.
33659 * math/s_catanf.c: Likewise.
33660 * math/s_catanh.c: Likewise.
33661 * math/s_catanhf.c: Likewise.
33662 * math/s_catanhl.c: Likewise.
33663 * math/s_catanl.c: Likewise.
33664 * math/s_ccosh.c: Likewise.
33665 * math/s_ccoshf.c: Likewise.
33666 * math/s_ccoshl.c: Likewise.
33667 * math/s_cexp.c: Likewise.
33668 * math/s_cexpf.c: Likewise.
33669 * math/s_cexpl.c: Likewise.
33670 * math/s_clog.c: Likewise.
33671 * math/s_clog10.c: Likewise.
33672 * math/s_clog10f.c: Likewise.
33673 * math/s_clog10l.c: Likewise.
33674 * math/s_clogf.c: Likewise.
33675 * math/s_clogl.c: Likewise.
33676 * math/s_csin.c: Likewise.
33677 * math/s_csinf.c: Likewise.
33678 * math/s_csinh.c: Likewise.
33679 * math/s_csinhf.c: Likewise.
33680 * math/s_csinhl.c: Likewise.
33681 * math/s_csinl.c: Likewise.
33682 * math/s_csqrt.c: Likewise.
33683 * math/s_csqrtf.c: Likewise.
33684 * math/s_csqrtl.c: Likewise.
33685 * math/s_ctan.c: Likewise.
33686 * math/s_ctanf.c: Likewise.
33687 * math/s_ctanh.c: Likewise.
33688 * math/s_ctanhf.c: Likewise.
33689 * math/s_ctanhl.c: Likewise.
33690 * math/s_ctanl.c: Likewise.
33691 * math/s_ldexp.c: Likewise.
33692 * math/s_ldexpf.c: Likewise.
33693 * math/s_ldexpl.c: Likewise.
33694 * math/s_significand.c: Likewise.
33695 * math/s_significandf.c: Likewise.
33696 * math/s_significandl.c: Likewise.
33697 * math/w_acos.c: Likewise.
33698 * math/w_acosf.c: Likewise.
33699 * math/w_acosh.c: Likewise.
33700 * math/w_acoshf.c: Likewise.
33701 * math/w_acoshl.c: Likewise.
33702 * math/w_acosl.c: Likewise.
33703 * math/w_asin.c: Likewise.
33704 * math/w_asinf.c: Likewise.
33705 * math/w_asinl.c: Likewise.
33706 * math/w_atan2.c: Likewise.
33707 * math/w_atan2f.c: Likewise.
33708 * math/w_atan2l.c: Likewise.
33709 * math/w_atanh.c: Likewise.
33710 * math/w_atanhf.c: Likewise.
33711 * math/w_atanhl.c: Likewise.
33712 * math/w_cosh.c: Likewise.
33713 * math/w_coshf.c: Likewise.
33714 * math/w_coshl.c: Likewise.
33715 * math/w_dremf.c: Likewise.
33716 * math/w_exp10.c: Likewise.
33717 * math/w_exp10f.c: Likewise.
33718 * math/w_exp10l.c: Likewise.
33719 * math/w_exp2.c: Likewise.
33720 * math/w_exp2f.c: Likewise.
33721 * math/w_fmod.c: Likewise.
33722 * math/w_fmodf.c: Likewise.
33723 * math/w_fmodl.c: Likewise.
33724 * math/w_hypot.c: Likewise.
33725 * math/w_hypotf.c: Likewise.
33726 * math/w_hypotl.c: Likewise.
33727 * math/w_j0.c: Likewise.
33728 * math/w_j0f.c: Likewise.
33729 * math/w_j0l.c: Likewise.
33730 * math/w_j1.c: Likewise.
33731 * math/w_j1f.c: Likewise.
33732 * math/w_j1l.c: Likewise.
33733 * math/w_jn.c: Likewise.
33734 * math/w_jnf.c: Likewise.
33735 * math/w_jnl.c: Likewise.
33736 * math/w_lgamma.c: Likewise.
33737 * math/w_lgamma_r.c: Likewise.
33738 * math/w_lgammaf.c: Likewise.
33739 * math/w_lgammaf_r.c: Likewise.
33740 * math/w_lgammal.c: Likewise.
33741 * math/w_lgammal_r.c: Likewise.
33742 * math/w_log.c: Likewise.
33743 * math/w_log10.c: Likewise.
33744 * math/w_log10f.c: Likewise.
33745 * math/w_log10l.c: Likewise.
33746 * math/w_log2.c: Likewise.
33747 * math/w_log2f.c: Likewise.
33748 * math/w_log2l.c: Likewise.
33749 * math/w_logf.c: Likewise.
33750 * math/w_logl.c: Likewise.
33751 * math/w_pow.c: Likewise.
33752 * math/w_powf.c: Likewise.
33753 * math/w_powl.c: Likewise.
33754 * math/w_remainder.c: Likewise.
33755 * math/w_remainderf.c: Likewise.
33756 * math/w_remainderl.c: Likewise.
33757 * math/w_scalb.c: Likewise.
33758 * math/w_scalbf.c: Likewise.
33759 * math/w_scalbl.c: Likewise.
33760 * math/w_sinh.c: Likewise.
33761 * math/w_sinhf.c: Likewise.
33762 * math/w_sinhl.c: Likewise.
33763 * math/w_sqrt.c: Likewise.
33764 * math/w_sqrtf.c: Likewise.
33765 * math/w_sqrtl.c: Likewise.
33766 * math/w_tgamma.c: Likewise.
33767 * math/w_tgammaf.c: Likewise.
33768 * math/w_tgammal.c: Likewise.
33769
6a621eb7
UD
33770 * po/ja.po: Update from translation team.
33771
bf582445
AJ
337722011-09-29 Andreas Jaeger <aj@suse.de>
33773
f9efbf3a
AJ
33774 [BZ #13179]
33775 * sunrpc/netname.c (netname2host): Fix logic.
33776
bf582445
AJ
33777 [BZ #6779]
33778 [BZ #6783]
33779 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33780 correctly.
33781 * math/w_remainder.c (__remainder): Likewise.
33782 * math/w_remainderf.c (__remainderf): Likewise.
33783 * math/libm-test.inc (remainder_test): Add test cases.
33784
48693bea
AK
337852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33786
33787 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33788 sdiv_qrnnd.
33789
42622229
LD
337902011-10-07 Ulrich Drepper <drepper@gmail.com>
33791
33792 * string/test-memcmp.c: Avoid unncessary #defines.
33793 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33794
093ecf92
LD
337952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33796
33797 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33798 Use new sse2 version for core i3 - i7 as it's faster
33799 than sse42 version.
33800 (bit_Prefer_PMINUB_for_stringop): New.
33801 * sysdeps/x86_64/rawmemchr.S: Update.
33802 Replace with faster SSE2 version.
33803 * sysdeps/x86_64/memrchr.S: New file.
33804 * sysdeps/x86_64/memchr.S: Update.
33805 Replace with faster SSE2 version.
33806
fde56e5c
MP
338072011-09-12 Marek Polacek <mpolacek@redhat.com>
33808
33809 * elf/dl-load.c (lose): Add cast to avoid warning.
33810
21fd49a9
UD
338112011-10-07 Ulrich Drepper <drepper@gmail.com>
33812
5a06e643
UD
33813 * po/ca.po: Update from translation team.
33814
684ae515
UD
33815 * inet/getnetgrent_r.c: Hook up nscd.
33816 * nscd/Makefile (routines): Add nscd_netgroup.
33817 (nscd-modules): Add netgroupcache.
33818 (CFLAGS-netgroupcache.c): Define.
33819 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33820 (cache_search): Add const to second parameter.
33821 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33822 INNETGR.
33823 (dbs): Add netgrdb entry.
33824 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33825 (verify_persistent_db): Handle netgrdb.
33826 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33827 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33828 GETFDNETGR.
33829 (netgroup_response_header): Define.
33830 (innetgroup_response_header): Define.
33831 (datahead): Add netgroup_response_header and innetgroup_response_header
33832 elements.
33833 * nscd/nscd.conf: Add entries for netgroup cache.
33834 * nscd/nscd.h (dbtype): Add netgrdb.
33835 (_PATH_NSCD_NETGROUP_DB): Define.
33836 (netgroup_iov_disabled): Declare.
33837 (xmalloc, xcalloc, xrealloc): Move declarations here.
33838 (cache_search): Adjust prototype.
33839 Add netgroup-related prototypes.
33840 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33841 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33842 (__nscd_innetgr): Declare.
33843 * nscd/selinux.c (perms): Use access_vector_t as element type and
33844 add netgroup-related initializers.
33845 * nscd/netgroupcache.c: New file.
33846 * nscd/nscd_netgroup.c: New file.
33847 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33848 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33849 For four parameters use innetgr.
33850 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33851 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33852 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33853 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33854
21fd49a9
UD
33855 * nscd/connections.c (register_traced_file): Don't register file
33856 for disabled databases.
33857
054c0457
UD
338582011-10-06 Ulrich Drepper <drepper@gmail.com>
33859
32b63198
UD
33860 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33861
054c0457
UD
33862 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33863 from tree and freeing node.
33864
64031225
JO
338652011-09-25 Jiri Olsa <jolsa@redhat.com>
33866
33867 * nss/nsswitch.c (__nss_database_lookup): Handle
33868 nss_parse_service_list out of memory case.
33869
0490345c
JO
338702011-09-15 Jiri Olsa <jolsa@redhat.com>
33871
33872 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33873 out of memory case.
33874
3a62d00d
AS
338752011-10-04 Andreas Schwab <schwab@redhat.com>
33876
33877 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33878 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33879 pass it down.
33880 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33881 elf_machine_rela, elf_machine_lazy_rel.
33882 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33883 (ELF_DYNAMIC_DO_REL): Likewise.
33884 (ELF_DYNAMIC_DO_RELA): Likewise.
33885 (ELF_DYNAMIC_RELOCATE): Likewise.
33886 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33887 to ELF_DYNAMIC_DO_REL.
33888 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33889 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33890 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33891 elf_machine_rela.
33892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33893 skip_ifunc, don't call ifunc function if non-zero.
33894 (elf_machine_rela): Likewise.
33895 (elf_machine_lazy_rel): Likewise.
33896 (elf_machine_lazy_rela): Likewise.
33897 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33898 (elf_machine_lazy_rel): Likewise.
33899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33900 Likewise.
33901 (elf_machine_lazy_rel): Likewise.
33902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33903 Likewise.
33904 (elf_machine_lazy_rel): Likewise.
33905 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33906 (elf_machine_lazy_rel): Likewise.
33907 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33908 (elf_machine_lazy_rel): Likewise.
33909 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33910 (elf_machine_lazy_rel): Likewise.
33911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33912 (elf_machine_lazy_rel): Likewise.
33913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33914 (elf_machine_lazy_rel): Likewise.
33915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33916 (elf_machine_lazy_rel): Likewise.
33917
68577918
UD
339182011-09-28 Ulrich Drepper <drepper@gmail.com>
33919
33920 * nss/nss_files/files-init.c (_nss_files_init): Use static
33921 initialization for all the *_traced_file variables.
33922
68822d74
AS
339232011-09-28 Andreas Schwab <schwab@redhat.com>
33924
33925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33926
2056100b
RM
339272011-09-27 Roland McGrath <roland@hack.frob.com>
33928
33929 [BZ #13226]
33930 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33931
32c76b63
AS
339322011-09-27 Andreas Schwab <schwab@redhat.com>
33933
33934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33935 Reread the line before reparsing it.
33936
bf972c9d
AS
339372011-09-26 Andreas Schwab <schwab@redhat.com>
33938
33939 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33940
e057a1b5
JM
339412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33942 Maxim Kuvyrkov <maxim@codesourcery.com>
33943 Joseph Myers <joseph@codesourcery.com>
33944
33945 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33946 if needed for __stack_chk_guard.
33947
bc7e1c36
RM
339482011-09-19 Roland McGrath <roland@hack.frob.com>
33949
ecb1482f
RM
33950 * sysdeps/posix/spawni.c (script_execute): Always define it.
33951 It will be optimized away if unused.
33952 (maybe_script_execute): New function.
33953 (__spawni): Call it.
33954
bc7e1c36
RM
33955 * Makerules: Don't include tls.make.
33956 (config-tls): Always set to thread.
33957 * tls.make.c: File removed.
33958
1c3b002b
MF
339592011-09-19 Mike Frysinger <vapier@gentoo.org>
33960
33961 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33962 * config.make.in (CPPFLAGS-config): New substituted variable.
33963
2840865d
UD
339642011-09-15 Ulrich Drepper <drepper@gmail.com>
33965
88738eb6
UD
33966 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33967
cbf645a6 33968 [BZ #13192]
2840865d
UD
33969 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33970 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33971
b402e91a
RM
339722011-09-15 Roland McGrath <roland@hack.frob.com>
33973
33974 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33975 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33977 (CALL_FAIL): Likewise.
33978 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33979 (CALL_FAIL): Macro removed.
33980 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33981
4c1a1f71
UD
339822011-09-15 Ulrich Drepper <drepper@gmail.com>
33983
33984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33985 for __FINITE_MATH_ONLY__ == 1.
33986
edc121be
AS
339872011-09-15 Andreas Schwab <schwab@redhat.com>
33988
33989 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33990 __ieee754_sqrt instead of sqrt.
33991 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33992 __ieee754_sqrtf instead of sqrtf.
33993 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33994 __floorf instead of floorf.
33995 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33996 __floorf, __truncf instead of floorf, truncf.
33997
cd205654
UD
339982011-09-14 Ulrich Drepper <drepper@gmail.com>
33999
ee4d0315
UD
34000 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34001
cd205654
UD
34002 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34003 __extern_always_inline.
34004 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34005 32-bit.
34006
48b67d71
AS
340072011-09-14 Andreas Schwab <schwab@redhat.com>
34008
34009 * elf/rtld.c (dl_main): Also relocate in dependency order when
34010 doing symbol dependency testing.
34011
1ae12c75
AS
340122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34013
34014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34015 Always define `refsym'.
34016
995a80df
AS
340172011-09-13 Andreas Schwab <schwab@redhat.com>
34018
e529793b
AS
34019 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34020 (__FD_ELT): Renamed from __FDELT.
34021 * misc/bits/select2.h (__FD_ELT): Likewise.
34022 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34023 __FD_MASK instead of __FDELT, __FDMASK.
34024 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34025 Likewise.
34026 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34027 Likewise.
34028
52d4fef8
AS
34029 * elf/Makefile (gen-ldd): Fix pattern.
34030
995a80df
AS
34031 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34032 (init_tls): Likewise.
34033
8682f8b0
UD
340342011-09-12 Ulrich Drepper <drepper@gmail.com>
34035
34036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34037
de82006d
AS
340382011-09-12 Andreas Schwab <schwab@redhat.com>
34039
a7c8e6a1
AS
34040 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34041 `struct cmsghdr *' instead of `void *'.
34042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34043 Likewise.
34044
0f31fe77
AS
340452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34046
34047 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34048 if non-absolute.
34049 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34050 ldd_rewrite_script.
0f31fe77 34051
32b4c839
UD
340522011-09-11 Ulrich Drepper <drepper@gmail.com>
34053
83cd1420
UD
34054 * configure.in: Remove --with-tls option.
34055 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34056 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34057 out in case it is missing.
34058 * sysdeps/ia64/elf/configure.in: Likewise.
34059 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34060 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34061 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34062 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34063 * sysdeps/sh/elf/configure.in: Likewise.
34064 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34065 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34066 * sysdeps/x86_64/elf/configure.in: Likewise.
34067 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34068 * sysdeps/mach/hurd/tls.h: Likewise.
34069
633f745d
UD
34070 [BZ #13067]
34071 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34072
f318beb8
UD
34073 [BZ #13090]
34074 * configure.in: Fix use of AC_INIT.
34075
32b4c839
UD
34076 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34077
3ce1f295
UD
340782011-09-10 Ulrich Drepper <drepper@gmail.com>
34079
bb016596
UD
34080 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34081 __set_errno.
8e58439c
UD
34082 * malloc/hooks.c: Likewise.
34083
aebae053 34084 [BZ #11929]
02d46fc4
UD
34085 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34086 variables statically.
34087 (narenas): Initialize.
34088 (list_lock): Initialize.
bb016596
UD
34089 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34090 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34091 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34092 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34093 Add initializers to main_arena and mp_.
34094 (malloc_state): Remove pagesize member. Change all users to use
34095 GLRO(dl_pagesize).
34096
34097 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34098 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34099 is always initialized.
34100
22a89187
UD
34101 * malloc/malloc.c: Removed unused configurations and dead code.
34102 * malloc/arena.c: Likewise.
34103 * malloc/hooks.c: Likewise.
02d46fc4 34104 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34105
d063d164
UD
34106 * include/tls.h: Removed. USE___THREAD must always be defined.
34107 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34108 * elf/dl-libc.c: Likewise.
34109 * elf/dl-tsd.c: Likewise.
34110 * include/errno.h: Likewise.
34111 * include/netdb.h: Likewise.
34112 * include/resolv.h: Likewise.
34113 * inet/herrno-loc.c: Likewise.
34114 * inet/herrno.c: Likewise.
34115 * malloc/arena.c: Likewise.
34116 * malloc/hooks.c: Likewise.
34117 * malloc/malloc.c: Likewise.
34118 * resolv/res-state.c: Likewise.
34119 * resolv/res_libc.c: Likewise.
34120 * sysdeps/i386/dl-machine.h: Likewise.
34121 * sysdeps/ia64/dl-machine.h: Likewise.
34122 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34123 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34124 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34125 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34126 * sysdeps/sh/dl-machine.h: Likewise.
34127 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34128 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34129 * sysdeps/unix/i386/sysdep.S: Likewise.
34130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34131 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34136 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34141 * sysdeps/x86_64/dl-machine.h: Likewise.
34142 * tls.make.c: Likewise.
34143
3ce1f295
UD
34144 * configure.in: Remove --with-__thread option. Make tests for
34145 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34146 tls_model attribute fail if no support is available. Remove
34147 USE_IN_LIBIO.
34148 * Makeconfig: Adjust for dropped configure option. All features are
34149 now mandatory.
34150 * Makerules: Likewise.
34151 * Versions.def: Likewise.
34152 * argp/argp-fmtstream.c: Likewise.
34153 * argp/argp-fmtstream.h: Likewise.
34154 * argp/argp-help.c: Likewise.
34155 * assert/assert.c: Likewise.
34156 * config.h.in: Likewise.
34157 * config.make.in: Likewise.
34158 * configure: Likewise.
34159 * configure.in: Likewise.
34160 * csu/Versions: Likewise.
34161 * csu/init.c: Likewise.
34162 * elf/tst-audit2.c: Likewise.
34163 * elf/tst-tls10.c: Likewise.
34164 * elf/tst-tls10.h: Likewise.
34165 * elf/tst-tls11.c: Likewise.
34166 * elf/tst-tls12.c: Likewise.
34167 * elf/tst-tls14.c: Likewise.
34168 * elf/tst-tlsmod11.c: Likewise.
34169 * elf/tst-tlsmod12.c: Likewise.
34170 * elf/tst-tlsmod13.c: Likewise.
34171 * elf/tst-tlsmod13a.c: Likewise.
34172 * elf/tst-tlsmod14a.c: Likewise.
34173 * elf/tst-tlsmod15b.c: Likewise.
34174 * elf/tst-tlsmod16a.c: Likewise.
34175 * elf/tst-tlsmod16b.c: Likewise.
34176 * elf/tst-tlsmod7.c: Likewise.
34177 * elf/tst-tlsmod8.c: Likewise.
34178 * elf/tst-tlsmod9.c: Likewise.
34179 * gmon/gmon.c: Likewise.
34180 * grp/fgetgrent_r.c: Likewise.
34181 * grp/putgrent.c: Likewise.
34182 * hurd/fopenport.c: Likewise.
34183 * include/libc-symbols.h: Likewise.
34184 * include/tls.h: Likewise.
34185 * intl/gettextP.h: Likewise.
34186 * intl/loadinfo.h: Likewise.
34187 * locale/global-locale.c: Likewise.
34188 * locale/localeinfo.h: Likewise.
34189 * mach/devstream.c: Likewise.
34190 * malloc/arena.c: Likewise.
34191 * malloc/set-freeres.c: Likewise.
34192 * misc/err.c: Likewise.
34193 * misc/getttyent.c: Likewise.
34194 * misc/mntent_r.c: Likewise.
34195 * posix/getopt.c: Likewise.
34196 * posix/wordexp.c: Likewise.
34197 * pwd/fgetpwent_r.c: Likewise.
34198 * resolv/Versions: Likewise.
34199 * resolv/res_hconf.c: Likewise.
34200 * shadow/fgetspent_r.c: Likewise.
34201 * shadow/putspent.c: Likewise.
34202 * stdio-common/printf_fphex.c: Likewise.
34203 * stdio-common/tmpfile.c: Likewise.
34204 * stdlib/abort.c: Likewise.
34205 * stdlib/fmtmsg.c: Likewise.
34206 * sunrpc/auth_unix.c: Likewise.
34207 * sunrpc/clnt_perr.c: Likewise.
34208 * sunrpc/clnt_tcp.c: Likewise.
34209 * sunrpc/clnt_udp.c: Likewise.
34210 * sunrpc/clnt_unix.c: Likewise.
34211 * sunrpc/openchild.c: Likewise.
34212 * sunrpc/svc_simple.c: Likewise.
34213 * sunrpc/svc_tcp.c: Likewise.
34214 * sunrpc/svc_udp.c: Likewise.
34215 * sunrpc/svc_unix.c: Likewise.
34216 * sunrpc/xdr.c: Likewise.
34217 * sunrpc/xdr_array.c: Likewise.
34218 * sunrpc/xdr_rec.c: Likewise.
34219 * sunrpc/xdr_ref.c: Likewise.
34220 * sunrpc/xdr_stdio.c: Likewise.
34221
1248c1c4
PB
342222011-09-09 Ulrich Drepper <drepper@gmail.com>
34223
34224 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34225
342262011-07-03 Andreas Jaeger <aj@suse.de>
34227
34228 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34229 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34230 regenerate with gen-libm-tests.pl.
34231
342322010-05-12 Petr Baudis <pasky@suse.cz>
34233
34234 [BZ #11589]
34235 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34236 around j0() zero points by switching to j1().
34237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34241
f22e1074
UD
342422011-09-09 Ulrich Drepper <drepper@gmail.com>
34243
f19009c1
UD
34244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34245 instead of 0.
34246 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34247 instead of 0.
f19009c1
UD
34248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34249 Patch in part by Pavel Roskin <proski@gnu.org>.
34250
3f8cc204
UD
34251 [BZ #13138]
34252 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34253 realloc.
34254 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34255 Free memory block if necessary.
34256
f22e1074
UD
34257 [BZ #12847]
34258 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34259 be NULL. Don't lock in this case.
34260
0a2349f9
RM
342612011-09-09 Roland McGrath <roland@hack.frob.com>
34262
34263 * elf/elf.h (ELFOSABI_GNU): New macro.
34264 (ELFOSABI_LINUX): Define to that.
34265
f3cdd467
DZ
342662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34267
34268 * string/strncat.c (strncat): Undef the symbol in case it has been
34269 defined in bits/string.h.
34270
74718d13
UD
342712011-09-09 Ulrich Drepper <drepper@gmail.com>
34272
633e9e0f
UD
34273 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34274
0a2349f9 34275 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34276 link map.
34277
f9924780
AJ
342782011-08-17 Andreas Jaeger <aj@suse.de>
34279
34280 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34281
7f5517aa
PP
342822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34283 Ian Lance Taylor <iant@google.com>
34284
34285 * math/libm-test.inc (lround_test): New testcase.
34286 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34287
762011fe
UD
342882011-09-08 Ulrich Drepper <drepper@gmail.com>
34289
92963737
UD
34290 * Makefile: Remove support for automatic cvs check-ins.
34291 * Makerules: Likewise.
34292 * config.make.in: Likewise.
34293 * configure.in: Likewise.
34294 * intl/Makefile: Likewise.
34295 * locale/Makefile: Likewise.
34296 * po/Makefile: Likewise.
34297 * posix/Makefile: Likewise.
34298 * sysdeps/gnu/Makefile: Likewise.
34299 * sysdeps/mach/hurd/Makefile: Likewise.
34300 * sysdeps/sparc/sparc32/Makefile: Likewise.
34301
b0727fd8
JS
34302 [BZ #13118]
34303 * posix/Makefile (bug-regex32-ENV): Define.
34304 Patch by John Stanley <jpsinthemix@verizon.net>.
34305
a0f33f99
UD
34306 * misc/Makefile (headers): Add bits/select2.h.
34307 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34308 * misc/bits/select2.h: New file.
34309 * include/bits/select2.h: New file.
34310 * debug/Makefile (routines): Add fdelt_chk.
34311 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34312 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34313 FD_ISSET.
34314 * debug/fdelt_chk.c: New file.
34315
762011fe
UD
34316 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34317 * wcsmbs/test-wmemcmp.c: Likewise.
34318 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34319 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34320
343212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34322
34323 * string/Makefile (strop-tests): Add memcmp.
34324 * string/test-wmemcmp.c: New file.
34325 * string/test-memcmp.c: Add wmemcmp support.
34326
7f513ec8
RM
343272011-09-08 Roland McGrath <roland@hack.frob.com>
34328
0442afb4
RM
34329 [BZ #13153]
34330 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34331 2011-07-19 change.
34332
7f513ec8
RM
34333 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34334 garbage value in a __mach_port_mod_refs call in the cases of the
34335 task-self and thread-self ports.
34336
a12b2239
ST
343372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34338
34339 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34340
610f9ab4
AS
343412011-09-08 Andreas Schwab <schwab@redhat.com>
34342
7f513ec8 34343 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34344
48882a1a
LD
343452011-09-07 Ulrich Drepper <drepper@gmail.com>
34346
b49865be
UD
34347 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34348
fdc86bc9
UD
34349 * elf/dl-libc.c (dlerror_run): Pass back error code from
34350 dl_catch_error.
34351
c966526a
UD
34352 [BZ #13123]
34353 * elf/dl-load.c (lose): Free l_origin if it is valid.
34354
48882a1a
LD
34355 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34356 names.
34357 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34360 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34362 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34363
77a2a8b4
AZ
343642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34365
34366 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34367 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34368 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34369 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34370 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34371 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34372 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34373 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34374 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34375 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34376
24f579d8
AM
343772011-08-15 Alan Modra <amodra@gmail.com>
34378
34379 [BZ #13092]
34380 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34381 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34382 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34383 ppc_mcount to static-only-routines.
34384 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34385 __mcount_internal.
34386 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34387 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34388
3d4837df
UD
343892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34390
34391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34392 for finite and infinity parameters.
34393
22700377
WS
343942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34395
34396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34397 and add nop instructions for throughput optimization.
34398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34399
5025581e
WS
344002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34401
34402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34403 aligned copy for power7 with vector-scalar instructions.
34404 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34405
08a300c9
L
344062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34409 AVX check.
34410
59178ef9
AS
344112011-09-07 Andreas Schwab <schwab@redhat.com>
34412
34413 [BZ #13144]
34414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34415 last change.
34416
e38ba7ab
UD
344172011-09-07 Ulrich Drepper <drepper@gmail.com>
34418
34419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34420 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34421 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34422 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34423 clock_gettime.
34424
d53a73ac
UD
344252011-09-06 Ulrich Drepper <drepper@gmail.com>
34426
fc8bffcc
UD
34427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34428 Forgot to demangle the pointer.
34429
ceaa0c5d
UD
34430 * sysdeps/i386/sysdep.h: Define atom_text_section.
34431 * sysdeps/x86_64/sysdep.h: Likewise.
34432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34433 section with atom_text_section.
34434 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34436 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34438 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34439
a77d3c17
UD
34440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34442 already be defined. Change to take two parameters and don't assign
34443 result to variable. Adjust all users.
34444 Define INTERNAL_GETTIME if not already defined.
34445 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34446 call.
34447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34448 HAVE_CLOCK_GETTIME_VSYSCALL.
34449 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34450
d53a73ac
UD
34451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34452 gettimeofday vsyscall, just use time.
34453
a8f84144
AS
344542011-09-06 Andreas Schwab <schwab@redhat.com>
34455
34456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34457 <errno.h>.
34458
ef606249
UD
344592011-09-06 Ulrich Drepper <drepper@gmail.com>
34460
34461 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34462 syscall on x86-64.
34463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34464 syscall.
34465 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34467 syscall if possible.
34468
6585cb60
UD
344692011-09-05 Ulrich Drepper <drepper@gmail.com>
34470
34471 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34472 e_ident. Don't pass to find_mapsXX.
34473 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34474
a5f524e4
LD
344752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34476
34477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34478 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34479 * sysdeps/x86_64/multiarch/strchr.S: Update.
34480 Check bit_slow_BSF bit.
34481 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34482 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34484
554881ef
UD
344852011-09-05 Ulrich Drepper <drepper@gmail.com>
34486
d96de963
UD
34487 [BZ #13134]
34488 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34489 before glibc 2.15.
34490 (tryshell): Define.
34491 (__spawni): Change last parameter to be flag. Test
34492 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34493 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34494 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34495 * posix/spawni.c: Likewise.
34496 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34497 * posix/spawnp.c: Likewise. Change normal version to use
34498 SPAWN_XFLAGS_USE_PATH.
34499 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34500 SPAWN_XFLAGS_TRY_SHELL.
34501
d48e5868
UD
34502 [BZ #13150]
34503 * posix/glob.h: Remove gcc 1.x support.
34504
554881ef
UD
34505 [BZ #13068]
34506 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34507
693fb948
LD
345082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34509
34510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34511 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34512 strrchr-sse2-bsf
34513 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34514 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34515 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34518 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34519
1b48c537
UD
345202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34521
49d42c37
UD
34522 * sysdeps/x86_64/wcscmp.S: New file.
34523
1b48c537
UD
34524 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34525 wcscmp-c wcscmp-sse2
34526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34527 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34529 * wcsmbs/wcscmp.c: Allow renaming.
34530
15c95c5d
DM
345312011-09-05 David S. Miller <davem@davemloft.net>
34532
34533 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34534 stack slot, rather than the struct return pointer slot.
34535 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34536 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34538 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34539
2f0ad8f3
UD
345402011-09-05 Ulrich Drepper <drepper@gmail.com>
34541
d88ae418
UD
34542 * po/ja.po: Update from translation team.
34543
2f0ad8f3
UD
34544 [BZ #13144]
34545 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34546 kernel in 64-bit binaries.
34547
5f4318d1
DM
345482011-09-01 David S. Miller <davem@davemloft.net>
34549
34550 * elf/elf.h (HWCAP_SPARC_*): Move to..
34551 * sysdeps/sparc/sysdep.h: this new file and add new values.
34552 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34553 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34554 _DL_HWCAP_COUNT to 24.
34555 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34556 entries.
34557 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34558 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34559 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34561 instead of magic constants.
34562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34563
3ba57516
DM
345642011-08-31 David S. Miller <davem@davemloft.net>
34565
34566 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34568 Reimplement to do errno handling inline.
34569 (SYSCALL_ERROR_HANDLER): New macro.
34570 (__SYSCALL_STRING): Do not do errno handling in asm.
34571 (__CLONE_SYSCALL_STRING): Delete.
34572 (__INTERNAL_SYSCALL_STRING): Delete.
34573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34574 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34575 (PSEUDO): Reimplement to do errno handling inline.
34576 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34577 (SYSCALL_ERROR_HANDLER): New macro.
34578 (__SYSCALL_STRING): Do not do errno handling in asm.
34579 (__CLONE_SYSCALL_STRING): Delete.
34580 (__INTERNAL_SYSCALL_STRING): Delete.
34581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34582 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34583 i386.
34584 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34585 (inline_syscall*): Add 'err' argument.
34586 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34587 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34588 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34589 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34590
34591 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34592 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34593
2bc17433
AS
345942011-08-30 Andreas Schwab <schwab@redhat.com>
34595
34596 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34597
fbeb5f4d
JO
345982011-08-29 Jiri Olsa <jolsa@redhat.com>
34599
34600 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34601 directive.
34602
ad69cc26
DM
346032011-08-24 David S. Miller <davem@davemloft.net>
34604
34605 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34606
39dd69df
AS
346072011-08-24 Andreas Schwab <schwab@redhat.com>
34608
34609 * elf/Makefile: Add rules to build and run unload8 test.
34610 * elf/unload8.c: New file.
34611 * elf/unload8mod1.c: New file.
34612 * elf/unload8mod1x.c: New file.
34613 * elf/unload8mod2.c: New file.
34614 * elf/unload8mod3.c: New file.
34615
34616 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34617 it wasn't used.
34618
2c0b250a
DM
346192011-08-23 David S. Miller <davem@davemloft.net>
34620
34621 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34622 subtract stack bias.
34623 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34624 %sp not %fp in calculations.
34625 (_JMPBUF_UNWINDS_ADJ): Likewise.
34626
22044b48
DM
34627 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34628 (aio_suspend): Call it to force an exception region around the
34629 AIO_MISC_WAIT() invocation.
34630
2cae4995
AS
346312011-08-23 Andreas Schwab <schwab@redhat.com>
34632
34633 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34634 backslash.
34635
873a772e
AJ
346362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34637
34638 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34639 protection macro.
34640 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34641 and <dl-machine.h>.
34642 (Elf64_FuncDesc): Remove.
34643
25ad0df1
DM
346442011-08-22 David S. Miller <davem@davemloft.net>
34645
34646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34647 sigaltstack check, add missing cfi directives.
34648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34649 missing cfi directives, and sigaltstack handling.
34650
e888bcbe
AS
346512011-08-16 Andreas Schwab <schwab@redhat.com>
34652
34653 [BZ #11724]
34654 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34655 object is seen twice.
34656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34657
34658 * elf/Makefile (distribute): Add tst-initorder2.c.
34659 (tests): Add tst-initorder2.
34660 (modules-names): Add tst-initorder2a tst-initorder2b
34661 tst-initorder2c tst-initorder2d. Add rules to build them.
34662 ($(objpfx)tst-initorder2.out): New rule.
34663 * elf/tst-initorder2.c: New file.
34664 * elf/tst-initorder2.exp: New file.
34665
87162f46
AS
346662011-08-22 Andreas Schwab <schwab@redhat.com>
34667
70538b7f
AS
34668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34669
f55ffe58
AS
34670 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34671 dependencies back to end of function.
34672
87162f46
AS
34673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34674 $(elfobjdir)/ld.so.
34675
91b392a4
UD
346762011-08-21 Ulrich Drepper <drepper@gmail.com>
34677
34678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34679 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34681 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34682 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34683 of __vdso_gettimeofday.
34684 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34685 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34686 attribute_hidden.
34687 (_libc_vdso_platform_setup): Remove initialization of
34688 __vdso_gettimeofday and __vdso_time.
34689
5c43483f
UD
346902011-08-20 Ulrich Drepper <drepper@gmail.com>
34691
775a77e7
UD
34692 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34693 and fgetc_unlocked.
34694 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34695 getc_unlocked.
89f447ed 34696
49c74ba9
UD
34697 * elf/dl-open.c (add_to_global): Report additions to the global scope
34698 for LD_DEBUG=scopes.
34699 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34700 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34701
5c43483f
UD
34702 [BZ #13114]
34703 * stdio-common/Makefile (tests): Add bug24.
34704 * stdio-common/bug24.c: New file.
34705
a101b025
AJ
347062011-08-19 Andreas Jaeger <aj@suse.de>
34707
34708 [BZ #13114]
34709 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34710 non-existant file when using close-on-exec mode.
34711
c88f1766
UD
347122011-08-20 Ulrich Drepper <drepper@gmail.com>
34713
0276a718
UD
34714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34715 the very first instruction.
34716
c88f1766
UD
34717 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34718 the CFI state in the end.
34719 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34720 inclusion of dl-trampoline.h.
34721 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34722
51ccffa0
AS
347232011-08-19 Andreas Schwab <schwab@redhat.com>
34724
94d7165f
AS
34725 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34726 expectations for long double.
34727
51ccffa0
AS
34728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34729 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34730
fd708658 347312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34732
34733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34734 artificual limit depends upon the system page size.
34735
44f0a71e
UD
347362011-08-17 Ulrich Drepper <drepper@gmail.com>
34737
34738 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34739 * resolv/Makefile: Define CFLAGS-libresolv.
34740
8de79a24
AS
347412011-08-17 Andreas Schwab <schwab@redhat.com>
34742
34743 * nss/makedb.c (compute_tables): Make variables used in nested
34744 function static.
34745
27724598
UD
347462011-08-17 Ulrich Drepper <drepper@gmail.com>
34747
c5305d88
UD
34748 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34749 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34750 if buffer was too small.
34751
27724598
UD
34752 * elf/pldd.c (main): Attach to all threads in the process.
34753 Rewrite /proc handling to use *at functions.
34754
076fe015
UD
347552011-08-16 Ulrich Drepper <drepper@gmail.com>
34756
174baab3
UD
34757 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34758 specifies first scope to show.
34759 (dl_open_worker): Update callers. Move printing scope of new
34760 object to before the relocation.
44f0a71e 34761 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34762 * sysdeps/generic/ldsodefs.h: Update declaration.
34763
076fe015
UD
34764 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34765 string for the scope number.
34766
a60df2c3
UD
347672011-08-14 Ulrich Drepper <drepper@gmail.com>
34768
34769 * nscd/servicescache.c (cache_addserv): Make sure written is always
34770 initialized.
34771
5e4287d1
RM
347722011-08-14 Roland McGrath <roland@hack.frob.com>
34773
85ae0589
RM
34774 * sysdeps/i386/i486/bits/atomic.h
34775 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34776 statement expression, so as to suppress "set but not used" warning.
34777 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34778
69f63097
RM
34779 * string/strncat.c (STRNCAT): Use prototype definition.
34780
675456ef
RM
34781 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34782 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34783 -Iprograms here.
34784 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34785 (localedef-modules): Add localedef.
34786 (locale-modules): Add locale.
34787
5e4287d1
RM
34788 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34789 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34790 to avoid a warning.
34791
9c96ff23
DM
347922011-08-14 David S. Miller <davem@davemloft.net>
34793
34794 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34795 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34796
f9ddf089
UD
347972011-08-13 Ulrich Drepper <drepper@gmail.com>
34798
44f0a71e 34799 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34800 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34801 * elf/rtld.c (dl_main): Set l_name of vDSO.
34802 Call _dl_show_scope when DL_DEBUG_SCOPES.
34803 (process_dl_debug): Recognize scopes flag and also set it for all.
34804 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34805 Declare _dl_show_scope.
34806
1dc27704
UD
34807 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34808 (do_dlopen): Pass caller_dlopen to dl_open.
34809 (__libc_dlopen_mode): Initialize caller_dlopen.
34810
f9ddf089
UD
34811 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34812 of libc. Make tolower call locale-independent. Optimize a bit by
34813 using isdigit instead of isalnum.
34814 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34815
9ac533d3
UD
348162011-08-12 Ulrich Drepper <drepper@gmail.com>
34817
34818 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34819 was a dependency or dynamically loaded.
34820
89edf2e9
UD
348212011-08-11 Ulrich Drepper <drepper@gmail.com>
34822
8e999d29
UD
34823 * intl/l10nflist.c: Allow architecture-specific pop function.
34824 * sysdeps/x86_64/l10nflist.c: New file.
34825
89edf2e9
UD
34826 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34827 classification.
34828
14d96785
AS
348292011-08-10 Andreas Schwab <schwab@redhat.com>
34830
34831 * include/dirent.h: Add libc_hidden_proto for scandirat and
34832 scandirat64. Don't declare __scandirat64.
34833 * dirent/scandirat.c: Add libc_hidden_def.
34834 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34835 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34836
6761ac04
DM
348372011-08-10 David S. Miller <davem@davemloft.net>
34838
34839 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34840 enum.
34841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34844
c55fbd1e
UD
348452011-08-09 Ulrich Drepper <drepper@gmail.com>
34846
34847 * Versions.def [libc]: Add GLIBC_2.15.
34848 * dirent/Makefile (routines): Add scandirat and scandirat64.
34849 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34850 GLIBC_2.15.
34851 * dirent/dirent.h: Declare scandirat and scandirat64.
34852 * dirent/scandirat.c: New file.
34853 * dirent/scandirat64.c: New file.
34854 * sysdeps/wordsize-64/scandirat.c: New file.
34855 * sysdeps/wordsize-64/scandirat64.c: New file.
34856 * dirent/opendir.c: Define opendirat.
34857 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34858 using scandirat.
34859 * dirent/scandir64.c: Adjust for scandir.c change.
34860 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34861 __scandirat64, and __scandir_cancel_handler.
34862 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34863 additional parameter and use openat instead of open (outside of ld.so).
34864 Add new __opendir as wrapper around __opendirat.
34865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34866 here without requiring old scandirat implementation.
34867
879165f2
UD
348682011-08-08 Ulrich Drepper <drepper@gmail.com>
34869
34870 * dirent/scandir.c (cancel_handler): Renamed to
34871 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34872 defined. Adjust users.
34873 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34874 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34875
cb7e923b
UD
348762011-08-04 Ulrich Drepper <drepper@gmail.com>
34877
16292edd
UD
34878 * string/test-string.h (IMPL): Use __STRING to expand name and then
34879 stringify it.
34880
cb7e923b
UD
34881 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34882 of cleanups.
34883
cff82933
LD
348842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34885
34886 * string/Makefile: Update.
34887 (strop-tests): Append strncat.
34888 * string/test-wcscmp.c: New file.
34889 New comprehensive test for wcscmp.
34890 * string/test-strcmp.c: Update.
34891 (WIDE): New define.
34892
9be9bfcc
AS
348932011-07-22 Andreas Schwab <schwab@redhat.com>
34894
34895 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34896 line.
34897
2e96f1c7
AS
348982011-07-26 Andreas Schwab <schwab@redhat.com>
34899
34900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34901 encoding to ACE if AI_IDN.
34902
85188888
JJ
349032011-08-01 Jakub Jelinek <jakub@redhat.com>
34904
34905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34906 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34907
5fa16e9b
LD
349082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34909
34910 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34911 Fix overflow bug in strncat.
34912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34913
34914 * string/test-strncat.c: Update.
34915 Add new tests for checking overflow bugs.
34916
349172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34918
34919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34920 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34921 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34922 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34923 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34924 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34925 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34926 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34927 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34928
34929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34930 (USE_AS_STRCAT): Define.
34931 Add strcat and strncat support.
34932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34933
8c1a459f
AS
349342011-07-25 Andreas Schwab <schwab@redhat.com>
34935
34936 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34937 __n bigger than INT_MAX+1.
34938 (__strncmp_g): Likewise.
34939
bba33c28
UD
349402011-07-23 Ulrich Drepper <drepper@gmail.com>
34941
798be72d
UD
34942 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34943 * libio/stido.h: Likewise.
34944
8accd4dc
UD
34945 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34946 (AF_NFC): Define.
34947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34948 (AF_NFC): Define.
34949
cbff0d96
UD
34950 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34955
9191c04a
UD
34956 [BZ #13021]
34957 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34958 installed.
34959
bba33c28
UD
34960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34961 typo.
34962 (_dl_x86_64_save_sse): Likewise.
34963
90f139dd
UD
349642011-07-22 Ulrich Drepper <drepper@gmail.com>
34965
1aae088a
UD
34966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34967 OSXSAVE.
34968 (_dl_x86_64_save_sse): Likewise.
34969
8e2045f5
UD
34970 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34971
90f139dd
UD
34972 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34973
1d002f25
AS
349742011-07-21 Andreas Schwab <schwab@redhat.com>
34975
34976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34977 change.
34978 (_dl_x86_64_save_sse): Use correct AVX check.
34979
21137f89
UD
349802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34981
34982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34983 bug in strncpy/strncat.
34984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34985
a65c0b7a
UD
349862011-07-21 Ulrich Drepper <drepper@gmail.com>
34987
34988 * string/tester.c (test_strcat): Add tests for different alignments
34989 of source and destination.
34990 (test_strncat): Likewise.
34991
6986b98a
UD
349922011-07-20 Ulrich Drepper <drepper@gmail.com>
34993
90bb2039
UD
34994 [BZ #12852]
34995 * posix/glob.c (glob): Check passed in values before using them in
34996 expressions to avoid some overflows.
34997 (glob_in_dir): Likewise.
34998
5644ef54
UD
34999 [BZ #13007]
35000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35001 check for AVX enablement so that we don't crash with old kernels and
35002 new hardware.
35003 * elf/tst-audit4.c: Add same checks here.
35004 * elf/tst-audit6.c: Likewise.
35005
35006 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35007
bfc9dc9b
AS
350082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35009
35010 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35011
702e64bb
UD
350122011-07-20 Ulrich Drepper <drepper@gmail.com>
35013
35014 * po/cs.po: Update from translation team.
35015 * po/bg.po: Likewise.
35016
295e904f
MP
350172011-07-12 Marek Polacek <mpolacek@redhat.com>
35018
35019 * misc/sys/cdefs.h: Add support for const attribute.
35020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35021 to gnu_dev_{major,minor,makedev} functions.
35022
3ff94596
MP
350232011-07-20 Marek Polacek <mpolacek@redhat.com>
35024
35025 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35026
28b59fca
AS
350272011-07-20 Andreas Schwab <schwab@redhat.com>
35028
35029 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35030 strlen results.
35031
19df733e
AK
350322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35033
35034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35035 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35036 register in order to avoid conflicts with the soft frame pointer
35037 being held in r11 when necessary.
35038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35039 (INTERNAL_VSYSCALL_NCS): Likewise.
35040
c8835729
MP
350412011-07-14 Marek Polacek <mpolacek@redhat.com>
35042
35043 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35044 * elf/dl-fini.c (_dl_fini): Adjust caller.
35045 * elf/dl-close.c (_dl_close_worker): Likewise.
35046 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35047
b902330c
MP
350482011-07-15 Marek Polacek <mpolacek@redhat.com>
35049
8991e135
MP
35050 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35051 "aux_cache->nlibs < 0".
35052
b902330c
MP
35053 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35054 in the reload-count case.
35055
99710781
LD
350562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35057
35058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35059 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35060 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35061 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35062 * sysdeps/x86_64/multiarch/strcat.S: New file.
35063 * sysdeps/x86_64/multiarch/strncat.S: New file.
35064 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35066 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35067 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35069 (USE_AS_STRCAT): Define.
35070 Add strcat and strncat support.
35071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35073 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35074 * string/strncat.c: Update.
35075 (USE_AS_STRNCAT): Define.
35076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35077 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35078 and i7.
35079 * sysdeps/x86_64/multiarch/init-arch.h
35080 (bit_Prefer_PMINUB_for_stringop): New.
35081 (index_Prefer_PMINUB_for_stringop): Likewise.
35082 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35083 bit_Prefer_PMINUB_for_stringop.
35084
7dc6bd90
UD
350852011-07-19 Ulrich Drepper <drepper@gmail.com>
35086
35087 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35088 buffer64.
35089 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35090 of casting of buffer.
35091 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35092 buffer32 and buffer64.
35093 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35094 writes instead of casting of buffer.
35095 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35096 buffer32.
35097 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35098 casting of buffer.
35099
e0e72284
AS
351002011-07-19 Andreas Schwab <schwab@redhat.com>
35101
35102 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35103
feb1eb0b
UD
351042011-07-19 Ulrich Drepper <drepper@gmail.com>
35105
35106 * nscd/nscd.c (termination_handler): Don't do anything for a database
35107 if it has not yet been initialized.
35108
298711ff
UD
351092011-07-18 Ulrich Drepper <drepper@gmail.com>
35110
35111 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35112
351132011-07-15 Marek Polacek <mpolacek@redhat.com>
35114
35115 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35116
f9d68389
UD
351172011-07-18 Ulrich Drepper <drepper@gmail.com>
35118
35119 * po/nl.po: Update from translation team.
35120 * po/sv.po: Likewise.
35121
db290cf5
RM
351222011-07-16 Roland McGrath <roland@hack.frob.com>
35123
35124 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35125 now disallowed by GCC.
5c550700 35126
fd5e21c7
RM
35127 * configure.in (use-default-link): Default to yes if a test -shared
35128 link meets our qualifications.
35129 * configure: Regenerated.
35130
5c550700
RM
35131 * config.make.in (output-format): New variable.
35132 * configure.in: Check for ld --print-output-format support.
35133 * configure: Regenerated.
35134 * Makerules ($(common-objpfx)format.lds)
35135 [$(output-format) != unknown]: Just use $(output-format),
35136 instead of the linker-script munging.
35137
9fa2c032
RM
351382011-07-14 Roland McGrath <roland@hack.frob.com>
35139
a6928d51
RM
35140 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35141 of $(common-objpfx)shlib.lds.
35142 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35143
661607b3
RM
35144 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35145 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35146
9fa2c032
RM
35147 * configure.in (-z relro check): Adjust test code to add a large
35148 writable data section after it.
35149 * configure: Regenerated.
35150
defe9061
RM
351512011-07-11 Roland McGrath <roland@hack.frob.com>
35152
35153 * configure.in (-z relro check): Fix test code to make the variable
35154 truly const.
35155 * configure: Regenerated.
35156
319b9ad4
UD
351572011-07-11 Ulrich Drepper <drepper@gmail.com>
35158
35159 * nscd/nscd.h (struct traced_file): Define.
35160 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35161 elements. Add traced_files.
35162 (inotify_fd): Declare.
35163 (register_traced_file): Declare.
35164 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35165 (inotify_fd): Export.
35166 (resolv_conf_descr): Remove.
35167 (nscd_init): Move inotify descriptor creation to main.
35168 Don't register files for notification here.
35169 (register_traced_file): New function.
35170 (invalidate_cache): Don't use reset_res to determine whether to call
35171 res_init, go through the list of registered files.
35172 (main_loop_poll): The inotify descriptors are now stored in the
35173 structures for the traced files.
35174 (main_loop_epoll): Likewise
35175 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35176 to __nss_disable_nscd.
35177 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35178 for a database anymore. Check the records for all the registered
35179 files instead.
35180 * nss/Makefile (libnss_files-routines): Add files-init.
35181 (libnss_db-routines): Add db-init.
35182 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35183 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35184 * nss/nss_db/db-init.c: New file.
35185 * nss/nss_files/files-init.c: New file.
35186 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35187 __nss_lookup_function.
35188 (__nss_lookup_function): Call nss_load_library.
35189 (nss_load_all_libraries): New function.
35190 (__nss_disable_nscd): Take parameter with callback function for files
35191 to register. Set is_nscd. Load all the DSOs for the NSS modules
35192 used for the cached services.
35193 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35194 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35195 options for features to all the files in nscd.
35196
35197 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35198
23bee3e8
RM
351992011-07-10 Roland McGrath <roland@hack.frob.com>
35200
35201 * csu/elf-init.c (__libc_csu_init): Comment typo.
35202
46a5b7f0
UD
352032011-07-09 Ulrich Drepper <drepper@gmail.com>
35204
35205 * po/pl.po: Update from translation team.
35206 * po/ja.po: Likewise.
35207 * po/ru.po: Likewise.
35208 * po/ko.po: Likewise.
35209 * po/fr.po: Likewise.
35210
d30cf5bb
RM
352112011-07-09 Roland McGrath <roland@hack.frob.com>
35212
113ddea4
RM
35213 * configure.in (.ctors/.dtors header and trailer check):
35214 Use an empirical test on a built program.
35215 * configure: Regenerated.
35216
574920b4
RM
35217 * configure.in (-z relro check): Use an empirical test on a built DSO.
35218 Detect, but do not require, on ia64.
35219 * configure: Regenerated.
35220
d30cf5bb
RM
35221 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35222 Update tests that use readelf to use $READELF instead.
35223 * configure: Regenerated.
35224
8538fdb3
UD
352252011-07-08 Ulrich Drepper <drepper@gmail.com>
35226
35227 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35228 if the result is not used.
35229
04d08991
AJ
352302011-07-05 Andreas Jaeger <aj@suse.de>
35231
35232 [BZ#9696]
35233 * stdlib/tst-strtod.c: Add testcase.
35234
de283087
AD
352352011-07-07 Ulrich Drepper <drepper@gmail.com>
35236
4e5f31c8 35237 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35238 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35239 The latter has a higher limit. Take additional parameter to pass to
35240 the new function.
35241 (__pathconf): Pass file to __statfs_link_max.
35242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35243 __statfs_link_max.
35244 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35245 __statfs_link_max.
35246
de283087
AD
35247 [BZ #12868]
35248 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35250 Handle Lustre.
35251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35252 (__statfs_filesize_max): Likewise.
35253 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35254
c75fa153
AJ
352552011-07-05 Andreas Jaeger <aj@suse.de>
35256
35257 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35258
1a544854
UD
352592011-07-06 Marek Polacek <mpolacek@redhat.com>
35260
35261 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35262 `status' variable.
35263 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35264 Likewise.
35265
6f0eec67
UD
352662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * Makefile (strop-tests): Add strncat.
35269 * string/test-strncat.c: New file.
35270
aae30307
UD
352712011-06-30 Marek Polacek <mpolacek@redhat.com>
35272
35273 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35274
c0cfb5eb
UD
352752011-06-21 Andreas Jaeger <aj@suse.de>
35276
35277 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35278 Copy rule from iconvdata/Makefile.
35279
01636b21
UD
352802011-07-06 Ulrich Drepper <drepper@gmail.com>
35281
35282 [BZ #12922]
35283 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35284 but no long options are defined, just return 'W'.
35285
9895c8bc
UD
352862011-06-22 Marek Polacek <mpolacek@redhat.com>
35287
35288 [BZ #9696]
35289 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35290
5d4cf042
UD
352912011-07-06 Ulrich Drepper <drepper@gmail.com>
35292
35293 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35294 netgroups to read.
960e5535 35295 (innetgr): Likewise.
5d4cf042 35296
751eb97e
RM
352972011-07-05 Roland McGrath <roland@hack.frob.com>
35298
35299 * config.make.in (install_root): Default to $(DESTDIR).
35300
f15f1e45
UD
353012011-07-05 Ulrich Drepper <drepper@gmail.com>
35302
35303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35304
4e34ac6a
RM
353052011-07-02 Roland McGrath <roland@hack.frob.com>
35306
5e9b6af4
RM
35307 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35308
84f9ea0f
RM
35309 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35310 containing directory rather than embedding absolute directory names.
35311
ea5ee9f7
RM
35312 * scripts/check-local-headers.sh: Rewritten using awk.
35313 Match by word, not by line. Print error messages for matches.
35314 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35315
1b74661a
RM
35316 * Makerules [shlib-lds-flags empty]:
35317 ($(common-objpfx)libc_pic.opts): New target.
35318 ($(common-objpfx)libc_pic.os.clean): New target.
35319 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35320
35321 * config.make.in (OBJCOPY): New variable.
35322 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35323 * configure: Regenerated.
35324
f781ef40
RM
35325 * config.make.in (use-default-link): New variable.
35326 * configure.in (use_default_link): Grok --with-default-link to set it.
35327 * configure: Regenerated.
35328 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35329 (shlib-lds, shlib-lds-flags): Define to empty.
35330
2d4fa81e
RM
35331 * Makerules (shlib-lds): New variable.
35332 (shlib-lds-flags): New variable.
35333 (build-shlib, build-moduile, build-module-asneeded): Use it.
35334 ($(common-objpfx)libc.so): Use $(shlib-lds).
35335 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35336 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35337
31fffa6b
RM
35338 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35339 DT_FLAGS/DT_FLAGS_1 with zero flags.
35340
4e34ac6a
RM
35341 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35342 linker script munging.
35343
fcfc776b
UD
353442011-07-02 Ulrich Drepper <drepper@gmail.com>
35345
35346 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35347 as 128-bit value.
35348 * crypt/sha512.c (sha512_process_block): Perform total addition using
35349 128-bit if possible.
35350 (__sha512_finish_ctx): Likewise.
35351 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35352 as 64-bit value.
35353 * crypt/sha256.c (SWAP64): Define.
35354 (sha256_process_block): Perform total addition using 64-bit if
35355 possible.
35356 (__sha256_finish_ctx): Likewise.
35357
99231d9a
UD
353582011-07-01 Ulrich Drepper <drepper@gmail.com>
35359
35360 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35362 * nscd/hstcache.c (cache_addhst): Likewise.
35363 * nscd/grpcache.c (cache_addgr): Likewise.
35364 * nscd/aicache.c (addhstaiX): Likewise
35365 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35366
445b4a53
TK
353672011-07-01 Thorsten Kukuk <kukuk@suse.de>
35368
35369 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35371 * nscd/hstcache.c (cache_addhst): Likewise.
35372 * nscd/grpcache.c (cache_addgr): Likewise.
35373 * nscd/aicache.c (addhstaiX): Likewise
35374
6d4d8e8e
AS
353752011-07-01 Andreas Schwab <schwab@redhat.com>
35376
35377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35378 domain only when needed.
35379
89f654c5
AS
353802011-06-30 Andreas Schwab <schwab@redhat.com>
35381
35382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35383 is always restored.
35384
cf3b23ff
UD
353852011-06-29 Ulrich Drepper <drepper@gmail.com>
35386
35387 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35388 are re-adding the entry.
35389 * nscd/servicescache.c (cache_addserv): Likewise.
35390
751626f9
AJ
353912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35392
35393 * sysdeps/generic/dl-irel.h: fix protection against multiple
35394 inclusions.
35395 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35396
9113ea1f
UD
353972011-06-28 Ulrich Drepper <drepper@gmail.com>
35398
5c0b8d90
UD
35399 [BZ #12935]
35400 * malloc/memusage.sh: Fix quoting in message.
35401 * debug/xtrace.sh: Likewise.
35402
9113ea1f
UD
35403 * configure.in: Remove support for --experimental-malloc option, make
35404 it the default.
35405 * config.make.in: Likewise.
35406 * malloc/Makefile: Likewise.
35407
a4172181
AS
354082011-06-27 Andreas Schwab <schwab@redhat.com>
35409
35410 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35411 two-byte characters.
35412
78a7eee7
RM
354132011-06-27 Roland McGrath <roland@hack.frob.com>
35414
62bede13
RM
35415 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35416 AC_CACHE_CHECK invocation.
35417 * configure: Regenerated.
35418
78a7eee7
RM
35419 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35420
5ce33a62
UD
354212011-06-27 Ulrich Drepper <drepper@gmail.com>
35422
034807a9
UD
35423 [BZ #12350]
35424 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35425 bit from old_res_options.
35426
4902da17
UD
35427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35428
5ce33a62
UD
35429 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35430 value type for setfct.
35431
c2344f56
L
354322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35433
35434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35435 __gettimeofday instead of gettimeofday.
35436
68468076
UD
354372011-06-26 Ulrich Drepper <drepper@gmail.com>
35438
35439 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35440
acb0d739
L
354412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35442
35443 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35444
35445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35446 info.
35447
8912479f
L
354482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35449
35450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35451 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35452 strcpy-sse2-unaligned strncpy-sse2-unaligned
35453 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35454 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35455 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35456 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35457 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35460 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35461 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35462 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35463 (STRCPY): Support SSE2 and SSSE3 versions.
35464
d5495a11
UD
354652011-06-24 Ulrich Drepper <drepper@gmail.com>
35466
35467 [BZ #12874]
35468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35469 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35470 kernels which artificially limit size of requests.
35471
0b1cbaae
L
354722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35473
35474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35475 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35476 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35477 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35478 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35479 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35480 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35481 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35484 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35485 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35486 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35487 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35488 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35490 Enable unaligned load optimization for Intel Core i3, i5 and i7
35491 processors.
35492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35493 Define.
35494 (index_Fast_Unaligned_Load): Define.
35495 (HAS_FAST_UNALIGNED_LOAD): Define.
35496
07f494a0
MP
354972011-06-23 Marek Polacek <mpolacek@redhat.com>
35498
35499 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35500
fa3fc0fe
UD
355012011-06-22 Ulrich Drepper <drepper@gmail.com>
35502
35503 [BZ #12907]
35504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35505 until it is clear that the information is realy needed.
35506 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35507
e12df166
AS
355082011-06-22 Andreas Schwab <schwab@redhat.com>
35509
35510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35511
852eb34d
UD
355122011-06-22 Ulrich Drepper <drepper@gmail.com>
35513
84e2a551
UD
35514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35515 /sys/devices/system/cpu/online if it is usable.
35516
852eb34d
UD
35517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35518 reading the information from the /proc filesystem to once a second.
35519
6e502e19
UD
355202011-06-21 Andreas Jaeger <aj@suse.de>
35521
35522 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35523 NULL after inclusion of kernel headers.
35524
75d39ff2
UD
355252011-06-21 Ulrich Drepper <drepper@gmail.com>
35526
51f9aa6a
UD
35527 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35528 calls to internal_setent.
35529
c0244a9d
UD
35530 [BZ #12885]
35531 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35532 addresses using gethostbyname4_r ignore IPv4 addresses.
35533
c5e3c2ae
UD
35534 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35535 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35536
75d39ff2
UD
35537 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35538
42675c6f
DM
355392011-06-20 David S. Miller <davem@davemloft.net>
35540
35541 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35542 inclusions.
35543 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35544
35545 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35546 (elf_irel): Use it.
35547 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35548 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35549 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35550 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35551 * sysdeps/x86_64/dl-irel.h: Likewise.
35552
35553 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35554 * elf/dl-sym.c: Likewise.
35555
57912a71
UD
355562011-06-15 Ulrich Drepper <drepper@gmail.com>
35557
35558 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35559 need to dereference resplen2.
35560
ee22793d
AS
355612011-06-14 Andreas Schwab <schwab@redhat.com>
35562
35563 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35564
a9e836b0
UD
355652011-06-15 Ulrich Drepper <drepper@gmail.com>
35566
77fb9117
UD
35567 * Makeconfig: Define vardbdir and inst_vardbdir.
35568 * nss/Makefile: Add rules to install db-Makefile.
35569
40c1b22c
UD
35570 * nss/nss_db/db-XXX.c: Cleanup.
35571
9f2da732
UD
35572 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35573 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35574 GLIBC_PRIVATE.
35575 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35576 * nss/makedb.c: Implement -g option to specify that value strings
35577 are generated and should not be added to table iterated over for
35578 get*ent calls.
35579 * nss/nss_db/db-initgroups.c: New file.
35580
82e9a1f7
UD
35581 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35582 interface.
35583
c41af17e
UD
35584 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35585 (internal_getgrouplist): Adjust to name change.
35586 Update use_initgroups_entry if this is not the first call.
35587 * nss/databases.def: Add initgroups entry.
35588
a9e836b0
UD
35589 * nss/makedb.c (compute_tables): Check result of multiple hash table
35590 sizes to minimize maximum chain length.
35591
2666d441
UD
355922011-06-14 Ulrich Drepper <drepper@gmail.com>
35593
35594 * Versions.def: Add entry for libnss_db.
35595 * shlib-versions: Likewise.
35596 * nss/Makefile: Add rules to build libnss_db.
35597 * nss/Versions: Add libnss_db information. Organize libnss_files
35598 entries better.
35599 * nss/db-Makefile: Add gshadow support. Change rules for the new
35600 makedb progra. Some minor improvements to generate smaller files.
35601 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35602 here from...
35603 * nss/makedb.c: ...here.
35604 Improve database format to be smaller and require less memory at
35605 runtime.
35606 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35607 db anymore.
35608 * nss/nss_db/db-netgrp.c: Likewise.
35609 * nss/nss_db/db-open.c: Likewise.
35610 * nss/nss_files/flies-XXX.x: Adjust comments.
35611 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35612 * nss/nss_files/files-grp.c: Likewise.
35613 * nss/nss_files/files-hosts.c: Likewise.
35614 * nss/nss_files/files-network.c: Likewise.
35615 * nss/nss_files/files-proto.c: Likewise.
35616 * nss/nss_files/files-pwd.c: Likewise.
35617 * nss/nss_files/files-rpc.c: Likewise.
35618 * nss/nss_files/files-service.c: Likewise.
35619 * nss/nss_files/files-sgrp.c: Likewise.
35620 * nss/nss_files/files-spwd.c: Likewise.
35621 * nss/nss_db/db-alias.c: Removed.
35622 * nss/nss_db/dummy-db.h: Removed.
35623
9ee76b5a
UD
356242011-06-02 Ulrich Drepper <drepper@gmail.com>
35625
35626 * nss/makedb.c: Rewritten to not use database library.
35627 * nss/Makefile: Update to build new makedb program.
35628
c71ca1f8
AJ
356292011-06-14 Andreas Jaeger <aj@suse.de>
35630
35631 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35632 memset declaration.
35633
3154bfb8
UD
356342011-06-10 Andreas Schwab <schwab@redhat.com>
35635
35636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35637 tmpbuf.
35638
b350afab
RM
356392011-06-10 Roland McGrath <roland@hack.frob.com>
35640
decd4e50
RM
35641 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35642 * elf/Makefile ($(objpfx)ld.so): Likewise.
35643
5615eaf2
RM
35644 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35645 Don't list ld.so twice in dependencies.
35646
35647 * posix/bug-regex31.c: Include <stdlib.h>.
35648
35649 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35650
35651 * nis/nss_compat/compat-spwd.c
35652 (getspent_next_nss_netgr): Remove unused variable.
35653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35654
35655 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35656 nonmembers" output to use the right array.
35657
35658 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35659
35660 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35661
35662 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35663 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35664 * catgets/gencat.c (read_input_file): Likewise.
35665 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35666
35667 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35668 variable definition inside #if's controlling its use.
35669
35670 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35671
35672 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35673
35674 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35675
35676 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35677 unreachable code.
35678
35679 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35680
b68e08db
RM
35681 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35682 * configure: Regenerated.
35683
b350afab
RM
35684 * Makerules: Revert last change.
35685 * elf/Makefile: Likewise.
35686
28368601
RM
356872011-06-09 Roland McGrath <roland@hack.frob.com>
35688
35689 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35690 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35691 (reloc-link): Likewise.
35692
11988f8f
UD
356932011-06-09 Ulrich Drepper <drepper@gmail.com>
35694
35695 * elf/Makefile: Add rules to build pldd.
35696 * elf/pldd.c: New file.
35697 * elf/pldd-xx.c: New file.
35698
e80fab37
UD
356992011-06-07 Ulrich Drepper <drepper@gmail.com>
35700
35701 * version.h: Update for 2.15 development version.
35702
9b849836
DM
357032011-06-07 David S. Miller <davem@davemloft.net>
35704
35705 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35706 ifuncs.
35707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35708 elf_machine_lazy_rel): Likewise.
35709 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35711 elf_machine_lazy_rel): Likewise.
35712 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35713 dl_hwcap via passed in argument.
35714 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35715 Likewise.
35716
5a31b283
AK
357172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35718
35719 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35720
069e52f8
RM
357212011-06-06 Roland McGrath <roland@hack.frob.com>
35722
35723 [BZ #12849]
35724 * manual/fdl-1.1.texi: New file, verbatim from:
35725 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35726 * manual/lgpl-2.1.texi: New file, verbatim from:
35727 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35728 * manual/Makefile (licenses): New variable, list those new file names.
35729 (texis): Use it.
35730 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35731
35732 * manual/fdl.texi: File removed.
35733 * manual/lesser.texi: File removed.
35734 * manual/libc.texinfo (Copying, Documentation License):
35735 Use new @include file names, put @appendix directive before @include.
35736
f16846a5
JJ
357372011-06-04 Jakub Jelinek <jakub@redhat.com>
35738
35739 [BZ #12841]
35740 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35741 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35742 (mq_open): Add __NTH.
35743
3d29045b
L
357442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35745
35746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35747 Assume Intel Core i3/i5/i7 processor if AVX is available.
35748
8c297311
UD
357492011-05-31 Ulrich Drepper <drepper@gmail.com>
35750
35751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35752 typo.
35753
c8fc0c91
UD
357542011-05-31 Andreas Schwab <schwab@redhat.com>
35755
35756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35757 memory. Use alloca_account. Fix memory leak when retrying.
35758
5b27a807
UD
357592011-05-31 Ulrich Drepper <drepper@gmail.com>
35760
356f8bc6
UD
35761 * version.h (RELEASE): Bump for 2.14 release.
35762 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35763
5b27a807
UD
35764 * config.make.in (RANLIB): Remove entry.
35765
01f16ab0
UD
357662011-05-30 Ulrich Drepper <drepper@gmail.com>
35767
41fce8bd
UD
35768 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35769 (libc.pot): Work around missing support for .ksh extension in xgettext.
35770
4769ae77
UD
35771 [BZ #12684]
35772 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35773 if both request failed.
35774 (send_dg): In case of server errors clear resplen or *resplen2.
35775
6b1e7d19
UD
35776 [BZ #12454]
35777 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35778 when there are multiple maps.
35779 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35780 (_dl_fini): Remove test here.
35781
01f16ab0
UD
35782 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35783
b1ebd700
UD
357842011-05-29 Ulrich Drepper <drepper@gmail.com>
35785
7ae22829
UD
35786 [BZ #12350]
35787 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35788 bit from old_res_options.
35789 (gaih_inet): Likewise.
35790
553149f6 35791 [BZ #11099]
18a84741 35792 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35793 as signed.
35794
652ffab1
UD
35795 * resolv/res_init.c (res_setoptions): Make the code more compact.
35796
16985fd0
UD
35797 [BZ #11558]
35798 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35799 set RES_USEVC.
35800
0464f746
UD
35801 [BZ #11634]
35802 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35803
7d17596c
UD
35804 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35805
cf6bbbd7
UD
35806 [BZ #11781]
35807 * malloc/malloc.h: Declare malloc hook variables as volatile.
35808
13f1ab36
UD
35809 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35810 in last patch.
35811
b1ebd700
UD
35812 [BZ #11799]
35813 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35814 raise in the comment.
80e2212d
UD
35815 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35817 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35818
ce67228d
UD
358192011-05-28 Ulrich Drepper <drepper@gmail.com>
35820
8887a920
UD
35821 [BZ #12811]
35822 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35823 grow the buffers more if it already has to be sufficient.
35824 (build_wcs_upper_buffer): Likewise.
35825 * posix/regexec.c (check_matching): Likewise.
35826 (clean_state_log_if_needed): Likewise.
35827 (extend_buffers): Don't enlarge buffers beyond size of the input
35828 buffer.
35829 Patches mostly by Emil Wojak <emil@wojak.eu>.
35830 * posix/bug-regex32.c: New file.
35831 * posix/Makefile (tests): Add bug-regex32.
35832
4f031072
UD
35833 * locale/findlocale.c (_nl_find_locale): Return right away if
35834 _nl_explode_name failed.
35835 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35836
d0478f0c
UD
35837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35838
de81b246
UD
35839 * debug/xtrace.sh: Unify messages.
35840 * malloc/memusage.sh: Likewise.
35841
c738465a
UD
35842 [BZ #12813]
35843 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35844 time symbol from vDSO. Substitute with vsyscall if not available.
35845 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35846 __vdso_time.
35847
f1f929d7
UD
35848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35849 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35850 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35851 Add sendmmsg and internal_sendmmsg.
35852 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35854 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35855
ce67228d
UD
35856 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35857 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35859
e57420c6
UD
358602011-05-27 Ulrich Drepper <drepper@gmail.com>
35861
a8509ca5
UD
35862 [BZ #12813]
35863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35864 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35865 available.
35866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35867 __vdso_getcpu.
35868
e57420c6
UD
35869 [BZ #12814]
35870 * iconvdata/Makefile (tests): Add bug-iconv9.
35871 * iconvdata/bug-iconv9.c: New file.
35872
4d07db15
AS
358732011-05-27 Andreas Schwab <schwab@redhat.com>
35874
35875 [BZ #12814]
35876 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35877
ea486f69
JJ
358782011-05-25 Jakub Jelinek <jakub@redhat.com>
35879
35880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35881 (struct user_regs_struct): Change intcs field back to cs.
35882
6f038433
UD
358832011-05-25 Ulrich Drepper <drepper@gmail.com>
35884
35885 * po/ja.po: Update from translation team.
35886
67f86a25
UD
358872011-05-23 Ulrich Drepper <drepper@gmail.com>
35888
35889 [BZ #12795]
35890 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35892
def7fbd6
AS
358932011-05-20 Andreas Schwab <schwab@redhat.com>
35894
35895 * stdlib/longlong.h: Update from GCC.
35896
f50ef8f1
AS
358972011-05-23 Andreas Schwab <schwab@redhat.com>
35898
35899 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35900 parameter name.
35901 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35902 Add parameter name.
35903 (__sysconf): Pass it down.
35904
de7ce8f1
UD
359052011-05-22 Ulrich Drepper <drepper@gmail.com>
35906
f2962a71
UD
35907 [BZ #12671]
35908 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35909 some situations.
35910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35911 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35912 add in in __libc_use_alloca calls. Adjust callers.
35913 (glob): Use malloc in some situations.
35914
de7ce8f1
UD
35915 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35916 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35917 pltexit.
35918
aec84f53
UD
359192011-05-21 Ulrich Drepper <drepper@gmail.com>
35920
05bb4a68
UD
35921 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35922 and CLOCK_BOOTTIME_ALARM.
35923
7ea72f99
UD
35924 [BZ #12782]
35925 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35926 is returned.
35927
7e4afad5
UD
35928 * string/_strerror.c (__strerror_r): Print negative errors as signed
35929 numbers.
35930
8e211fec
UD
35931 [BZ #12777]
35932 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35933 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35934 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35935
f7d82dc9
UD
35936 * configure.in: Fix typo in redirection and correct removal of test
35937 files in two cases.
35938
cc9e536d
UD
35939 [BZ #12788]
35940 * locale/setlocale.c (new_composite_name): Fix test to check for
35941 identical name of all categories.
35942
aec84f53
UD
35943 [BZ #12792]
35944 * libio/filedoalloc.c (local_isatty): New function.
35945 (_IO_file_doallocate): Use local_isatty.
35946 * stdio-common/perror.c (perror): In case a new stream is used
35947 forward the stream error.
35948 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35949 error flag.
35950
78e64fdc
RT
359512011-05-20 Ulrich Drepper <drepper@gmail.com>
35952
34a9094f
UD
35953 [BZ #11869]
35954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35955 alloca.
35956 * include/alloca.h (extend_alloca_account): Define.
35957
78e64fdc
RT
35958 [BZ #11857]
35959 * posix/regex.h: Fix comments with documentation of user-accessible
35960 fields after compilation and describe correct free'ing of pattern
35961 after re_compile_pattern.
35962 Patch by Reuben Thomas <rrt@sc3d.org>.
35963
457bddfc
RA
359642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35965
35966 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35967 and -mno-altivec to prevent the compiler from using Altivec and/or
35968 VSX instructions when the corresponding registers are not available.
35969
a4527b51
AS
359702011-05-19 Andreas Schwab <schwab@redhat.com>
35971
35972 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35973
ed690b2f
UD
359742011-05-19 Ulrich Drepper <drepper@gmail.com>
35975
35976 * libio/freopen.c (freopen): Use __dup2, not dup2.
35977 * libio/freopen64.c (freopen64): Likewise.
35978
8db73634
L
359792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35980
35981 [BZ #12775]
35982 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35983 * math/Makefile (tests): Add test-powl.
35984 (CFLAGS-test-powl.c): Define.
35985 * math/test-powl.c: New file.
35986
0a197a9d
L
359872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35988
35989 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35990
ee30c380
UD
359912011-05-17 Ulrich Drepper <drepper@gmail.com>
35992
35993 [BZ #11837]
35994 * iconvdata/gb18030.c: Update to GB18020-2005.
35995
6ce75379
UD
359962011-05-16 Ulrich Drepper <drepper@gmail.com>
35997
a4b89fd8
AR
35998 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35999 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36000 Patch by Aharon Robbins <arnold@skeeve.com>.
36001
ea389b12
UD
36002 [BZ #11892]
36003 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36004 on the stack.
36005
68a3f91f
UD
36006 [BZ #11895]
36007 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36008 through underflows.
36009
15cc7dd1
UD
36010 [BZ #12766]
36011 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36012 point to strings before performing equality test for error_one_per_line
36013 mode.
36014
f3799213
UD
36015 [BZ #11697]
36016 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36017
d79a9c94
UD
36018 [BZ #11820]
36019 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36020 (struct user_fpregs_struct): Avoid __uint*_t types.
36021
56e5eb46
UD
36022 [BZ #6420]
36023 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36024 symbol info. Use it instead of calling _dl_addr locally.
36025 (lock_and_info): New function.
36026 (tr_freehook): Call lock_and_info and pass symbol info as additional
36027 parameter to tr_where.
36028 (tr_mallochook): Likewise.
36029 (tr_reallochook): Likewise.
36030 (tr_memalignhook): Likewise.
36031
6ce75379
UD
36032 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36033 used and couldn't be at all thread-safe.
36034
f8a3b5bf
UD
360352011-05-15 Ulrich Drepper <drepper@gmail.com>
36036
94b7cc37
UD
36037 * libio/freopen.c (freopen): Don't close old file descriptor
36038 before the new one is opened. Instead dup the new file descriptor
36039 to the old one after the new stream is created.
36040 * libio/freopen64.c (freopen64): Likewise.
36041 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36042 * libio/fileops.c (_IO_new_file_close_it): Handle new
36043 _IO_FLAGS2_NOCLOSE flag.
36044 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36045 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36046 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36047 _IO_FLAGS2_NOCLOSE flag.
36048 * include/unistd.h: Add hidden_proto for dup3.
36049 Define __have_dup3.
36050 * io/dup3.c: Define hidden symbol.
36051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36052
bd25564e
UD
36053 [BZ #7101]
36054 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36055 when an incomplete long option is used.
36056 * posix/tst-getopt_long1.c: New file.
36057 * posix/Makefile (tests): Add tst-getopt_long1.
36058
c84cfef4
UD
36059 [BZ #10138]
36060 * scripts/config.guess: Update from autoconf-2.68.
36061 * scripts/config.sub: Likewise.
36062
3b85df27
UD
36063 [BZ #10157]
36064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36065 tests into ...
36066 (has_cpuclock): ...this. New function.
36067 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36068 macro here based on has_cpuclock code.
36069
15a856b1
UD
36070 [BZ #10149]
36071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36072 First byte (not low byte) is now always NUL.
36073 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36074
05f399e6
UD
36075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36076 Use non-cancelable interfaces.
36077
10a52685 36078 [BZ #9809]
94ecc67d
UD
36079 * locale/iso-639.def: Add entry for Sorani.
36080
f8a3b5bf
UD
36081 [BZ #11901]
36082 * include/stdlib.h: Move include protection to the right place.
36083 Define abort_msg_s. Declare __abort_msg with it.
36084 * stdlib/abort.c (__abort_msg): Adjust type.
36085 * assert/assert.c (__assert_fail_base): New function. Majority
36086 of code from __assert_fail. Allocate memory for __abort_msg with
36087 mmap.
36088 (__assert_fail): Now call __assert_fail_base.
36089 * assert/assert-perr.c: Remove bulk of implementation. Use
36090 __assert_fail_base.
36091 * include/assert.hL Declare __assert_fail_base.
36092 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36093 mmap.
36094 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36095
1af4e298
UD
360962011-05-14 Ulrich Drepper <drepper@gmail.com>
36097
f8a3b5bf 36098 [BZ #11952]
d26dfc60
MG
36099 [BZ #12453]
36100 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36101 until all modules are registered in the DTV.
36102 * elf/Makefile: Add rules to build and run tst-tls19.
36103 * elf/tst-tls19.c: New file.
36104 * elf/tst-tls19mod1.c: New file.
36105 * elf/tst-tls19mod2.c: New file.
36106 * elf/tst-tls19mod3.c: New file.
36107 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36108
2fc54d6f
UD
36109 [BZ #12083]
36110 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36111 correctly.
36112
98d76b46
UD
36113 [BZ #12601]
36114 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36115 two-byte sequence errors.
36116 * iconvdata/Makefile (tests): Add bug-iconv8.
36117 * iconvdata/bug-iconv8.c: New file.
36118
da3c19ef
UD
36119 [BZ #12626]
36120 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36121 buf2 definition.
36122
ca408c15
UD
36123 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36124
d6f67f7d
UD
36125 [BZ #12432]
36126 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36127 (dummy_getcfa): New function.
36128 (init): Get _Unwind_GetCFA address, use dummy if not found.
36129 (backtrace_helper): In recursion check, also check whether CFA changes.
36130 (__backtrace): Completely initialize arg.
36131
1af4e298 36132 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36133 storing incomplete byte sequence in state object. Avoid testing for
36134 guaranteed too small input if we know there is enough data available.
1af4e298 36135
da62f81b
AS
361362011-05-11 Andreas Schwab <schwab@redhat.com>
36137
36138 * Makeconfig (+link-pie): Indent.
36139 * Rules (binaries-pie): Define if $(have-fpie) and
36140 $(build-shared).
36141 (binaries-shared): Also filter out $(binaries-pie).
36142 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36143 * nscd/Makefile (others-pie): Add nscd.
36144 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36145 ($(objpfx)nscd): Remove command override.
36146 * login/Makefile (others-pie): Add pt_chown.
36147 ($(objpfx)pt_chown): Remove command override.
36148 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36149 remove command overrides.
36150
fcabc0f8
UD
361512011-05-13 Ulrich Drepper <drepper@gmail.com>
36152
20030ae6
UD
36153 * libio/tst_putwc.c: Fix error messages.
36154
fcabc0f8
UD
36155 [BZ #12724]
36156 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36157 currently writing and seek to current position when not.
36158 * libio/Makefile (tests): Add bug-fclose1.
36159 * libio/bug-fclose1.c: New file.
36160
320a5dc0
PB
361612011-05-12 Ulrich Drepper <drepper@gmail.com>
36162
36163 [BZ #12511]
36164 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36165 don't set DF_1_NODELETE here.
36166 (do_lookup_x): When entering new entry test for copy relocation
36167 and if necessary set DF_1_NODELETE flag.
36168 * elf/tst-unique4.cc: New file.
36169 * elf/tst-unique4.h: New file.
36170 * elf/tst-unique4lib.cc: New file.
36171 * elf/Makefile: Add rules to build and run tst-unique4.
36172 Patch by Piotr Bury <pbury@goahead.com>.
36173
22836f52
UD
361742011-05-11 Ulrich Drepper <drepper@gmail.com>
36175
f574184a
UD
36176 [BZ #12052]
36177 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36178
e1fb097f
UD
36179 [BZ #12625]
36180 * misc/mntent_r.c (addmntent): Flush the stream after the output
36181
22836f52
UD
36182 [BZ #12393]
36183 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36184 (is_trusted_path_normalize): Skip initial colon. Append slash
36185 to empty buffer. Duplicate is_trusted_path code but allow
36186 constructed patch to be prefix.
36187 (is_dst): Allow $ORIGIN followed by /.
36188 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36189 Correct testing of result of is_trusted_path_normalize
36190 (decompose_rpath): Fix warning.
36191
7b3b0b2a
UD
361922011-05-10 Ulrich Drepper <drepper@gmail.com>
36193
36194 [BZ #11257]
36195 * grp/initgroups.c (internal_getgrouplist): When we found the service
36196 list through the initgroups entry in nsswitch.conf do not always
36197 continue on a successful lookup. Don't always use the
eac80ce2 36198 __nss_group_database value if it is set.
7b3b0b2a
UD
36199 * nss/nsswitch.conf (initgroups): Change action for successful db
36200 lookup to continue for compatibility.
36201
2a81eaa5
UD
362022011-05-09 Ulrich Drepper <drepper@gmail.com>
36203
be97a69e
UD
36204 [BZ #11532]
36205 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36206 and CP774 modules.
36207 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36208 and CP774 modules.
36209 * iconvdata/tst-tables.sh: Likewise.
36210 * iconvdata/cp770.c: New file.
36211 * iconvdata/cp771.c: New file.
36212 * iconvdata/cp772.c: New file.
36213 * iconvdata/cp773.c: New file.
36214 * iconvdata/cp774.c: New file.
36215 * iconvdata/testdata/CP770: New file.
36216 * iconvdata/testdata/CP770..UTF8: New file.
36217 * iconvdata/testdata/CP771: New file.
36218 * iconvdata/testdata/CP771..UTF8: New file.
36219 * iconvdata/testdata/CP772: New file.
36220 * iconvdata/testdata/CP772..UTF8: New file.
36221 * iconvdata/testdata/CP773: New file.
36222 * iconvdata/testdata/CP773..UTF8: New file.
36223 * iconvdata/testdata/CP774: New file.
36224 * iconvdata/testdata/CP774..UTF8: New file.
36225
36226 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36227 END CHARMAP line.
36228 * iconvdata/gen-8bit-gap.sh: Likewise.
36229 * iconvdata/gen-8bit.sh: Likewise.
36230
c1e9e399
UD
36231 * locale/iso-639.def: Add ary entry.
36232
24c55fb3 36233 [BZ #11258]
96b4b1b0
UD
36234 * locale/C-translit.h.in: Add U20A1 transliteration.
36235
bdc2f971
KB
36236 [BZ #12178]
36237 * locale/iso-639.def: Add wae entry.
36238 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36239
2952b117
UD
36240 [BZ #12545]
36241 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36242 for n.
36243
2a81eaa5
UD
36244 [BZ #12711]
36245 * locale/C-translit.h.in: Add entry for U20B9.
36246 Patch by pravin.d.s@gmail.com.
36247
28377d1b
UD
362482011-05-08 Ulrich Drepper <drepper@gmail.com>
36249
7fb90fb8
UD
36250 [BZ #12713]
36251 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36252 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36253 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36254 in rtld. Use *stat64.
7fb90fb8 36255 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36256 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36257 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36258 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36259 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36260 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36261 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36262 __fstatat64 macros.
7fb90fb8
UD
36263 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36264 * dirent/rewinddir.c: Add libc_hidden_def.
36265 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36266 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36267
28377d1b
UD
36268 * include/dirent.h (__alloc_dir): Add flags parameter.
36269 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36270 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36271 __alloc_dir.
36272 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36273 from fdopendir if O_CLOEXEC is already set.
36274
66bdbaa4
AM
362752011-03-15 Alan Modra <amodra@gmail.com>
36276
36277 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36278 l_tls_firstbyte_offset non-zero. Save padding offset in
36279 l_tls_firstbyte_offset for later use.
36280 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36281 freeing static tls block.
36282
95721191
JN
362832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36284
36285 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36286 where #ifdef was intended. The intent is to prevent ARG_MAX from
36287 being defined by the kernel headers.
36288
f87dfb1f
UD
362892011-05-07 Ulrich Drepper <drepper@gmail.com>
36290
36291 [BZ #12734]
36292 * resolv/resolv.h: Define RES_NOTLDQUERY.
36293 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36294 no-tld-query and set RES_NOTLDQUERY.
36295 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36296 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36297 modern BIND to search name as TLD unless forbidden.
36298
47c3cd7a
UD
362992011-05-07 Petr Baudis <pasky@suse.cz>
36300 Ulrich Drepper <drepper@gmail.com>
36301
36302 [BZ #12393]
36303 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36304 (is_trusted_path): ...to here.
c1e9ea35 36305 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36306 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36307 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36308
8a35c912
PP
363092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36310
36311 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36312 __BEGIN/__END_DECLS.
36313
acd41f47
UD
363142011-05-06 Ulrich Drepper <drepper@gmail.com>
36315
36316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36317 NSS_STATUS_NOTFOUND if no record was found.
36318
597df647
AS
363192011-05-05 Andreas Schwab <schwab@redhat.com>
36320
36321 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36322 (headers-not-in-tirpc): Remove rpc/netdb.h
36323 * resolv/netdb.h: Revert last change.
36324
b9af1301
PP
363252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36326
36327 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36328 circular dependency between libgcc.a and libc.a.
36329
4e34d5f5
AS
363302011-05-05 Andreas Schwab <schwab@redhat.com>
36331
36332 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36333 * nis/Makefile: Don't install rpcsvc/*.
36334 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36335 instead of <rpc/types.h>.
36336 (MAXHOSTNAMELEN): Define.
36337
00ee369c
AS
363382011-05-03 Andreas Schwab <schwab@redhat.com>
36339
36340 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36341
0b592a30
MB
363422011-04-28 Maciej Babinski <mbabinski@google.com>
36343
36344 [BZ #12714]
36345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36346 gethostbyname4_r when IPv6 results are possible.
36347
6e04cbbe
UD
363482011-05-02 Ulrich Drepper <drepper@gmail.com>
36349
36350 [BZ #12723]
36351 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36352 _PC_PIPE_BUF handling.
36353
e4ecafe0
BH
363542011-04-30 Bruno Haible <bruno@clisp.org>
36355
36356 [BZ #12717]
36357 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36358 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36359 to 'int'.
36360 * inet/getnameinfo.c (getnameinfo): Likewise.
36361
125ee683
UD
363622011-04-29 Ulrich Drepper <drepper@gmail.com>
36363
36364 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36365 to groups setting in database lookup.
36366 * nss/nsswitch.conf: Add initgroups entry.
36367
b722481a
EB
363682011-04-22 Ulrich Drepper <drepper@gmail.com>
36369
36370 [BZ #12685]
36371 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36372 mode string.
36373 Patch by Eric Blake <eblake@redhat.com>.
36374
4df46dbd
L
363752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36376
36377 * sunrpc/Makefile (need-export-routines): Add svc_run.
36378 (routines): Remove svc_run.
36379 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36380 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36381 * sunrpc/svc_run.c (svc_run): Likewise.
36382 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36383
e84142d2
UD
363842011-04-21 Ulrich Drepper <drepper@gmail.com>
36385
36386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36387 problem in reallocation in last patch.
36388
877175d8
UD
363892011-04-20 Ulrich Drepper <drepper@gmail.com>
36390
36391 * sunrpc/Makefile: Move inclusion of Rules.
36392
ab8eed78
UD
363932011-04-19 Ulrich Drepper <drepper@gmail.com>
36394
36395 * nss/nss_files/files-initgroups.c: New file.
36396 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36397 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36398 _nss_files_initgroups_dyn.
36399
e3d8f584
RS
364002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36401
36402 * elf/elf.h (R_ARM_IRELATIVE): Define.
36403
af190f45
UD
364042011-04-19 Ulrich Drepper <drepper@gmail.com>
36405
36406 * po/ru.po: Update from translation team.
36407
53cf59ef
UD
364082011-04-17 Ulrich Drepper <drepper@gmail.com>
36409
36410 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36411 dependencies.
36412
4c559bcd
MF
364132011-02-06 Mike Frysinger <vapier@gentoo.org>
36414
36415 [BZ #12653]
36416 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36417 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36421
4420675c
AS
364222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36423
36424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36425 differing bytes.
36426 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36428 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36429
75ea32ab
UD
364302011-04-17 Ulrich Drepper <drepper@gmail.com>
36431
36432 [BZ #12420]
36433 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36434 storing it.
36435 * stdlib/bug-getcontext.c: New file.
36436 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36437
27390476
AK
364382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36439
36440 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36441 instructions into .machine "z9-109".
36442 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36443 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36444
10442705
AK
364452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36446
36447 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36448 between environment variables and auxiliary vector.
36449
7b57bfe5
UD
364502011-04-16 Ulrich Drepper <drepper@gmail.com>
36451
36452 * Makefile: Add rules to build linkobj/libc.so.
36453 * include/libc-symbols.h: Define libc_hidden_nolink.
36454 * include/rpc/auth.h: Mark functions which are to be hidden.
36455 * include/rpc/auth_des.h: Likewise.
36456 * include/rpc/auth_unix.h: Likewise.
36457 * include/rpc/clnt.h: Likewise.
36458 * include/rpc/des_crypt.h: Likewise.
36459 * include/rpc/key_prot.h: Likewise.
36460 * include/rpc/pmap_clnt.h: Likewise.
36461 * include/rpc/pmap_prot.h: Likewise.
36462 * include/rpc/pmap_rmt.h: Likewise.
36463 * include/rpc/rpc_msg.h: Likewise.
36464 * include/rpc/svc.h: Likewise.
36465 * include/rpc/svc_auth.h: Likewise.
36466 * include/rpc/xdr.h: Likewise.
36467 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36468 * nss/Makefile: Likewise.
36469 * sunrpc/Makefile: Don't install headers. Build library with normal
36470 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36471 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36472 for the compat linking library. Remove use of INTDEF/INTUSE.
36473 * sunrpc/auth_none.c: Likewise.
36474 * sunrpc/auth_unix.c: Likewise.
36475 * sunrpc/authdes_prot.c: Likewise.
36476 * sunrpc/authuxprot.c: Likewise.
36477 * sunrpc/clnt_gen.c: Likewise.
36478 * sunrpc/clnt_perr.c: Likewise.
36479 * sunrpc/clnt_raw.c: Likewise.
36480 * sunrpc/clnt_simp.c: Likewise.
36481 * sunrpc/clnt_tcp.c: Likewise.
36482 * sunrpc/clnt_udp.c: Likewise.
36483 * sunrpc/clnt_unix.c: Likewise.
36484 * sunrpc/des_crypt.c: Likewise.
36485 * sunrpc/des_soft.c: Likewise.
36486 * sunrpc/get_myaddr.c: Likewise.
36487 * sunrpc/key_call.c: Likewise.
36488 * sunrpc/key_prot.c: Likewise.
36489 * sunrpc/netname.c: Likewise.
36490 * sunrpc/pm_getmaps.c: Likewise.
36491 * sunrpc/pm_getport.c: Likewise.
36492 * sunrpc/pmap_clnt.c: Likewise.
36493 * sunrpc/pmap_prot.c: Likewise.
36494 * sunrpc/pmap_prot2.c: Likewise.
36495 * sunrpc/pmap_rmt.c: Likewise.
36496 * sunrpc/publickey.c: Likewise.
36497 * sunrpc/rpc_cmsg.c: Likewise.
36498 * sunrpc/rpc_common.c: Likewise.
36499 * sunrpc/rpc_dtable.c: Likewise.
36500 * sunrpc/rpc_prot.c: Likewise.
36501 * sunrpc/rpc_thread.c: Likewise.
36502 * sunrpc/rtime.c: Likewise.
36503 * sunrpc/svc.c: Likewise.
36504 * sunrpc/svc_auth.c: Likewise.
36505 * sunrpc/svc_authux.c: Likewise.
36506 * sunrpc/svc_raw.c: Likewise.
36507 * sunrpc/svc_run.c: Likewise.
36508 * sunrpc/svc_simple.c: Likewise.
36509 * sunrpc/svc_tcp.c: Likewise.
36510 * sunrpc/svc_udp.c: Likewise.
36511 * sunrpc/svc_unix.c: Likewise.
36512 * sunrpc/svcauth_des.c: Likewise.
36513 * sunrpc/xcrypt.c: Likewise.
36514 * sunrpc/xdr.c: Likewise.
36515 * sunrpc/xdr_array.c: Likewise.
36516 * sunrpc/xdr_float.c: Likewise.
36517 * sunrpc/xdr_intXX_t.c: Likewise.
36518 * sunrpc/xdr_mem.c: Likewise.
36519 * sunrpc/xdr_rec.c: Likewise.
36520 * sunrpc/xdr_ref.c: Likewise.
36521 * sunrpc/xdr_sizeof.c: Likewise.
36522 * sunrpc/xdr_stdio.c: Likewise.
36523
e6c61494
UD
365242011-04-10 Ulrich Drepper <drepper@gmail.com>
36525
36526 [BZ #12650]
36527 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36528 * sysdeps/ia64/dl-tls.h: Likewise.
36529 * sysdeps/powerpc/dl-tls.h: Likewise.
36530 * sysdeps/s390/dl-tls.h: Likewise.
36531 * sysdeps/sh/dl-tls.h: Likewise.
36532 * sysdeps/sparc/dl-tls.h: Likewise.
36533 * sysdeps/x86_64/dl-tls.h: Likewise.
36534 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36535
34fe483e
AS
365362011-03-14 Andreas Schwab <schwab@redhat.com>
36537
36538 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36539 rpath element also skip the following colon.
36540 (expand_dynamic_string_token): Add is_path parameter and pass
36541 down to DL_DST_REQUIRED and _dl_dst_substitute.
36542 (decompose_rpath): Call expand_dynamic_string_token with
36543 non-zero is_path. Ignore empty rpaths.
36544 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36545 with zero is_path.
36546
f12a32e6
AS
365472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36548
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36550 Make cancelable.
36551
38a7d692
UD
365522011-04-09 Ulrich Drepper <drepper@gmail.com>
36553
36554 [BZ #12655]
36555 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36556 Patch by Filipe David Manana <fdmanana@apache.org>.
36557
e451d22b
AS
365582011-04-07 Andreas Schwab <schwab@redhat.com>
36559
36560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36561 Maintain aligned stack.
36562 (CHECK_RSP): Remove unused macro.
36563
dedc7c7b
UD
365642011-04-03 Ulrich Drepper <drepper@gmail.com>
36565
36566 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36567 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36568
94521213
UD
365692011-04-02 Ulrich Drepper <drepper@gmail.com>
36570
36571 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36572
8cb700c0 36573 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36574
0354e355
L
365752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36576
36577 [BZ #12518]
36578 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36579 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36580 * sysdeps/x86_64/memmove.c: New file.
36581 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36582 (memcpy): Renamed to ...
36583 (__new_memcpy): This.
36584 (memcpy): Provide GLIBC_2_14 memcpy.
36585 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36586 (memcpy): Provide GLIBC_2_2_5 memcpy.
36587
8593482f
UD
365882011-04-01 Ulrich Drepper <drepper@gmail.com>
36589
36590 [BZ #12631]
36591 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36592
81a5726b
AS
365932011-03-30 Andreas Schwab <schwab@redhat.com>
36594
36595 * misc/syncfs.c: New file.
36596 * misc/Makefile (routines): Add syncfs.
36597 * posix/unistd.h: Declare syncfs.
36598 * sysdeps/unix/syscalls.list: Add syncfs.
36599
00e5419f
AS
366002011-04-01 Andreas Schwab <schwab@redhat.com>
36601
36602 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36603 open_by_handle_at.
36604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36605 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36607 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36609 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36611
748876bf
UD
366122011-04-01 Ulrich Drepper <drepper@gmail.com>
36613
658e451d
UD
36614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36621
748876bf
UD
36622 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36623 sync_file_range.c with -fexceptions.
36624 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36625 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36626 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36627 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36628 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36629 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36631 sync_file_range as cancellation point
36632 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36633 now a wrapper around __call_sync_file_range with cancellation handling.
36634 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36635 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36636 function name to __call_sync_file_range.
36637 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36638 Add call_sync_file_range.
748876bf 36639
6e63d5e1
AS
366402011-04-01 Andreas Schwab <schwab@redhat.com>
36641
36642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36643 bits/timex.h.
6e63d5e1 36644
46998f74
UD
366452011-04-01 Ulrich Drepper <drepper@gmail.com>
36646
4c1423ed
UD
36647 * iconv/iconv.h: Fix typo in comment.
36648 * io/fcntl.h: Likewise.
36649 * libio/stdio.h: Likewise.
36650 * posix/spawn.h: Likewise.
36651 * posix/unistd.h: Likewise.
36652 * stdlib/stdlib.h: Likewise.
36653 * time/time.h: Likewise.
36654 * wcsmbs/wchar.h: Likewise.
36655
158648c0
UD
36656 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36657 open_by_handle): Add.
36658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36659 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36660 Augment a few comments.
36661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36666 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36667 open_by_handle.
36668
46998f74
UD
36669 * io/fcntl.h (AT_EMPTY_PATH): Define.
36670
83fe108b
UD
366712011-03-30 Ulrich Drepper <drepper@gmail.com>
36672
36673 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36674 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36675 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36676 to...
36677 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36678 * Versions.def: Add GLIBC_2.14.
36679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36680 Export.
83fe108b 36681
bb242059
UD
366822011-03-22 Ulrich Drepper <drepper@gmail.com>
36683
36684 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36685 round counter.
36686 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36687
c97a1282
L
366882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36689
36690 [BZ #12597]
36691 * string/test-strncmp.c (do_page_test): New function.
36692 (check2): Likewise.
36693 (test_main): Call check2.
36694 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36695
2a115601
UD
366962011-03-20 Ulrich Drepper <drepper@gmail.com>
36697
36698 [BZ #12587]
36699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36700 Handle cache information in CPU leaf 4.
36701 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36702
8126d904
UD
367032011-03-18 Ulrich Drepper <drepper@gmail.com>
36704
042c49c6 36705 [BZ #12583]
8126d904
UD
36706 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36707 character representation.
36708 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36709
ccfe366e
RA
367102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36711
36712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36713 END(__isnan) to END(__isnanf) to match function entry point/label
36714 EALIGN(__isnanf,...).
36715
c6e13027
JJ
367162011-03-10 Jakub Jelinek <jakub@redhat.com>
36717
36718 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36719
33f85a3f
UD
367202011-03-10 Ulrich Drepper <drepper@gmail.com>
36721
028478fa
UD
36722 [BZ #12510]
36723 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36724 copy from the symbol referenced in the relocation to initialize the
36725 used variable.
36726 Patch by Piotr Bury <pbury@goahead.com>.
36727 * elf/Makefile: Add rules to build and tst-unique3.
36728 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36729 * elf/tst-unique3.cc: New file.
36730 * elf/tst-unique3.h: New file.
36731 * elf/tst-unique3lib.cc: New file.
36732 * elf/tst-unique3lib2.cc: New file.
36733
33f85a3f
UD
36734 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36735
03592fc7
MF
367362011-03-10 Mike Frysinger <vapier@gentoo.org>
36737
36738 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36739 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36740 to _start.
03592fc7 36741
6a5ee102
UD
367422011-03-06 Ulrich Drepper <drepper@gmail.com>
36743
36744 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36745 to-be-loaded object along a path to loader is ld.so.
36746
7e4ba49c
HJ
367472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36748 Ulrich Drepper <drepper@gmail.com>
36749
36750 * sysdeps/x86_64/memset.S: After aligning destination, code
36751 branches to different locations depending on the value of
36752 misalignment, when multiarch is enabled. Fix this.
36753
367542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36755
36756 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36757 Set _x86_64_preferred_memory_instruction for AMD processsors.
36758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36759 Set bit_Prefer_SSE_for_memop for AMD processors.
36760
13a804de
UD
367612011-03-04 Ulrich Drepper <drepper@gmail.com>
36762
36763 * libio/fmemopen.c (fmemopen): Optimize a bit.
36764
9d25c392
AS
367652011-03-03 Andreas Schwab <schwab@redhat.com>
36766
36767 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36768
a5543c6a
RM
367692011-03-03 Roland McGrath <roland@redhat.com>
36770
36771 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36772
012d35f7
DM
367732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36774
7e4ba49c 36775 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36776 __bzero_ultra1 instead of __memset_ultra1.
36777
4bff6e01
AS
367782011-02-23 Andreas Schwab <schwab@redhat.com>
36779 Ulrich Drepper <drepper@gmail.com>
36780
36781 [BZ #12509]
36782 * include/link.h (struct link_map): Add l_orig_initfini.
36783 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36784 returning unsuccessfully.
36785 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36786 close of a file loaded at startup, restore the original l_initfini
36787 list.
36788 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36789 list, store the pointer.
36790 * elf/Makefile ($(objpfx)noload-mem): New rule.
36791 (noload-ENV): Define.
36792 (tests): Add $(objpfx)noload-mem.
36793 * elf/noload.c: Include <memcheck.h>.
36794 (main): Call mtrace. Close all opened handles.
36795
f2092faf
AS
367962011-02-17 Andreas Schwab <schwab@redhat.com>
36797
36798 [BZ #12454]
36799 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36800 dependencies are missing.
36801
6c8a2e88
ST
368022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36803
f2092faf 36804 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36805 Hurd needs munmap.
36806 * sysdeps/mach/hurd/ifreq.h: New file.
36807
84a42118
PB
368082011-01-27 Petr Baudis <pasky@suse.cz>
36809 Ulrich Drepper <drepper@gmail.com>
36810
071f805e 36811 [BZ 12445]#
84a42118
PB
36812 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36813 to extend_alloca().
36814 * stdio-common/bug23.c: New file.
36815 * stdio-common/Makefile (tests): Add bug23.
36816
e23fe25b
AS
368172010-09-28 Andreas Schwab <schwab@redhat.com>
36818 Ulrich Drepper <drepper@gmail.com>
36819
36820 [BZ #12489]
36821 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36822 before performing relro protection. At old place add assertion
36823 to make sure nothing changed.
36824
d3f02e10
NS
368252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36826 Glauber de Oliveira Costa <glommer@gmail.com>
36827
36828 * elf/elf.h: Add new ARM TLS relocs.
36829
d55fd7a5
RA
368302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36831
36832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36833 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36834 cast from r3.
36835 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36836 'tests' variable.
36837 * sysdeps/wordsize-64/tst-writev.c: New file.
36838
2206397e
RA
368392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36840
36841 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36842 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36843 insns in _dl_start to prevent a TOC reference before relocs are
36844 resolved.
36845
e9433893
UD
368462011-02-15 Ulrich Drepper <drepper@gmail.com>
36847
36848 [BZ #12469]
36849 * Makeconfig: Remove RANLIB definition.
36850 * Makerules: Don't use RANLIB.
36851 * aclocal.m4: Remove ranlib test.
36852 * configure.in: No need to check for ranlib.
36853 * elf/rtld-Rules: Don't use RANLIB.
36854
f75286c6
ST
368552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36856
8e31c82d
ST
36857 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36858 protection macro.
36859 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36860 inclusion protection macro.
36861
f75286c6
ST
36862 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36863 SIGRTMIN and SIGRTMAX and print information in that case only when
36864 SIGRTMIN is defined.
36865
c1d0e639
JJ
368662011-02-11 Jakub Jelinek <jakub@redhat.com>
36867
36868 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36869 arginfo fn returning -1.
36870
36871 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36872 and thousands string is zero terminated.
36873
edf9294e
AS
368742011-02-03 Andreas Schwab <schwab@redhat.com>
36875
36876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36877 sysdeps/unix/sysv/linux/bits/socket.h.
36878
2b7e92df
ST
368792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36880
edf9294e
AS
36881 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36882 (__CPU_COUNT): Remove old macros.
36883 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36884 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36885 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36886 (__sched_cpualloc, __sched_cpufree): Add declarations.
36887
a4c7ea7b
UD
368882011-02-05 Ulrich Drepper <drepper@gmail.com>
36889
36890 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36891 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36892 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36893 (readdhstai): Return value of addhstaiX call.
36894 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36895 (addgrbyX): Return value returned by cache_addgr.
36896 (readdgrbyname): Return value returned by addgrbyX.
36897 (readdgrbygid): Likewise.
36898 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36899 (addpwbyX): Return value returned by cache_addpw.
36900 (readdpwbyname): Return value returned by addhstbyX.
36901 (readdpwbyuid): Likewise.
36902 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36903 (addservbyX): Return value returned by cache_addserv.
36904 (readdservbyname): Return value returned by addservbyX:
36905 (readdservbyport): Likewise.
36906 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36907 (addhstbyX): Return value returned by cache_addhst.
36908 (readdhstbyname): Return value returned by addhstbyX.
36909 (readdhstbyaddr): Likewise.
36910 (readdhstbynamev6): Likewise.
36911 (readdhstbyaddrv6): Likewise.
36912 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36913 (readdinitgroups): Return value returned by addinitgroupsX.
36914 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36915 (prune_cache): Keep track of timeout value of re-added entries.
36916 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36917 * nscd/nscd.h: Adjust prototypes of readd* functions.
36918
a0bf67cc
RM
369192011-02-04 Roland McGrath <roland@redhat.com>
36920
36921 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36922 (nis_stats): Likewise.
36923 * nis/nis_modify.c (nis_modify): Likewise.
36924 * nis/nis_remove.c (nis_remove): Likewise.
36925 * nis/nis_add.c (nis_add): Likewise.
36926
36927 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36928
36929 * posix/fnmatch_loop.c: Add some consts.
36930
36931 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36932
435b95eb
L
369332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 [BZ #12460]
36936 * config.make.in (config-cflags-novzeroupper): Define.
36937 * configure.in: Substitute libc_cv_cc_novzeroupper.
36938 * elf/Makefile (AVX-CFLAGS): Define.
36939 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36940 (CFLAGS-tst-auditmod4a.c): Likewise.
36941 (CFLAGS-tst-auditmod4b.c): Likewise.
36942 (CFLAGS-tst-auditmod6b.c): Likewise.
36943 (CFLAGS-tst-auditmod6c.c): Likewise.
36944 (CFLAGS-tst-auditmod7b.c): Likewise.
36945 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36946
8517b15e
UD
369472011-02-02 Ulrich Drepper <drepper@gmail.com>
36948
36949 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36950 function to the callback.
36951 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36952
10a656fe
AS
369532011-02-02 Andreas Schwab <schwab@redhat.com>
36954
36955 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36956 of errno.
36957
968dad0a
UD
369582011-01-19 Ulrich Drepper <drepper@gmail.com>
36959
9f94d2ea 36960 [BZ #11724]
968dad0a
UD
36961 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36962 of constructors.
36963 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36964 of destructors.
36965 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36966
36967 [BZ #11724]
36968 * elf/Makefile: Add rules to build and run new test.
36969 * elf/tst-initorder.c: New file.
36970 * elf/tst-initorder.exp: New file.
36971 * elf/tst-initordera1.c: New file.
36972 * elf/tst-initordera2.c: New file.
36973 * elf/tst-initordera3.c: New file.
36974 * elf/tst-initordera4.c: New file.
36975 * elf/tst-initorderb1.c: New file.
36976 * elf/tst-initorderb2.c: New file.
36977 * elf/tst-order-a1.c: New file.
36978 * elf/tst-order-a2.c: New file.
36979 * elf/tst-order-a3.c: New file.
36980 * elf/tst-order-a4.c: New file.
36981 * elf/tst-order-b1.c: New file.
36982 * elf/tst-order-b2.c: New file.
36983 * elf/tst-order-main.c: New file.
36984 New test case by George Gensure <werkt0@gmail.com>.
36985
86e92359
UD
369862010-10-01 Andreas Schwab <schwab@redhat.com>
36987
36988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36989 decoding ACE if AI_CANONIDN.
36990
5d5732b0
UD
369912011-01-18 Ulrich Drepper <drepper@gmail.com>
36992
36993 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36994
a77e8cbc
UD
369952011-01-17 Ulrich Drepper <drepper@gmail.com>
36996
6392473f
UD
36997 * version.h (RELEASE): Bump for 2.13 release.
36998 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36999
620a0529
UD
37000 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37001
18ba70a5
UD
37002 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37003 MADV_NOHUGEPAGE.
32465c3e
UD
37004 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37010
c0dafcf1
UD
37011 * posix/getconf.c: Update copyright year.
37012 * catgets/gencat.c: Likewise.
37013 * csu/version.c: Likewise.
37014 * debug/catchsegv.sh: Likewise.
37015 * debug/xtrace.sh: Likewise.
37016 * elf/ldconfig.c: Likewise.
37017 * elf/ldd.bash.in: Likewise.
37018 * elf/sprof.c (print_version): Likewise.
37019 * iconv/iconv_prog.c: Likewise.
37020 * iconv/iconvconfig.c: Likewise.
37021 * locale/programs/locale.c: Likewise.
37022 * locale/programs/localedef.c: Likewise.
37023 * malloc/memusage.sh: Likewise.
37024 * malloc/mtrace.pl: Likewise.
37025 * nscd/nscd.c (print_version): Likewise.
37026 * nss/getent.c: Likewise.
37027
a77e8cbc
UD
37028 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37029 PF_CAIF, and PF_ALG.
37030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37031
77e8bddf
AS
370322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37033
1f20b93a
AS
37034 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37035 (modules-names): Use them.
37036 (ifunc-test-modules, ifunc-pie-tests): Define.
37037 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37038 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37039 (test-extras): Likewise.
37040 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37041 $(compile-command.c).
37042 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37043 (all-built-dso): Define.
37044 (check-textrel.out, check-execstack.out): Depend on it.
37045
77e8bddf
AS
37046 * configure.in: Don't override --enable-multi-arch.
37047
bc425b33
UD
370482011-01-15 Ulrich Drepper <drepper@gmail.com>
37049
37050 [BZ #6812]
37051 * nscd/hstcache.c (tryagain): Define.
37052 (cache_addhst): Return tryagain not notfound for temporary errors.
37053 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37054 failed.
37055
794c3ad3
UD
370562011-01-14 Ulrich Drepper <drepper@gmail.com>
37057
70181fdd
UD
37058 [BZ #10563]
37059 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37060 to make the syscall.
37061 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37062
794c3ad3
UD
37063 [BZ #12378]
37064 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37065 and fall back to matching as normal character if the string ends before
37066 the matching ']' is found. This is what POSIX requires.
37067 * posix/testfnm.c: Adjust test result.
37068 * posix/globtest.sh: Adjust test result. Add new test.
37069 * posix/tst-fnmatch.input: Likewise.
37070 * posix/tst-fnmatch2.c: Add new test.
37071
68dc9497
AS
370722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37073
37074 * elf/Makefile (check-execstack): Revert last change. Depend on
37075 check-execstack.h.
37076 (check-execstack.h): New target.
37077 (generated): Add check-execstack.h.
37078 * elf/check-execstack.c: Include "check-execstack.h".
37079 (main): Revert last change.
37080 (handle_file): Return zero if GNU_STACK is absent and
37081 DEFAULT_STACK_PERMS doesn't include PF_X.
37082
451f001b
UD
370832011-01-13 Ulrich Drepper <drepper@gmail.com>
37084
cfa28e56
UD
37085 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37086 in child fails because the descriptor is already closed.
8cf8ce17
UD
37087 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37088 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37089 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37090
1086d70d
UD
37091 [BZ #12397]
37092 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37093 syscall.
37094
451f001b
UD
37095 [BZ #10484]
37096 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37097 temporary buffer used to handle multi lookups locally.
a85b5cb4 37098 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37099
08769175
UD
371002011-01-12 Ulrich Drepper <drepper@gmail.com>
37101
37102 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37103 loader is ld.so.
37104
5e49c52e
UD
371052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37106
37107 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37108 alignment for SSE2.
37109
60522a5f
UD
371102011-01-12 Ulrich Drepper <drepper@gmail.com>
37111
37112 [BZ #12394]
37113 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37114 characters. When rounding increased number of integer digits recompute
37115 number of groups.
37116 * stdio-common/tst-grouping.c: New file.
37117 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37118
f257bbd7
UD
371192011-01-09 Ulrich Drepper <drepper@gmail.com>
37120
37121 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37122 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37123
37124 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37125 void.
37126 * bits/select.h: Likewise.
37127
fa9c15cb
UD
371282011-01-08 Ulrich Drepper <drepper@gmail.com>
37129
37130 * po/ja.po: Update from translation team.
37131
16c2895f
DM
371322011-01-04 David S. Miller <davem@sunset.davemloft.net>
37133
37134 [BZ #11155]
37135 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37136 implementation just like for lxstat, fxstatat, et al.
37137
2543fef2
JM
371382010-12-27 Jim Meyering <meyering@redhat.com>
37139
37140 [BZ #12348]
37141 * posix/regexec.c (build_trtable): Return failure indication upon
37142 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37143
98727dbe
UD
371442010-12-25 Ulrich Drepper <drepper@gmail.com>
37145
5bd6dc5c
UD
37146 [BZ #12201]
37147 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37148 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37150 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37151
97983464
UD
37152 [BZ #12207]
37153 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37154
98727dbe
UD
37155 [BZ #12204]
37156 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37157 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37158
4a531bb0
L
371592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37160
37161 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37162 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37163 script has SORT_BY_INIT_PRIORITY.
37164 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37165 NO_CTORS_DTORS_SECTIONS is defined.
37166 * elf/soinit.c: Likewise.
37167 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37168 NO_CTORS_DTORS_SECTIONS is defined.
37169 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37170 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37171 * sysdeps/sh/init-first.c: Likewise.
37172 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37173
07eb4b71
UD
371742010-12-24 Ulrich Drepper <drepper@gmail.com>
37175
37176 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37177 always use the slow path.
37178
30950a5f
RA
371792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37180
37181 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37182 similar rule which adds the sysdep directories to the header search in
37183 order to pick up the correct platform stackinfo.h.
37184 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37185 perform test if it is, otherwise return successfully without testing.
37186 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37187 DEFAULT_STACK_PERMS define in stackinfo.h.
37188 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37189 defined in stackinfo.h.
37190 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37191 DEFAULT_STACK_PERMS defined in stackinfo.h.
37192 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37193 * sysdeps/ia64/stackinfo.h: Likewise.
37194 * sysdeps/s390/stackinfo.h: Likewise.
37195 * sysdeps/sh/stackinfo.h: Likewise.
37196 * sysdeps/sparc/stackinfo.h: Likewise.
37197 * sysdeps/x86_64/stackinfo.h: Likewise.
37198 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37199 PF_X for powerpc64. Retain PF_X for powerpc32.
37200
db753e2c
UD
372012010-12-19 Ulrich Drepper <drepper@gmail.com>
37202
14b697f7
UD
37203 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37204 accurately.
db753e2c
UD
37205 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37206 GETDENTS_64BIT_ALIGNED.
37207
28300719
UD
372082010-12-14 Ulrich Drepper <dreper@gmail.com>
37209
14b697f7 37210 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37211
4f197237
AS
372122010-12-10 Andreas Schwab <schwab@redhat.com>
37213
dbb0472f
AS
37214 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37215 _GNU_SOURCE.
37216
4f197237
AS
37217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37218 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37219 Remove __restrict.
37220 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37221 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37222
fb88ac72
UD
372232010-12-09 Ulrich Drepper <drepper@gmail.com>
37224
37225 [BZ #11655]
37226 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37227 are initialized.
37228
42acbb92
JJ
372292010-12-09 Jakub Jelinek <jakub@redhat.com>
37230
37231 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37232
c038d98d
UD
372332010-12-03 Ulrich Drepper <drepper@gmail.com>
37234
37235 * po/it.po: Update from translation team.
37236
3a4a2499
L
372372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37238
37239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37240 unused codes.
37241
1e24cf6e
UD
372422010-11-30 Ulrich Drepper <drepper@gmail.com>
37243
37244 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37245
a7690819
AS
372462010-11-24 Andreas Schwab <schwab@redhat.com>
37247
37248 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37249 specially.
37250 (gaih_getanswer_slice): Likewise.
37251
3bf8d1b1
JJ
372522010-10-20 Jakub Jelinek <jakub@redhat.com>
37253
37254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37255
6db52fbb
PB
372562010-05-31 Petr Baudis <pasky@suse.cz>
37257
37258 [BZ #11149]
37259 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37260 silently even in the chroot mode.
37261
eaca7569
UD
372622010-11-22 Ulrich Drepper <drepper@gmail.com>
37263
37264 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37265 last patch a bit. Pretty printing
37266
3056dcdb
UD
372672010-05-31 Petr Baudis <pasky@suse.cz>
37268
37269 [BZ #10085]
37270 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37271 initialization of skip_initgroups_dyn.
37272
cf7c9078
UD
372732010-11-19 Ulrich Drepper <drepper@gmail.com>
37274
37275 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37277
a1fb5e3e
UD
372782010-11-16 Ulrich Drepper <drepper@gmail.com>
37279
37280 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37281
3540d66b
AS
372822010-11-11 Andreas Schwab <schwab@redhat.com>
37283
37284 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37285 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37286 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37287 ($(objpfx)tst-fnmatch-mem): New rule.
37288 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37289 * posix/tst-fnmatch.c (main): Call mtrace.
37290
13b69574
L
372912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37292
37293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37294 Support Intel processor model 6 and model 0x2c.
37295
da93d214
LM
372962010-11-10 Luis Machado <luisgpm@br.ibm.com>
37297
37298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37299 signed comparison.
37300
8ca52c6e
L
373012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37302
37303 [BZ #12205]
37304 * string/test-strncasecmp.c (check_result): New function.
37305 (do_one_test): Use it.
37306 (check1): New function.
37307 (test_main): Use it.
37308 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37309 Support strcasecmp and strncasecmp.
37310
69da074d
UD
373112010-11-08 Ulrich Drepper <drepper@gmail.com>
37312
37313 [BZ #12194]
37314 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37316
ff02d528
L
373172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37318
37319 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37320 IFUNC support.
37321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37322 memset-x86-64.
37323 * sysdeps/x86_64/multiarch/bzero.S: New file.
37324 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37325 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37326 * sysdeps/x86_64/multiarch/memset.S: New file.
37327 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37329 Set bit_Prefer_SSE_for_memop for Intel processors.
37330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37331 Define.
37332 (index_Prefer_SSE_for_memop): Define.
37333 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37334
344d0b54
LM
373352010-11-04 Luis Machado <luisgpm@br.ibm.com>
37336
37337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37339
c0dde15b
UD
373402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37341
37342 [BZ #12191]
37343 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37344 (__x86_64_raw_data_cache_size_half): Likewise.
37345 (__x86_64_raw_shared_cache_size): Likewise.
37346 (__x86_64_raw_shared_cache_size_half): Likewise.
37347
37348 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37349 (__x86_64_raw_data_cache_size_half): Likewise.
37350 (__x86_64_raw_shared_cache_size): Likewise.
37351 (__x86_64_raw_shared_cache_size_half): Likewise.
37352 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37353 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37354 and __x86_64_raw_shared_cache_size_half. Round
37355 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37356 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37357 to multiple of 256 bytes.
37358
0e516e0e
MS
373592010-11-03 Ulrich Drepper <drepper@gmail.com>
37360
37361 [BZ #12167]
37362 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37363 of inacessible symlinks. Verify result of symlink before returning it.
37364 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37365 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37366
0e012e87
ER
373672010-10-28 Erich Ritz <erichritz@gmail.com>
37368
37369 * math/math.h (isinf): Fix typo in comment.
37370
de0ff7bc
UD
373712010-11-01 Ulrich Drepper <drepper@gmail.com>
37372
37373 * po/da.po: Update from translation team.
37374
fa41c84d
UD
373752010-10-26 Ulrich Drepper <drepper@gmail.com>
37376
37377 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37378 is added to the list.
37379
f0967738
AK
373802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37381 Ulrich Drepper <drepper@gmail.com>
37382
37383 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37384 the global list here. Move code to...
37385 (_dl_add_to_namespace_list): ...here. New function.
37386 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37387 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37388 * elf/dl-load.c (lose): Don't remove the element from the list.
37389 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37390 (_dl_map_object): Likewise.
37391
373922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37393
37394 [BZ #12159]
37395 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37396 into all bytes of SSE register.
37397 Patch by Richard Li <richardpku@gmail.com>.
37398
f0967738 373992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37400
37401 [BZ #12140]
37402 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37403 perturbing.
37404
d0b9e94f
MB
374052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37406
37407 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37408 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37410 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37412 submachine.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37414
8e9f92e9
AS
374152010-10-22 Andreas Schwab <schwab@redhat.com>
37416
37417 * include/dlfcn.h (__RTLD_SECURE): Define.
37418 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37419 mode & __RTLD_SECURE instead.
37420 (open_path): Rename preloaded parameter to secure.
37421 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37422 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37423 * elf/dl-deps.c (openaux): Likewise.
37424 * elf/rtld.c (struct map_args): Remove is_preloaded.
37425 (map_doit): Don't use it.
37426 (dl_main): Likewise.
37427 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37428 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37429
bc96fbda
AS
374302010-09-09 Andreas Schwab <schwab@redhat.com>
37431
37432 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37433 (sysd-rules-targets): Remove duplicates.
37434 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37435 rtld-%.$o dependency.
37436
22cd1c9b
AS
374372010-10-18 Andreas Schwab <schwab@redhat.com>
37438
37439 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37440 _dl_map_object do it.
37441
18edac48
UD
374422010-10-19 Ulrich Drepper <drepper@gmail.com>
37443
37444 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37445 fast fma builtins, define the macros in the C99 standard.
37446 (FP_FAST_FMAF): Likewise.
37447 (FP_FAST_FMAL): Likewise.
37448 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37449
37450 * bits/mathdef.h: Update copyright year.
37451 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37452
d2050124
MM
374532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37454
37455 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37456 builtins, define the macros in the C99 standard.
37457 (FP_FAST_FMAF): Likewise.
37458 (FP_FAST_FMAL): Likewise.
37459 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37460 multiply/add.
37461 (FP_FAST_FMAF): Likewise.
37462
475facd1
JJ
374632010-10-15 Jakub Jelinek <jakub@redhat.com>
37464
37465 [BZ #3268]
37466 * math/libm-test.inc (fma_test): Some new testcases.
37467 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37468 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37469 y and infinite z. Do multiplication by C already in long double.
37470 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37472 y and infinite z. Do bitwise or of inexact bit into u.d.
37473 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37474 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37475 * sysdeps/i386/fpu/s_fma.S: Removed.
37476 * sysdeps/i386/fpu/s_fmal.S: Removed.
37477
7c08a05c
JJ
374782010-10-16 Jakub Jelinek <jakub@redhat.com>
37479
37480 [BZ #3268]
37481 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37483 computation is not scheduled after fetestexcept. Fix value
37484 of minimum denormal long double.
37485
f3f7372d
JJ
374862010-10-14 Jakub Jelinek <jakub@redhat.com>
37487
37488 [BZ #3268]
37489 * math/libm-test.inc (fma_test): Add some more tests.
37490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37491 correctly.
37492
14d43591
AS
374932010-10-15 Andreas Schwab <schwab@redhat.com>
37494
37495 * scripts/data/localplt-s390-linux-gnu.data: New file.
37496 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37497
5e908464
JJ
374982010-10-13 Jakub Jelinek <jakub@redhat.com>
37499
37500 [BZ #3268]
37501 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37502 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37503 instead of dbl-64.
37504 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37505 inlines.
37506 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37508 if one of x and y is very large and the other is subnormal.
37509 * sysdeps/s390/fpu/s_fmaf.c: New file.
37510 * sysdeps/s390/fpu/s_fma.c: New file.
37511 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37512 * sysdeps/powerpc/fpu/s_fma.S: New file.
37513 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37514 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37515 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37516
375172010-10-12 Jakub Jelinek <jakub@redhat.com>
37518
37519 [BZ #3268]
37520 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37521 fma tests.
37522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37523 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37524 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37525 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37526 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37527 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37528 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37529
b833d51f
UD
375302010-10-12 Ulrich Drepper <drepper@redhat.com>
37531
37532 [BZ #12078]
37533 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37534 * posix/bug-regex31.input: Add test case.
37535
1751705d
UD
375362010-10-11 Ulrich Drepper <drepper@gmail.com>
37537
e9b9cbf5
UD
37538 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37539 * posix/bug-regex31.input: New file.
37540
37541 [BZ #12078]
37542 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37543 (parse_sub_exp): Fix last change, use postorder.
37544
ef06edbe
UD
37545 * posix/bug-regex31.c: New file.
37546 * posix/Makefile: Add rules to build and run bug-regex31.
37547
a129c80d
UD
37548 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37549
37550 [BZ #12078]
37551 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37552
b76b818e
UD
37553 [BZ #12108]
37554 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37555 to have entries in sys_siglist.
37556
1751705d
UD
37557 [BZ #12093]
37558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37559 be NULL.
37560
9ff8d36f
JJ
375612010-10-07 Jakub Jelinek <jakub@redhat.com>
37562
37563 [BZ #3268]
37564 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37565 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37566 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37567 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37568 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37569 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37570 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37571 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37572 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37573 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37574 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37575 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37576 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37577 * math/ftestexcept.c (fetestexcept): Likewise.
37578 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37579 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37580 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37581 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37582 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37583 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37584 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37585
af325969
UD
375862010-10-11 Ulrich Drepper <drepper@gmail.com>
37587
c579b202 37588 [BZ #12107]
af325969
UD
37589 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37590 newline.
37591
67a67b95
UD
375922010-10-06 Ulrich Drepper <drepper@gmail.com>
37593
37594 * string/bug-strstr1.c: New file.
37595 * string/Makefile: Add rules to build and run bug-strstr1.
37596
5fb308bc
EB
375972010-10-05 Eric Blake <eblake@redhat.com>
37598
37599 [BZ #12092]
37600 * string/str-two-way.h (two_way_long_needle): Always clear memory
37601 when skipping input due to the shift table.
37602
45db99c7
UD
376032010-10-03 Ulrich Drepper <drepper@gmail.com>
37604
3b111893
UD
37605 [BZ #12005]
37606 * malloc/mcheck.c: Handle large requests.
37607
45db99c7
UD
37608 [BZ #12077]
37609 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37610 for strncmp and strncasecmp.
37611 * string/stratcliff.c: Add tests for strcmp and strncmp.
37612 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37613
cf7a1eb8
NI
376142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37615
37616 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37617 __set_fpscr.
37618
6484ba5e
AJ
376192010-09-30 Andreas Jaeger <aj@suse.de>
37620
37621 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37622 (CGROUP_SUPER_MAGIC): Define.
37623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37624 Handle btrfs and cgroup file systems.
37625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37626 Likewise.
37627
91c42559
LM
376282010-09-27 Luis Machado <luisgpm@br.ibm.com>
37629
37630 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37631 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37632
87a97932
AK
376332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37634
37635 [BZ #12067]
37636 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37637 trying to locate the ELF header.
37638
c21cc9bc
AS
376392010-09-27 Andreas Schwab <schwab@redhat.com>
37640
37641 [BZ #11611]
37642 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37643 Mask out sign-bit copies when constructing f_fsid.
37644
315970f6
PB
376452010-09-24 Petr Baudis <pasky@suse.cz>
37646
37647 * debug/stack_chk_fail_local.c: Add missing licence exception.
37648 * debug/warning-nop.c: Likewise.
37649
1ac7a2c7
JM
376502010-09-15 Joseph Myers <joseph@codesourcery.com>
37651
37652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37653 implementing getdents64 using getdents syscall, set d_type if
37654 __ASSUME_GETDENTS32_D_TYPE.
37655
56801c50
AS
376562010-09-16 Andreas Schwab <schwab@redhat.com>
37657
37658 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37659 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37660
dda51327
UD
376612010-09-21 Ulrich Drepper <drepper@redhat.com>
37662
37663 [BZ #12037]
37664 * posix/unistd.h: Undo change of feature selection for ftruncate from
37665 2010-01-11.
37666
8ffcee4a
UD
376672010-09-20 Ulrich Drepper <drepper@redhat.com>
37668
a545ecd9 37669 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37670 detection.
37671
e24f0a8b
AS
376722010-09-20 Andreas Schwab <schwab@redhat.com>
37673
37674 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37675 fanotify_mark.
37676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37677
7291c56f
AS
376782010-09-14 Andreas Schwab <schwab@redhat.com>
37679
37680 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37681 variables after CHECK_SP call.
37682 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37683
bc5fb037
AS
376842010-09-13 Andreas Schwab <schwab@redhat.com>
37685 Ulrich Drepper <drepper@redhat.com>
37686
37687 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37688 re-relocationg ld.so.
37689 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37690 _dl_init_paths call.
37691 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37692 here anymore.
37693
e66e7419
UD
376942010-09-14 Ulrich Drepper <drepper@redhat.com>
37695
37696 * resolv/res_init.c (__res_vinit): Count the default server we added.
37697
c044aa75
CLT
376982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37699 Ulrich Drepper <drepper@redhat.com>
37700
37701 [BZ #11968]
37702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37703 (____longjmp_chk): Use %ebx for saving value across system call.
37704 Add unwind info.
37705
32cf4069
AS
377062010-09-06 Andreas Schwab <schwab@redhat.com>
37707
37708 * manual/Makefile: Don't mix pattern rules with normal rules.
37709
817328ee
AS
377102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37711
37712 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37713 operation.
37714 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37715 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37716 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37717 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37719 Likewise.
37720
29fddf61
UD
377212010-09-04 Ulrich Drepper <drepper@redhat.com>
37722
37723 [BZ #11979]
37724 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37725 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37726
0959ffc9
UD
377272010-09-02 Ulrich Drepper <drepper@redhat.com>
37728
37729 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37730 * sysdeps/x86_64/addmul_1.S: Likewise.
37731 * sysdeps/x86_64/lshift.S: Likewise.
37732 * sysdeps/x86_64/mul_1.S: Likewise.
37733 * sysdeps/x86_64/rshift.S: Likewise.
37734 * sysdeps/x86_64/sub_n.S: Likewise.
37735 * sysdeps/x86_64/submul_1.S: Likewise.
37736
ece29840
ST
377372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37738
0959ffc9
UD
37739 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37740 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37741 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37742 * bits/sched.h [__need_schedparam]
ece29840 37743 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37744 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37745 (__defined_schedparam): Define to 1.
ece29840
ST
37746 (__sched_param): New structure, identical to sched_param.
37747 (__need_schedparam): Undefine.
37748
e53a31fe
MF
377492010-08-31 Mike Frysinger <vapier@gentoo.org>
37750
fdc0c10d
MF
37751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37752 (epoll_create1): Declare.
37753
e53a31fe
MF
37754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37755
a726d796
AS
377562010-08-31 Andreas Schwab <schwab@redhat.com>
37757
37758 [BZ #7066]
37759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37760 shifting retval into place.
37761
2f3e3dc7
UD
377622010-09-01 Ulrich Drepper <drepper@redhat.com>
37763
f2933da9
UD
37764 * nis/rpcsvc/nis.h: Update copyright notice.
37765 * nis/rpcsvc/nis.x: Likewise.
37766 * nis/rpcsvc/nis_callback.h: Likewise.
37767 * nis/rpcsvc/nis_callback.x: Likewise.
37768 * nis/rpcsvc/nis_object.x: Likewise.
37769 * nis/rpcsvc/nis_tags.h: Likewise.
37770 * nis/rpcsvc/yp.h: Likewise.
37771 * nis/rpcsvc/yp.x: Likewise.
37772 * nis/rpcsvc/ypupd.h: Likewise.
37773 * nis/yp_xdr.c: Likewise.
37774 * nis/ypupdate_xdr.c: Likewise.
37775
2f3e3dc7
UD
37776 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37777 mainly the body of pmap_getport. Add parameters to specify timeouts.
37778 (pmap_getport): Use __libc_rpc_getport.
37779 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37780 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37781 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37782
f3dcc2f9
AS
377832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37784
37785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37786 fanotify_mark.
37787
6d34eb5b
RM
377882010-08-27 Roland McGrath <roland@redhat.com>
37789
37790 * sysdeps/i386/i686/multiarch/Makefile
37791 (CFLAGS-varshift.c): New variable.
37792
9ea3de11
UD
377932010-08-27 Ulrich Drepper <drepper@redhat.com>
37794
c96d23fc
UD
37795 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37796 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37797
9ea3de11
UD
37798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37799
37800 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37801
623aac7f
L
378022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37803
37804 * sysdeps/x86_64/strlen.S: Unroll the loop.
37805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37806 strlen-sse2 strlen-sse2-bsf.
37807 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37808 __strlen_no_bsf if bit_Slow_BSF is set.
37809 (__strlen_sse42): Removed.
37810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37811 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37812
8b2b7715
RM
378132010-08-25 Roland McGrath <roland@redhat.com>
37814
37815 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37816 * sysdeps/x86_64/multiarch/varshift.c: New file.
37817 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37818 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37819 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37820 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37821
e73015f2
L
378222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37823
37824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37825 strlen-sse2 strlen-sse2-bsf.
37826 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37827 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37828 (__strlen_sse2): Removed.
37829 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37832 bit_Slow_BSF for Atom.
37833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37834 (index_Slow_BSF): Define.
37835 (HAS_SLOW_BSF): Define.
37836
df24a73e
UD
378372010-08-25 Ulrich Drepper <drepper@redhat.com>
37838
37839 [BZ #10851]
37840 * resolv/res_init.c (__res_vinit): When no server address at all
37841 is given default to loopback.
37842
f2ac4868
RM
378432010-08-24 Roland McGrath <roland@redhat.com>
37844
09055553
RM
37845 * configure.in: Remove config-name.h generation.
37846 * configure: Regenerated.
37847 * config-name.in: File removed.
37848 * scripts/config-uname.sh: New file.
37849 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37850 ($(objdir)config-name.h): New target.
37851
f2ac4868
RM
37852 * sunrpc/rpc_parse.h: Avoid nested comment.
37853
73f27d5e
RH
378542010-08-24 Richard Henderson <rth@redhat.com>
37855 Ulrich Drepper <drepper@redhat.com>
37856 H.J. Lu <hongjiu.lu@intel.com>
37857
37858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37860 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37861 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37862 _mm_alignr_epi8 with _mm_loadu_si128.
37863 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37864 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37865 (__m128i_shift_right): Removed.
37866 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37867 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37868 * sysdeps/x86_64/multiarch/varshift.h: New file.
37869 * sysdeps/x86_64/multiarch/varshift.S: New file.
37870
84b9230c
MF
378712010-08-21 Mike Frysinger <vapier@gentoo.org>
37872
37873 * configure.in: Move assembler checks to before sysdep dir checking.
37874
9bbd0ddc
PB
378752010-08-20 Petr Baudis <pasky@suse.cz>
37876
37877 * LICENSES: Sync the sunrpc license.
37878
9da4bb31
UD
378792010-08-19 Ulrich Drepper <drepper@redhat.com>
37880
a7ab6ec8
UD
37881 * sunrpc/auth_des.c: Update copyright notice once again.
37882 * sunrpc/auth_none.c: Likewise.
37883 * sunrpc/auth_unix.c: Likewise.
37884 * sunrpc/authdes_prot.c: Likewise.
37885 * sunrpc/authuxprot.c: Likewise.
37886 * sunrpc/bindrsvprt.c: Likewise.
37887 * sunrpc/clnt_gen.c: Likewise.
37888 * sunrpc/clnt_perr.c: Likewise.
37889 * sunrpc/clnt_raw.c: Likewise.
37890 * sunrpc/clnt_simp.c: Likewise.
37891 * sunrpc/clnt_tcp.c: Likewise.
37892 * sunrpc/clnt_udp.c: Likewise.
37893 * sunrpc/clnt_unix.c: Likewise.
37894 * sunrpc/des_crypt.c: Likewise.
37895 * sunrpc/des_soft.c: Likewise.
37896 * sunrpc/get_myaddr.c: Likewise.
37897 * sunrpc/getrpcport.c: Likewise.
37898 * sunrpc/key_call.c: Likewise.
37899 * sunrpc/key_prot.c: Likewise.
37900 * sunrpc/openchild.c: Likewise.
37901 * sunrpc/pm_getmaps.c: Likewise.
37902 * sunrpc/pm_getport.c: Likewise.
37903 * sunrpc/pmap_clnt.c: Likewise.
37904 * sunrpc/pmap_prot.c: Likewise.
37905 * sunrpc/pmap_prot2.c: Likewise.
37906 * sunrpc/pmap_rmt.c: Likewise.
37907 * sunrpc/rpc/auth.h: Likewise.
37908 * sunrpc/rpc/auth_unix.h: Likewise.
37909 * sunrpc/rpc/clnt.h: Likewise.
37910 * sunrpc/rpc/des_crypt.h: Likewise.
37911 * sunrpc/rpc/key_prot.h: Likewise.
37912 * sunrpc/rpc/netdb.h: Likewise.
37913 * sunrpc/rpc/pmap_clnt.h: Likewise.
37914 * sunrpc/rpc/pmap_prot.h: Likewise.
37915 * sunrpc/rpc/pmap_rmt.h: Likewise.
37916 * sunrpc/rpc/rpc.h: Likewise.
37917 * sunrpc/rpc/rpc_des.h: Likewise.
37918 * sunrpc/rpc/rpc_msg.h: Likewise.
37919 * sunrpc/rpc/svc.h: Likewise.
37920 * sunrpc/rpc/svc_auth.h: Likewise.
37921 * sunrpc/rpc/types.h: Likewise.
37922 * sunrpc/rpc/xdr.h: Likewise.
37923 * sunrpc/rpc_clntout.c: Likewise.
37924 * sunrpc/rpc_cmsg.c: Likewise.
37925 * sunrpc/rpc_common.c: Likewise.
37926 * sunrpc/rpc_cout.c: Likewise.
37927 * sunrpc/rpc_dtable.c: Likewise.
37928 * sunrpc/rpc_hout.c: Likewise.
37929 * sunrpc/rpc_main.c: Likewise.
37930 * sunrpc/rpc_parse.c: Likewise.
37931 * sunrpc/rpc_parse.h: Likewise.
37932 * sunrpc/rpc_prot.c: Likewise.
37933 * sunrpc/rpc_sample.c: Likewise.
37934 * sunrpc/rpc_scan.c: Likewise.
37935 * sunrpc/rpc_scan.h: Likewise.
37936 * sunrpc/rpc_svcout.c: Likewise.
37937 * sunrpc/rpc_tblout.c: Likewise.
37938 * sunrpc/rpc_util.c: Likewise.
37939 * sunrpc/rpc_util.h: Likewise.
37940 * sunrpc/rpcinfo.c: Likewise.
37941 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37942 * sunrpc/rpcsvc/key_prot.x: Likewise.
37943 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37944 * sunrpc/rpcsvc/mount.x: Likewise.
37945 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37946 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37947 * sunrpc/rpcsvc/rex.x: Likewise.
37948 * sunrpc/rpcsvc/rstat.x: Likewise.
37949 * sunrpc/rpcsvc/rusers.x: Likewise.
37950 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37951 * sunrpc/rpcsvc/spray.x: Likewise.
37952 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37953 * sunrpc/rtime.c: Likewise.
37954 * sunrpc/svc.c: Likewise.
37955 * sunrpc/svc_auth.c: Likewise.
37956 * sunrpc/svc_authux.c: Likewise.
37957 * sunrpc/svc_raw.c: Likewise.
37958 * sunrpc/svc_run.c: Likewise.
37959 * sunrpc/svc_simple.c: Likewise.
37960 * sunrpc/svc_tcp.c: Likewise.
37961 * sunrpc/svc_udp.c: Likewise.
37962 * sunrpc/svc_unix.c: Likewise.
37963 * sunrpc/svcauth_des.c: Likewise.
37964 * sunrpc/xcrypt.c: Likewise.
37965 * sunrpc/xdr.c: Likewise.
37966 * sunrpc/xdr_array.c: Likewise.
37967 * sunrpc/xdr_float.c: Likewise.
37968 * sunrpc/xdr_mem.c: Likewise.
37969 * sunrpc/xdr_rec.c: Likewise.
37970 * sunrpc/xdr_ref.c: Likewise.
37971 * sunrpc/xdr_sizeof.c: Likewise.
37972 * sunrpc/xdr_stdio.c: Likewise.
37973
9da4bb31
UD
37974 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37975 handling.
37976
bdaa77bc
AS
379772010-08-19 Andreas Schwab <schwab@redhat.com>
37978
37979 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37980
fe2f79db
LM
379812010-08-19 Luis Machado <luisgpm@br.ibm.com>
37982
37983 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37984 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37985 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37986 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37988 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37989 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37990 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37993 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37994 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37995 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37996 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37997
b9b42ee0
AB
379982010-07-26 Anton Blanchard <anton@samba.org>
37999
38000 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38001 * malloc/arena.c (heap_trim): Likewise.
38002
1c06ba31
UD
380032010-08-16 Ulrich Drepper <drepper@redhat.com>
38004
38005 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38006 here. Not...
38007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38008 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38009
f8392f40
L
380102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * sysdeps/i386/elf/Makefile: New file.
38013
3162f12e
AS
380142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38015
38016 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38017 from fanotify_init.
38018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38020
28c90b2c
UD
380212010-08-15 Ulrich Drepper <drepper@redhat.com>
38022
38023 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38024 of strncasecmp_l.
1feccb6c 38025 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38026
ca6bb004
UD
380272010-08-14 Ulrich Drepper <drepper@redhat.com>
38028
e9f82e0d
UD
38029 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38030 strncase_l-nonascii.
38031 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38032 Add strncase_l-ssse3.
38033 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38034 * sysdeps/x86_64/strcmp.S: Likewise.
38035 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38036 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38037 * sysdeps/x86_64/strncase.S: New file.
38038 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38039 * sysdeps/x86_64/strncase_l.S: New file.
38040 * string/Makefile (strop-tests): Add strncasecmp.
38041 * string/test-strncasecmp.c: New file.
38042
38043 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38044 warning.
38045
ca6bb004
UD
38046 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38048
052fa7b3
AS
380492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38050
38051 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38052
962dba78
UD
380532010-08-12 Ulrich Drepper <drepper@redhat.com>
38054
38055 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38057 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38058
bebff237
AM
380592010-05-01 Alan Modra <amodra@gmail.com>
38060
38061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38062 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38063 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38064 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38065 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38066 tidying. Don't tail-call __sigjmp_save for static lib.
38067 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38068 save location.
38069 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38070 (CALL_MCOUNT): Add eh info, and nop after bl.
38071 (TAIL_CALL_SYSCALL_ERROR): New macro.
38072 (PSEUDO_RET): Use it.
38073 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38074 Correct save location of integer regs and cr.
38075 (_dl_profile_resolve): Correct cr save location. Delete nops
38076 after bl when SHARED. Reduce cfi size a little by better
38077 placement of cfi directives.
38078 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38079 make a stack frame. Instead use parm save area as a temp.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38081 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38083 Don't make a stack frame for parent, use parm save area.
38084 Increase child stack frame to 112 bytes. Don't save unused reg,
38085 and adjust reg usage. Set up cfi on error recovery and
38086 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38088 (__makecontext): Add dummy nop after jump to exit.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38090 Use correct parm save area and cr save, reduce stack frame.
38091 Correct cfi for possible PSEUDO_RET frame setup.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38093 Branch to local label emitted by PSEUDO_RET rather than
38094 __syscall_error.
38095
02637374
AS
380962010-08-12 Andreas Schwab <schwab@redhat.com>
38097
38098 [BZ #11904]
38099 * locale/programs/locale.c (print_assignment): New function.
38100 (show_locale_vars): Use it.
38101
c3e2f19b
UD
381022010-08-11 Ulrich Drepper <drepper@redhat.com>
38103
3cdaa6ad
UD
38104 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38105 field.
38106 (struct statfs64): Likewise.
38107 (_STATFS_F_FLAGS): Define.
38108 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38110 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38111 (ST_VALID): Define locally.
38112 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38113 __statvfs_getflags, use the provided value.
38114 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38115 __ASSUME_STATFS_F_FLAGS.
38116
754f7da3
UD
38117 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38118
10b3bedc
UD
38119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38120 Add sys/fanotify.h.
38121 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38122 fanotify_mask for GLIBC_2.13.
38123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38124 fanotify_init and fanotify_mark.
38125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38126 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38127
c08fb0d7
UD
38128 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38129 Add prlimit.
38130 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38131 prlimit64 for GLIBC_2.13.
38132 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38133 prlimit64.
38134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38135 syscall.
38136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38141 add prlimit alias.
38142 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38143
15bac72b
UD
38144 [BZ #11903]
38145 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38146 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38147
c3e2f19b
UD
38148 * nss/Makefile: Add rules to build and run tst-nss-test1.
38149 * shlib-versions: Add entry for libnss_test1.
38150 * nss/nss_test1.c: New file.
38151 * nss/tst-nss-test1.c: New file.
38152
38153 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38154 (__nss_configure_lookup): Set appropriate entry in
38155 __nss_configure_lookup to true.
38156 * nss/nsswitch.h: Define enum with indeces of databases in
38157 databases and __nss_database_custom arrays. Declare
38158 __nss_database_custom.
38159 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38160 to avoid using nscd when custom rules are installed.
38161 * nss/getXXbyYY_r.c: Likewise.
38162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38163
38164 * nss/nss_files/files-parse.c: Whitespace fixes.
38165
f15ce4d8
UD
381662010-08-09 Ulrich Drepper <drepper@redhat.com>
38167
38168 [BZ #11883]
38169 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38170 * posix/fnmatch_loop.c: Likewise.
38171
d22e4cc9
AK
381722010-07-17 Andi Kleen <ak@linux.intel.com>
38173
38174 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38175 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38176 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38177 * Versions.def [GLIBC_2.13]: Add.
38178
805bc17d
UD
381792010-08-06 Ulrich Drepper <drepper@redhat.com>
38180
38181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38182 Also fail if tpwd after pwuid call is NULL.
38183
5a42321d
ST
381842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38185
38186 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38187 when converting to ms.
38188
fd3ebeda
ST
381892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38190
38191 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38192 EOPNOTSUPP errors with ENOTTY.
38193 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38194 EOPNOTSUPP errors with ENOTTY.
38195
73507d3a
UD
381962010-07-31 Ulrich Drepper <drepper@redhat.com>
38197
38198 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38199 Add strcasecmp_l-ssse3.
38200 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38201 strcasecmp.
38202 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38203 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38204 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38205
fe36dd02
UD
382062010-07-30 Ulrich Drepper <drepper@redhat.com>
38207
66f6765a
UD
38208 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38209
42e08a54
UD
38210 * string/Makefile (strop-tests): Add strcasecmp.
38211 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38212 strcasecmp_l-nonascii.
38213 (gen-as-const-headers): Add locale-defines.sym.
38214 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38215 * sysdeps/x86_64/strcasecmp.S: New file.
38216 * sysdeps/x86_64/strcasecmp_l.S: New file.
38217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38218 * sysdeps/x86_64/locale-defines.sym: New file.
38219 * string/test-strcasecmp.c: New file.
38220
fe36dd02
UD
38221 * string/test-strcasestr.c: Test both ends of the range of characters.
38222 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38223
48cbc0d6
RM
382242010-07-29 Roland McGrath <roland@redhat.com>
38225
76e6d6bc 38226 [BZ #11856]
48cbc0d6
RM
38227 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38228
880113d9
UD
382292010-07-27 Ulrich Drepper <drepper@redhat.com>
38230
38231 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38232 for ld.so.
38233
deb9cabb
AS
382342010-07-27 Andreas Schwab <schwab@redhat.com>
38235
38236 * manual/memory.texi (Malloc Tunable Parameters): Document
38237 M_PERTURB.
38238
1c7570ff
RM
382392010-07-26 Roland McGrath <roland@redhat.com>
38240
38241 [BZ #11840]
38242 * configure.in (-fgnu89-inline check): Set and substitute
38243 gnu89_inline, not libc_cv_gnu89_inline.
38244 * configure: Regenerated.
38245 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38246
24fb0f88
UD
382472010-07-26 Ulrich Drepper <drepper@redhat.com>
38248
38249 * string/test-strnlen.c: New file.
38250 * string/Makefile (strop-tests): Add strnlen.
38251 * string/tester.c (test_strnlen): Add a few more test cases.
38252 * string/tst-strlen.c: Better error reporting.
38253
38254 * sysdeps/x86_64/strnlen.S: New file.
38255
8e96b93a
UD
382562010-07-24 Ulrich Drepper <drepper@redhat.com>
38257
38258 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38259 lower-latency instructions.
38260
dbc676d4
UD
382612010-07-23 Ulrich Drepper <drepper@redhat.com>
38262
38263 * string/test-strcasestr.c: New file.
38264 * string/test-strstr.c: New file.
38265 * string/Makefile (strop-tests): Add strstr and strcasestr.
38266 * string/str-two-way.h: Don't undefine MAX.
38267 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38268
f6a31e0e
AS
382692010-07-21 Andreas Schwab <schwab@redhat.com>
38270
38271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38272 strcasestr-nonascii.
38273 (CFLAGS-strcasestr-nonascii.c): Define.
38274 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38275 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38276 Remove unused attribute.
38277
5dbc3b6c
RM
382782010-07-20 Roland McGrath <roland@redhat.com>
38279
38280 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38281 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38282 ld.so.cache was broken. With it, there is no way to disable dsocaps
38283 like LD_HWCAP_MASK can disable hwcaps.
38284
23d101d8
EPM
382852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38286
38287 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38288
cc9f2e47
UD
382892010-07-16 Ulrich Drepper <drepper@redhat.com>
38290
38291 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38292 call in strcasestr.
38293 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38294 __strcasestr_sse42_nonascii.
38295 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38296 strcasestr-nonascii.c.
38297 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38298
77c1b069
LM
382992010-06-15 Luis Machado <luisgpm@br.ibm.com>
38300
38301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38302 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38303 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38305
440566c3
UD
383062010-07-09 Ulrich Drepper <drepper@redhat.com>
38307
38308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38309 fcntl.
38310
5be9d05d
AS
383112010-07-06 Andreas Schwab <schwab@redhat.com>
38312
c30b7ee2 38313 [BZ #11577]
5be9d05d
AS
38314 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38315 dl_signal_cerror.
38316
8a492a67
UD
383172010-07-06 Ulrich Drepper <drepper@redhat.com>
38318
38319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38320 _PC_PIPE_BUF using F_GETPIPE_SZ.
38321
713df3d5
RM
383222010-07-05 Roland McGrath <roland@redhat.com>
38323
38324 * manual/arith.texi (Rounding Functions): Fix rint description
38325 implicit in round description.
38326
702e8f14
UD
383272010-07-02 Ulrich Drepper <drepper@redhat.com>
38328
38329 * elf/Makefile: Fix linking for a few tests to make recent linker
38330 happy.
38331
52ed8be9
AS
383322010-06-30 Andreas Schwab <schwab@redhat.com>
38333
38334 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38335 $(common-objpfx)libc_nonshared.a.
38336
f47c9a11
LM
383372010-06-21 Luis Machado <luisgpm@br.ibm.com>
38338
38339 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38340 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38341 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38342 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38343 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38344 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38345 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38346 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38361 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38362 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38363 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38364 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38365 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38366 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38367 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38368 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38369 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38370 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38371 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38372 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38387
6fb8cbcb
L
383882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38391 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38392 * string/memmove.c (memmove): Renamed to ...
38393 (MEMMOVE): ...this. Default to memmove.
38394 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38395 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38396 (END_CHK): Define.
38397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38398 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38399 mempcpy-ssse3-back memmove-ssse3-back.
38400 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38403 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38404 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38405 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38406 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38407 * sysdeps/x86_64/multiarch/memmove.c: New file.
38408 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38409 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38410 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38411 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38412 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38414 Define.
38415 (index_Fast_Copy_Backward): Define.
38416 (HAS_ARCH_FEATURE): Define.
38417 (HAS_FAST_REP_STRING): Define.
38418 (HAS_FAST_COPY_BACKWARD): Define.
38419
4e733bac 384202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38421
38422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38423 Restore proper fallback handling.
38424
63c4ed22
UD
384252010-06-19 Ulrich Drepper <drepper@redhat.com>
38426
ac2b484c
UD
38427 [BZ #11701]
38428 * posix/group_member.c (__group_member): Correct checking loop.
38429
63c4ed22
UD
38430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38431 OOM in getpwuid_r correctly. Return error number when the caller
38432 should return, otherwise -1.
38433 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38434 call returning > 0 value.
38435 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38436
765ade4b
AS
384372010-06-07 Andreas Schwab <schwab@redhat.com>
38438
38439 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38440 libc_nonshared.a from targets in modules-names.
38441
80da2e09
KS
384422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38443
38444 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38445 requires it.
38446
158db122
LM
384472010-06-10 Luis Machado <luisgpm@br.ibm.com>
38448
38449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38453
caa78cf8
AS
384542010-06-02 Andreas Schwab <schwab@redhat.com>
38455
38456 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38457
b2ef2c01
UD
384582010-06-14 Ulrich Drepper <drepper@redhat.com>
38459
38460 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38461 and F_GETPIPE_SZ.
38462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38468
fbd643b6
RM
384692010-06-14 Roland McGrath <roland@redhat.com>
38470
38471 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38472
f32f2869
JJ
384732010-06-07 Jakub Jelinek <jakub@redhat.com>
38474
38475 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38476 __REDIRECT followed by __THROW.
38477 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38478 * posix/getopt.h (getopt): Likewise.
38479
2a50c078
EPM
384802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38481
38482 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38483 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38484 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38485 in AT_FLAGS.
38486 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38487 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38488
eb5ad2eb
LM
384892010-05-28 Luis Machado <luisgpm@br.ibm.com>
38490
38491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38492
3c88fe1e
L
384932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38494
38495 [BZ #11640]
38496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38497 Properly check family and model.
38498
d2f73151
TY
384992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38500
38501 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38502
ebd2e13d
LM
385032010-05-24 Luis Machado <luisgpm@br.ibm.com>
38504
38505 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38506
b32b8b45
UD
385072010-05-21 Ulrich Drepper <drepper@redhat.com>
38508
38509 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38510 symbol reference.
38511
9acbe24d
AS
385122010-05-19 Andreas Schwab <schwab@redhat.com>
38513
38514 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38515 symbol reference.
38516
f0ccf6ea
AS
385172010-05-21 Andreas Schwab <schwab@redhat.com>
38518
3d04ff3a
AS
38519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38520 and internal_recvmmsg.
38521 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38522 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38523 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38524 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38525
f0ccf6ea
AS
38526 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38527 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38528 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38529
5b08ac57
AS
385302010-05-20 Andreas Schwab <schwab@redhat.com>
38531
38532 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38533
4828935d
LM
385342010-05-17 Luis Machado <luisgpm@br.ibm.com>
38535
38536 POWER7 optimizations.
38537 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38538 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38539
373d545e
UD
385402010-05-19 Ulrich Drepper <drepper@redhat.com>
38541
38542 * version.h: Update for 2.13 development version.
38543
21a2b1ae
AS
385442010-05-12 Andrew Stubbs <ams@codesourcery.com>
38545
38546 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38547 exceptions. Return 0.
38548
3f7dcb2b
RM
385492010-05-07 Roland McGrath <roland@redhat.com>
38550
38551 * elf/ldconfig.c (main): Add a const.
38552
5f24d53a 385532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38554
a160f8d8
UD
38555 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38556 (args_options): Add no-idn option.
38557 (ahosts_keys_int): Add idn_flags to ai_flags.
38558 (parse_option): Handle 'i' option to clear idn_flags.
38559
5f24d53a
UD
38560 * malloc/malloc.c (_int_free): Possible race in the most recently
38561 added check. Only act on the data if no current modification
38562 happened.
265bb1ce
UD
38563
38564See ChangeLog.17 for earlier changes.